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

Disassembly:
push 0xffffffffffffffff
push 0x626419
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4fc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x518]
mov ebp, ecx
lea eax, [esp + 0xf8]
push edi
push eax
mov ecx, esi
mov dword [esp + 0x34], ebp
call fcn.0049b6f0
lea ecx, [esp + 0xdc]
push ecx
lea ecx, [esp + 0x100]
call fcn.0049bc90
mov eax, dword [esp + 0xe8]
mov edi, dword [esp + 0xdc]
mov ebx, dword [esp + 0xe0]
mov edx, dword [esp + 0xe4]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x520]
test eax, eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], edx
je 0x4cc93a
lea ecx, [esp + 0xdc]
push eax
lea edx, [esp + 0x74]
push ecx
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
fld dword [esi]
fst qword [esp + 0x44]
fabs
fcomp dword [0x646de4]
fnstsw ax
test ah, 1
je 0x4cca0a
fld dword [esi + 0xc]
fabs
fcomp dword [0x646de4]
fnstsw ax
test ah, 1
je 0x4cca0a
fld dword [esi + 8]
sub esp, 8
fabs
fstp qword [esp]
call fcn.004656b5
call fcn.004605e0
fld dword [esi + 4]
fabs
fstp qword [esp]
mov edi, eax
call fcn.004656b5
add esp, 8
call fcn.004605e0
mov ecx, dword [ebp + 8]
mov edx, eax
imul ecx, dword [ebp + 4]
imul edx, edi
cmp edx, ecx
jge 0x4cc9b4
push 0
push edi
push eax
mov ecx, ebp
call fcn.004cd370
mov edi, eax
jmp 0x4cc9b6
mov edi, ebp
fld dword [esi + 4]
fcomp dword [0x635d9c]
fnstsw ax
test ah, 1
je 0x4cc9cd
mov ecx, 1
jmp 0x4cc9cf
xor ecx, ecx
fld dword [esi + 8]
fcomp dword [0x635d9c]
fnstsw ax
test ah, 0x41
jne 0x4cc9e6
mov eax, 1
jmp 0x4cc9e8
xor eax, eax
push ecx
push eax
mov ecx, edi
call fcn.004cc5c0
cmp edi, ebp
mov esi, eax
je 0x4cca03
test edi, edi
je 0x4cca03
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov eax, esi
jmp 0x4cd34a
fld dword [esi + 4]
fabs
fcomp dword [0x646de4]
fnstsw ax
test ah, 1
je 0x4ccaeb
fld dword [esi + 8]
fabs
fcomp dword [0x646de4]
fnstsw ax
test ah, 1
je 0x4ccaeb
fld dword [esi]
fcomp dword [0x635d9c]
fnstsw ax
test ah, 0x41
jne 0x4cca56
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push ecx
push edx
call fcn.004656b5
jmp 0x4cca65
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push eax
push ecx
call fcn.0046217a
add esp, 8
call fcn.004605e0
fld dword [esi + 0xc]
fcomp dword [0x635d9c]
fld dword [esi + 0xc]
mov dword [esp + 0x34], eax
fnstsw ax
test ah, 0x41
jne 0x4cca91
sub esp, 8
fstp qword [esp]
call fcn.004656b5
jmp 0x4cca9c
sub esp, 8
fstp qword [esp]
call fcn.0046217a
add esp, 8
call fcn.004605e0
mov edx, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x70]
sub edx, ebx
mov dword [esp + 0x7c], edx
lea edx, [esp + 0x70]
neg eax
sub esi, edi
sub ecx, edi
mov edi, dword [esp + 0x74]
push edx
push eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x78], ecx
sub edi, ebx
push eax
mov ecx, ebp
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], edi
call fcn.004cd370
jmp 0x4cd34a
push ebp
lea ecx, [esp + 0x70]
call fcn.004b4660
mov ecx, esi
mov dword [esp + 0x514], 0
call fcn.0049b750
fild dword [ebp + 4]
mov ebx, dword [esp + 0x6c]
mov ecx, 6
lea edi, [esp + 0xb4]
mov dword [esp + 0x2c], ebx
fimul dword [ebp + 8]
rep movsd dword es:[edi], dword [esi]
fdivrp st(1)
lea ecx, [esp + 0xb4]
fsqrt
fstp dword [esp + 0x10]
mov eax, dword [esp + 0x10]
push eax
push eax
call fcn.0049b630
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
lea ecx, [esp + 0xec]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x14]
push ecx
lea ecx, [esp + 0xb8]
mov dword [esp + 0x40], eax
call fcn.0049b6f0
lea edx, [esp + 0xcc]
lea ecx, [esp + 0xec]
push edx
call fcn.0049bc90
fld dword [esp + 0xc4]
fadd dword [esp + 0xbc]
mov eax, dword [0x646de0]
mov dword [esp + 0xa4], 0
mov ecx, eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], 0
fstp dword [esp + 0xac]
fld dword [esp + 0xc8]
fadd dword [esp + 0xc0]
fstp dword [esp + 0xb0]
mov edx, dword [ebx + 4]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fdivr dword [esp + 0xb4]
fstp dword [esp + 0x9c]
mov eax, dword [ebx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xd0]
fild dword [esp + 0x10]
neg eax
push eax
fdivr dword [esp + 0xbc]
fstp dword [esp + 0xa4]
mov ecx, dword [ebx + 8]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xd0]
fild dword [esp + 0x14]
neg ecx
push ecx
lea ecx, [esp + 0xa4]
fdivr dword [esp + 0xc4]
fchs
fstp dword [esp + 0xac]
mov edx, dword [ebx + 8]
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fdivr dword [esp + 0xc8]
fchs
fstp dword [esp + 0xb0]
call fcn.0049b670
mov edx, dword [0x646de0]
lea ecx, [esp + 0x9c]
mov eax, edx
push ecx
lea ecx, [esp + 0x84]
mov dword [esp + 0x90], edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x98], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
call fcn.0049b4e0
fld dword [esp + 0x80]
fmul dword [0x638420]
push ecx
fstp dword [esp]
call fcn.0049b900
fld dword [esp + 0x88]
fmul dword [0x638420]
mov dword [esp + 0x50], eax
fstp dword [esp]
call fcn.0049b900
fld dword [esp + 0x8c]
fmul dword [0x638420]
mov dword [esp + 0x54], eax
fstp dword [esp]
call fcn.0049b900
fld dword [esp + 0x90]
fmul dword [0x638420]
mov dword [esp + 0x58], eax
fstp dword [esp]
call fcn.0049b900
fld dword [esp + 0x94]
fmul dword [0x638420]
mov dword [esp + 0x5c], eax
fstp dword [esp]
call fcn.0049b900
fld dword [esp + 0x98]
fmul dword [0x638420]
mov ebx, eax
fstp dword [esp]
call fcn.0049b900
mov edi, dword [esp + 0xd8]
mov edx, dword [esp + 0xd0]
mov esi, dword [esp + 0xdc]
mov ecx, dword [esp + 0xd4]
sub edi, edx
push 0x24
mov dword [esp + 0x68], eax
mov dword [esp + 0x28], edi
sub esi, ecx
call fcn.00486010
add esp, 8
mov dword [esp + 0x44], eax
test eax, eax
mov byte [esp + 0x514], 1
je 0x4ccda3
mov edx, dword [ebp + 0x10]
push 0
dec edx
mov ecx, eax
neg edx
sbb edx, edx
and edx, 0x118
add edx, 0x108
push edx
push esi
push edi
call fcn.004b2de0
mov dword [esp + 0x34], eax
jmp 0x4ccdab
mov dword [esp + 0x34], 0
mov edi, dword [esp + 0x34]
mov byte [esp + 0x514], 0
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 4]
mov ecx, dword [edi + 0x14]
mov ebp, eax
mov dword [esp + 0x40], ecx
imul ecx, esi
mov edx, ecx
xor eax, eax
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0xc]
cmp eax, 1
jne 0x4cd05b
mov ecx, dword [esp + 0x2c]
cmp dword [ecx + 0x10], 1
jne 0x4ccf12
test esi, esi
jle 0x4cd31a
mov edx, dword [esp + 0x60]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x20]
xor ebp, ebp
test eax, eax
jle 0x4cced4
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, ebx
cdq
and edx, 0xff
add eax, edx
mov edi, eax
mov eax, dword [esp + 0x24]
cdq
and edx, 0xff
add eax, edx
mov esi, eax
sar edi, 8
sar esi, 8
test edi, edi
jl 0x4cceb3
mov ecx, dword [esp + 0x30]
cmp edi, dword [ecx + 4]
jge 0x4cceb3
test esi, esi
jl 0x4cceb3
mov edx, ecx
cmp esi, dword [edx + 8]
jge 0x4cceb3
mov eax, edi
and eax, reloc.OLEAUT32.dll_VariantInit
jns 0x4cce78
dec eax
or eax, 0xfffffff8
inc eax
imul esi, dword [esp + 0x3c]
mov ecx, 7
mov edx, 1
sub ecx, eax
mov eax, edi
shl edx, cl
mov ecx, dword [esp + 0x38]
add ecx, esi
mov dword [esp + 0x10], edx
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dl, byte [eax + ecx]
mov eax, dword [esp + 0x10]
test dl, al
je 0x4cceb3
mov ecx, dword [esp + 0x18]
mov byte [ecx + ebp], 0xff
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add ebx, edx
mov edx, dword [esp + 0x50]
inc ebp
add ecx, edx
cmp ebp, eax
mov dword [esp + 0x24], ecx
jl 0x4cce30
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x1c]
add edx, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x40]
add esi, eax
mov eax, dword [esp + 0x28]
add ecx, edx
dec eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], eax
jne 0x4cce16
jmp 0x4cd31a
mov edi, dword [esp + 0x2c]
push 0
mov ecx, edi
call fcn.004b3230
push 1
mov ecx, edi
mov dword [esp + 0x48], eax
call fcn.004b3230
test esi, esi
mov dword [esp + 0x68], eax
jle 0x4cd31a
mov eax, ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], ebp
test ecx, ecx
jle 0x4cd029
mov ebp, eax
mov dword [esp + 0x28], ecx
mov eax, ebp
cdq
and edx, 0xff
add eax, edx
mov edi, eax
mov eax, ebx
cdq
and edx, 0xff
add eax, edx
mov esi, eax
sar edi, 8
sar esi, 8
test edi, edi
jl 0x4ccff7
mov eax, dword [esp + 0x30]
cmp edi, dword [eax + 4]
jge 0x4ccff7
test esi, esi
jl 0x4ccff7
cmp esi, dword [eax + 8]
jge 0x4ccff7
mov eax, edi
and eax, reloc.OLEAUT32.dll_VariantInit
jns 0x4ccfa8
dec eax
or eax, 0xfffffff8
inc eax
imul esi, dword [esp + 0x3c]
mov ecx, 7
mov edx, 1
sub ecx, eax
mov eax, edi
shl edx, cl
mov ecx, dword [esp + 0x38]
add ecx, esi
mov dword [esp + 0x98], edx
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dl, byte [eax + ecx]
mov eax, dword [esp + 0x98]
test dl, al
je 0x4ccfed
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x68]
mov dword [edx], ecx
jmp 0x4ccff7
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x44]
mov dword [ecx], eax
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x28]
add esi, 4
add ebp, edx
add ebx, ecx
dec eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], eax
jne 0x4ccf64
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x10]
add ebp, edi
add ebx, esi
add eax, edx
dec ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
jne 0x4ccf4e
jmp 0x4cd31a
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx + 0x10]
cmp ecx, 1
jne 0x4cd125
test esi, esi
jle 0x4cd31a
mov eax, dword [esp + 0x60]
mov dword [esp + 0x14], ebx
mov ebx, ebp
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov ebp, eax
mov eax, dword [esp + 0x20]
xor edi, edi
test eax, eax
jle 0x4cd0f7
mov eax, esi
cdq
and edx, 0xff
add eax, edx
mov ecx, eax
mov eax, ebp
cdq
and edx, 0xff
add eax, edx
sar ecx, 8
sar eax, 8
test ecx, ecx
jl 0x4cd0da
mov edx, dword [esp + 0x30]
cmp ecx, dword [edx + 4]
jge 0x4cd0da
test eax, eax
jl 0x4cd0da
cmp eax, dword [edx + 8]
jge 0x4cd0da
imul eax, dword [esp + 0x3c]
add eax, ecx
mov ecx, dword [esp + 0x38]
mov dl, byte [eax + ecx]
mov byte [ebx + edi], dl
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x20]
inc edi
add esi, edx
add ebp, ecx
cmp edi, eax
jl 0x4cd095
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x10]
add ebx, edi
add ebp, edx
add esi, ecx
dec eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
jne 0x4cd08b
jmp 0x4cd31a
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 1
mov dword [esp + 0x44], eax
jne 0x4cd219
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x10c]
push 0xff
push eax
call fcn.004b38e0
test esi, esi
jle 0x4cd31a
mov eax, dword [esp + 0x60]
mov edi, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
mov ecx, dword [esp + 0x20]
test ecx, ecx
jle 0x4cd1e7
mov esi, eax
mov ebx, ecx
mov eax, edi
cdq
and edx, 0xff
add eax, edx
mov ecx, eax
mov eax, esi
cdq
and edx, 0xff
add eax, edx
sar ecx, 8
sar eax, 8
test ecx, ecx
jl 0x4cd1c9
mov edx, dword [esp + 0x30]
cmp ecx, dword [edx + 4]
jge 0x4cd1c9
test eax, eax
jl 0x4cd1c9
cmp eax, dword [edx + 8]
jge 0x4cd1c9
imul eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
add eax, ecx
xor ecx, ecx
mov cl, byte [eax + edx]
mov eax, dword [esp + ecx*4 + 0x10c]
mov dword [ebp], eax
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
add ebp, 4
add edi, edx
add esi, ecx
dec ebx
jne 0x4cd17b
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x14]
add ebp, ebx
add eax, esi
add edi, edx
dec ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
jne 0x4cd16f
jmp 0x4cd31a
xor edx, edx
cmp ecx, 2
sete dl
test esi, esi
mov dword [esp + 0x68], edx
jle 0x4cd31a
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebp
mov ebx, eax
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x4cd2ed
mov edi, eax
mov eax, esi
cdq
and edx, 0xff
add eax, edx
mov ecx, eax
mov eax, ebx
cdq
and edx, 0xff
add eax, edx
sar ecx, 8
sar eax, 8
test ecx, ecx
jl 0x4cd2cb
mov edx, dword [esp + 0x30]
cmp ecx, dword [edx + 4]
jge 0x4cd2cb
test eax, eax
jl 0x4cd2cb
cmp eax, dword [edx + 8]
jge 0x4cd2cb
imul ecx, dword [esp + 0x44]
imul eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
add edx, ecx
mov ecx, dword [esp + 0x68]
add eax, edx
test ecx, ecx
je 0x4cd2aa
mov eax, dword [eax]
mov dword [ebp], eax
jmp 0x4cd2cb
xor ecx, ecx
xor edx, edx
mov cl, byte [eax + 2]
mov dl, byte [eax + 1]
or ecx, 0xffffff00
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax]
shl ecx, 8
or ecx, edx
mov dword [ebp], ecx
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
add ebp, 4
add esi, edx
add ebx, ecx
dec edi
jne 0x4cd255
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x10]
add ebp, edi
add ebx, edx
add esi, ecx
dec eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], eax
jne 0x4cd247
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x6c]
cmp eax, ecx
je 0x4cd332
test eax, eax
je 0x4cd332
mov ecx, eax
push 1
mov edx, dword [ecx]
call dword [edx]
lea ecx, [esp + 0x6c]
mov dword [esp + 0x514], 0xffffffff
call fcn.0049b200
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x50c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x508
ret 8