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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x81c8
call fcn.0063e680
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.0040478c
add esp, 4
mov dword [esp + 0x40], eax
test eax, eax
jne 0x45363e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test byte [eax + 0x90], 0x10
jne 0x453657
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax + 0x9c]
mov dword [esp + 0xc], 0
test ecx, ecx
jbe 0x4536d1
lea ebx, [eax + 0x80c4]
lea esi, [eax + 0x68]
mov edi, ebx
mov dl, byte [edi]
mov cl, dl
cmp dl, byte [esi]
jne 0x453698
test cl, cl
je 0x453694
mov dl, byte [edi + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x453698
add edi, 2
add esi, 2
test cl, cl
jne 0x453674
xor ecx, ecx
jmp 0x45369d
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x4536cd
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + 0x9c]
inc ecx
add ebx, 0x848
cmp ecx, edx
mov dword [esp + 0xc], ecx
jb 0x45366f
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
jne 0x4536e4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fld qword [ebp + 0x3c]
fmul qword [0x66fe10]
mov esi, eax
mov ecx, 0x2031
lea edi, [esp + 0x110]
rep movsd dword es:[edi], dword [esi]
fst qword [esp + 0x5c]
fptan
mov edi, 1
fstp st(0)
fst qword [esp + 0x1c]
fcomp qword [0x66e938]
fnstsw ax
test ah, 0x40
jne 0x4538d1
fld qword [esp + 0x1c]
fmul qword [ebp + 0x2c]
fstp qword [esp + 0x14]
fld qword [0x66e380]
fdiv qword [esp + 0x1c]
fadd qword [esp + 0x1c]
fstp qword [esp + 0xc]
fld qword [ebp + 0x14]
fld qword [ebp + 0xc]
fld qword [ebp + 0x34]
fld st(1)
fdiv qword [esp + 0x1c]
fld st(3)
fsub st(2)
faddp st(1)
fadd qword [esp + 0x14]
fdiv qword [esp + 0xc]
fst qword [esp + 0x44]
fsub qword [ebp + 0x2c]
fmul qword [esp + 0x1c]
fadd st(1)
fstp qword [esp + 0x4c]
fld qword [ebp + 0x1c]
fdiv qword [esp + 0x1c]
fld qword [ebp + 0x24]
fsub st(2)
faddp st(1)
fadd qword [esp + 0x14]
fdiv qword [esp + 0xc]
fst qword [esp + 0x28]
fsub qword [ebp + 0x2c]
fmul qword [esp + 0x1c]
fadd st(1)
fstp qword [esp + 0x30]
fstp st(0)
fld qword [esp + 0x4c]
fsub st(2)
fld qword [esp + 0x44]
fsub st(2)
fdivp st(1)
fld qword [esp + 0x44]
fcomp st(2)
fnstsw ax
test ah, 0x41
jne 0x4537b7
mov dword [esp + 0xc], edi
or ecx, 0xffffffff
jmp 0x4537be
or ecx, 0xffffffff
mov dword [esp + 0xc], ecx
fld1
fpatan
fld st(0)
fsin
fimul dword [esp + 0xc]
mov dword [esp + 0xc], edi
fstp qword [esp + 0x14]
fld qword [esp + 0x44]
fcomp st(2)
fnstsw ax
test ah, 0x41
je 0x4537e3
mov dword [esp + 0xc], ecx
fcos
fimul dword [esp + 0xc]
mov dword [esp + 0xc], edi
fld st(0)
fmul qword [ebx + 0x214]
fadd qword [esp + 0x44]
fstp qword [esp + 0xe0]
fld qword [esp + 0x14]
fmul qword [ebx + 0x214]
fadd qword [esp + 0x4c]
fstp qword [esp + 0xe8]
fmul qword [ebx + 0x21c]
fadd st(1)
fstp qword [esp + 0xc8]
fstp st(0)
fld qword [esp + 0x14]
fmul qword [ebx + 0x21c]
fadd st(1)
fstp qword [esp + 0xd0]
fstp st(0)
fld qword [ebp + 0x1c]
fld qword [esp + 0x30]
fsub qword [ebp + 0x24]
fld qword [esp + 0x28]
fsub st(2)
fdivp st(1)
fld qword [esp + 0x28]
fcomp st(2)
fnstsw ax
test ah, 0x41
je 0x45385e
mov dword [esp + 0xc], ecx
fld1
fpatan
fld st(0)
fsin
fimul dword [esp + 0xc]
mov dword [esp + 0xc], edi
fstp qword [esp + 0x14]
fld qword [esp + 0x28]
fcomp st(2)
fnstsw ax
test ah, 0x41
je 0x453883
mov dword [esp + 0xc], ecx
fcos
fimul dword [esp + 0xc]
fld st(0)
fmul qword [ebx + 0x214]
fadd qword [esp + 0x28]
fstp qword [esp + 0xb0]
fld qword [esp + 0x14]
fmul qword [ebx + 0x214]
fadd qword [esp + 0x30]
fstp qword [esp + 0xb8]
fmul qword [ebx + 0x21c]
fadd st(1)
fstp qword [esp + 0x98]
fstp st(0)
fld qword [esp + 0x14]
fmul qword [ebx + 0x21c]
jmp 0x4539ea
fld qword [ebp + 0xc]
mov ecx, dword [ebp + 0x34]
mov edx, dword [ebp + 0x38]
fst qword [esp + 0x44]
fstp qword [esp + 0xe0]
fld qword [ebp + 0x34]
fsub qword [ebp + 0x14]
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x50], edx
mov edx, dword [ebp + 0x34]
mov dword [esp + 0x28], eax
fstp qword [esp + 0x14]
mov eax, dword [ebp + 0x38]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], edx
mov edx, dword [ebx + 0x218]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x214]
push esi
push ecx
push edx
push eax
call dword [sym.imp.MSVCRT.dll__copysign]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
fadd qword [ebp + 0x34]
mov eax, dword [esp + 0x24]
mov dword [esp + 0xd8], ecx
mov ecx, dword [ebx + 0x220]
mov dword [esp + 0xdc], edx
mov edx, dword [ebx + 0x21c]
push esi
fstp qword [esp + 0xfc]
push eax
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__copysign]
fadd qword [ebp + 0x14]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0xd0], eax
mov eax, dword [ebx + 0x218]
mov dword [esp + 0xd4], ecx
mov ecx, dword [ebx + 0x214]
fstp qword [esp + 0xf0]
fld qword [ebp + 0x34]
fsub qword [ebp + 0x24]
fstp qword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push esi
push edx
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__copysign]
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x20]
fadd qword [ebp + 0x34]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xc8], edx
mov edx, dword [ebx + 0x220]
mov dword [esp + 0xcc], eax
mov eax, dword [ebx + 0x21c]
push esi
fstp qword [esp + 0xec]
push ecx
push edx
push eax
call dword [sym.imp.MSVCRT.dll__copysign]
add esp, 0x40
fadd qword [ebp + 0x24]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
push 0
push 0
fstp qword [esp + 0xa8]
fld qword [esp + 0x30]
fadd qword [esp + 0x4c]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push eax
fmul qword [0x66e370]
push ecx
push esi
fstp qword [esp + 0x84]
fld qword [esp + 0x4c]
fadd qword [esp + 0x68]
fmul qword [0x66e370]
fstp qword [esp + 0x8c]
call fcn.00410064
mov edx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x20]
push 0
push 0
push edx
mov edx, dword [ebp + 0x1c]
push eax
push ecx
push edx
push esi
call fcn.00410064
mov ecx, dword [esp + 0x78]
mov eax, dword [ebx + 0x204]
add esp, 0x38
mov dword [ecx + 0x88], eax
mov eax, dword [ebx + 0x83c]
sub eax, 0
je 0x453b6b
dec eax
jne 0x453d5f
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
push edx
push eax
push esi
call fcn.00401f5f
fld qword [ebp + 0x3c]
fadd qword [0x66fe00]
mov edx, dword [esp + 0x64]
mov ecx, dword [ebx + 0x830]
mov edi, eax
lea eax, [ebx + 0x62c]
fmul qword [0x66fe10]
mov dword [edx + 0x88], ecx
mov ecx, dword [ebp + 0x40]
fld qword [ebx + 0x834]
fmul qword [0x66e370]
mov edx, dword [ebp + 0x3c]
push eax
mov eax, dword [ebx + 0x838]
push 0
fadd qword [ebx + 0x840]
fld st(1)
fcos
push 0
push 4
push ecx
mov ecx, dword [ebx + 0x834]
push edx
push eax
push ecx
and edi, 1
fmul st(1)
fadd qword [esp + 0xac]
fstp qword [esp + 0xc4]
fxch st(1)
fsin
mov edx, dword [esp + 0xc8]
fmul st(1)
fadd qword [esp + 0xb4]
fstp qword [esp + 0xcc]
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xcc]
push eax
push ecx
push edx
push dword [esp + 0xd0]
fstp st(0)
push eax
mov eax, dword [ebp + 0x44]
push ecx
push edx
mov edx, dword [esp + 0xe0]
push edx
push eax
push esi
call fcn.00407fcc
add esp, 0x6c
jmp 0x453d5d
mov edi, dword [ebp + 0x44]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
fild qword [esp + 0x14]
fmul qword [ebx + 0x834]
fmul qword [0x66fdf0]
fld qword [ebx + 0x840]
fadd st(0), st(0)
faddp st(1)
fstp qword [esp + 0x14]
fld qword [esp + 0x44]
fsub qword [esp + 0x28]
fstp qword [esp + 0xc]
fld qword [esp + 0x5c]
fcos
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push edi
push ecx
fstp qword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__copysign]
fmul qword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
push edi
push ecx
fadd qword [esp + 0x80]
fstp qword [esp + 0x98]
fld qword [esp + 0x74]
fsin
fstp qword [esp + 0x74]
mov edi, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
push edi
push edx
call dword [sym.imp.MSVCRT.dll__copysign]
fmul qword [esp + 0x34]
mov edx, dword [esp + 0x40]
fadd qword [esp + 0x90]
fstp qword [esp + 0xa8]
fld qword [esp + 0x48]
fsub qword [esp + 0x64]
fstp qword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push eax
call dword [sym.imp.MSVCRT.dll__copysign]
fmul qword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x8c]
push ecx
fadd qword [esp + 0x9c]
push edx
push edi
push eax
fstp qword [esp + 0x138]
call dword [sym.imp.MSVCRT.dll__copysign]
fmul qword [esp + 0x54]
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0xc8]
mov eax, dword [esp + 0xc4]
add esp, 0x40
fadd qword [esp + 0x70]
push ecx
push edx
push eax
fstp qword [esp + 0x10c]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
push ecx
push edx
push esi
call fcn.00401f5f
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov edi, eax
mov eax, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x130]
push edx
mov edx, dword [esp + 0x130]
push eax
mov eax, dword [esp + 0x130]
push ecx
mov ecx, dword [esp + 0x130]
push edx
push eax
push ecx
push esi
and edi, 1
call fcn.00401f5f
mov edx, dword [ebx + 0x830]
add esp, 0x48
and edi, eax
mov eax, dword [esp + 0x40]
lea ecx, [ebx + 0x62c]
push ecx
mov dword [eax + 0x88], edx
mov edx, dword [ebp + 0x40]
mov eax, dword [ebp + 0x3c]
mov ecx, dword [ebx + 0x838]
push 0
push 0
push 4
push edx
mov edx, dword [ebx + 0x834]
push eax
mov eax, dword [esp + 0x8c]
push ecx
mov ecx, dword [esp + 0x8c]
push edx
mov edx, dword [esp + 0x8c]
push eax
push ecx
push edx
push dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [ebp + 0x44]
push edx
push eax
push ecx
push esi
call fcn.00407fcc
add esp, 0x48
and edi, eax
fld qword [esp + 0x30]
fsub qword [esp + 0x4c]
fld qword [esp + 0x28]
fsub qword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov edx, dword [ebx + 0x204]
fdivp st(1)
mov dword [eax + 0x88], edx
fld qword [esp + 0x28]
fcomp qword [esp + 0x44]
fnstsw ax
test ah, 0x41
jne 0x453e22
fld1
mov edx, dword [ebx + 0x628]
mov eax, dword [ebx + 0x624]
fpatan
lea ecx, [ebx + 0x224]
push 1
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
sub esp, 8
fstp qword [esp + 0x34]
fld qword [esp + 0x34]
fadd qword [0x66fde0]
fstp qword [esp]
push ecx
mov ecx, dword [esp + 0x60]
push edx
push eax
push ecx
push esi
call fcn.0040ec9b
mov ecx, dword [ebx + 0x624]
and edi, eax
mov eax, dword [ebx + 0x628]
lea edx, [ebx + 0x424]
push 2
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x70]
push edx
push eax
push ecx
push esi
call fcn.0040ec9b
add esp, 0x58
jmp 0x453f95
fld qword [esp + 0x28]
fcomp qword [esp + 0x44]
fnstsw ax
test ah, 1
je 0x453ebd
fld1
mov eax, dword [ebx + 0x628]
mov ecx, dword [ebx + 0x624]
fpatan
lea edx, [ebx + 0x224]
push 1
push edx
push eax
push ecx
mov ecx, dword [esp + 0x60]
fstp qword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x60]
push edx
push eax
push ecx
push esi
call fcn.0040ec9b
mov ecx, dword [ebx + 0x624]
add esp, 0x2c
fld qword [esp + 0x1c]
fadd qword [0x66fde0]
and edi, eax
mov eax, dword [ebx + 0x628]
lea edx, [ebx + 0x424]
push 2
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
sub esp, 8
fstp qword [esp]
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
jmp 0x453f8c
fld qword [esp + 0x30]
fcomp qword [esp + 0x4c]
mov dword [esp + 0xc], 0
fnstsw ax
test ah, 0x41
je 0x453edc
mov dword [esp + 0xc], 1
fld1
mov ecx, dword [ebx + 0x628]
mov edx, dword [ebx + 0x624]
fpatan
lea eax, [ebx + 0x224]
push 1
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
sub esp, 8
fstp qword [esp + 0x34]
fild dword [esp + 0x24]
fmul qword [0x66fde0]
fadd qword [esp + 0x34]
fstp qword [esp]
push eax
mov eax, dword [esp + 0x60]
push ecx
push edx
push eax
push esi
call fcn.0040ec9b
fld qword [esp + 0x5c]
fcomp qword [esp + 0x78]
and edi, eax
add esp, 0x2c
mov dword [esp + 0xc], 1
fnstsw ax
test ah, 0x41
je 0x453f4d
mov dword [esp + 0xc], 0
fild dword [esp + 0xc]
mov edx, dword [ebx + 0x628]
mov eax, dword [ebx + 0x624]
lea ecx, [ebx + 0x424]
push 2
fmul qword [0x66fde0]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
fadd qword [esp + 0x28]
push eax
mov eax, dword [esp + 0x3c]
sub esp, 8
fstp qword [esp]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
push esi
call fcn.0040ec9b
add esp, 0x2c
mov edx, dword [ebx + 0x210]
mov ecx, dword [esp + 0xd4]
and edi, eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0xcc]
mov dword [eax + 0x88], edx
mov edx, dword [esp + 0xd4]
mov eax, dword [esp + 0xd0]
push edx
mov edx, dword [esp + 0xf4]
push eax
mov eax, dword [esp + 0xf4]
push ecx
mov ecx, dword [esp + 0xf4]
push edx
mov edx, dword [esp + 0xf4]
push eax
push ecx
push edx
push esi
call fcn.00401f5f
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xc0]
push eax
mov eax, dword [esp + 0xc0]
push ecx
mov ecx, dword [esp + 0xe8]
push edx
mov edx, dword [esp + 0xe8]
push eax
mov eax, dword [esp + 0xe8]
push ecx
mov ecx, dword [esp + 0xe8]
push edx
push eax
push ecx
push esi
call fcn.00401f5f
add esp, 0x48
test edi, edi
jne 0x45404a
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x40]
mov edx, dword [ebp + 8]
mov ecx, 0x2031
lea esi, [esp + 0x110]
rep movsd dword es:[edi], dword [esi]
push edx
call fcn.00402243
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret