Function at 0x4bb11c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
mov eax, dword [ebp + 8]
mov edx, dword [eax]
cmp edx, 3
jne 0x4bb15c
push 0
push 0
push 3
push 0
push 3
push SysReAllocStringLen
mov ecx, dword [ebp + 8]
add ecx, 0x124
push ecx
call sub.KERNEL32.DLL_CreateFileA
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0xffffffff
jne 0x4bb162
xor eax, eax
jmp 0x4bb394
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x18]
push eax
push dword [ebp - 0x1c]
call fcn.004c5774
add esp, 8
test eax, eax
je 0x4bb367
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
cdq
push edx
push eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xc]
dec eax
cdq
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0x230]
adc edx, dword [ecx + 0x234]
call fcn.0067499b
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 0x24
mov edx, dword [ebp - 0x14]
shl edx, 0xb
mov dword [ebp - 0x18], edx
xor ecx, ecx
mov dword [ebp - 0x10], ecx
jmp 0x4bb350
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp eax, edx
jl 0x4bb28e
push dword [ebp - 0x14]
push 0x8565f8
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
call fcn.004c60d4
add esp, 0x10
push 0
lea ecx, [ebp - 8]
push ecx
push dword [ebp - 0x18]
push 0x8565f8
push dword [ebp + 0x10]
call sub.KERNEL32.DLL_WriteFile
mov eax, dword [ebp - 0x18]
cdq
add dword [0x833f58], eax
adc dword [0x833f5c], edx
mov eax, dword [0x833f58]
mov edx, dword [0x833f5c]
mov dword [ebp - 0x28], eax
sub edx, 0x80000000
mov dword [ebp - 0x24], edx
fild qword [ebp - 0x28]
fadd qword [0x4bb398]
mov eax, dword [0x833f50]
mov edx, dword [0x833f54]
mov dword [ebp - 0x30], eax
sub edx, 0x80000000
mov dword [ebp - 0x2c], edx
fild qword [ebp - 0x30]
fadd qword [0x4bb398]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
call fcn.00441458
add esp, 8
mov ecx, dword [0x6fb15c]
test ecx, ecx
je 0x4bb27d
mov eax, dword [ebp + 8]
mov edx, dword [eax]
cmp edx, 3
jne 0x4bb276
push dword [ebp - 0x1c]
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
jmp 0x4bb394
mov edx, dword [ebp - 0x14]
add dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x14]
sub dword [ebp - 0xc], ecx
jmp 0x4bb350
mov eax, dword [ebp - 0xc]
shl eax, 0xb
mov dword [ebp - 0x18], eax
push dword [ebp - 0xc]
push 0x8565f8
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
call fcn.004c60d4
add esp, 0x10
push 0
lea edx, [ebp - 8]
push edx
push dword [ebp - 0x18]
push 0x8565f8
push dword [ebp + 0x10]
call sub.KERNEL32.DLL_WriteFile
mov eax, dword [ebp - 0x18]
cdq
add dword [0x833f58], eax
adc dword [0x833f5c], edx
mov eax, dword [0x833f58]
mov edx, dword [0x833f5c]
mov dword [ebp - 0x38], eax
sub edx, 0x80000000
mov dword [ebp - 0x34], edx
fild qword [ebp - 0x38]
fadd qword [0x4bb398]
mov eax, dword [0x833f50]
mov edx, dword [0x833f54]
mov dword [ebp - 0x40], eax
sub edx, 0x80000000
mov dword [ebp - 0x3c], edx
fild qword [ebp - 0x40]
fadd qword [0x4bb398]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
call fcn.00441458
add esp, 8
mov ecx, dword [0x6fb15c]
test ecx, ecx
je 0x4bb345
mov eax, dword [ebp + 8]
mov edx, dword [eax]
cmp edx, 3
jne 0x4bb341
push dword [ebp - 0x1c]
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
jmp 0x4bb394
mov edx, dword [ebp - 0xc]
add dword [ebp - 0x10], edx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
test eax, eax
jle 0x4bb37d
mov edx, dword [0x6fb15c]
test edx, edx
je 0x4bb1be
jmp 0x4bb37d
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
cmp eax, 3
jne 0x4bb379
push dword [ebp - 0x1c]
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
jmp 0x4bb394
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
cmp ecx, 3
jne 0x4bb38f
push dword [ebp - 0x1c]
call sub.KERNEL32.DLL_CloseHandle
mov eax, 1
mov esp, ebp
pop ebp
ret