Function at 0x55e0f4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
mov dword [ebp - 4], 0x848c24
mov eax, dword [ebp + 0x10]
mov edx, dword [0x6f4078]
cmp eax, edx
jbe 0x55e282
mov ecx, dword [ebp + 0x10]
mov eax, dword [0x6f4078]
sub ecx, eax
mov dword [ebp - 0x24], ecx
push 0
push 0x800
mov eax, dword [ebp - 0x24]
cdq
call fcn.006744e4
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
jmp 0x55e268
cmp dword [ebp - 8], 0
jne 0x55e14b
cmp dword [ebp - 0xc], 0x11fff
jbe 0x55e156
jmp 0x55e14d
jle 0x55e156
mov eax, 0x12000
xor edx, edx
jmp 0x55e15c
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
add eax, 0x7ff
adc edx, 0
and eax, 0xfffff800
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x14]
push eax
push 0
push dword [ebp - 4]
call fcn.0066c86c
add esp, 0xc
push 0
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x14]
push eax
push dword [ebp - 4]
push dword [ebp + 0xc]
call sub.KERNEL32.DLL_WriteFile
mov eax, dword [ebp - 0x20]
xor edx, edx
cmp edx, dword [ebp - 0x10]
jne 0x55e1af
cmp eax, dword [ebp - 0x14]
je 0x55e1bb
mov eax, 0xfffffffe
jmp 0x55e395
push 0
push 0x800
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.00674507
add dword [0x6f4078], eax
mov eax, dword [0x6f4078]
xor edx, edx
mov dword [0x826584], eax
mov dword [0x826588], edx
mov eax, dword [0x826584]
mov edx, dword [0x826588]
mov dword [ebp - 0x2c], eax
sub edx, 0x80000000
mov dword [ebp - 0x28], edx
fild qword [ebp - 0x2c]
fadd qword [0x55e39c]
mov eax, dword [0x82657c]
mov edx, dword [0x826580]
mov dword [ebp - 0x34], eax
sub edx, 0x80000000
mov dword [ebp - 0x30], edx
fild qword [ebp - 0x34]
fadd qword [0x55e39c]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
call fcn.004412e0
add esp, 8
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x10]
jne 0x55e24a
cmp eax, dword [ebp - 0x14]
jbe 0x55e25a
jmp 0x55e24c
jle 0x55e25a
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
sub dword [ebp - 0xc], eax
sbb dword [ebp - 8], edx
jmp 0x55e268
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0
jne 0x55e27a
cmp dword [ebp - 0xc], 0
ja 0x55e13a
jmp 0x55e2b8
jg 0x55e13a
jmp 0x55e2b8
mov ecx, dword [ebp + 0x10]
mov eax, dword [0x6f4078]
cmp ecx, eax
jae 0x55e2b8
push 0
push 0x800
mov eax, dword [ebp + 0x10]
xor edx, edx
call fcn.006744e4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
push 0
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp + 0xc]
call fcn.0045d900
add esp, 0x10
mov dword [ebp - 0x14], 0x800
mov dword [ebp - 0x10], 0
push 2
push 0xffffffffffffffff
push 0xfffff800
push dword [ebp + 8]
call fcn.0045d900
add esp, 0x10
push dword [ebp + 8]
mov eax, dword [ebp - 0x14]
push eax
push 1
push dword [ebp - 4]
call fcn.0045d9fc
add esp, 0x10
test eax, eax
jne 0x55e2fa
or eax, 0xffffffff
jmp 0x55e395
push 0
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x14]
push eax
push dword [ebp - 4]
push dword [ebp + 0xc]
call sub.KERNEL32.DLL_WriteFile
mov eax, dword [ebp - 0x20]
xor edx, edx
cmp edx, dword [ebp - 0x10]
jne 0x55e31c
cmp eax, dword [ebp - 0x14]
je 0x55e325
mov eax, 0xfffffffe
jmp 0x55e395
inc dword [0x6f4078]
mov eax, dword [0x6f4078]
xor edx, edx
mov dword [0x826584], eax
mov dword [0x826588], edx
mov eax, dword [0x826584]
mov edx, dword [0x826588]
mov dword [ebp - 0x3c], eax
sub edx, 0x80000000
mov dword [ebp - 0x38], edx
fild qword [ebp - 0x3c]
fadd qword [0x55e39c]
mov eax, dword [0x82657c]
mov edx, dword [0x826580]
mov dword [ebp - 0x44], eax
sub edx, 0x80000000
mov dword [ebp - 0x40], edx
fild qword [ebp - 0x44]
fadd qword [0x55e39c]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
call fcn.004412e0
add esp, 8
mov eax, 1
mov esp, ebp
pop ebp
ret