Function at 0x4ba5a9
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.0067457f
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x238]
add eax, ecx
mov dword [ebp - 0x30], eax
jmp 0x4ba90b
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp eax, edx
jl 0x4ba78e
push dword [ebp - 0x1c]
push 0
push 0x85ac24
call fcn.0066c86c
add esp, 0xc
mov dword [ebp - 0x24], 0x85ac24
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
cmp eax, edx
jge 0x4ba6f4
push 0xc
push 0x757c9c
push dword [ebp - 0x24]
call fcn.0066c7fc
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.004ac0e4
add esp, 8
movsx ecx, byte [ebp - 0x2b]
push ecx
call fcn.004ac070
pop ecx
mov edx, dword [ebp - 0x24]
mov byte [edx + 0xc], al
movsx eax, byte [ebp - 0x2a]
push eax
call fcn.004ac070
pop ecx
mov ecx, dword [ebp - 0x24]
mov byte [ecx + 0xd], al
movsx eax, byte [ebp - 0x29]
push eax
call fcn.004ac070
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 0x4ba645
push 0
lea ecx, [ebp - 0xc]
push ecx
push dword [ebp - 0x1c]
push 0x85ac24
push dword [ebp + 0x10]
call sub.KERNEL32.DLL_WriteFile
mov eax, dword [ebp - 0x20]
cdq
add dword [0x826584], eax
adc dword [0x826588], edx
mov eax, dword [0x826584]
mov edx, dword [0x826588]
mov dword [ebp - 0x38], eax
sub edx, 0x80000000
mov dword [ebp - 0x34], edx
fild qword [ebp - 0x38]
fadd qword [0x4ba929]
mov eax, dword [0x82657c]
mov edx, dword [0x826580]
mov dword [ebp - 0x40], eax
sub edx, 0x80000000
mov dword [ebp - 0x3c], edx
fild qword [ebp - 0x40]
fadd qword [0x4ba929]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
call fcn.004412e0
add esp, 8
mov ecx, dword [0x6f6920]
test ecx, ecx
je 0x4ba77d
xor eax, eax
jmp 0x4ba924
mov edx, dword [ebp - 0x18]
sub dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x18]
add dword [ebp - 0x30], ecx
jmp 0x4ba90b
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 0x85ac24
call fcn.0066c86c
add esp, 0xc
mov dword [ebp - 0x24], 0x85ac24
xor eax, eax
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
jge 0x4ba880
push 0xc
push 0x757c9c
push dword [ebp - 0x24]
call fcn.0066c7fc
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.004ac0e4
add esp, 8
movsx eax, byte [ebp - 0x2b]
push eax
call fcn.004ac070
pop ecx
mov edx, dword [ebp - 0x24]
mov byte [edx + 0xc], al
movsx ecx, byte [ebp - 0x2a]
push ecx
call fcn.004ac070
pop ecx
mov edx, dword [ebp - 0x24]
mov byte [edx + 0xd], al
movsx eax, byte [ebp - 0x29]
push eax
call fcn.004ac070
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 0x4ba7d1
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x1c]
push 0x85ac24
push dword [ebp + 0x10]
call sub.KERNEL32.DLL_WriteFile
mov eax, dword [ebp - 0x20]
cdq
add dword [0x826584], eax
adc dword [0x826588], edx
mov eax, dword [0x826584]
mov edx, dword [0x826588]
mov dword [ebp - 0x48], eax
sub edx, 0x80000000
mov dword [ebp - 0x44], edx
fild qword [ebp - 0x48]
fadd qword [0x4ba929]
mov eax, dword [0x82657c]
mov edx, dword [0x826580]
mov dword [ebp - 0x50], eax
sub edx, 0x80000000
mov dword [ebp - 0x4c], edx
fild qword [ebp - 0x50]
fadd qword [0x4ba929]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
call fcn.004412e0
add esp, 8
mov ecx, dword [0x6f6920]
test ecx, ecx
je 0x4ba906
xor eax, eax
jmp 0x4ba924
xor edx, edx
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x10]
test ecx, ecx
jle 0x4ba91f
mov eax, dword [0x6f6920]
test eax, eax
je 0x4ba60b
mov eax, 1
mov esp, ebp
pop ebp
ret