Function at 0x4ba9c8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0x24
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0xc]
imul ecx, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
imul eax, dword [ebp - 0x18], 0x930
mov dword [ebp - 0x1c], eax
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 edx, dword [ebp + 8]
mov ecx, dword [edx + 0x238]
add eax, ecx
mov dword [ebp - 0x30], eax
jmp 0x4bad2a
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp eax, edx
jl 0x4babad
push dword [ebp - 0x1c]
push 0
push 0x8685f8
call fcn.0066cc88
add esp, 0xc
mov dword [ebp - 0x24], 0x8685f8
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
cmp eax, edx
jge 0x4bab13
push 0xc
push 0x760da8
push dword [ebp - 0x24]
call fcn.0066cc18
add esp, 0xc
lea ecx, [ebp - 0x2b]
push ecx
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
add eax, edx
push eax
call fcn.004ac3cc
add esp, 8
movsx ecx, byte [ebp - 0x2b]
push ecx
call fcn.004ac358
pop ecx
mov edx, dword [ebp - 0x24]
mov byte [edx + 0xc], al
movsx eax, byte [ebp - 0x2a]
push eax
call fcn.004ac358
pop ecx
mov ecx, dword [ebp - 0x24]
mov byte [ecx + 0xd], al
movsx eax, byte [ebp - 0x29]
push eax
call fcn.004ac358
pop ecx
mov edx, dword [ebp - 0x24]
mov byte [edx + 0xe], al
mov ecx, dword [ebp - 0x24]
mov byte [ecx + 0xf], 2
mov eax, dword [ebp - 0x24]
mov byte [eax + 0x12], 0x20
mov edx, dword [ebp - 0x24]
mov byte [edx + 0x16], 0x20
mov ecx, dword [ebp - 0x24]
mov byte [ecx + 0x92c], 0x3f
mov eax, dword [ebp - 0x24]
mov byte [eax + 0x92d], 0x13
mov edx, dword [ebp - 0x24]
mov byte [edx + 0x92e], 0xb0
mov ecx, dword [ebp - 0x24]
mov byte [ecx + 0x92f], 0xbe
add dword [ebp - 0x24], 0x930
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
cmp eax, edx
jl 0x4baa64
push 0
lea ecx, [ebp - 0xc]
push ecx
push dword [ebp - 0x1c]
push 0x8685f8
push dword [ebp + 0x10]
call sub.KERNEL32.DLL_WriteFile
mov eax, dword [ebp - 0x20]
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 [0x4bad48]
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 [0x4bad48]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
call fcn.00441458
add esp, 8
mov ecx, dword [0x6fb15c]
test ecx, ecx
je 0x4bab9c
xor eax, eax
jmp 0x4bad43
mov edx, dword [ebp - 0x18]
sub dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x18]
add dword [ebp - 0x30], ecx
jmp 0x4bad2a
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xc]
imul edx, dword [ebp - 0x10]
mov dword [ebp - 0x20], edx
imul ecx, dword [ebp - 0x10], 0x930
mov dword [ebp - 0x1c], ecx
push dword [ebp - 0x1c]
push 0
push 0x8685f8
call fcn.0066cc88
add esp, 0xc
mov dword [ebp - 0x24], 0x8685f8
xor eax, eax
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
jge 0x4bac9f
push 0xc
push 0x760da8
push dword [ebp - 0x24]
call fcn.0066cc18
add esp, 0xc
lea eax, [ebp - 0x2b]
push eax
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
add edx, ecx
push edx
call fcn.004ac3cc
add esp, 8
movsx eax, byte [ebp - 0x2b]
push eax
call fcn.004ac358
pop ecx
mov edx, dword [ebp - 0x24]
mov byte [edx + 0xc], al
movsx ecx, byte [ebp - 0x2a]
push ecx
call fcn.004ac358
pop ecx
mov edx, dword [ebp - 0x24]
mov byte [edx + 0xd], al
movsx eax, byte [ebp - 0x29]
push eax
call fcn.004ac358
pop ecx
mov ecx, dword [ebp - 0x24]
mov byte [ecx + 0xe], al
mov eax, dword [ebp - 0x24]
mov byte [eax + 0xf], 2
mov edx, dword [ebp - 0x24]
mov byte [edx + 0x12], 0x20
mov ecx, dword [ebp - 0x24]
mov byte [ecx + 0x16], 0x20
mov eax, dword [ebp - 0x24]
mov byte [eax + 0x92c], 0x3f
mov edx, dword [ebp - 0x24]
mov byte [edx + 0x92d], 0x13
mov ecx, dword [ebp - 0x24]
mov byte [ecx + 0x92e], 0xb0
mov eax, dword [ebp - 0x24]
mov byte [eax + 0x92f], 0xbe
add dword [ebp - 0x24], 0x930
inc dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
jl 0x4babf0
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x1c]
push 0x8685f8
push dword [ebp + 0x10]
call sub.KERNEL32.DLL_WriteFile
mov eax, dword [ebp - 0x20]
cdq
add dword [0x833f58], eax
adc dword [0x833f5c], edx
mov eax, dword [0x833f58]
mov edx, dword [0x833f5c]
mov dword [ebp - 0x48], eax
sub edx, 0x80000000
mov dword [ebp - 0x44], edx
fild qword [ebp - 0x48]
fadd qword [0x4bad48]
mov eax, dword [0x833f50]
mov edx, dword [0x833f54]
mov dword [ebp - 0x50], eax
sub edx, 0x80000000
mov dword [ebp - 0x4c], edx
fild qword [ebp - 0x50]
fadd qword [0x4bad48]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
call fcn.00441458
add esp, 8
mov ecx, dword [0x6fb15c]
test ecx, ecx
je 0x4bad25
xor eax, eax
jmp 0x4bad43
xor edx, edx
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x10]
test ecx, ecx
jle 0x4bad3e
mov eax, dword [0x6fb15c]
test eax, eax
je 0x4baa2a
mov eax, 1
mov esp, ebp
pop ebp
ret