Function at 0x40ce80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x628
push ebx
push ebp
xor ebp, ebp
push esi
cmp word [0x44c662], bp
push edi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x64], ebp
je 0x40db74
cmp word [0x44c65c], bp
je 0x40db74
cmp dword [0x4494f0], ebp
jne 0x40cf0d
push str.___n
call fcn.00430d30
add esp, 4
push 0x3e7
push 0x44cb40
push 9
push ebp
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x44cb40
lea eax, [esp + 0x220]
push str.____s__n
push eax
call fcn.0043465f
lea ecx, [esp + 0x228]
push ecx
call fcn.00430d30
push str.___n
call fcn.00430d30
add esp, 0x14
lea edx, [esp + 0x64]
push edx
push 0x44c530
call fcn.004304d0
mov ecx, dword [esp + 0x6c]
add esp, 8
xor eax, eax
cmp ecx, ebp
mov dword [0x4494fc], ebp
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0xbc], eax
jle 0x40db56
jmp 0x40cf74
xor ebp, ebp
lea ecx, [esp + 0x5c]
or ebx, 0xffffffff
push ecx
push eax
push 0x44c530
mov dword [0x44c5a4], ebp
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [0x442038], ebx
call fcn.00430540
lea edx, [esp + 0x188]
lea eax, [esp + 0x8c]
push edx
lea ecx, [esp + 0xe8]
push eax
lea edx, [esp + 0x20c]
push ecx
lea eax, [esp + 0x118]
push edx
lea ecx, [esp + 0x50]
push eax
push ecx
lea edx, [esp + 0x80]
push 0x44ad60
push edx
call fcn.00419ec0
add esp, 0x2c
cmp eax, 0x13ec
jne 0x40db3b
lea eax, [esp + 0x5c]
push eax
call fcn.0041a8b0
mov ecx, dword [esp + 0x1e4]
mov edx, dword [esp + 0x1e8]
mov esi, eax
mov eax, dword [esp + 0x1ec]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1f8]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xd4], ecx
mov ecx, dword [esp + 0x1f0]
mov dword [esp + 0xd8], edx
mov edx, dword [esp + 0x1f4]
add esp, 4
cmp eax, ebp
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], edx
je 0x40d08f
mov dword [0x442038], 1
push 2
lea ecx, [esp + 0x108]
push ebp
push ecx
push 0x3e8
lea edx, [esp + 0x6c]
push str.DUMMY
push edx
call fcn.0041ad80
add esp, 0x18
test eax, eax
je 0x40d0e1
lea eax, [esp + 0x40]
lea ecx, [esp + 0x48]
push eax
lea edx, [esp + 0xfc]
push ecx
lea eax, [esp + 0x40]
push edx
push eax
lea ecx, [esp + 0x114]
push str._lf__lf__lf__lf
push ecx
call fcn.004343c9
add esp, 0x18
cmp esi, 1
je 0x40d678
jle 0x40da7c
cmp esi, 3
jg 0x40da7c
fld qword [esp + 0x20]
fcom qword [esp + 0x28]
fnstsw ax
test ah, 1
je 0x40d11d
fadd qword [0x440248]
fcom qword [esp + 0x28]
fnstsw ax
test ah, 1
jne 0x40d108
fst qword [esp + 0x20]
mov eax, dword [esp + 0x34]
mov dword [0x442038], ebx
cmp eax, ebp
je 0x40d15d
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
fstp qword [esp + 0x28]
mov dword [esp + 0xc8], edx
mov ecx, edx
mov edx, eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov dword [0x442038], 1
jmp 0x40d15f
fstp st(0)
cmp esi, 2
jne 0x40d18e
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0x544486e0
mov dword [esp + 0x24], 0x401921fb
mov dword [0x442038], ebx
mov dword [esp + 0x34], ebp
mov esi, dword [esp + 0xd4]
mov edi, dword [esp + 0xd0]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
lea eax, [esp + 0x80]
lea ecx, [esp + 0x1c8]
push eax
push esi
push edi
push ebx
push ebp
push ecx
call fcn.00432cb0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0xf0]
push edx
push esi
push edi
push eax
lea edx, [esp + 0x1f0]
push ecx
push edx
call fcn.00432cb0
push ebx
push ebp
call fcn.0041c920
mov eax, dword [0x442038]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
push ecx
lea eax, [eax + eax*4]
push edx
lea eax, [eax + eax*8]
shl eax, 1
mov dword [esp + 0x58], eax
fild dword [esp + 0x58]
fsubp st(1)
fstp qword [esp + 0x90]
call fcn.0041c920
mov ecx, dword [0x442038]
add esp, 0x40
lea eax, [ecx + ecx*4]
lea eax, [eax + eax*8]
shl eax, 1
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fsubp st(1)
fcom qword [0x440218]
fnstsw ax
test ah, 0x41
jne 0x40d24d
fsub qword [0x440218]
fcom qword [0x440218]
fnstsw ax
test ah, 0x41
je 0x40d23a
fld qword [esp + 0x50]
fcom qword [0x440218]
fnstsw ax
test ah, 0x41
jne 0x40d32c
fsub qword [0x440218]
fcom qword [0x440218]
fnstsw ax
test ah, 0x41
je 0x40d262
fstp qword [esp + 0x50]
fsubr qword [esp + 0xa0]
fcom qword [0x440220]
fst qword [esp + 0x10]
fnstsw ax
test ah, 1
je 0x40d2a8
fadd qword [0x440218]
fcom qword [0x440220]
fnstsw ax
test ah, 1
jne 0x40d291
fst qword [esp + 0x10]
fcom qword [0x440230]
fnstsw ax
test ah, 0x41
jne 0x40d2cc
fsub qword [0x440218]
fcom qword [0x440230]
fnstsw ax
test ah, 0x41
je 0x40d2b5
fst qword [esp + 0x10]
movsx edx, word [0x44a8a0]
fabs
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fcompp
fnstsw ax
test ah, 0x41
je 0x40d2ef
mov eax, dword [0x4494fc]
test eax, eax
jne 0x40d2ff
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
cmp ecx, 1
jne 0x40d333
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xb0], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
jmp 0x40d359
fstp st(0)
jmp 0x40d279
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xb0], edx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x74]
push eax
push ecx
push edx
push esi
push edi
call fcn.00416670
fcomp qword [0x44c5fc]
add esp, 0x18
fnstsw ax
test ah, 0x41
jne 0x40db3b
cmp word [0x44c662], 0
je 0x40da7c
fld qword [esp + 0x28]
fsub qword [esp + 0x20]
sub esp, 8
fstp qword [esp]
call fcn.0041c920
fabs
fmul qword [0x44c634]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x54]
push eax
fmul qword [0x440260]
mov eax, dword [esp + 0x54]
push ecx
push edx
push eax
mov eax, dword [esp + 0x54]
fchs
fstp qword [esp + 0xd8]
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0xd8]
push ecx
mov ecx, dword [esp + 0x54]
push edx
push eax
push ecx
lea edx, [esp + 0x12c]
push str._.2f__.2f__.2f__.2f_0.0
push edx
call fcn.0043465f
lea edi, [esp + 0x134]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x30
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x76
jae 0x40d464
mov edi, 0x442904
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x104]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x104]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x76
jb 0x40d41f
push 2
lea eax, [esp + 0x108]
push 0
push eax
push 0x3e8
lea ecx, [esp + 0x6c]
push str.DUMMY
push ecx
call fcn.004195b0
mov eax, dword [0x4494fc]
add esp, 0x18
test eax, eax
je 0x40da7c
movsx edx, word [0x44a8a2]
fld qword [esp + 0x10]
fabs
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fstp qword [esp + 0x18]
fcom qword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x40d4c0
fstp st(0)
fld qword [esp + 0x18]
fabs
fmul qword [0x44c5f4]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x9c]
push eax
fmul qword [0x440268]
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x84]
push eax
fstp qword [esp + 0x20]
fld qword [esp + 0x78]
fsub qword [esp + 0x20]
sub esp, 8
lea eax, [esp + 0x11c]
fstp qword [esp]
push ecx
push edx
push str._.2f__.2f__.2f__.2f_0.0
push eax
call fcn.0043465f
lea edi, [esp + 0x12c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x28
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x76
jae 0x40d57e
mov edi, 0x442904
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x104]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x104]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x76
jb 0x40d539
push 2
lea eax, [esp + 0x108]
push 0
push eax
push 0x3e8
lea ecx, [esp + 0x100]
push str.DUMMY
push ecx
call fcn.004195b0
fld qword [esp + 0xd8]
fsub qword [esp + 0x28]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x64]
push eax
fstp qword [esp + 0x30]
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x64]
push ecx
push edx
push eax
lea ecx, [esp + 0x13c]
push str._.2f__.2f__.2f__.2f_0.0
push ecx
call fcn.0043465f
lea edi, [esp + 0x144]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x40
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x76
jae 0x40d648
mov edi, 0x442904
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x104]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x104]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x76
jb 0x40d603
push 2
lea eax, [esp + 0x108]
push 0
push eax
push 0x3e8
lea ecx, [esp + 0x6c]
push str.DUMMY
push ecx
call fcn.004195b0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
add esp, 0x18
jmp 0x40da74
mov eax, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x198]
mov edx, dword [esp + 0x19c]
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x1ac]
mov dword [esp + 0xd8], ecx
mov ecx, dword [esp + 0x1a4]
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x1b8]
mov dword [esp + 0xdc], edx
mov edx, dword [esp + 0x1a8]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x1c4]
mov dword [esp + 0xe4], ecx
mov ecx, dword [esp + 0x1b0]
mov dword [esp + 0xe8], edx
mov edx, dword [esp + 0x1b4]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x1bc]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x1c0]
cmp eax, ebp
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
je 0x40d76a
lea ecx, [esp + 0xd8]
lea edx, [esp + 0x204]
push ecx
push edx
call fcn.00419500
lea eax, [esp + 0x88]
lea ecx, [esp + 0xe0]
push eax
push ecx
call fcn.00419500
lea edx, [esp + 0x214]
lea eax, [esp + 0x90]
push edx
push eax
call fcn.00419500
add esp, 0x18
lea ecx, [esp + 0xd8]
lea edx, [esp + 0x80]
push ecx
push edx
call fcn.00432c10
fstp qword [esp]
call fcn.0041c920
fstp qword [esp + 0x58]
fld qword [esp + 0xa8]
fsub qword [esp + 0x58]
add esp, 8
fcom qword [0x440220]
fst qword [esp + 0x10]
fnstsw ax
test ah, 1
je 0x40d7c1
fadd qword [0x440218]
fcom qword [0x440220]
fnstsw ax
test ah, 1
jne 0x40d7aa
fst qword [esp + 0x10]
fcom qword [0x440230]
fnstsw ax
test ah, 0x41
jne 0x40db6d
fsub qword [0x440218]
fcom qword [0x440230]
fnstsw ax
test ah, 0x41
je 0x40d7d2
fstp qword [esp + 0x10]
lea eax, [esp + 0x80]
lea ecx, [esp + 0xd8]
push eax
push ecx
call fcn.00432c80
mov cx, word [0x44c662]
mov dx, word [0x44a8a2]
mov esi, dword [0x4494fc]
add esp, 8
cmp cx, bp
je 0x40d854
cmp esi, ebp
je 0x40d854
fld qword [esp + 0x10]
movsx eax, dx
fabs
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fstp qword [esp + 0x18]
fcom qword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x40d846
fstp st(0)
fld qword [esp + 0x18]
fabs
fmul qword [0x44c5f4]
fmul qword [0x440268]
fsubp st(1)
fcomp qword [0x44c5fc]
fnstsw ax
test ah, 0x41
jne 0x40db3b
movsx eax, word [0x44a8a0]
fld qword [esp + 0x10]
fabs
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fcompp
fnstsw ax
test ah, 0x41
je 0x40d887
cmp esi, ebp
jne 0x40d89f
cmp esi, ebp
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
je 0x40da7c
cmp cx, bp
je 0x40da7c
fld qword [esp + 0x10]
movsx ecx, dx
fabs
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
fstp qword [esp + 0x18]
fcom qword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x40d8d0
fstp st(0)
fld qword [esp + 0x18]
fabs
fmul qword [0x44c5f4]
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x9c]
push edx
fmul qword [0x440268]
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x84]
push edx
fstp qword [esp + 0x20]
fld qword [esp + 0x78]
fsub qword [esp + 0x20]
sub esp, 8
lea edx, [esp + 0x11c]
fstp qword [esp]
push eax
push ecx
push str._.2f__.2f__.2f__.2f_0.0
push edx
call fcn.0043465f
lea edi, [esp + 0x12c]
mov ecx, ebx
xor eax, eax
add esp, 0x28
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x76
jae 0x40d98a
mov edi, 0x442904
mov ecx, ebx
xor eax, eax
lea edx, [esp + 0x104]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
mov ecx, ebx
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x104]
mov ecx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x76
jb 0x40d948
push 2
lea eax, [esp + 0x108]
push ebp
push eax
push 0x3e8
lea ecx, [esp + 0x100]
push str.DUMMY
push ecx
call fcn.004195b0
fld qword [esp + 0x28]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x64]
push eax
fchs
fstp qword [esp + 0x30]
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x64]
push ecx
push edx
push eax
lea ecx, [esp + 0x13c]
push str._.2f__.2f__.2f__.2f_0.0
push ecx
call fcn.0043465f
lea edi, [esp + 0x144]
mov ecx, ebx
xor eax, eax
add esp, 0x40
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x76
jae 0x40da4a
mov edi, 0x442904
mov ecx, ebx
xor eax, eax
lea edx, [esp + 0x104]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
mov ecx, ebx
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x104]
mov ecx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x76
jb 0x40da08
push 2
lea eax, [esp + 0x108]
push ebp
push eax
push 0x3e8
lea ecx, [esp + 0x6c]
push str.DUMMY
push ecx
call fcn.004195b0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
add esp, 0x18
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov dword [0x44ad60], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x84]
mov dword [0x44ad6c], eax
mov eax, dword [0x4494fc]
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0x88]
mov dword [0x44ad64], ecx
mov ecx, dword [esp + 0x90]
inc eax
mov dword [0x44ad68], edx
mov edx, dword [esp + 0x94]
mov dword [0x44ad70], ecx
mov ecx, dword [esp + 0x60]
mov dword [0x4494fc], eax
mov eax, dword [esp + 0x5c]
mov dword [0x44ad74], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0x64]
inc eax
cmp eax, ecx
mov dword [esp + 0xbc], eax
jl 0x40cf72
mov dword [0x449500], 1
mov eax, 0x13ec
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
fstp st(0)
jmp 0x40d7e9
pop edi
mov eax, 0xffffec76
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret