Function at 0x429bbd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
mov esi, eax
cmp dword [esi + 0x24], 0xffffffff
push edi
jne 0x429bd6
push 9
pop eax
jmp 0x42a11c
mov dword [ebp - 0xc], 0x21
mov dword [ebp - 0x2c], 0x29
mov dword [ebp - 4], 0x39
mov dword [ebp - 0x24], 0x13
mov dword [ebp - 0x10], 0x1f
mov dword [ebp - 8], 0x2f
mov dword [ebp - 0x1c], 0x24
mov dword [ebp - 0x18], 0x52
mov dword [ebp - 0x14], 0xd
mov eax, dword [ebp - 0x10]
sub eax, 0x53
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
sub ecx, eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 8]
sub eax, 0x60
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
push 0xffffffffffffffbd
pop ecx
sub ecx, eax
add ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
cmp eax, ecx
jle 0x429c71
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx + 0xd]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
mov dword [ebp - 0x24], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 0x10], ebx
test byte [edi + 4], 0x10
je 0x429d30
xor edi, edi
inc edi
push edi
call fcn.0042508f
pop ecx
test eax, eax
jne 0x429c9c
mov dword [esi + 0x10], edi
jmp 0x42a114
fld qword [0x477a58]
xor eax, eax
fstp qword [ebp - 0x30]
fld qword [0x477a50]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x30]
fadd qword [0x477a48]
fld qword [ebp - 0x30]
fmul qword [0x477a40]
fmul qword [ebp - 0x28]
fsubp st(1)
fld qword [ebp - 0x30]
fmul qword [0x477a38]
fsubp st(1)
fadd qword [0x477a30]
fadd qword [ebp - 0x28]
fsub qword [ebp - 0x28]
fsub qword [0x477aa0]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fsub qword [0x477a28]
fadd qword [ebp - 0x30]
fadd qword [0x477a20]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [ebp - 0x30]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fmul qword [0x477a98]
fmul qword [ebp - 0x30]
fld qword [ebp - 0x30]
fmul qword [0x477a18]
fdiv qword [0x4779d0]
faddp st(1)
fsub qword [ebp - 0x30]
fadd qword [ebp - 0x28]
fstp qword [ebp - 0x30]
jmp 0x42a11c
push ebx
call fcn.0042508f
pop ecx
test eax, eax
jne 0x429d47
mov dword [esi + 0x10], 1
jmp 0x42a114
push dword [edi + 4]
push 2
push ebx
push 0x40000000
push dword [ebp + 8]
call fcn.00440931
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x429d3b
mov eax, esi
call fcn.00425be9
fld qword [0x477aa0]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fmul qword [0x477a90]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fld qword [0x477a88]
fadd st(1), st(0)
fxch st(1)
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fmul qword [ebp - 0x30]
fmul qword [0x477a80]
fmul qword [ebp - 0x30]
fld qword [ebp - 0x30]
fmul qword [ebp - 0x30]
fsubp st(1)
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fadd qword [0x477a78]
fsub qword [ebp - 0x30]
fsub qword [0x477a70]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fsub qword [ebp - 0x30]
fadd qword [0x477a68]
fld qword [ebp - 0x30]
fmulp st(2)
fld qword [ebp - 0x30]
fmulp st(2)
fsubrp st(1)
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fadd qword [0x477a98]
fsub qword [ebp - 0x30]
fsub qword [ebp - 0x30]
fadd qword [ebp - 0x30]
fsub qword [ebp - 0x30]
fld qword [ebp - 0x30]
fmul qword [0x477a60]
fsubp st(1)
fstp qword [ebp - 0x30]
cmp dword [esi + 0x10], ebx
jne 0x42a109
cmp dword [esi + 0x30], ebx
jne 0x429e78
push 0x4000
call fcn.0044052a
mov dword [esi + 0x30], eax
cmp eax, ebx
jne 0x429e21
mov dword [esi + 0x10], 2
fld qword [0x4779a0]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fld qword [ebp - 0x30]
fmul qword [0x477a10]
fsubp st(1)
fld qword [ebp - 0x30]
fmul qword [ebp - 0x30]
fmul qword [ebp - 0x30]
fsubp st(1)
fadd qword [0x477970]
fadd qword [ebp - 0x30]
fld qword [ebp - 0x30]
fmul qword [0x477a08]
fmul qword [ebp - 0x30]
fsubp st(1)
fsub qword [ebp - 0x30]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fadd qword [ebp - 0x30]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fmul qword [0x477a00]
fadd qword [ebp - 0x30]
fstp qword [ebp - 0x30]
fld qword [0x477a58]
fstp qword [ebp - 0x30]
fld qword [0x477a50]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x30]
fadd qword [0x477a48]
fld qword [ebp - 0x30]
fmul qword [0x477a40]
fmul qword [ebp - 0x28]
fsubp st(1)
fld qword [ebp - 0x30]
fmul qword [0x477a38]
fsubp st(1)
fadd qword [0x477a30]
fadd qword [ebp - 0x28]
fsub qword [ebp - 0x28]
fsub qword [0x477aa0]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fsub qword [0x477a28]
fadd qword [ebp - 0x30]
fadd qword [0x477a20]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [ebp - 0x30]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fmul qword [0x477a98]
fmul qword [ebp - 0x30]
fld qword [ebp - 0x30]
fmul qword [0x477a18]
fdiv qword [0x4779d0]
faddp st(1)
fsub qword [ebp - 0x30]
fadd qword [ebp - 0x28]
fstp qword [ebp - 0x30]
cmp dword [esi + 0x10], ebx
jne 0x42a0ad
mov eax, dword [esi + 0x30]
mov ecx, 0x4000
mov edi, esi
call fcn.00429134
fld qword [0x4779f8]
fstp qword [ebp - 0x30]
mov edi, eax
fld qword [ebp - 0x30]
fld qword [0x4779f0]
fmul st(1), st(0)
fld qword [ebp - 0x30]
fmulp st(2)
fld qword [ebp - 0x30]
fdiv qword [0x4779e8]
faddp st(2)
fld qword [ebp - 0x30]
fsubp st(2)
fld qword [ebp - 0x30]
fmul qword [0x4779e0]
fmul qword [0x4779d8]
fmul qword [ebp - 0x30]
fsubp st(2)
fld qword [ebp - 0x30]
faddp st(2)
fld qword [ebp - 0x30]
faddp st(2)
fld qword [ebp - 0x30]
fmul qword [ebp - 0x30]
fmul qword [ebp - 0x30]
faddp st(2)
fxch st(1)
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fsub qword [ebp - 0x30]
fsub qword [ebp - 0x30]
fld qword [ebp - 0x30]
fdiv qword [0x4779d0]
fsubp st(1)
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fmul qword [0x4779c8]
fld qword [ebp - 0x30]
fsub qword [0x4779c0]
faddp st(1)
fsub qword [ebp - 0x30]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fsub qword [ebp - 0x30]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fsub qword [0x4779b8]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fmul qword [0x4779b0]
fadd qword [ebp - 0x30]
fadd qword [0x4779a8]
fld qword [ebp - 0x30]
fmul qword [0x4779a0]
faddp st(1)
fsub qword [ebp - 0x30]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fsub qword [0x477998]
fld qword [ebp - 0x30]
fmul qword [ebp - 0x30]
fdiv qword [0x477990]
fsubp st(1)
fadd qword [ebp - 0x30]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fsub qword [ebp - 0x30]
fadd qword [ebp - 0x30]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fdiv qword [0x477988]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fadd qword [ebp - 0x30]
fld qword [ebp - 0x30]
fmul qword [0x477980]
fdiv qword [0x477978]
fsubp st(1)
fld qword [ebp - 0x30]
fmulp st(2)
fsubrp st(1)
fsub qword [ebp - 0x30]
fsub qword [ebp - 0x30]
fadd qword [ebp - 0x30]
fsub qword [ebp - 0x30]
fadd qword [ebp - 0x30]
fsub qword [0x477970]
fld qword [ebp - 0x30]
fmul qword [ebp - 0x30]
faddp st(1)
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fsub qword [0x477968]
fstp qword [ebp - 0x30]
cmp edi, ebx
je 0x42a08e
mov eax, dword [esi + 0x30]
push ebx
lea ecx, [ebp - 0x34]
push ecx
push edi
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42a07e
cmp dword [ebp - 0x34], edi
je 0x42a085
mov dword [esi + 0x10], 3
cmp dword [esi + 0x10], ebx
je 0x429f0e
mov edi, dword [ebp + 0xc]
cmp dword [esi + 0x10], ebx
jne 0x42a0ad
call fcn.0043f1f9
lea ecx, [edi + 0x18]
push ecx
lea ecx, [edi + 8]
push ecx
add edi, 0x10
push edi
push dword [ebp - 0xc]
call dword [eax + 0x60]
mov dword [ebp - 8], 0x4c
mov dword [ebp - 4], 0x1f
mov dword [ebp - 0x24], 0x22
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
imul eax, ecx
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x30
sub eax, ecx
mov ecx, dword [ebp - 8]
sub eax, ecx
mov ecx, dword [ebp - 0x24]
sub eax, ecx
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx + 0x4b]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
cmp eax, ecx
jne 0x42a109
mov eax, dword [ebp - 0x24]
imul eax, eax, 0x57
add eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
imul eax, ecx
mov dword [ebp - 4], eax
call fcn.0043f1f9
push dword [ebp - 0xc]
call dword [eax + 0x44]
call fcn.00424e48
mov eax, dword [esi + 0x10]
pop edi
pop esi
pop ebx
leave
ret