Function at 0x43b530
Capabilities:
Get disk information
Get disk size
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
push ebx
push esi
push edi
push eax
xor eax, eax
pop eax
je 0x43b544
invalid
mov bl, byte [ebp + 8]
movsx esi, bl
push esi
call fcn.0042b7d4
add esp, 4
test eax, eax
jne 0x43b563
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ax, word [0x4c05e0]
mov ecx, 0x1f
mov word [ebp - 0x94], ax
xor eax, eax
lea edi, [ebp - 0x92]
push esi
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x94]
push str.___C:
push ecx
stosw word es:[edi], ax
call fcn.0042bb43
add esp, 0xc
lea edx, [ebp - 0x94]
push 0
push 0x4b3aec
push edx
push 0
call fcn.00442be0
mov esi, eax
test esi, esi
mov dword [ebp - 4], esi
jne 0x43b5c0
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x4b7af4]
mov cl, byte [0x4c05e4]
mov dword [ebp + 8], eax
mov byte [ebp - 0x19c], cl
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x19b]
lea edx, [ebp - 0x19c]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [ebp - 0x19c]
rep stosd dword es:[edi], eax
push 0x104
push edx
push 0
push 0
stosb byte es:[edi], al
push 0
push 0
lea eax, [ebp + 8]
push 0
push eax
mov dword [ebp - 0xc], 0xffffffff
mov byte [ebp + 8], bl
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x43b83a
lea ecx, [ebp - 0x19c]
push 0x4b7b00
push ecx
call fcn.0042c2e0
add esp, 8
test eax, eax
jne 0x43b643
mov edi, dword [ebp + 0xc]
mov byte [edi], 7
jmp 0x43b665
lea edx, [ebp - 0x19c]
push 0x4b7af8
push edx
call fcn.0042c2e0
add esp, 8
test eax, eax
jne 0x43b83a
mov edi, dword [ebp + 0xc]
mov byte [edi], 0xb
lea eax, [ebp - 0x54]
push 0x40
push eax
push 0
push 0
lea ecx, [ebp - 0x14]
push 0x560000
push ecx
push 0
push 0
push 0
push esi
call dword [sym.imp.ntdll.dll_ZwDeviceIoControlFile]
test eax, eax
jge 0x43b694
cmp eax, reloc.WSOCK32.dll_getpeername
jne 0x43b83a
cmp dword [ebp - 0x54], 1
jne 0x43b83a
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
mov dword [edi + 4], edx
mov edx, dword [ebp - 0x3c]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x38]
mov dword [edi + 0x10], edx
mov dword [edi + 0xc], ecx
mov dword [edi + 0x14], eax
mov ecx, dword [0x4b7af4]
lea edx, [ebp - 8]
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 8]
push edx
lea ecx, [ebp + 0xc]
push eax
lea edx, [ebp + 8]
push ecx
lea eax, [ebp - 0x10]
push edx
push eax
mov byte [ebp - 0x10], bl
mov dword [ebp + 8], 8
mov dword [ebp + 0xc], 0x200
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x43b83a
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00443220
test al, al
je 0x43b83a
mov edx, dword [ebp + 8]
push edx
call fcn.00443270
test al, al
je 0x43b83a
mov cl, byte [edi]
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
cmp cl, 7
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], edx
sete cl
push eax
xor eax, eax
pop eax
je 0x43b73d
invalid
test cl, cl
je 0x43b749
lea eax, [edx + edx]
jmp 0x43b805
push ebx
call fcn.004867df
mov esi, eax
add esp, 4
test esi, esi
je 0x43b83a
mov eax, dword [ebp - 4]
push 0
push 0
push ebx
push esi
push eax
call fcn.00442c40
cmp eax, ebx
push esi
je 0x43b77d
call fcn.00486808
add esp, 4
jmp 0x43b83a
call fcn.0044bce0
add esp, 4
test al, al
jne 0x43b797
push esi
call fcn.00486808
add esp, 4
jmp 0x43b83a
mov cx, word [esi + 0xb]
mov dl, byte [esi + 0xd]
mov ax, word [esi + 0xe]
mov word [ebp - 0x44], cx
mov cl, byte [esi + 0x10]
mov byte [ebp - 0x42], dl
mov dx, word [esi + 0x16]
mov word [ebp - 0x40], ax
mov eax, dword [esi + 0x24]
push esi
mov byte [ebp - 0x3e], cl
mov word [ebp - 0x36], dx
mov dword [ebp - 0x28], eax
call fcn.00486808
add esp, 4
cmp word [ebp - 0x36], 0
jne 0x43b83a
mov ecx, dword [ebp - 0x44]
and ecx, 0xffff
cmp ecx, ebx
jne 0x43b83a
mov edx, dword [ebp - 0x42]
mov eax, dword [ebp + 8]
and edx, 0xff
cmp edx, eax
jne 0x43b83a
mov eax, dword [ebp - 0x3e]
mov ecx, dword [ebp - 0x40]
and eax, 0xff
and ecx, 0xffff
imul eax, dword [ebp - 0x28]
add eax, ecx
test eax, eax
je 0x43b83a
mov edx, dword [edi + 0x1c]
push 0x11
shl edx, 1
sub eax, edx
mov edx, dword [ebp - 4]
mov dword [edi + 0x20], eax
lea eax, [ebp + 8]
push 4
lea ecx, [ebp - 0x14]
push eax
push ecx
push edx
call dword [sym.imp.ntdll.dll_ZwQueryInformationFile]
test eax, eax
jl 0x43b83a
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], 0
mov dword [edi + 0x24], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00442e10
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8