Function at 0x407760
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x9b4
mov eax, dword [0x4e9028]
xor eax, esp
mov dword [esp + 0x9ac], eax
test byte [0x4f1904], 1
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x2c], esi
mov ebp, 1
jne 0x4077b3
or dword [0x4f1904], ebp
push 0x467ae0
mov dword [0x4f18dc], 0x4dbdb8
mov dword [0x4f18e0], 0xffffffff
call fcn.00462d9a
add esp, 4
mov eax, dword [0x4f18dc]
mov ecx, dword [eax + 8]
push str._r_n_r_nBasic_Partitions_Informations:
push 0x4f18dc
call ecx
add esp, 8
or ebx, 0xffffffff
test byte [0x4f1904], 1
mov edi, vtable.CLogFile.0
jne 0x4077fa
or dword [0x4f1904], ebp
push 0x467ae0
mov dword [0x4f18dc], edi
mov dword [0x4f18e0], ebx
call fcn.00462d9a
add esp, 4
mov edx, dword [0x4f18dc]
mov eax, dword [edx + 8]
push 0x46a3f0
push 0x4f18dc
call eax
add esp, 8
test byte [0x4f1904], 1
jne 0x40783a
or dword [0x4f1904], ebp
push 0x467ae0
mov dword [0x4f18dc], edi
mov dword [0x4f18e0], ebx
call fcn.00462d9a
add esp, 4
mov ecx, dword [0x4f18dc]
mov edx, dword [ecx + 8]
push str.Disk_tPartition_tDrive_Letter_tFile_System_tTotal_Sector_t_tUsed_Sector_t_tFree_Sector_t_tPartition_Status_tPri_Log_t_tDBR_Start_Sector_tEnd_Sector_______t_t_tMBR_Start_Sector_t_t_tCluster_Size_tVolume_Label
push 0x4f18dc
call edx
add esp, 8
test byte [0x4f1904], 1
jne 0x40787a
or dword [0x4f1904], ebp
push 0x467ae0
mov dword [0x4f18dc], edi
mov dword [0x4f18e0], ebx
call fcn.00462d9a
add esp, 4
mov eax, dword [0x4f18dc]
mov ecx, dword [eax + 8]
push str._____t__________t_____________t____________t_____________t_t____________t_t____________t_t_________________t________t_t_________________t_________________t_t_t_________________t_t_t_____________t____________
push 0x4f18dc
call ecx
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
add esp, 8
mov ecx, esi
call eax
mov edi, eax
mov dword [esp + 0x14], edi
jmp 0x4078a6
mov edi, dword [esp + 0x14]
mov edx, dword [edi]
mov eax, dword [edx + 0x48]
mov ecx, edi
call eax
test eax, eax
jne 0x407e1c
mov edx, dword [edi]
mov eax, dword [edx + 0x28]
mov ecx, edi
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x2c]
call eax
mov esi, eax
jmp 0x4078d4
mov edi, dword [esp + 0x14]
test esi, esi
je 0x407dd0
push 0x3f
lea ecx, [esp + 0x7d]
push 0
push ecx
mov byte [esp + 0x84], 0
call sub.ntdll.dll_memset
mov edx, dword [esi]
mov eax, dword [edx + 0x3c]
add esp, 0xc
push 0x40
mov ecx, esi
call eax
push eax
lea ecx, [esp + 0x80]
push ecx
call dword [sym.imp.ntdll.dll_wcstombs]
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
add esp, 0xc
mov ecx, esi
call eax
cmp eax, 7
ja case.0x407924.4
jmp dword [eax*4 + 0x407e4c]
push str.FAT32
lea ecx, [esp + 0xbc]
push ecx
jmp 0x4079fc
push str.FAT12
lea edx, [esp + 0xbc]
push edx
jmp 0x4079fc
push str.FAT16
jmp 0x4079f4
test byte [0x4ec45c], 1
mov byte [esp + 0x13], 0
mov byte [esp + 0x12], 0
jne 0x40797c
or dword [0x4ec45c], ebp
mov dword [0x4ec458], 0x4dedd8
mov eax, dword [esi]
mov ebx, dword [0x4ec458]
lea ecx, [esp + 0x12]
push ecx
lea edx, [esp + 0x17]
push edx
mov edx, dword [eax + 0x20]
mov ecx, esi
add ebx, 0x1c
call edx
push edx
push eax
mov eax, dword [edi]
mov edx, dword [eax + 0x20]
mov ecx, edi
call edx
push eax
mov eax, dword [ebx]
mov ecx, 0x4ec458
call eax
movzx ecx, byte [esp + 0x12]
movzx edx, byte [esp + 0x13]
push ecx
push edx
lea eax, [esp + 0xc0]
push str.NTFS__d._d_
push eax
call dword [sym.imp.ntdll.dll_sprintf]
add esp, 0x10
jmp case.0x407924.4
push str.Unformatted
lea ecx, [esp + 0xbc]
push ecx
jmp 0x4079fc
push str.Unallocated
lea edx, [esp + 0xbc]
push edx
jmp 0x4079fc
push str.Other
lea eax, [esp + 0xbc]
push eax
call dword [sym.imp.ntdll.dll_sprintf]
add esp, 8
test byte [0x4f190c], 1
jne 0x407a1e
or dword [0x4f190c], ebp
mov dword [0x4f1908], 0x4db424
mov edx, dword [esi]
mov ebx, dword [0x4f1908]
mov eax, dword [edx + 0x20]
mov ecx, esi
mov dword [esp + 0x1c], 0
add ebx, 0x3c
call eax
push edx
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x20]
mov ecx, edi
call eax
mov edx, dword [ebx]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x4f1908
call edx
push 0x7f
lea eax, [esp + 0x13d]
push 0
push eax
mov byte [esp + 0x144], 0
call sub.ntdll.dll_memset
mov edx, dword [esi]
mov eax, dword [edx + 0x40]
add esp, 0xc
mov ecx, esi
call eax
test eax, eax
je 0x407aa0
lea eax, [esp + 0x138]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x407a85
mov ecx, dword [str.Act]
mov dl, byte [0x46a724]
mov dword [eax], ecx
mov byte [eax + 4], dl
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
mov ecx, esi
call edx
test eax, eax
je 0x407ad4
lea eax, [esp + 0x138]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x407ab7
mov ecx, dword [str.Boot]
mov dx, word [0x46a72c]
mov dword [eax], ecx
mov word [eax + 4], dx
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
mov ecx, esi
call edx
test eax, eax
je 0x407b0b
lea eax, [esp + 0x138]
add eax, 0xffffffff
jmp 0x407af0
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x407af0
mov ecx, dword [str.Sys]
mov dl, byte [0x46a734]
mov dword [eax], ecx
mov byte [eax + 4], dl
lea eax, [esp + 0x138]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x407b15
sub eax, edx
jne 0x407b4b
lea eax, [esp + 0x138]
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x407b30
mov ecx, dword [str.None]
mov dl, byte [0x46a73c]
mov dword [eax], ecx
mov byte [eax + 4], dl
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
mov ecx, esi
call edx
mov ebx, eax
mov eax, dword [esi]
sub ebx, ebp
sbb edx, 0
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0x5c]
mov ecx, esi
call edx
mov edi, eax
add edi, ebx
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x38]
push eax
mov ebp, edx
adc ebp, dword [esp + 0x58]
lea ecx, [esp + 0x34]
push ecx
push ebp
push edi
lea eax, [esp + 0x50]
mov ecx, ebx
call fcn.004072b0
add esp, 0x10
lea edx, [esp + 0x34]
push edx
mov edx, dword [esi]
lea eax, [esp + 0x40]
push eax
mov eax, dword [edx + 0x24]
mov ecx, esi
call eax
push edx
push eax
lea eax, [esp + 0x58]
mov ecx, ebx
call fcn.004072b0
xor eax, eax
push eax
push eax
mov byte [esp + 0x70], 0
mov dword [esp + 0x71], eax
mov dword [esp + 0x75], eax
mov dword [esp + 0x79], eax
mov dword [esp + 0x7d], eax
mov dword [esp + 0x81], eax
mov dword [esp + 0x85], eax
mov dword [esp + 0x89], eax
mov word [esp + 0x8d], ax
mov byte [esp + 0x8f], al
call fcn.00407110
add esp, 0x18
lea ecx, [esp + 0x58]
lea esp, [esp]
mov dl, byte [eax]
mov byte [ecx], dl
add eax, 1
add ecx, 1
test dl, dl
jne 0x407c00
push 0x7ff
lea ecx, [esp + 0x1bd]
push 0
push ecx
mov byte [esp + 0x1c4], dl
call sub.ntdll.dll_memset
mov edx, dword [esi]
mov eax, dword [edx + 0x58]
add esp, 0xc
mov ecx, esi
call eax
test eax, eax
je 0x407c41
xor eax, eax
mov dword [esp + 0x24], eax
jmp 0x407c4e
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
mov ecx, esi
call eax
mov dword [esp + 0x24], edx
mov edx, dword [esi]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0x58]
mov ecx, esi
call eax
test eax, eax
mov dword [esp + 0x18], str.Primary
jne 0x407c6f
mov dword [esp + 0x18], str.Logical
mov edx, dword [esi]
mov eax, dword [edx + 0x34]
lea ecx, [esp + 0x78]
push ecx
mov ecx, esi
call eax
mov edx, dword [esp + 0x38]
movzx ecx, ax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [esi]
push ecx
push edx
mov edx, dword [eax + 0x20]
push ebp
push edi
mov ecx, esi
call edx
push edx
mov edx, dword [esi]
push eax
mov eax, dword [esp + 0x58]
push eax
mov eax, dword [edx + 0x28]
lea ecx, [esp + 0x17c]
push ecx
mov ecx, esi
call eax
push edx
push eax
call fcn.00407110
mov edx, dword [esi]
add esp, 8
push eax
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
push edx
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x28]
lea ecx, [esp + 0xac]
push ecx
push 0
push 0
mov ecx, esi
call eax
push edx
push eax
call fcn.00407110
mov edx, dword [esi]
add esp, 8
push eax
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
push edx
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x7c]
lea ecx, [esp + 0x124]
push ecx
mov ecx, esi
call eax
movzx ecx, ax
mov eax, dword [esp + 0x8c]
xor edx, edx
test eax, eax
setl dl
push ecx
mov ecx, ebx
sub edx, 1
and edx, eax
mov eax, dword [ebx]
push edx
mov edx, dword [eax + 0x20]
call edx
push eax
lea eax, [esp + 0x234]
push str._d_t_d_t_t_c:_t_t__12s_t__10I64d___s__t__10I64d___s__t__10I64d___s__t__20s_t_s_t_t__15I64d_t_t__15I64d__I64d__d__d__t_t__12I64d__I64d__d__d__t_t_t_d_t_t_s
push eax
call dword [sym.imp.ntdll.dll_sprintf]
add esp, 0x84
test byte [0x4f1904], 1
jne 0x407d94
or dword [0x4f1904], 1
push 0x467ae0
mov dword [0x4f18dc], 0x4dbdb8
mov dword [0x4f18e0], 0xffffffff
call fcn.00462d9a
add esp, 4
mov edx, dword [0x4f18dc]
mov eax, dword [edx + 8]
lea ecx, [esp + 0x1b8]
push ecx
push 0x4f18dc
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x28]
add esp, 8
mov ecx, ebx
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
mov esi, eax
test esi, esi
mov ebp, 1
jne 0x4078d0
test byte [0x4f1904], 1
jne 0x407e00
or dword [0x4f1904], ebp
push 0x467ae0
mov dword [0x4f18dc], 0x4dbdb8
mov dword [0x4f18e0], 0xffffffff
call fcn.00462d9a
add esp, 4
mov ecx, dword [0x4f18dc]
mov edx, dword [ecx + 8]
push 0x46a7d6
push 0x4f18dc
call edx
mov esi, dword [esp + 0x34]
add esp, 8
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
test eax, eax
mov dword [esp + 0x14], eax
jne 0x4078a2
mov ecx, dword [esp + 0x9bc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00462b77
add esp, 0x9b4
ret