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

Disassembly:
sub esp, 0x9b4
mov eax, dword [0x4f8028]
xor eax, esp
mov dword [esp + 0x9ac], eax
test byte [0x503544], 1
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x2c], esi
mov ebp, 1
jne 0x4082b3
or dword [0x503544], ebp
push 0x4732e0
mov dword [0x503520], 0x4e7bc8
mov dword [0x503524], 0xffffffff
call fcn.0046d920
add esp, 4
mov eax, dword [0x503520]
mov ecx, dword [eax + 8]
push str._r_n_r_nBasic_Partitions_Informations:
push 0x503520
call ecx
add esp, 8
or ebx, 0xffffffff
test byte [0x503544], 1
mov edi, vtable.CLogFile.0
jne 0x4082fa
or dword [0x503544], ebp
push 0x4732e0
mov dword [0x503520], edi
mov dword [0x503524], ebx
call fcn.0046d920
add esp, 4
mov edx, dword [0x503520]
mov eax, dword [edx + 8]
push 0x476680
push 0x503520
call eax
add esp, 8
test byte [0x503544], 1
jne 0x40833a
or dword [0x503544], ebp
push 0x4732e0
mov dword [0x503520], edi
mov dword [0x503524], ebx
call fcn.0046d920
add esp, 4
mov ecx, dword [0x503520]
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 0x503520
call edx
add esp, 8
test byte [0x503544], 1
jne 0x40837a
or dword [0x503544], ebp
push 0x4732e0
mov dword [0x503520], edi
mov dword [0x503524], ebx
call fcn.0046d920
add esp, 4
mov eax, dword [0x503520]
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 0x503520
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 0x4083a6
mov edi, dword [esp + 0x14]
mov edx, dword [edi]
mov eax, dword [edx + 0x48]
mov ecx, edi
call eax
test eax, eax
jne 0x40891c
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 0x4083d4
mov edi, dword [esp + 0x14]
test esi, esi
je 0x4088d0
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.0x408424.4
jmp dword [eax*4 + 0x40894c]
push str.FAT32
lea ecx, [esp + 0xbc]
push ecx
jmp 0x4084fc
push str.FAT12
lea edx, [esp + 0xbc]
push edx
jmp 0x4084fc
push str.FAT16
jmp 0x4084f4
test byte [0x4fe094], 1
mov byte [esp + 0x13], 0
mov byte [esp + 0x12], 0
jne 0x40847c
or dword [0x4fe094], ebp
mov dword [0x4fe090], 0x4eb1ac
mov eax, dword [esi]
mov ebx, dword [0x4fe090]
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, 0x4fe090
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.0x408424.4
push str.Unformatted
lea ecx, [esp + 0xbc]
push ecx
jmp 0x4084fc
push str.Unallocated
lea edx, [esp + 0xbc]
push edx
jmp 0x4084fc
push str.Other
lea eax, [esp + 0xbc]
push eax
call dword [sym.imp.ntdll.dll_sprintf]
add esp, 8
test byte [0x50354c], 1
jne 0x40851e
or dword [0x50354c], ebp
mov dword [0x503548], 0x4e7844
mov edx, dword [esi]
mov ebx, dword [0x503548]
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, 0x503548
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 0x4085a0
lea eax, [esp + 0x138]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x408585
mov ecx, dword [str.Act]
mov dl, byte [0x4769b4]
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 0x4085d4
lea eax, [esp + 0x138]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x4085b7
mov ecx, dword [str.Boot]
mov dx, word [0x4769bc]
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 0x40860b
lea eax, [esp + 0x138]
add eax, 0xffffffff
jmp 0x4085f0
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x4085f0
mov ecx, dword [str.Sys]
mov dl, byte [0x4769c4]
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 0x408615
sub eax, edx
jne 0x40864b
lea eax, [esp + 0x138]
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x408630
mov ecx, dword [str.None]
mov dl, byte [0x4769cc]
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.00407db0
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.00407db0
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.00407c10
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 0x408700
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 0x408741
xor eax, eax
mov dword [esp + 0x24], eax
jmp 0x40874e
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 0x40876f
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.00407c10
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.00407c10
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 [0x503544], 1
jne 0x408894
or dword [0x503544], 1
push 0x4732e0
mov dword [0x503520], 0x4e7bc8
mov dword [0x503524], 0xffffffff
call fcn.0046d920
add esp, 4
mov edx, dword [0x503520]
mov eax, dword [edx + 8]
lea ecx, [esp + 0x1b8]
push ecx
push 0x503520
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 0x4083d0
test byte [0x503544], 1
jne 0x408900
or dword [0x503544], ebp
push 0x4732e0
mov dword [0x503520], 0x4e7bc8
mov dword [0x503524], 0xffffffff
call fcn.0046d920
add esp, 4
mov ecx, dword [0x503520]
mov edx, dword [ecx + 8]
push 0x476a66
push 0x503520
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 0x4083a2
mov ecx, dword [esp + 0x9bc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046d6fd
add esp, 0x9b4
ret