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

Disassembly:
sub esp, 0x58
fld dword [esp + 0x5c]
mov eax, ecx
mov word [esp + 2], dx
push ebx
push ebp
mov edx, dword [eax]
push esi
mov dword [esp + 0x48], edx
push edi
fsub dword [esp + 0x4c]
mov edx, dword [eax + 4]
fld dword [esp + 0x70]
mov eax, dword [eax + 8]
mov dword [esp + 0x50], edx
fsub dword [esp + 0x50]
fld dword [esp + 0x74]
mov dword [esp + 0x54], eax
fsub dword [esp + 0x54]
fld st(0)
fmul dword [ecx + 0x2c]
fld st(2)
fmul dword [ecx + 0x28]
faddp st(1)
fld st(3)
fmul dword [ecx + 0x24]
faddp st(1)
fstp dword [esp + 0x4c]
fld st(0)
fmul dword [ecx + 0x14]
fld st(2)
fmul dword [ecx + 0x10]
faddp st(1)
fld st(3)
fmul dword [ecx + 0xc]
faddp st(1)
fstp dword [esp + 0x50]
fmul dword [ecx + 0x20]
fxch st(1)
fmul dword [ecx + 0x1c]
faddp st(1)
fxch st(1)
fmul dword [ecx + 0x18]
faddp st(1)
fld dword [ecx + 0x44]
fmul dword [ecx + 0x3c]
fdiv dword [esp + 0x50]
fst dword [esp + 0x6c]
fmul st(1)
fsubr dword [0x491458]
fstp dword [esp + 0x48]
fstp st(0)
fld dword [esp + 0x6c]
fmul dword [esp + 0x4c]
fadd dword [0x49145c]
fst dword [esp + 0x44]
fsub dword [esp + 0x78]
fstp dword [esp + 0x18]
fld dword [esp + 0x44]
fadd dword [esp + 0x78]
fstp dword [esp + 0x14]
fld dword [esp + 0x48]
fsub dword [esp + 0x78]
fstp dword [esp + 0x1c]
fld dword [esp + 0x48]
fadd dword [esp + 0x78]
fstp dword [esp + 0x6c]
fld dword [esp + 0x18]
fcomp dword [0x4917a8]
fnstsw ax
test ah, 0x41
je 0x4582bb
fld dword [esp + 0x14]
fcomp dword [0x49144c]
fnstsw ax
test ah, 1
jne 0x4582bb
fld dword [esp + 0x1c]
fcomp dword [0x4918a4]
fnstsw ax
test ah, 0x41
je 0x4582bb
fld dword [esp + 0x6c]
fcomp dword [0x49144c]
fnstsw ax
test ah, 1
jne 0x4582bb
fld dword [esp + 0x18]
fcomp dword [0x49144c]
fnstsw ax
test ah, 0x41
jne 0x457e7e
fld dword [esp + 0x18]
jmp 0x457e84
fld dword [0x49144c]
call fcn.0044eaa0
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
fld dword [esp + 0x14]
fcomp dword [0x4917a8]
fnstsw ax
test ah, 1
je 0x457ea8
fld dword [esp + 0x14]
jmp 0x457eae
fld dword [0x4917a8]
call fcn.0044eaa0
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
fstp dword [esp + 0x14]
fld dword [esp + 0x1c]
fcomp dword [0x49144c]
fnstsw ax
test ah, 0x41
jne 0x457ed6
fld dword [esp + 0x1c]
jmp 0x457edc
fld dword [0x49144c]
call fcn.0044eaa0
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
fld dword [esp + 0x6c]
fcomp dword [0x4918a4]
fnstsw ax
test ah, 1
je 0x457f00
fld dword [esp + 0x6c]
jmp 0x457f06
fld dword [0x4918a4]
call fcn.0044eaa0
mov dword [esp + 0x6c], eax
fild dword [esp + 0x6c]
fstp dword [esp + 0x6c]
call fcn.0044eaa0
mov ebp, eax
mov dword [esp + 0x30], ebp
call fcn.0044eaa0
mov ecx, dword [0x4b0d48]
mov edi, eax
and ecx, 0xff
xor esi, esi
xor eax, eax
dec ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
je 0x457f75
dec ecx
jne 0x457fe2
mov eax, dword [0x4b0d50]
mov edx, dword [0x4b0d44]
mov ecx, eax
imul eax, edi
imul ecx, dword [0x4b0d4c]
shr ecx, 3
imul ecx, ebp
shr eax, 3
add edx, ecx
add eax, edx
jmp 0x457fd8
mov eax, dword [0x4b0d40]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x457fa7
mov edx, dword [0x51da28]
lea ecx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.USER32.dll_ClientToScreen]
cmp dword [esp + 0x3c], esi
jge 0x457f9d
mov dword [esp + 0x3c], esi
cmp dword [esp + 0x40], esi
jge 0x457fa7
mov dword [esp + 0x40], esi
mov ecx, dword [0x4b0d40]
call fcn.0044c6c0
cmp eax, esi
je 0x457fe2
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
add ecx, edi
add edx, ebp
imul ecx, dword [0x4b0d50]
imul edx, dword [0x4b0d4c]
shr ecx, 3
add edx, eax
lea eax, [edx + ecx]
mov dword [0x4b0d54], 1
fld dword [0x491434]
fdiv dword [esp + 0x78]
mov ebx, dword [0x4b6090]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edi
fstp dword [esp + 0x24]
fld dword [esp + 0x14]
call fcn.0044eaa0
mov ecx, eax
cmp edi, ecx
mov dword [esp + 0x34], ecx
jg 0x458211
fild dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov eax, esi
fsub dword [esp + 0x44]
add eax, 2
mov dword [esp + 0x1c], eax
fmul dword [esp + 0x24]
fld st(0)
fmul st(1)
fstp dword [esp + 0x28]
fstp st(0)
fld dword [esp + 0x28]
fcomp dword [0x491434]
fnstsw ax
test ah, 0x41
je 0x4581f9
fld dword [esp + 0x6c]
mov edi, ebp
mov dword [esp + 0x18], edi
call fcn.0044eaa0
mov ecx, eax
cmp edi, ecx
mov dword [esp + 0x2c], ecx
jg 0x4581f1
fild dword [esp + 0x18]
fsubr dword [esp + 0x48]
fmul dword [esp + 0x24]
fld st(0)
fmulp st(1)
fadd dword [esp + 0x28]
fcom dword [0x491434]
fnstsw ax
test ah, 0x41
jne 0x458095
fstp st(0)
lea esi, [esi + ebx*2]
jmp 0x4581e4
fld dword [0x491434]
fsub st(1)
fmul dword [0x491950]
fadd dword [0x4914c8]
call fcn.0044eaa0
fstp st(0)
fld dword [eax*4 + 0x4b1064]
fchs
fld st(0)
fmul st(1)
fmul qword [0x4919e8]
fstp dword [esp + 0x78]
fcomp qword [str._np_n_I]
fnstsw ax
test ah, 1
je 0x4580dc
mov dword [esp + 0x78], 0x3f800000
mov cx, word [esi]
lea edx, [esp + 0x4c]
call dword [0x4b0d5c]
cmp word [esp + 0x12], 1
jne 0x458154
fild dword [esp + 0x7c]
fmul dword [esp + 0x78]
fiadd dword [esp + 0x4c]
call fcn.0044eaa0
cmp eax, 0xff
mov ebp, eax
jl 0x458110
mov ebp, 0xff
fild dword [esp + 0x80]
fmul dword [esp + 0x78]
fiadd dword [esp + 0x50]
call fcn.0044eaa0
cmp eax, 0xff
mov edi, eax
jl 0x458132
mov edi, 0xff
fild dword [esp + 0x84]
fmul dword [esp + 0x78]
fiadd dword [esp + 0x54]
call fcn.0044eaa0
cmp eax, 0xff
jl 0x4581bf
mov eax, 0xff
jmp 0x4581bf
fld dword [esp + 0x78]
fmul dword [0x49143c]
fld dword [0x49143c]
fsub st(1)
fild dword [esp + 0x7c]
fmul st(1)
fild dword [esp + 0x4c]
fmul st(3)
faddp st(1)
fmul dword [0x491438]
call fcn.0044eaa0
fild dword [esp + 0x50]
mov ebp, eax
fmul st(2)
fild dword [esp + 0x80]
fmul st(2)
faddp st(1)
fmul dword [0x491438]
call fcn.0044eaa0
fild dword [esp + 0x84]
mov edi, eax
fmul st(1)
fild dword [esp + 0x54]
fmul st(3)
faddp st(1)
fmul dword [0x491438]
call fcn.0044eaa0
fstp st(0)
fstp st(0)
sub esp, 0xc
mov ecx, esp
mov dword [ecx], ebp
mov dword [ecx + 4], edi
mov dword [ecx + 8], eax
call dword [0x4b0d58]
mov word [esi], ax
lea esi, [esi + ebx*2]
mov ecx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x18]
inc edi
cmp edi, ecx
mov dword [esp + 0x18], edi
jle 0x45806a
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
inc edi
cmp edi, ecx
mov dword [esp + 0x20], edi
jle 0x458015
mov eax, dword [0x4b0d48]
mov edi, dword [esp + 0x38]
jmp 0x458216
mov eax, dword [0x4b0d48]
and eax, 0xff
dec eax
jne 0x458232
mov eax, dword [0x4b0d54]
test eax, eax
je 0x458232
mov ecx, dword [0x4b0d40]
call fcn.0044c780
fld dword [esp + 0x6c]
fadd dword [0x491434]
mov dword [0x4b0d54], 0
call fcn.0044eaa0
fld dword [esp + 0x14]
fadd dword [0x491434]
push eax
call fcn.0044eaa0
push eax
push ebp
lea edx, [esp + 0x64]
push edi
push edx
call dword [sym.imp.USER32.dll_SetRect]
sub esp, 0x10
mov ecx, dword [0x4bf20c]
mov edx, dword [esp + 0x68]
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x70]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x74]
mov dword [eax + 0xc], edx
call fcn.0044cca0
sub esp, 0x10
mov cl, 1
mov edx, dword [esp + 0x68]
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x70]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x74]
mov dword [eax + 0xc], edx
call fcn.0040f0e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x1c