Function at 0x452fb8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffe40
call fcn.00452dec
test eax, eax
jne 0x452feb
push 0x76098a
push dword [0x6eba34]
call fcn.00462a84
add esp, 8
xor eax, eax
jmp 0x453593
mov edx, dword [0x6fb15c]
test edx, edx
je 0x452ffc
xor eax, eax
jmp 0x453593
mov edx, dword [ebp + 8]
test edx, edx
je 0x453010
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x134]
test eax, eax
jne 0x453017
xor eax, eax
jmp 0x453593
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x130]
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x453031
xor eax, eax
jmp 0x453593
mov edx, dword [ebp + 8]
mov cl, byte [edx + 0x120]
test cl, cl
je 0x453514
mov eax, dword [0x6ebeb8]
test eax, eax
jne 0x453052
xor eax, eax
jmp 0x453593
mov edx, dword [ebp + 8]
push dword [edx + 0x12c]
lea ecx, [ebp - 0x105c]
push ecx
call fcn.0066ce08
add esp, 8
lea eax, [ebp - 0x105c]
push eax
call fcn.004516d4
pop ecx
lea edx, [ebp - 0x105c]
push edx
push dword [ebp + 0xc]
push 0x7609a2
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 0x4530b7
xor eax, eax
jmp 0x453593
inc dword [ebp - 0x1c]
push 0x7609a8
push dword [ebp - 0x1c]
call fcn.0066ce08
add esp, 8
push 0
lea edx, [ebp - 0x85c]
push edx
call fcn.0066ebe8
add esp, 8
test eax, eax
jne 0x453119
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 0x453119
xor eax, eax
jmp 0x453593
mov dword [ebp - 8], 0x20
push 0xc
push 0
lea edx, [ebp - 0x1068]
push edx
call fcn.0066cc88
add esp, 0xc
mov dword [ebp - 0x1068], 0xc
xor ecx, ecx
mov dword [ebp - 0x1064], ecx
xor eax, eax
mov dword [ebp - 0x1060], eax
push 0
push dword [ebp - 8]
push 2
lea edx, [ebp - 0x1068]
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
je 0x4534f7
lea edx, [ebp - 0x85c]
push edx
call fcn.004413f0
pop ecx
push 0x148
push 0
lea ecx, [ebp - 0x11b0]
push ecx
call fcn.0066cc88
add esp, 0xc
mov dword [ebp - 0x11b0], 0x100
mov dword [ebp - 0x11ac], 1
mov dword [ebp - 0x11a8], 0x148
mov dword [ebp - 0x11a4], 0xac44
xor eax, eax
mov dword [ebp - 0x11a0], eax
xor edx, edx
mov dword [ebp - 0x119c], edx
mov ecx, dword [0x770958]
mov dword [ebp - 0x1190], ecx
mov eax, dword [0x77095c]
test eax, eax
jne 0x4531fb
mov edx, dword [0x770954]
mov dword [ebp - 0x1198], edx
jmp 0x453216
mov ecx, dword [0x77095c]
cmp ecx, 3
jne 0x453216
imul eax, dword [0x770954], 0x3e8
mov dword [ebp - 0x1164], eax
mov dword [ebp - 0x118c], 1
xor edx, edx
mov dword [ebp - 0x1188], edx
xor ecx, ecx
mov dword [ebp - 0x1184], ecx
xor eax, eax
mov dword [ebp - 0x117c], eax
xor edx, edx
mov dword [ebp - 0x1178], edx
xor ecx, ecx
mov dword [ebp - 0x1180], ecx
xor eax, eax
mov dword [ebp - 0x1174], eax
test byte [0x77095c], 1
je 0x453263
mov dword [ebp - 0x1170], 1
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x2c]
push ecx
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x11b0]
push edx
call dword [0x9008d0]
add esp, 0x10
test eax, eax
je 0x453292
push dword [ebp - 4]
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
jmp 0x453593
push dword [ebp - 0x2c]
call fcn.0066bfec
pop ecx
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x28]
add edx, edx
push edx
call fcn.0066bfec
pop ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x8565f8
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
cmp eax, 4
jne 0x4532cc
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x230]
mov dword [ebp - 0x4c], eax
jmp 0x4532f4
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0xc]
cdq
push edx
push eax
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 0xc]
dec eax
cdq
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x230]
adc edx, dword [ecx + 0x234]
call fcn.0067499b
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], 0x1a
imul edx, dword [ebp - 0x50], 0x930
mov dword [ebp - 0x54], edx
mov ecx, dword [ebp - 0x28]
add ecx, ecx
mov dword [ebp - 0x58], ecx
xor eax, eax
mov dword [ebp - 0x5c], eax
xor edx, edx
mov dword [ebp - 0x40], edx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
jmp 0x45349b
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x58]
cmp eax, edx
jl 0x453353
push dword [ebp - 0x58]
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x3c]
add ecx, eax
push ecx
push dword [ebp - 0x38]
call fcn.0066cc18
add esp, 0xc
mov edx, dword [ebp - 0x58]
add dword [ebp - 0x3c], edx
mov ecx, dword [ebp - 0x58]
sub dword [ebp - 0x40], ecx
jmp 0x45345e
mov eax, dword [ebp - 0x4c]
test eax, eax
jle 0x4534a9
mov edx, dword [ebp - 0x40]
test edx, edx
jle 0x45337c
push dword [ebp - 0x40]
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x3c]
add ecx, eax
push ecx
push dword [ebp - 0x38]
call fcn.0066cc18
add esp, 0xc
mov edx, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x40]
sub edx, ecx
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
cmp eax, edx
jge 0x4533a1
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], ecx
imul eax, dword [ebp - 0x50], 0x930
mov dword [ebp - 0x54], eax
push dword [ebp - 0x50]
push dword [ebp - 0x5c]
push dword [ebp - 0x48]
push dword [ebp - 0x24]
call fcn.0045bae4
add esp, 0x10
mov eax, dword [ebp - 0x54]
cdq
add dword [0x833f58], eax
adc dword [0x833f5c], edx
mov eax, dword [0x833f58]
mov edx, dword [0x833f5c]
mov dword [ebp - 0x11b8], eax
sub edx, 0x80000000
mov dword [ebp - 0x11b4], edx
fild qword [ebp - 0x11b8]
fadd qword [0x453598]
mov eax, dword [0x833f50]
mov edx, dword [0x833f54]
mov dword [ebp - 0x11c0], eax
sub edx, 0x80000000
mov dword [ebp - 0x11bc], edx
fild qword [ebp - 0x11c0]
fadd qword [0x453598]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
call fcn.00441458
add esp, 8
mov ecx, dword [ebp - 0x50]
sub dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x50]
add dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x3c]
test edx, edx
jle 0x453453
push dword [ebp - 0x3c]
push dword [ebp - 0x48]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x40]
add ecx, eax
push ecx
call fcn.0066cc18
add esp, 0xc
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x3c]
sub edx, ecx
mov dword [ebp - 0x40], edx
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x28]
push dword [ebp - 0x30]
call dword [0x9008d4]
add esp, 0x14
test eax, eax
je 0x453487
mov dword [0x6fb15c], 1
jmp 0x4534a9
push 0
lea edx, [ebp - 0x20]
push edx
push dword [ebp - 0x44]
push dword [ebp - 0x34]
push dword [ebp - 4]
call sub.KERNEL32.DLL_WriteFile
mov ecx, dword [0x6fb15c]
test ecx, ecx
je 0x453321
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x30]
call dword [0x9008d8]
add esp, 0xc
push dword [ebp - 0x30]
call dword [0x9008dc]
pop ecx
push dword [ebp - 0x34]
call fcn.0066be14
pop ecx
push dword [ebp - 0x38]
call fcn.0066be14
pop ecx
push dword [ebp - 4]
call sub.KERNEL32.DLL_CloseHandle
test byte [0x77095c], 1
je 0x4534f7
lea edx, [ebp - 0x85c]
push edx
call dword [0x9008e4]
pop ecx
mov ecx, dword [0x6fb15c]
test ecx, ecx
je 0x45358e
lea eax, [ebp - 0x85c]
push eax
call fcn.0045255c
pop ecx
jmp 0x45358e
mov edx, dword [ebp - 0x24]
mov ecx, dword [edx + 0x280]
dec ecx
jne 0x453530
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00451740
add esp, 8
jmp 0x453593
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + 0x280]
cmp edx, 2
jne 0x453554
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push dword [ecx + 0x134]
call fcn.0045400c
add esp, 8
jmp 0x453593
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + 0x280]
cmp edx, 3
jne 0x453578
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push dword [ecx + 0x134]
call fcn.00453af8
add esp, 8
jmp 0x453593
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [eax + 0x134]
call fcn.004535a0
add esp, 8
jmp 0x453593
mov eax, 1
mov esp, ebp
pop ebp
ret