Function at 0x402740
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2b0c
call fcn.0051eee0
mov eax, dword [0x599808]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push 0x54b028
push eax
lea eax, [ebp - 0x2b00]
mov ebx, ecx
push eax
mov dword [ebp - 0x2b0c], ebx
mov dword [ebp - 0x2b00], 0
call fcn.0051f917
add esp, 0xc
cmp dword [ebp - 0x2b00], 0
je 0x402bf4
test eax, eax
jne 0x402bf4
push edi
lea eax, [ebp - 0x3ec]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x54b098
lea eax, [ebp - 0x3ec]
push eax
push str._sNetDatabaseScanner_banner__s.bmp
push 0x3e8
push eax
call fcn.0051fbac
lea eax, [ebp - 0x3ec]
push eax
call fcn.00406810
push dword [ebp - 0x2b00]
push str.__DOCTYPE_html_PUBLIC_____W3C__DTD_XHTML_1.0_Transitional__EN___http:__www.w3.org_TR_xhtml1_DTD_xhtml1_transitional.dtd__
call fcn.0051fa87
push dword [ebp - 0x2b00]
push str._html_xmlns_http:__www.w3.org_1999_xhtml__
call fcn.0051fa87
push dword [ebp - 0x2b00]
push str._head___meta_http_equiv_Content_Type__content_text_html__charsetutf_8____
call fcn.0051fa87
push dword [ebp - 0x2b00]
push str._title_Network_Database_Scanner_Report__title_
call fcn.0051fa87
push dword [ebp - 0x2b00]
push str._style__table__border_collapse:collapse__table_layout:auto__
call fcn.0051fa87
add esp, 0x40
push dword [ebp - 0x2b00]
push str.th__font_family:_Times_New_Roman___Times__serif__font_size:medium_color:white_background_color:222222__border:1px_solid_666__
call fcn.0051fa87
push dword [ebp - 0x2b00]
push str.td__font_family:Verdana__font_size:10px_font_weight:bold__height:25px__border:1px_solid__bbb__
call fcn.0051fa87
push dword [ebp - 0x2b00]
push str.tr.firstrow__background_color:E2E2FE__
call fcn.0051fa87
push dword [ebp - 0x2b00]
push str.tr.secondrow___tbackground_color:F2F2FF_
call fcn.0051fa87
push dword [ebp - 0x2b00]
push str.tr.hiddenrow___tbackground_color:FF5858__color:black
call fcn.0051fa87
push dword [ebp - 0x2b00]
push str.tr.suspiciousrow__background_color:FFB95B__color:black
call fcn.0051fa87
push dword [ebp - 0x2b00]
push str.tr.analysisrow__background_color:F2FF78__color:black
call fcn.0051fa87
push dword [ebp - 0x2b00]
push str.tr.normalrow__background_color:white__color:black
call fcn.0051fa87
add esp, 0x40
push dword [ebp - 0x2b00]
push str..dangerrow__background_color:FF5858__color:black
call fcn.0051fa87
push dword [ebp - 0x2b00]
push str..suspiciousrow__background_color:FFB95B__color:black
call fcn.0051fa87
push dword [ebp - 0x2b00]
push str..analysisrow__background_color:f8f894__color:black
call fcn.0051fa87
push dword [ebp - 0x2b00]
push str..normalrow__background_color:F5F5F5__color:black
call fcn.0051fa87
push dword [ebp - 0x2b00]
push str..greenrow__background_color:C8FAC8__color:black
call fcn.0051fa87
push dword [ebp - 0x2b00]
push str.tr__background_color:FAFAFF__color:black___
call fcn.0051fa87
push dword [ebp - 0x2b00]
push str..footer__font_family:verdana__font_size:12px__color:black__
call fcn.0051fa87
push dword [ebp - 0x2b00]
push str.a:visited__a:link__border_width:0px_color:0044ff_font_weight:bold_text_decoration:none_
call fcn.0051fa87
add esp, 0x40
push dword [ebp - 0x2b00]
push str.a:active__a:hover__border_width:_0px_0px_1px_0px_font_weight:bold__border_bottom_style:_dotted__border_bottom_color:_585858__
call fcn.0051fa87
push dword [ebp - 0x2b00]
push str.__style_
call fcn.0051fa87
push dword [ebp - 0x2b00]
push str._body_style_width:100___
call fcn.0051fa87
push str.100_
lea eax, [ebp - 0x3ec]
push eax
push str.http:__securityxploded.com_network_database_scanner.php
push str._a_styleborder:0px__href__s__target_blank___img_src_file:___s__styleborder:0px__width_s____a__br_
push dword [ebp - 0x2b00]
call fcn.0051fa6e
push dword [ebp - 0x2b00]
push str._center__h1_stylecolor:black_text_shadow:_1px_1px_2px_C0C0C0_font_family:_Arial___Network_Database_Scanner_Report___h1___center___br__br_
call fcn.0051fa87
push dword [ebp - 0x2b00]
push str._p_class_footer__style_color:6C6CFF____b_
call fcn.0051fa87
push dword [ebp - 0x2b00]
push str._table_width100__cellspacing5_cellpadding5_style_padding_left:5px_margin_left:5px_____tr_style_height:35px____th_style_width:60px__Index__th_
call fcn.0051fa87
add esp, 0x44
push dword [ebp - 0x2b00]
push str._th_style_width:120px___Host_Address__th___th_style_width:100px___Port__th____th_style_width:150px___Database_Type__th__th_style_width:60____Status__th____tr_
call fcn.0051fa87
add esp, 8
xor edi, edi
push edi
push edi
push 0x1004
push dword [ebx + 0x1898]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jle 0x402b85
add ebx, 0x1878
push esi
jmp 0x4029f0
lea eax, [ebp - 0x2b04]
push eax
lea eax, [ebp - 0x2b08]
push eax
push edi
mov ecx, ebx
call fcn.00406c30
cmp dword [ebp - 0x2b08], 0
jne 0x402a65
mov eax, dword [ebp - 0x2b04]
cmp eax, 0x5858ff
jne 0x402a29
push dword [ebp - 0x2b00]
push str._tr_class_hiddenrow__
jmp 0x402a70
cmp eax, 0x5bb9ff
jne 0x402a3d
push dword [ebp - 0x2b00]
push str._tr_class_suspiciousrow__
jmp 0x402a70
cmp eax, 0x78fff2
jne 0x402a51
push dword [ebp - 0x2b00]
push str._tr_class_analysisrow__
jmp 0x402a70
cmp eax, 0xdcffdc
jne 0x402a65
push dword [ebp - 0x2b00]
push str._tr_class_greenrow__
jmp 0x402a70
push dword [ebp - 0x2b00]
push str._tr_class_normalrow__
call fcn.0051fa87
add esp, 8
lea esi, [edi + 1]
push esi
push str._td__d__td_
push dword [ebp - 0x2b00]
call fcn.0051fa6e
add esp, 0xc
lea eax, [ebp - 0x2afc]
push 0x3e8
push eax
push 0
push edi
mov ecx, ebx
call fcn.0040cd6d
lea eax, [ebp - 0x2afc]
push eax
push str._td__s__td_
push dword [ebp - 0x2b00]
call fcn.0051fa6e
add esp, 0xc
lea eax, [ebp - 0x2afc]
push 0x3e8
push eax
push 1
push edi
mov ecx, ebx
call fcn.0040cd6d
lea eax, [ebp - 0x2afc]
push eax
push str._td__s__td_
push dword [ebp - 0x2b00]
call fcn.0051fa6e
add esp, 0xc
lea eax, [ebp - 0x2afc]
push 0x3e8
push eax
push 2
push edi
mov ecx, ebx
call fcn.0040cd6d
lea eax, [ebp - 0x2afc]
push eax
push str._td__s__td_
push dword [ebp - 0x2b00]
call fcn.0051fa6e
add esp, 0xc
lea eax, [ebp - 0x2afc]
push 0x3e8
push eax
push 3
push edi
mov ecx, ebx
call fcn.0040cd6d
lea eax, [ebp - 0x2afc]
push eax
push str._td__s__td_
push dword [ebp - 0x2b00]
call fcn.0051fa6e
push dword [ebp - 0x2b00]
push str.__tr_
call fcn.0051fa87
mov eax, dword [ebp - 0x2b0c]
add esp, 0x14
mov edi, esi
push 0
push 0
push 0x1004
push dword [eax + 0x1898]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp edi, eax
jl 0x4029f0
pop esi
push dword [ebp - 0x2b00]
push str.__table_
call fcn.0051fa87
push 0x54b098
push str._br__br__hr___div_class_footer___Report_generated_by__strong_NetDatabaseScanner__strong___version__s__from
push dword [ebp - 0x2b00]
call fcn.0051fa6e
push str.http:__securityxploded.com_network_database_scanner.php
push str._a_href__s__www.SecurityXploded.com.__a____div_
push dword [ebp - 0x2b00]
call fcn.0051fa6e
push dword [ebp - 0x2b00]
push str.__br_____body____html_
call fcn.0051fa87
push dword [ebp - 0x2b00]
call fcn.0051f7dc
add esp, 0x2c
mov eax, 1
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051eae1
mov esp, ebp
pop ebp
ret 4
push 0x10
push str.NetDatabaseScanner
push str.Failed_to_create_file_for_exporting_the_scanned_results._nMake_sure_you_have_specified_valid_file_path.
mov ecx, ebx
call fcn.004150f4
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0051eae1
mov esp, ebp
pop ebp
ret 4