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

Disassembly:
sub esp, 0xec
mov eax, dword [esp + 0xf8]
push ebx
push ebp
push esi
xor ebp, ebp
mov esi, ecx
cmp eax, ebp
push edi
mov dword [esp + 0xb4], edx
mov dword [esp + 0xa4], esi
mov dword [esp + 0x50], ebp
jne 0x42d72c
mov ecx, dword [0x4b0a50]
xor eax, eax
and ecx, 0xff
mov dword [esp + 0x60], ebp
dec ecx
mov dword [esp + 0x64], ebp
je 0x42d6b2
dec ecx
jne 0x42d71b
mov eax, dword [0x4b0a4c]
jmp 0x42d711
mov eax, dword [0x4b0a48]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x42d6e4
mov edx, dword [0x51da28]
lea ecx, [esp + 0x60]
push ecx
push edx
call dword [sym.imp.USER32.dll_ClientToScreen]
cmp dword [esp + 0x60], ebp
jge 0x42d6da
mov dword [esp + 0x60], ebp
cmp dword [esp + 0x64], ebp
jge 0x42d6e4
mov dword [esp + 0x64], ebp
mov ecx, dword [0x4b0a48]
call fcn.0044c6c0
cmp eax, ebp
je 0x42d71b
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
imul ecx, dword [0x4b0a58]
imul edx, dword [0x4b0a54]
shr ecx, 3
add edx, eax
lea eax, [edx + ecx]
mov dword [0x4b0a5c], 1
mov ecx, dword [esi + 4]
imul ecx, dword [0x4b6098]
lea edx, [eax + ecx*2]
mov dword [esp + 0x50], edx
mov eax, dword [esi]
mov edi, dword [esi + 0xc]
mov ebx, dword [esi + 8]
cmp eax, ebp
mov dword [esp + 0x5c], edi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x38], ebp
jle 0x42e001
fld dword [edi]
call fcn.0044eaa0
fld dword [ebx]
mov esi, eax
mov dword [esp + 0xb0], esi
call fcn.0044eaa0
fld dword [ebx]
fsub dword [edi]
mov dword [esp + 0xac], eax
mov ecx, esi
mov dword [esp + 0x90], ecx
fadd dword [0x491434]
fst dword [esp + 0x14]
fcomp dword [0x491434]
fnstsw ax
test ah, 1
jne 0x42dfbd
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 4]
fld dword [ebx + 0x10]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 8]
fsub dword [esp + 0x3c]
mov dword [esp + 0x44], edx
mov edx, dword [edi + 0xc]
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 8]
fdiv dword [esp + 0x14]
mov dword [esp + 0xe8], eax
mov dword [esp + 0x4c], edx
mov edx, dword [ebx + 0xc]
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xec], edx
fstp dword [esp + 0xe0]
fld dword [ebx + 4]
fsub dword [esp + 0x44]
fstp dword [esp + 0xd4]
fld dword [esp + 0xe8]
fsub dword [esp + 0x48]
fstp dword [esp + 0xd8]
fld dword [esp + 0xec]
fsub dword [esp + 0x4c]
fstp dword [esp + 0xdc]
fld dword [esp + 0x44]
fdiv dword [esp + 0x4c]
fstp dword [esp + 0x18]
fld dword [esp + 0x48]
fdiv dword [esp + 0x4c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x14]
fcomp dword [0x49144c]
fnstsw ax
test ah, 0x41
jne 0x42dfbd
fild dword [esp + 0xb0]
fstp dword [esp + 0xc4]
fld dword [esp + 0x14]
fcomp dword [0x4914e0]
mov dword [esp + 0x28], 0x41800000
fnstsw ax
test ah, 1
jne 0x42d906
cmp dword [esp + 0xa8], ebp
jne 0x42d8b1
fld dword [0x4914e0]
fdiv dword [esp + 0x14]
mov dword [esp + 0xa8], 1
fld dword [esp + 0xd4]
fmul st(1)
fstp dword [esp + 0xb8]
fld dword [esp + 0xd8]
fmul st(1)
fstp dword [esp + 0xbc]
fld dword [esp + 0xdc]
fmul st(1)
fstp dword [esp + 0xc0]
fstp st(0)
fld dword [esp + 0xb8]
fadd dword [esp + 0x44]
fstp dword [esp + 0xc8]
fld dword [esp + 0xbc]
fadd dword [esp + 0x48]
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x68], eax
fstp dword [esp + 0xcc]
fld dword [esp + 0xc0]
fadd dword [esp + 0x4c]
mov edx, dword [esp + 0xcc]
mov dword [esp + 0x6c], edx
fstp dword [esp + 0xd0]
mov eax, dword [esp + 0xd0]
jmp 0x42d91f
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 4]
mov dword [esp + 0x28], edx
mov edx, dword [ebx + 8]
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x6c], edx
fld dword [esp + 0x68]
mov dword [esp + 0x70], eax
mov edx, dword [esp + 0x50]
fdiv dword [esp + 0x70]
lea eax, [edx + ecx*2]
mov dword [esp + 0x88], ebp
mov dword [esp + 0x58], eax
fstp dword [esp + 0x9c]
fld dword [esp + 0x6c]
fdiv dword [esp + 0x70]
fstp dword [esp + 0xa0]
fld dword [esp + 0x9c]
fsub dword [esp + 0x18]
fdiv dword [esp + 0x28]
fstp dword [esp + 0x94]
fld dword [esp + 0xa0]
fsub dword [esp + 0x1c]
fdiv dword [esp + 0x28]
fstp dword [esp + 0x98]
fld dword [edi]
fsub dword [esp + 0xc4]
fld st(0)
fmul dword [esp + 0x94]
fsubr dword [esp + 0x18]
fstp dword [esp + 0x18]
fmul dword [esp + 0x98]
fsubr dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [0x49144c]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 1
je 0x42df55
mov eax, dword [esp + 0xac]
mov ebp, ecx
sub eax, ecx
mov dword [esp + 0x84], ebp
inc eax
mov dword [esp + 0x74], eax
cmp ebp, 0x31f
jg 0x42df4b
test ebp, ebp
jl 0x42decc
fld dword [esp + 0x1c]
fld dword [esp + 0x104]
fcomp dword [0x49144c]
fnstsw ax
test ah, 0x40
jne 0x42dac4
fstp st(0)
fld dword [esp + 0x1c]
fsub dword [0x4bf218]
fld dword [0x4bf210]
fsub dword [0x4bf218]
fdivp st(1)
fld dword [0x4bf21c]
fsub dword [0x4bf5ac]
fmul st(1)
fadd dword [0x4bf5ac]
fstp dword [esp + 0x10]
fld dword [0x4bf214]
fsub dword [0x4bf5a8]
fmul st(1)
fadd dword [0x4bf5a8]
fsubr dword [esp + 0x18]
fabs
fld dword [0x4bf220]
fsub dword [0x4bf5b0]
fmul st(2)
fadd dword [0x4bf5b0]
fdivp st(1)
fstp st(1)
fcom dword [0x491434]
fnstsw ax
test ah, 0x41
jne 0x42da7d
fstp st(0)
fld dword [0x491434]
fld st(0)
fmul st(1)
fmulp st(1)
fsubr dword [0x491434]
fmul dword [esp + 0x10]
fmul dword [esp + 0x104]
fadd dword [esp + 0x1c]
fcom dword [0x49144c]
fnstsw ax
test ah, 1
je 0x42daaf
fstp st(0)
fld dword [0x49144c]
jmp 0x42dac4
fcom dword [0x4917a0]
fnstsw ax
test ah, 0x41
jne 0x42dac4
fstp st(0)
fld dword [0x4917a0]
fld dword [esp + 0x18]
fsub dword [0x4914c8]
call fcn.0044eaa0
fld st(0)
fsub dword [0x4914c8]
mov esi, eax
mov dword [esp + 0x10], esi
call fcn.0044eaa0
mov edi, dword [esp + 0x100]
mov dword [esp + 0x20], eax
imul eax, edi
fild dword [esp + 0x10]
fsubr dword [esp + 0x18]
fstp dword [esp + 0x30]
fisub dword [esp + 0x20]
mov ecx, dword [esp + 0xb4]
add eax, esi
mov dword [esp + 0x24], 0
lea edx, [ecx + eax*2]
add eax, edx
mov esi, eax
mov eax, dword [esp + 0x108]
test eax, eax
je 0x42db4c
mov eax, dword [esp + 0xa4]
mov ebx, dword [esp + 0x38]
mov ecx, dword [eax + 4]
add ecx, ebx
and ecx, 3
and ebp, 3
lea edx, [ebp + ecx*4]
fld dword [edx*4 + 0x4b1020]
fstp dword [esp + 0x24]
lea edi, [edi + edi*2]
xor eax, eax
mov al, byte [esi]
xor edx, edx
mov dl, byte [edi + esi]
mov dword [esp + 0x20], eax
sub edx, eax
xor ecx, ecx
mov cl, byte [esi + 3]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x2c], ecx
mov al, byte [edi + esi + 3]
fmul st(1)
sub eax, ecx
mov dword [esp + 0x10], eax
fiadd dword [esp + 0x20]
fild dword [esp + 0x10]
fmul st(2)
fiadd dword [esp + 0x2c]
fsub st(1)
fmul dword [esp + 0x30]
fadd st(1)
fadd dword [esp + 0x24]
call fcn.0044eaa0
cmp eax, 0xff
mov dword [esp + 0x10], eax
fstp st(0)
jle 0x42dbb2
mov eax, 0xff
mov dword [esp + 0x10], eax
mov ebx, eax
xor eax, eax
mov al, byte [esi + 1]
xor edx, edx
mov dl, byte [esi + edi + 1]
xor ecx, ecx
mov cl, byte [esi + 4]
sub edx, eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], eax
fild dword [esp + 0x2c]
xor eax, eax
mov ebp, ecx
mov al, byte [esi + edi + 4]
mov dword [esp + 0x40], ebp
fmul st(1)
sub eax, ebp
mov dword [esp + 0x80], ebx
mov dword [esp + 0x2c], eax
fiadd dword [esp + 0x20]
fild dword [esp + 0x2c]
fmul st(2)
fiadd dword [esp + 0x40]
fsub st(1)
fmul dword [esp + 0x30]
fadd st(1)
fadd dword [esp + 0x24]
call fcn.0044eaa0
cmp eax, 0xff
mov dword [esp + 0x20], eax
fstp st(0)
jle 0x42dc22
mov eax, 0xff
mov dword [esp + 0x20], eax
mov ebp, eax
xor eax, eax
mov al, byte [esi + 2]
xor edx, edx
mov dl, byte [esi + edi + 2]
mov dword [esp + 0x2c], eax
sub edx, eax
xor ecx, ecx
mov cl, byte [esi + 5]
mov dword [esp + 0x40], edx
fild dword [esp + 0x40]
xor eax, eax
mov dword [esp + 0x8c], ecx
mov al, byte [esi + edi + 5]
mov dword [esp + 0x7c], ebp
fmul st(1)
sub eax, ecx
mov dword [esp + 0x40], eax
fiadd dword [esp + 0x2c]
fild dword [esp + 0x40]
fmul st(2)
fiadd dword [esp + 0x8c]
fsub st(1)
fmul dword [esp + 0x30]
fadd st(1)
fadd dword [esp + 0x24]
call fcn.0044eaa0
fstp st(0)
cmp eax, 0xff
mov dword [esp + 0x30], eax
fstp st(0)
jle 0x42dc95
mov eax, 0xff
mov dword [esp + 0x30], eax
mov esi, eax
mov eax, dword [esp + 0x108]
test eax, eax
mov dword [esp + 0x78], esi
jne 0x42dd41
fld dword [esp + 0x3c]
fld dword [esp + 0x3c]
fcomp dword [0x491430]
fnstsw ax
test ah, 1
je 0x42dcc7
fstp st(0)
fld dword [0x491430]
fild dword [esp + 0x30]
fadd dword [esp + 0x24]
fmul st(1)
call fcn.0044eaa0
fild dword [esp + 0x20]
mov esi, eax
mov dword [esp + 0x78], esi
fadd dword [esp + 0x24]
fmul st(1)
call fcn.0044eaa0
fild dword [esp + 0x10]
mov ebp, eax
mov dword [esp + 0x7c], ebp
fadd dword [esp + 0x24]
fmul st(1)
call fcn.0044eaa0
mov ebx, eax
cmp ebx, 0xff
mov dword [esp + 0x80], ebx
fstp st(0)
jle 0x42dd1f
mov ebx, 0xff
mov dword [esp + 0x80], ebx
cmp esi, 0xff
jle 0x42dd30
mov esi, 0xff
mov dword [esp + 0x78], esi
cmp ebp, 0xff
jle 0x42dd41
mov ebp, 0xff
mov dword [esp + 0x7c], ebp
mov edi, dword [esp + 0x84]
mov ecx, dword [esp + 0xb0]
mov eax, edi
mov dword [esp + 0x34], 0x3f800000
sub eax, ecx
mov ecx, dword [esp + 0x5c]
cmp eax, dword [ecx + 0x18]
jge 0x42dd78
inc eax
mov dword [esp + 0x8c], eax
fild dword [esp + 0x8c]
fmul dword [ecx + 0x14]
jmp 0x42dd91
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0xac]
sub ecx, dword [eax + 0x18]
cmp edi, ecx
jle 0x42dd95
fild dword [esp + 0x74]
fmul dword [eax + 0x14]
fstp dword [esp + 0x34]
mov eax, dword [esp + 0x108]
test eax, eax
je 0x42de03
fld dword [esp + 0x34]
fcomp dword [0x491434]
and esi, 0x1f8
and ebp, 0x3ff8
shl esi, 5
add esi, ebp
sar ebx, 3
fnstsw ax
lea esi, [ebx + esi*4]
test ah, 1
push esi
je 0x42ddee
fld dword [esp + 0x38]
fmul dword [0x491470]
call fcn.0044eaa0
mov edx, dword [esp + 0x3c]
push eax
push edx
push edi
mov ecx, 0x4b0ce8
call fcn.0040bd20
jmp 0x42decc
mov eax, dword [esp + 0x3c]
mov ecx, 0x4b0ce8
push eax
push edi
call fcn.0040bcc0
jmp 0x42decc
lea ecx, [ebx + ebp]
add ecx, esi
test ecx, ecx
jle 0x42decc
fld dword [esp + 0x34]
fcomp dword [0x491434]
fnstsw ax
test ah, 1
je 0x42deb2
mov eax, dword [esp + 0x58]
lea edx, [esp + 0xf0]
mov cx, word [eax]
call dword [0x4b0a64]
fld dword [esp + 0x34]
fsubr qword [0x4914a8]
fmul dword [0x49143c]
fld dword [0x49143c]
fsub st(1)
fild dword [esp + 0xf0]
fmul st(2)
fild dword [esp + 0x78]
fmul st(2)
faddp st(1)
fmul dword [0x491438]
call fcn.0044eaa0
fild dword [esp + 0xf4]
mov esi, eax
fmul st(2)
fild dword [esp + 0x7c]
fmul st(2)
faddp st(1)
fmul dword [0x491438]
call fcn.0044eaa0
fild dword [esp + 0xf8]
mov ebp, eax
fmul st(2)
fild dword [esp + 0x80]
fmul st(2)
faddp st(1)
fmul dword [0x491438]
call fcn.0044eaa0
fstp st(0)
fstp st(0)
mov ebx, eax
sub esp, 0xc
mov ecx, esp
mov dword [ecx], esi
mov dword [ecx + 4], ebp
mov dword [ecx + 8], ebx
call dword [0x4b0a60]
mov edx, dword [esp + 0x58]
mov word [edx], ax
fld dword [esp + 0x94]
fadd dword [esp + 0x18]
mov esi, dword [esp + 0x88]
mov eax, dword [esp + 0x58]
inc esi
mov edx, dword [esp + 0x74]
mov dword [esp + 0x88], esi
mov ebp, dword [esp + 0x84]
fstp dword [esp + 0x18]
fld dword [esp + 0x98]
fadd dword [esp + 0x1c]
mov edi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x54]
add eax, 2
dec edx
mov dword [esp + 0x58], eax
inc ebp
fstp dword [esp + 0x1c]
fld dword [esp + 0xe0]
fadd dword [esp + 0x3c]
mov dword [esp + 0x74], edx
mov dword [esp + 0x84], ebp
fstp dword [esp + 0x3c]
fild dword [esp + 0x88]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 1
jne 0x42d9d4
jmp 0x42df53
mov dword [esp + 0x14], 0
xor ebp, ebp
fild dword [esp + 0x90]
fadd dword [esp + 0x28]
call fcn.0044eaa0
fld dword [esp + 0x14]
fsub dword [esp + 0x28]
mov ecx, eax
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x48], edx
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fcomp dword [0x49144c]
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
fnstsw ax
test ah, 0x41
je 0x42d844
mov eax, dword [esp + 0x108]
add edi, 0x1c
add ebx, 0x1c
cmp eax, ebp
mov dword [esp + 0x5c], edi
mov dword [esp + 0x54], ebx
jne 0x42dfe7
mov ecx, dword [0x4b6098]
mov edx, dword [esp + 0x50]
lea eax, [edx + ecx*2]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0x38]
inc eax
mov edx, dword [ecx]
mov dword [esp + 0x38], eax
cmp eax, edx
jl 0x42d748
cmp dword [esp + 0x108], ebp
jne 0x42e030
mov eax, dword [0x4b0a50]
and eax, 0xff
dec eax
jne 0x42e02a
cmp dword [0x4b0a5c], ebp
je 0x42e02a
mov ecx, dword [0x4b0a48]
call fcn.0044c780
mov dword [0x4b0a5c], ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xec
ret 0xc