Function at 0x407710
Capabilities:
Get disk information

Disassembly:
sub esp, 0x518
mov eax, dword [0x425064]
xor eax, esp
mov dword [esp + 0x514], eax
push ebx
push ebp
mov ebp, dword [esp + 0x524]
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov ecx, 0x26
mov esi, str._html__body_bgcolor_white__text_black__link_blue__vlink_blue__alink_red___r_n__body__r_n_table_style_line_height:0px__border_collapse:collapse___tr__r_n
lea edi, [esp + 0x480]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x480]
push eax
mov eax, 0x98
movsb byte es:[edi], byte [esi]
call fcn.00405970
mov edi, dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov esi, 0x41
push esi
push str._c:_
lea edx, [esp + 0x1c]
call fcn.00401000
add esp, 8
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
add eax, 0xfffffffe
cmp eax, 4
ja case.default.0x407791
jmp dword [eax*4 + 0x407bb8]
push str.Image_Floppy32.gif
lea edx, [esp + 0x64]
call fcn.00401020
push str.Floppy_Disk
lea edx, [esp + 0x28]
call fcn.0040ace0
add esp, 8
jmp case.default.0x407791
push str.Image_HardDisk32.gif
lea edx, [esp + 0x64]
call fcn.00401020
add esp, 4
push 0
push 0
push 0
push 0
push 0
push 0x40
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x30]
push eax
call edi
cmp byte [esp + 0x20], 0
jne 0x4078b8
push str.Hard_Disk
jmp 0x4078a1
push str.Image_NetworkDrive32.gif
lea edx, [esp + 0x64]
call fcn.00401020
add esp, 4
push 0
push 0
push 0
push 0
push 0
push 0x40
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x30]
push edx
call edi
cmp byte [esp + 0x20], 0
jne 0x4078b8
push str.Network_Drive
jmp 0x4078a1
push str.Image_CDDrive32.gif
lea edx, [esp + 0x64]
call fcn.00401020
add esp, 4
push 0
push 0
push 0
push 0
push 0
push 0x40
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x30]
push ecx
call edi
cmp byte [esp + 0x20], 0
jne 0x4078b8
push str.CD_ROM_Drive
jmp 0x4078a1
push str.Image_HardDisk32.gif
lea edx, [esp + 0x64]
call fcn.00401020
add esp, 4
push 0
push 0
push 0
push 0
push 0
push 0x40
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x30]
push eax
call edi
cmp byte [esp + 0x20], 0
jne 0x4078b8
push str.RAM_Drive
lea edx, [esp + 0x24]
call fcn.0040ace0
add esp, 4
cmp byte [esp + 0x20], 0
je 0x4079a9
push esi
push str._td_width_85__height_80___a_href__RemoveFolder__c:__target_main___r_n
lea edx, [esp + 0x88]
call fcn.00401040
lea eax, [esp + 0x88]
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4078d7
mov ebx, dword [ebp + 0x18]
lea ecx, [esp + 0x80]
sub eax, edx
push ecx
call fcn.00405970
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x84]
push str._p_align_center__style_line_height:20px__margin_top:0__margin_bottom:0____img_src__s__width_32__height_32__border_0____p__r_n
push eax
call fcn.0040c00e
lea eax, [esp + 0x8c]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407914
mov ebx, dword [ebp + 0x18]
lea ecx, [esp + 0x80]
sub eax, edx
push ecx
call fcn.00405970
lea edx, [esp + 0x20]
push edx
push esi
lea eax, [esp + 0x88]
push str._p_align_center__style_line_height:20px__margin_top:0__margin_bottom:0____font_size_1__face_
push eax
call fcn.0040c00e
lea eax, [esp + 0x90]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407952
mov ebx, dword [ebp + 0x18]
lea ecx, [esp + 0x80]
sub eax, edx
push ecx
call fcn.00405970
lea edx, [esp + 0x80]
push str.__a___td__r_n
push edx
call fcn.0040c00e
lea eax, [esp + 0x88]
add esp, 8
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407990
mov ebx, dword [ebp + 0x18]
lea ecx, [esp + 0x80]
sub eax, edx
push ecx
call fcn.00405970
inc esi
cmp esi, 0x5a
jle 0x407763
push str._td_width_85__height_80___a_href__RemoveWinserver__target_main___r_n_p_align_center__style_line_height:20px__margin_top:0__margin_bottom:0____img_src__Image_File16.gif__width_32__height_32__border_0___br__font_size_1__Winserver4__font__br__font_color_FF0000__size_2___
lea edx, [esp + 0x84]
call fcn.00401040
lea eax, [esp + 0x84]
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4079d1
mov ebx, dword [ebp + 0x18]
sub eax, edx
lea edx, [esp + 0x80]
push edx
call fcn.00405970
push str._td_width_85__height_80___a_href__GetIDPass_NeoFolder__target_main___r_n_p_align_center__style_line_height:20px__margin_top:0__margin_bottom:0____img_src__Image_NeoFolder32.gif__width_32__height_32__border_0___br__font_size_1__
lea edx, [esp + 0x84]
call fcn.00401040
lea eax, [esp + 0x84]
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407a08
mov ebx, dword [ebp + 0x18]
lea ecx, [esp + 0x80]
sub eax, edx
push ecx
call fcn.00405970
push str._td_width_85__height_80___a_href__GetIDPass_FolderPlus__target_main___r_n_p_align_center__style_line_height:20px__margin_top:0__margin_bottom:0____img_src__Image_FolderPlus32.gif__width_32__height_32__border_0___br__font_size_1__
lea edx, [esp + 0x84]
call fcn.00401040
lea eax, [esp + 0x84]
add esp, 4
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407a40
mov ebx, dword [ebp + 0x18]
sub eax, edx
lea edx, [esp + 0x80]
push edx
call fcn.00405970
push str._td_width_85__height_80___a_href__GetIDPass_Endisk__target_main___r_n_p_align_center__style_line_height:20px__margin_top:0__margin_bottom:0____img_src__Image_Endisk32.gif__width_32__height_32__border_0___br__font_size_1__
lea edx, [esp + 0x84]
call fcn.00401040
lea eax, [esp + 0x84]
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407a77
mov ebx, dword [ebp + 0x18]
lea ecx, [esp + 0x80]
sub eax, edx
push ecx
call fcn.00405970
push str._td_width_85__height_80___a_href__GetIDPass_SunFolder__target_main___r_n_p_align_center__style_line_height:20px__margin_top:0__margin_bottom:0____img_src__Image_SunFolder32.gif__width_32__height_32__border_0___br__font_size_1__
lea edx, [esp + 0x84]
call fcn.00401040
lea eax, [esp + 0x84]
add esp, 4
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407ab0
mov ebx, dword [ebp + 0x18]
sub eax, edx
lea edx, [esp + 0x80]
push edx
call fcn.00405970
push str._td_width_85__height_80___a_href__GetIDPass_NetFolder__target_main___r_n_p_align_center__style_line_height:20px__margin_top:0__margin_bottom:0____img_src__Image_NetFolder32.gif__width_32__height_32__border_0___br__font_size_1__
lea edx, [esp + 0x84]
call fcn.00401040
lea eax, [esp + 0x84]
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407ae7
mov ebx, dword [ebp + 0x18]
lea ecx, [esp + 0x80]
sub eax, edx
push ecx
call fcn.00405970
push str.__tr__tr__td_width_85__height_80___a_href__ScreenCapture.bmp__target_main___r_n_p_align_center__style_line_height:20px__margin_top:0__margin_bottom:0____img_src__Image_ScreenCapture32.gif__width_32__height_32__border_0___br__font_size_1__
lea edx, [esp + 0x84]
call fcn.00401040
lea eax, [esp + 0x84]
add esp, 4
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407b20
mov ebx, dword [ebp + 0x18]
sub eax, edx
lea edx, [esp + 0x80]
push edx
call fcn.00405970
push str.__tr___table__br_
lea edx, [esp + 0x84]
call fcn.00401040
lea eax, [esp + 0x84]
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407b57
mov ebx, dword [ebp + 0x18]
lea ecx, [esp + 0x80]
sub eax, edx
push ecx
call fcn.00405970
mov eax, dword [0x422788]
mov edx, dword [str.__html_]
mov ebx, dword [ebp + 0x18]
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], eax
push ecx
mov eax, 7
mov dword [esp + 0x1c], edx
call fcn.00405970
mov ecx, dword [esp + 0x524]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0040bd50
add esp, 0x518
ret 4