Function at 0x414d80
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
mov eax, 0x1490
call fcn.00427e90
mov ecx, dword [edi + 0x10cc080]
push ebx
lea eax, [edi + 0x10969f8]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x10cc07c]
mov edx, dword [eax + 0xe0]
mov eax, dword [eax + 0xe4]
push ebp
push esi
mov esi, dword [ecx + 0xe0]
mov ecx, dword [ecx + 0xe4]
cmp eax, ecx
jg 0x414dd9
jl 0x414dc5
cmp edx, esi
jae 0x414dd9
mov ebp, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ecx
jmp 0x414df3
mov dword [esp + 0x30], edx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ecx
mov ebp, ecx
mov edx, esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x34], eax
mov ecx, eax
cmp edx, esi
jne 0x414dff
cmp ebp, ecx
je 0x4152d0
sub esi, edx
mov edx, dword [0x44f3ac]
sbb ecx, ebp
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x450440]
push 0x100
shl ecx, 9
add ecx, 0x44f440
push ecx
mov dword [esp + 0x20], esi
fild qword [esp + 0x20]
push 0xcc
push edx
mov dword [esp + 0x54], 0
fstp qword [esp + 0x98]
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [0x450440]
lea ecx, [eax + 1]
and ecx, 0x80000007
jns 0x414e5a
dec ecx
or ecx, 0xfffffff8
inc ecx
mov edx, dword [edi + 0x1097a10]
shl eax, 9
add eax, 0x44f440
push eax
push 2
push 0x400
push edx
mov dword [0x450440], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x3c]
mov esi, dword [edi + 0x10cc078]
push 0
push 0
push 1
lea ebx, [edi + 0x10cc074]
push eax
mov eax, ebx
call fcn.00403020
mov ecx, dword [esp + 0x3c]
xor esi, esi
push esi
push 0x20
push 3
push esi
push esi
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x50], eax
jne 0x414ee3
mov edx, dword [edi + 0x1097a10]
push 0x64
push 1
push 0x400
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0x1097a10], esi
pop esi
pop ebp
pop ebx
add esp, 0x1490
ret
push 2
push esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [edi + 0x10cc078]
mov ecx, dword [eax + 0x2c]
push 0x400
lea edx, [esp + 0x9c]
push esi
push edx
mov dword [esp + 0x34], ecx
call fcn.00425d60
add esp, 0xc
push 0x400
lea eax, [esp + 0x89c]
push esi
push eax
call fcn.00425d60
add esp, 0xc
cmp dword [esp + 0x28], esi
jle 0x414f53
lea ecx, [ecx]
mov ecx, dword [esp + 0x10]
push ebp
push ecx
mov ecx, dword [edi + 0x10cc078]
mov eax, esi
call fcn.00402c90
fstp dword [esp + esi*4 + 0x898]
add esi, 1
cmp esi, dword [esp + 0x28]
jl 0x414f30
fldz
mov edx, dword [edi + 0x10cc078]
fst qword [esp + 0x60]
push 0x400
fld dword [edx + 0x4ff0]
lea eax, [esp + 0x49c]
fstp qword [esp + 0x6c]
push 0
push eax
fstp qword [esp + 0x8c]
fld dword [ebx]
fstp qword [esp + 0x7c]
call fcn.00425d60
add esp, 0xc
push 0x400
lea ecx, [esp + 0x109c]
push 0
push ecx
call fcn.00425d60
add esp, 0xc
push 0x400
lea edx, [esp + 0xc9c]
push 0
push edx
call fcn.00425d60
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp ebp, dword [esp + 0x34]
mov ebx, ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
jg 0x415286
jl 0x414fe9
cmp eax, dword [esp + 0x30]
jae 0x415286
jmp 0x414fe9
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
sub ecx, eax
mov edx, ebx
sbb edx, ebp
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
fild qword [esp + 0x78]
fdiv qword [esp + 0x88]
fmul qword [0x4434c8]
call fcn.004278f0
mov esi, eax
cmp esi, dword [esp + 0x44]
je 0x415032
mov eax, dword [edi + 0x1097a10]
push esi
push 1
push 0x400
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x44], esi
xor esi, esi
xor ebp, ebp
cmp dword [esp + 0x28], esi
jle 0x4151fa
lea ecx, [edi + 0x10971f8]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x40]
cmp dword [edx], 0
jne 0x415063
mov eax, dword [edi + 0x10cc078]
cmp dword [eax + 0x30], 1
je 0x4151e8
mov ecx, dword [esp + 0x18]
push ebx
push ecx
mov ecx, dword [edi + 0x10cc078]
mov eax, esi
call fcn.00402c90
fstp dword [esp + 0x4c]
fld dword [esp + esi*4 + 0xc98]
fmul st(0), st(0)
fstp dword [esp + 0x58]
fld dword [esp + 0x4c]
fld st(0)
fmul st(0), st(0)
fstp dword [esp + 0x54]
fldz
fcom st(1)
fnstsw ax
test ah, 5
jp 0x4150a7
fstp st(0)
mov ebx, 1
jmp 0x4150b7
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x4150b5
or ebx, 0xffffffff
jmp 0x4150b7
xor ebx, ebx
cmp ebx, dword [esp + esi*4 + 0x1098]
jle 0x4151a2
test ebx, ebx
jle 0x4151a2
mov ecx, dword [esp + esi*4 + 0x498]
mov dword [esp + 0x5c], ecx
fild dword [esp + 0x5c]
fld qword [esp + 0x68]
fmul qword [0x4435c0]
fld qword [esp + 0x70]
fmul qword [0x4435b8]
fdivp st(1)
fcompp
fnstsw ax
test ah, 5
jp 0x4151a2
test ecx, ecx
fld dword [esp + esi*4 + 0xc98]
fabs
fstp dword [esp + 0x2c]
fld st(0)
fabs
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fld dword [esp + 0x2c]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x58]
fmul qword [0x443440]
fmulp st(1)
fdiv dword [esp + 0x2c]
fadd dword [esp + esi*4 + 0x98]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fst dword [esp + esi*4 + 0x98]
jle 0x415177
fstp st(1)
fidiv dword [esp + 0x5c]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
call fcn.0043b420
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fstp dword [esp + ebp*4 + 0x898]
fld dword [esp + 0x4c]
jmp 0x41517e
fstp dword [esp + ebp*4 + 0x898]
fld dword [esp + 0x54]
mov dword [esp + esi*4 + 0x498], 0
fmul qword [0x443440]
fmul dword [esp + 0x48]
fdiv dword [esp + 0x2c]
fstp dword [esp + esi*4 + 0x98]
mov eax, dword [esp + esi*4 + 0x498]
test eax, eax
jle 0x4151c9
fld dword [esp + 0x54]
fadd dword [esp + 0x58]
fmul qword [0x443440]
fadd dword [esp + esi*4 + 0x98]
fstp dword [esp + esi*4 + 0x98]
add eax, 1
fstp dword [esp + esi*4 + 0xc98]
mov dword [esp + esi*4 + 0x1098], ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + esi*4 + 0x498], eax
add ebp, 1
add dword [esp + 0x40], 4
add esi, 1
cmp esi, dword [esp + 0x28]
jl 0x41504a
fld qword [esp + 0x60]
fld1
fadd st(1), st(0)
fxch st(1)
fst qword [esp + 0x60]
fdiv qword [esp + 0x68]
fld qword [esp + 0x80]
fld qword [esp + 0x70]
fdivr st(1)
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x415254
push 0
faddp st(1)
lea edx, [esp + 0x98]
push edx
mov edx, dword [esp + 0x58]
fstp qword [esp + 0x88]
lea eax, [ebp*4]
push eax
lea ecx, [esp + 0x8a4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x415258
fstp st(0)
fstp st(0)
add dword [esp + 0x18], 1
adc ebx, 0
cmp ebx, dword [esp + 0x34]
mov dword [esp + 0x1c], ebx
jl 0x414fe1
jg 0x41527e
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x30]
jb 0x414fe1
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x50]
push ebp
push eax
mov ecx, edi
call fcn.00415c60
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 0x1097a10]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x64
push 1
push 0x400
push ecx
call esi
mov edx, dword [esp + 0x3c]
mov eax, dword [0x44f420]
push edx
push 1
push 0x400
push eax
mov dword [edi + 0x1097a10], 0
call esi
pop esi
pop ebp
pop ebx
add esp, 0x1490
ret