Function at 0x4306c0
Capabilities:
Get disk size
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x55329e
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x5b3890]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push ebp
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
test byte [0x5b6bdc], 1
mov ebp, dword [esp + 0xf0]
mov eax, dword [esp + 0xf4]
mov ebx, ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], eax
jne 0x43075c
or dword [0x5b6bdc], 1
push 0
push str.GetDiskFreeSpaceExA
push str.kernel32.dll
push 0
mov ecx, 0x5b6990
mov dword [esp + 0xf8], 0
call fcn.0049a3f0
push 0x569eb0
call fcn.005194de
add esp, 4
mov dword [esp + 0xe8], 0xffffffff
mov ecx, 0x5b6990
call fcn.00499ed0
test eax, eax
je 0x4307a7
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
push eax
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x43093e
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi], ecx
mov dword [edi + 4], eax
mov dword [edi], edx
mov eax, 1
jmp 0x430940
push ebx
lea eax, [esp + 0x40]
push 0x50
push eax
call fcn.0051c888
push str.BCFileSlack.TMP
lea ecx, [esp + 0x4c]
push 0x50
push ecx
call fcn.0051c0c0
lea edx, [esp + 0x54]
push 0
push edx
call fcn.004b6610
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x54]
push edx
push ebx
call fcn.004b7440
add esp, 0x30
test eax, eax
je 0x43093e
push 0
push 0x80
push 2
push 0
push 0
lea eax, [esp + 0x50]
push 0x40000000
push eax
call fcn.004b5ff0
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x43093e
mov eax, str.BCSlack_temporary_file..._n
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x430823
push 0
lea ecx, [esp + 0x24]
push ecx
sub eax, edx
push eax
push str.BCSlack_temporary_file..._n
push ebp
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x430928
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x20], edx
jne 0x430928
push ebp
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x34]
push edx
push ebx
call fcn.004b7440
mov ebp, eax
lea eax, [esp + 0x4c]
push 0
push eax
mov dword [esp + 0x2c], ebp
call fcn.004b6610
add esp, 0x18
test ebp, ebp
je 0x43093e
mov eax, dword [esp + 0x24]
mov ebp, eax
sub ebp, dword [esp + 0x34]
lea ecx, [ebp - 0x200]
cmp ecx, 0x1fe00
ja 0x4308f7
mov ecx, dword [esp + 0x10]
mov edx, ebp
shr edx, 9
mov dword [ecx], edx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0xc]
xor ebx, ebx
push ebx
push ebp
push ecx
push eax
mov dword [edx], 0x200
call fcn.0051c900
push ebx
mov dword [esi + 4], edx
mov edx, dword [esp + 0x20]
push ebp
mov dword [esi], eax
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.0051c900
mov dword [edi], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 4], edx
jmp 0x430940
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x14]
push edx
push eax
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov edx, dword [esp + 0x10]
mov dword [esi], edx
mov edx, dword [esp + 0xc]
xor ecx, ecx
mov dword [esi + 4], ecx
mov dword [edi], edx
mov dword [edi + 4], ecx
jmp 0x430940
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.004b6610
add esp, 8
xor eax, eax
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.0051916c
add esp, 0xe0
ret