Function at 0x5e0d90
Capabilities:
Get disk information
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x65450c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x870
mov dword [esp + 0x38], ecx
push ebx
mov ecx, dword [esp + 0x884]
mov ebx, dword [esp + 0x888]
mov eax, ecx
push ebp
push esi
or eax, ebx
push edi
jne 0x5e0dce
xor eax, eax
jmp 0x5e13d5
mov eax, dword [esp + 0x898]
xor ebp, ebp
cmp eax, ebp
jne 0x5e0de2
xor eax, eax
jmp 0x5e13d5
fild qword [esp + 0x890]
cmp ebx, 1
mov dword [esp + 0x20], ebp
mov byte [esp + 0x13], 0
mov byte [esp + 0x12], 0
fmul qword [0x664158]
fstp qword [esp + 0x5c]
jl 0x5e0e13
jg 0x5e0e0c
cmp ecx, ebp
jbe 0x5e0e13
mov byte [esp + 0x12], 1
jmp 0x5e0e26
cmp ebx, ebp
jl 0x5e0e26
jg 0x5e0e21
cmp ecx, 0x80000000
jbe 0x5e0e26
mov byte [esp + 0x13], 1
lea ecx, [esp + 0x78]
lea edx, [esp + 0x480]
push ecx
push edx
lea ecx, [esp + 0x688]
lea edx, [esp + 0x2c]
push ecx
push edx
push eax
call fcn.0060a943
add esp, 0x14
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebp
je 0x5e0e6f
push str.GetDiskFreeSpaceExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
je 0x5e0e73
mov ecx, 1
jmp 0x5e0e75
mov eax, dword [esp + 0x20]
xor ecx, ecx
or esi, 0xffffffff
or edi, 0xffffffff
cmp ecx, ebp
je 0x5e0ea3
lea ecx, [esp + 0x68]
lea edx, [esp + 0x70]
push ecx
push edx
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x2c]
push ecx
push edx
call eax
test eax, eax
je 0x5e0ed6
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x58]
jmp 0x5e0ed6
lea eax, [esp + 0x64]
lea ecx, [esp + 0x38]
push eax
lea edx, [esp + 0x50]
push ecx
lea eax, [esp + 0x58]
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x5e0ed6
mov esi, dword [esp + 0x50]
imul esi, dword [esp + 0x4c]
imul esi, dword [esp + 0x38]
xor edi, edi
cmp edi, ebx
jg 0x5e1117
jl 0x5e0eed
cmp esi, dword [esp + 0x890]
ja 0x5e1117
and esi, edi
cmp esi, 0xffffffff
je 0x5e1117
lea edx, [esp + 0x480]
lea ecx, [esp + 0x2c]
push edx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], ebp
mov word [esp + 0x34], bp
call fcn.00401f20
lea eax, [esp + 0x78]
mov dword [esp + 0x888], ebp
test eax, eax
je 0x5e0fbe
lea ecx, [esp + 0x78]
push ecx
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x5e0fbe
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x5e0f53
push eax
call fcn.00609a4e
add esp, 4
mov esi, eax
jmp 0x5e0f55
xor esi, esi
lea edx, [esp + 0x78]
push edx
call fcn.00609a4e
add eax, esi
lea eax, [eax + eax + 2]
push eax
call fcn.00622acb
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x5e0fbe
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x5e0f96
push eax
push esi
call fcn.00609a95
lea ecx, [esp + 0x80]
push ecx
push esi
call fcn.00609a6b
add esp, 0x10
jmp 0x5e0fa4
lea edx, [esp + 0x78]
push edx
push esi
call fcn.00609a95
add esp, 8
lea ecx, [esp + 0x2c]
call fcn.00401070
push esi
mov dword [esp + 0x30], esi
call fcn.00609a4e
add esp, 4
mov dword [esp + 0x34], eax
mov esi, dword [esp + 0x2c]
cmp esi, ebp
jne 0x5e0fca
lea esi, [esp + 0x30]
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x30]
push ecx
call fcn.00609a4e
push esi
mov ebx, eax
call fcn.00609a4e
mov edi, dword [0x6fdf34]
add ebx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebx + ecx + 0x100]
mov dword [esp + 0x40], eax
lea edx, [eax + eax]
push edx
call fcn.00622acb
mov esi, eax
add esp, 0xc
cmp esi, ebp
je 0x5e10fc
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ebp
mov word [esp + 0x18], bp
mov ebx, dword [0x6fca90]
mov ebp, dword [0x6fdf34]
lea ecx, [esp + 0x14]
mov byte [esp + 0x888], 1
call fcn.00401070
test ebp, ebp
je 0x5e108c
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x5e108c
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push eax
push 0xffffffffffffffff
push ebp
push eax
push ebx
call edi
test eax, eax
mov dword [esp + 0x1c], eax
je 0x5e108c
lea eax, [eax + eax + 2]
push eax
call fcn.00622acb
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x5e108c
mov ecx, dword [esp + 0x1c]
push ecx
push eax
push 0xffffffffffffffff
push ebp
push 0
push ebx
call edi
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x5e1098
lea ecx, [esp + 0x30]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5e10a4
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x48]
mov edx, dword [edx + 0x30]
push edx
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x89c]
push edx
mov edx, dword [esp + 0x89c]
push edx
push ecx
push eax
mov eax, dword [esp + 0x50]
push eax
push esi
call fcn.006099de
push 0x50030
push 0x6c9094
push esi
push 0
call fcn.00457200
push esi
call fcn.00622af4
add esp, 0x34
lea ecx, [esp + 0x14]
mov byte [esp + 0x888], 0
call fcn.00401070
xor ebp, ebp
lea ecx, [esp + 0x2c]
mov esi, 1
mov dword [esp + 0x888], 0xffffffff
call fcn.00401070
jmp 0x5e111b
mov esi, dword [esp + 0x20]
mov al, byte [esp + 0x13]
test al, al
jne 0x5e112f
mov al, byte [esp + 0x12]
test al, al
je 0x5e13d3
lea ecx, [esp + 0x24]
push 0x6c91c0
push ecx
call fcn.00609a6b
add esp, 8
lea edx, [esp + 0x278]
lea eax, [esp + 0x24]
push 0x104
push edx
push ebp
push ebp
push ebp
push ebp
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x5e13d3
lea ecx, [esp + 0x278]
push 0x6ef148
push ecx
call fcn.0060c3d3
add esp, 8
test eax, eax
je 0x5e11a8
mov al, byte [esp + 0x12]
test al, al
je 0x5e13d3
lea edx, [esp + 0x278]
push str.FAT32
push edx
call fcn.0060c3d3
add esp, 8
test eax, eax
jne 0x5e13d3
lea eax, [esp + 0x480]
lea ecx, [esp + 0x14]
push eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], ebp
mov word [esp + 0x1c], bp
call fcn.00401f20
lea ecx, [esp + 0x78]
mov dword [esp + 0x888], 2
test ecx, ecx
je 0x5e1272
lea edx, [esp + 0x78]
push edx
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x5e1272
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x5e1207
push eax
call fcn.00609a4e
add esp, 4
mov esi, eax
jmp 0x5e1209
xor esi, esi
lea eax, [esp + 0x78]
push eax
call fcn.00609a4e
add eax, esi
lea ecx, [eax + eax + 2]
push ecx
call fcn.00622acb
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x5e1272
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x5e124a
push eax
push esi
call fcn.00609a95
lea edx, [esp + 0x80]
push edx
push esi
call fcn.00609a6b
add esp, 0x10
jmp 0x5e1258
lea eax, [esp + 0x78]
push eax
push esi
call fcn.00609a95
add esp, 8
lea ecx, [esp + 0x14]
call fcn.00401070
push esi
mov dword [esp + 0x18], esi
call fcn.00609a4e
add esp, 4
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
jne 0x5e127e
lea eax, [esp + 0x18]
push eax
call fcn.00609a4e
mov edi, dword [0x6fd2cc]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [edx + ecx + 0x100]
mov dword [esp + 0x24], eax
add eax, eax
push eax
call fcn.00622acb
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x5e13b8
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x44], ebp
mov word [esp + 0x40], bp
mov ebx, dword [0x6fca90]
mov ebp, dword [0x6fd2cc]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x888], 3
call fcn.00401070
test ebp, ebp
je 0x5e1330
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x5e1330
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push eax
push 0xffffffffffffffff
push ebp
push eax
push ebx
call edi
test eax, eax
mov dword [esp + 0x44], eax
je 0x5e1330
lea ecx, [eax + eax + 2]
push ecx
call fcn.00622acb
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
je 0x5e1330
mov edx, dword [esp + 0x44]
push edx
push eax
push 0xffffffffffffffff
push ebp
push 0
push ebx
call edi
mov dword [esp + 0x44], eax
mov ebx, dword [esp + 0x14]
test ebx, ebx
jne 0x5e133c
lea ebx, [esp + 0x18]
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x5e1348
lea edi, [esp + 0x40]
lea eax, [esp + 0x278]
push 0x6ef148
push eax
call fcn.0060c3d3
add esp, 8
lea ecx, [esp + 0x278]
neg eax
sbb eax, eax
lea edx, [esp + 0x24]
and eax, 2
add eax, 2
push eax
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x2c]
push eax
push ecx
push ebx
push edi
push edx
push esi
call fcn.006099de
push 0x50030
push 0x6c9094
push esi
push 0
call fcn.00457200
push esi
call fcn.00622af4
add esp, 0x38
lea ecx, [esp + 0x3c]
mov byte [esp + 0x888], 2
call fcn.00401070
lea ecx, [esp + 0x14]
mov dword [esp + 0x888], 0xffffffff
call fcn.00401070
mov eax, 2
jmp 0x5e13d5
mov eax, esi
mov ecx, dword [esp + 0x880]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x87c
ret 0xc