Function at 0x453848
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff640
mov dword [ebp - 0x2c], 0x848c24
mov eax, dword [0x6f6920]
test eax, eax
je 0x453868
xor eax, eax
jmp 0x453d4d
lea edx, [ebp - 0x3c]
push edx
push dword [ebp + 8]
call fcn.0053c444
add esp, 8
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
test ecx, ecx
jne 0x45389b
push 0x7578d1
push dword [0x6e716c]
call fcn.0046279c
add esp, 8
xor eax, eax
jmp 0x453d4d
push dword [ebp + 8]
lea edx, [ebp - 0x85c]
push edx
call fcn.0066c9ec
add esp, 8
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4538f0
push 0x5c
push dword [ebp + 8]
call fcn.0066cb35
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4538d3
mov edx, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
jmp 0x4538d6
inc dword [ebp - 0x1c]
push dword [ebp - 0x1c]
push dword [ebp + 0xc]
push 0x7578e9
lea ecx, [ebp - 0x85c]
push ecx
call fcn.00670e94
add esp, 0x10
push 0x2e
lea eax, [ebp - 0x85c]
push eax
call fcn.0066cb35
add esp, 8
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
test edx, edx
jne 0x453921
push 0x7578ef
lea ecx, [ebp - 0x85c]
push ecx
call fcn.0066c910
add esp, 8
jmp 0x453933
push 0x7578f4
mov eax, dword [ebp - 0x1c]
inc eax
push eax
call fcn.0066c9ec
add esp, 8
push 0
lea edx, [ebp - 0x85c]
push edx
call fcn.0066e7cc
add esp, 8
test eax, eax
jne 0x45398c
lea ecx, [ebp - 0x85c]
push ecx
push 0x59f7
call fcn.00402a64
pop ecx
push eax
push 0x9f2fb4
call fcn.00670e94
add esp, 0xc
push 0x9f2fb4
push 0
call fcn.00462810
add esp, 8
test eax, eax
jne 0x45398c
lea eax, [ebp - 0x3c]
push eax
call fcn.0053c4c4
pop ecx
xor eax, eax
jmp 0x453d4d
mov dword [ebp - 8], 0x20
push 0xc
push 0
lea edx, [ebp - 0x868]
push edx
call fcn.0066c86c
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 0x4539fd
lea edx, [ebp - 0x3c]
push edx
call fcn.0053c4c4
pop ecx
xor eax, eax
jmp 0x453d4d
lea edx, [ebp - 0x85c]
push edx
call fcn.00441278
pop ecx
push 0x148
push 0
lea ecx, [ebp - 0x9b0]
push ecx
call fcn.0066c86c
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 [0x76784c]
mov dword [ebp - 0x990], ecx
mov eax, dword [0x767850]
test eax, eax
jne 0x453a7b
mov edx, dword [0x767848]
mov dword [ebp - 0x998], edx
jmp 0x453a96
mov ecx, dword [0x767850]
cmp ecx, 3
jne 0x453a96
imul eax, dword [0x767848], 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 [0x767850], 1
je 0x453ae3
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 [0x8f2efc]
add esp, 0x10
test eax, eax
je 0x453b1c
push dword [ebp - 4]
call sub.KERNEL32.DLL_CloseHandle
lea ecx, [ebp - 0x3c]
push ecx
call fcn.0053c4c4
pop ecx
xor eax, eax
jmp 0x453d4d
push dword [ebp - 0x44]
call fcn.0066bbd0
pop ecx
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x40]
add edx, edx
push edx
call fcn.0066bbd0
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 0x453cc7
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x28]
cmp eax, edx
jb 0x453b90
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.0066c7fc
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 0x453c8a
mov ecx, dword [ebp - 0x34]
test ecx, ecx
jbe 0x453cd5
mov eax, dword [ebp - 0x58]
test eax, eax
jle 0x453bb9
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.0066c7fc
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.0053c4e4
add esp, 0xc
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x453cd5
mov eax, dword [ebp - 0x24]
xor edx, edx
add dword [0x826584], eax
adc dword [0x826588], edx
mov eax, dword [0x826584]
mov edx, dword [0x826588]
mov dword [ebp - 0x9b8], eax
sub edx, 0x80000000
mov dword [ebp - 0x9b4], edx
fild qword [ebp - 0x9b8]
fadd qword [0x453d54]
mov eax, dword [0x82657c]
mov edx, dword [0x826580]
mov dword [ebp - 0x9c0], eax
sub edx, 0x80000000
mov dword [ebp - 0x9bc], edx
fild qword [ebp - 0x9c0]
fadd qword [0x453d54]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
call fcn.004412e0
add esp, 8
mov ecx, dword [ebp - 0x54]
test ecx, ecx
jle 0x453c79
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.0066c7fc
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 [0x8f2f00]
add esp, 0x14
test eax, eax
je 0x453cb3
mov dword [0x6f6920], 1
jmp 0x453cd5
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 [0x6f6920]
test edx, edx
je 0x453b54
lea ecx, [ebp - 0x5c]
push ecx
push dword [ebp - 0x4c]
push dword [ebp - 0x48]
call dword [0x8f2f04]
add esp, 0xc
push dword [ebp - 0x48]
call dword [0x8f2f08]
pop ecx
push dword [ebp - 0x4c]
call fcn.0066b9f8
pop ecx
push dword [ebp - 0x50]
call fcn.0066b9f8
pop ecx
push dword [ebp - 4]
call sub.KERNEL32.DLL_CloseHandle
lea eax, [ebp - 0x3c]
push eax
call fcn.0053c4c4
pop ecx
test byte [0x767850], 1
je 0x453d2d
lea edx, [ebp - 0x85c]
push edx
call dword [0x8f2f10]
pop ecx
mov ecx, dword [0x6f6920]
test ecx, ecx
je 0x453d48
lea eax, [ebp - 0x85c]
push eax
call fcn.004522ac
pop ecx
xor eax, eax
jmp 0x453d4d
mov eax, 1
mov esp, ebp
pop ebp
ret