Function at 0x453af8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff640
mov dword [ebp - 0x2c], 0x8565f8
mov eax, dword [0x6fb15c]
test eax, eax
je 0x453b18
xor eax, eax
jmp 0x453ffd
lea edx, [ebp - 0x3c]
push edx
push dword [ebp + 8]
call fcn.0053c860
add esp, 8
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
test ecx, ecx
jne 0x453b4b
push 0x7609d6
push dword [0x6eba34]
call fcn.00462a84
add esp, 8
xor eax, eax
jmp 0x453ffd
push dword [ebp + 8]
lea edx, [ebp - 0x85c]
push edx
call fcn.0066ce08
add esp, 8
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x453ba0
push 0x5c
push dword [ebp + 8]
call fcn.0066cf51
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x453b83
mov edx, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
jmp 0x453b86
inc dword [ebp - 0x1c]
push dword [ebp - 0x1c]
push dword [ebp + 0xc]
push 0x7609ee
lea ecx, [ebp - 0x85c]
push ecx
call fcn.006712b0
add esp, 0x10
push 0x2e
lea eax, [ebp - 0x85c]
push eax
call fcn.0066cf51
add esp, 8
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
test edx, edx
jne 0x453bd1
push 0x7609f4
lea ecx, [ebp - 0x85c]
push ecx
call fcn.0066cd2c
add esp, 8
jmp 0x453be3
push 0x7609f9
mov eax, dword [ebp - 0x1c]
inc eax
push eax
call fcn.0066ce08
add esp, 8
push 0
lea edx, [ebp - 0x85c]
push edx
call fcn.0066ebe8
add esp, 8
test eax, eax
jne 0x453c3c
lea ecx, [ebp - 0x85c]
push ecx
push 0x59f7
call fcn.00402b9c
pop ecx
push eax
push 0xa00988
call fcn.006712b0
add esp, 0xc
push 0xa00988
push 0
call fcn.00462af8
add esp, 8
test eax, eax
jne 0x453c3c
lea eax, [ebp - 0x3c]
push eax
call fcn.0053c8e0
pop ecx
xor eax, eax
jmp 0x453ffd
mov dword [ebp - 8], 0x20
push 0xc
push 0
lea edx, [ebp - 0x868]
push edx
call fcn.0066cc88
add esp, 0xc
mov dword [ebp - 0x868], 0xc
xor ecx, ecx
mov dword [ebp - 0x864], ecx
xor eax, eax
mov dword [ebp - 0x860], eax
push 0
push dword [ebp - 8]
push 2
lea edx, [ebp - 0x868]
push edx
push 0
push 0x40000000
lea ecx, [ebp - 0x85c]
push ecx
call sub.KERNEL32.DLL_CreateFileA
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffffffff
jne 0x453cad
lea edx, [ebp - 0x3c]
push edx
call fcn.0053c8e0
pop ecx
xor eax, eax
jmp 0x453ffd
lea edx, [ebp - 0x85c]
push edx
call fcn.004413f0
pop ecx
push 0x148
push 0
lea ecx, [ebp - 0x9b0]
push ecx
call fcn.0066cc88
add esp, 0xc
mov dword [ebp - 0x9b0], 0x100
mov dword [ebp - 0x9ac], 1
mov dword [ebp - 0x9a8], 0x148
mov dword [ebp - 0x9a4], 0xac44
xor eax, eax
mov dword [ebp - 0x9a0], eax
xor edx, edx
mov dword [ebp - 0x99c], edx
mov ecx, dword [0x770958]
mov dword [ebp - 0x990], ecx
mov eax, dword [0x77095c]
test eax, eax
jne 0x453d2b
mov edx, dword [0x770954]
mov dword [ebp - 0x998], edx
jmp 0x453d46
mov ecx, dword [0x77095c]
cmp ecx, 3
jne 0x453d46
imul eax, dword [0x770954], 0x3e8
mov dword [ebp - 0x964], eax
mov dword [ebp - 0x98c], 1
xor edx, edx
mov dword [ebp - 0x988], edx
xor ecx, ecx
mov dword [ebp - 0x984], ecx
xor eax, eax
mov dword [ebp - 0x97c], eax
xor edx, edx
mov dword [ebp - 0x978], edx
xor ecx, ecx
mov dword [ebp - 0x980], ecx
xor eax, eax
mov dword [ebp - 0x974], eax
test byte [0x77095c], 1
je 0x453d93
mov dword [ebp - 0x970], 1
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x44]
push ecx
lea eax, [ebp - 0x40]
push eax
lea edx, [ebp - 0x9b0]
push edx
call dword [0x9008d0]
add esp, 0x10
test eax, eax
je 0x453dcc
push dword [ebp - 4]
call sub.KERNEL32.DLL_CloseHandle
lea ecx, [ebp - 0x3c]
push ecx
call fcn.0053c8e0
pop ecx
xor eax, eax
jmp 0x453ffd
push dword [ebp - 0x44]
call fcn.0066bfec
pop ecx
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x40]
add edx, edx
push edx
call fcn.0066bfec
pop ecx
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x40]
add ecx, ecx
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
xor edx, edx
mov dword [ebp - 0x58], edx
xor ecx, ecx
mov dword [ebp - 0x54], ecx
jmp 0x453f77
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x28]
cmp eax, edx
jb 0x453e40
push dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x54]
add ecx, eax
push ecx
push dword [ebp - 0x50]
call fcn.0066cc18
add esp, 0xc
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x28]
add edx, ecx
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x28]
sub eax, edx
mov dword [ebp - 0x58], eax
jmp 0x453f3a
mov ecx, dword [ebp - 0x34]
test ecx, ecx
jbe 0x453f85
mov eax, dword [ebp - 0x58]
test eax, eax
jle 0x453e69
push dword [ebp - 0x58]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x54]
add edx, ecx
push edx
push dword [ebp - 0x50]
call fcn.0066cc18
add esp, 0xc
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x58]
sub eax, edx
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x3c]
push ecx
push 0x12000
push dword [ebp - 0x2c]
call fcn.0053c900
add esp, 0xc
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x453f85
mov eax, dword [ebp - 0x24]
xor edx, edx
add dword [0x833f58], eax
adc dword [0x833f5c], edx
mov eax, dword [0x833f58]
mov edx, dword [0x833f5c]
mov dword [ebp - 0x9b8], eax
sub edx, 0x80000000
mov dword [ebp - 0x9b4], edx
fild qword [ebp - 0x9b8]
fadd qword [0x454004]
mov eax, dword [0x833f50]
mov edx, dword [0x833f54]
mov dword [ebp - 0x9c0], eax
sub edx, 0x80000000
mov dword [ebp - 0x9bc], edx
fild qword [ebp - 0x9c0]
fadd qword [0x454004]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
call fcn.00441458
add esp, 8
mov ecx, dword [ebp - 0x54]
test ecx, ecx
jle 0x453f29
push dword [ebp - 0x54]
push dword [ebp - 0x2c]
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x58]
add eax, edx
push eax
call fcn.0066cc18
add esp, 0xc
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x54]
sub ecx, eax
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x24]
sub dword [ebp - 0x34], edx
lea ecx, [ebp - 0x5c]
push ecx
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push dword [ebp - 0x40]
push dword [ebp - 0x48]
call dword [0x9008d4]
add esp, 0x14
test eax, eax
je 0x453f63
mov dword [0x6fb15c], 1
jmp 0x453f85
push 0
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x4c]
push dword [ebp - 4]
call sub.KERNEL32.DLL_WriteFile
mov edx, dword [0x6fb15c]
test edx, edx
je 0x453e04
lea ecx, [ebp - 0x5c]
push ecx
push dword [ebp - 0x4c]
push dword [ebp - 0x48]
call dword [0x9008d8]
add esp, 0xc
push dword [ebp - 0x48]
call dword [0x9008dc]
pop ecx
push dword [ebp - 0x4c]
call fcn.0066be14
pop ecx
push dword [ebp - 0x50]
call fcn.0066be14
pop ecx
push dword [ebp - 4]
call sub.KERNEL32.DLL_CloseHandle
lea eax, [ebp - 0x3c]
push eax
call fcn.0053c8e0
pop ecx
test byte [0x77095c], 1
je 0x453fdd
lea edx, [ebp - 0x85c]
push edx
call dword [0x9008e4]
pop ecx
mov ecx, dword [0x6fb15c]
test ecx, ecx
je 0x453ff8
lea eax, [ebp - 0x85c]
push eax
call fcn.0045255c
pop ecx
xor eax, eax
jmp 0x453ffd
mov eax, 1
mov esp, ebp
pop ebp
ret