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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x7286bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x38], esi
mov eax, dword [ebx]
call dword [eax + 0x194]
test al, al
jne 0x462239
cmp dword [esi + 4], 9
jle 0x462239
cmp dword [esi + 4], 0x19
jge 0x462239
mov ecx, dword [ebx + 0x48]
push esi
test ecx, ecx
je 0x46222d
mov eax, dword [ecx]
call dword [eax + 0x1e0]
jmp 0x462c5b
mov ecx, ebx
call fcn.005dc636
jmp 0x462c5b
cmp dword [esi + 4], 0x1b
jne 0x46224b
mov byte [ebx + 0xba], 1
jmp 0x462c5b
cmp dword [esi + 4], 0x1a
jne 0x46225d
mov byte [ebx + 0xba], 0
jmp 0x462c5b
mov ecx, dword [ebx + 0x310]
push edi
test ecx, ecx
je 0x46253d
mov eax, dword [ecx]
call dword [eax + 0x17c]
test al, al
je 0x46253d
mov ecx, dword [ebx + 0x310]
mov eax, dword [ecx]
call dword [eax + 0x188]
test al, al
je 0x46253d
cmp dword [esi + 4], 3
jne 0x46230e
movzx eax, word [esi + 0x18]
sub eax, 0x21
je 0x462301
sub eax, 1
je 0x4622f4
sub eax, 1
je 0x4622e7
sub eax, 1
je 0x4622da
dec eax
sub eax, 1
je 0x4622cd
dec eax
sub eax, 1
jne 0x462621
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x54]
jmp 0x462c5a
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x50]
jmp 0x462c5a
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x60]
jmp 0x462c5a
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x64]
jmp 0x462c5a
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x5c]
jmp 0x462c5a
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x58]
jmp 0x462c5a
xor ecx, ecx
lea edi, [ebx - 8]
test edi, edi
mov eax, ebx
cmove eax, ecx
cmp dword [esi + 8], eax
jne 0x4623e0
cmp dword [esi + 4], 0x1e
jne 0x4623e0
cmp dword [esi + 0x1c], 0x18
jne 0x4623e0
mov eax, dword [ebx + 0x324]
test eax, eax
jle 0x4623be
dec eax
lea esi, [ebx - 8]
mov dword [ebx + 0x324], eax
lea ecx, [ebp - 0x1c]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x3c]
mov eax, dword [esi]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call dword [eax + 0x40]
movd xmm1, dword [ebx + 0x324]
movd xmm0, dword [ebx + 0x320]
cvtdq2pd xmm1, xmm1
mov edx, dword [ebp - 0x18]
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
movd xmm0, dword [ebx + 0x31c]
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm1
mulsd xmm1, xmm0
cvttsd2si eax, xmm1
test eax, eax
jle 0x4623a2
test edx, edx
jne 0x4623a9
test eax, eax
jns 0x4623be
cmp edx, dword [ebp - 0x28]
je 0x4623be
sub edx, eax
mov ecx, esi
mov eax, dword [esi]
push edx
push dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
call dword [eax + 0x44]
jmp 0x462c5a
xor eax, eax
xor ecx, ecx
mov dword [ebx + 0x31c], eax
test edi, edi
mov dword [ebx + 0x320], eax
mov dword [ebx + 0x324], eax
mov eax, ebx
cmove eax, ecx
jmp 0x4624c9
cmp dword [esi + 4], 0x18
jne 0x462621
lea edi, [ebx - 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xdc]
test al, al
jne 0x46241f
movzx eax, word [esi + 0x1c]
sub eax, 0
je 0x462416
sub eax, 1
jne 0x462621
mov eax, dword [edi]
mov ecx, edi
jmp 0x46260c
mov eax, dword [edi]
mov ecx, edi
jmp 0x462619
mov ecx, dword [ebx + 0x310]
call fcn.005e0cef
mov ecx, dword [ebx + 0x310]
mov dword [ebp - 0x28], eax
call fcn.005e0ce8
mov ecx, dword [ebx + 0x310]
mov dword [ebp - 0x38], eax
call fcn.005e0cf6
mov ecx, dword [ebx + 0x320]
cdq
sub eax, edx
mov edi, eax
xor eax, eax
sar edi, 1
mov edx, eax
test ecx, ecx
jle 0x46248b
movd xmm1, dword [ebx + 0x324]
cvtdq2pd xmm1, xmm1
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
movd xmm0, dword [ebx + 0x31c]
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm1
mulsd xmm1, xmm0
cvttsd2si edx, xmm1
mov dword [ebx + 0x31c], edx
movzx ecx, word [esi + 0x1c]
sub ecx, eax
je 0x4624b8
sub ecx, 1
jne 0x4624e9
mov ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x38], ecx
je 0x4624bd
test edx, edx
jle 0x4624b0
mov dword [ebx + 0x31c], eax
sub dword [ebx + 0x31c], edi
jmp 0x4624e9
cmp dword [ebp - 0x38], eax
jne 0x4624d9
xor edx, edx
lea ecx, [ebx - 8]
test ecx, ecx
mov eax, ebx
cmove eax, edx
mov ecx, dword [ebx + 0x44]
push 0x18
push eax
call fcn.005d079b
jmp 0x462c5a
test edx, edx
jns 0x4624e3
mov dword [ebx + 0x31c], eax
add dword [ebx + 0x31c], edi
push dword [ebx + 0x31c]
call fcn.0063d3c2
push ecx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.00641e04
fadd st(0), st(0)
xor edx, edx
pop ecx
pop ecx
lea ecx, [ebx - 8]
test ecx, ecx
mov ecx, dword [ebx + 0x44]
fstp qword [ebp - 0x1c]
cvttsd2si eax, qword [ebp - 0x1c]
push 0x1e
push 0x18
mov dword [ebx + 0x320], eax
mov dword [ebx + 0x324], eax
mov eax, ebx
cmove eax, edx
push eax
call fcn.005d3dec
jmp 0x462c5a
mov ecx, dword [ebx + 0x314]
test ecx, ecx
je 0x462621
mov eax, dword [ecx]
call dword [eax + 0x17c]
test al, al
je 0x462621
mov ecx, dword [ebx + 0x314]
mov eax, dword [ecx]
call dword [eax + 0x188]
test al, al
je 0x462621
cmp dword [esi + 4], 3
jne 0x4625f3
movzx eax, word [esi + 0x18]
sub eax, 0x21
je 0x4625e6
sub eax, 1
je 0x4625d9
sub eax, 1
je 0x4625c9
sub eax, 1
je 0x4625b9
dec eax
sub eax, 1
je 0x4625ac
dec eax
sub eax, 1
jne 0x462621
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x74]
jmp 0x462c5a
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x70]
jmp 0x462c5a
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x80]
jmp 0x462c5a
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x84]
jmp 0x462c5a
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x7c]
jmp 0x462c5a
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x78]
jmp 0x462c5a
cmp dword [esi + 4], 0x18
jne 0x462621
movzx eax, word [esi + 0x1c]
sub eax, 0
je 0x462614
sub eax, 1
jne 0x462621
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x6c]
jmp 0x462c5a
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x68]
jmp 0x462c5a
lea edi, [ebx - 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xe4]
mov edx, dword [edi]
mov ecx, edi
mov dword [ebp - 0x3c], eax
call dword [edx + 0xec]
cmp dword [ebp - 0x3c], 0
mov dword [ebp - 0x18], eax
jne 0x46264c
test eax, eax
je 0x462c52
cmp dword [esi + 4], 0xe
jne 0x46270c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x188]
test al, al
je 0x46270c
push 0
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.0047d9a5
push dword [esi + 0x14]
lea eax, [ebp - 0x14]
push dword [esi + 0x10]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x462692
mov byte [ebx + 0x329], 1
jmp 0x4626ba
push 0
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
call fcn.00498a9a
push dword [esi + 0x14]
lea eax, [ebp - 0x34]
push dword [esi + 0x10]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x46270c
mov byte [ebx + 0x329], 0
or dword [ebx + 0x334], 0x40
lea edi, [ebx + 0x340]
cmp byte [ebx + 0x328], 0
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x338], eax
mov eax, dword [esi + 0x14]
lea esi, [ebx + 0x58]
movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x33c], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jne 0x462c5a
mov ecx, dword [ebx + 0x44]
test ecx, ecx
je 0x462c5a
lea eax, [ebx - 8]
neg eax
sbb eax, eax
and eax, ebx
push eax
call fcn.005cfa0a
jmp 0x462c5a
cmp dword [esi + 4], 0xf
jne 0x46275e
mov eax, dword [ebx + 0x334]
test al, 0x40
je 0x46275e
lea esi, [ebx + 0x340]
and eax, 0xffffffbf
cmp byte [ebx + 0x328], 0
lea edi, [ebx + 0x58]
movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x334], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jne 0x462b8f
mov ecx, dword [ebx + 0x44]
test ecx, ecx
je 0x462b8f
lea eax, [ebx - 8]
neg eax
sbb eax, eax
and eax, ebx
push eax
call fcn.005d2fdf
jmp 0x462b8f
cmp dword [esi + 4], 0xa
jne 0x462bdf
test byte [ebx + 0x334], 0x40
je 0x462bdf
mov eax, dword [esi + 0x14]
lea edx, [ebx + 0x340]
mov ecx, dword [esi + 0x10]
lea edi, [ebp - 0x14]
sub eax, dword [ebx + 0x33c]
sub ecx, dword [ebx + 0x338]
cmp byte [ebx + 0x329], 0
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x338], eax
mov eax, dword [esi + 0x14]
mov esi, edx
mov dword [ebp - 0x40], ecx
mov dword [ebx + 0x33c], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x4629bc
mov esi, dword [ebp - 0x3c]
test esi, esi
jle 0x46288d
test ecx, ecx
mov ecx, dword [ebp - 0x38]
jle 0x4627de
mov eax, dword [ebx + 0x348]
sub eax, esi
cmp dword [ecx + 0x10], eax
jl 0x462c5a
mov edi, dword [ebp - 0x40]
test edi, edi
jns 0x4627f4
mov eax, dword [ecx + 0x10]
cmp eax, dword [ebx + 0x348]
jg 0x462c5a
mov esi, dword [ebp - 0xc]
mov ecx, ebx
mov eax, dword [ebx]
add esi, edi
mov dword [ebp - 0xc], esi
call dword [eax + 0x104]
mov ecx, esi
sub ecx, dword [ebp - 0x14]
cmp ecx, eax
jg 0x462843
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x104]
mov ecx, dword [ebx + 0x348]
lea edi, [ebx + 0x340]
sub ecx, dword [edi]
cmp ecx, eax
jle 0x462c5a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x104]
mov esi, eax
add esi, dword [ebp - 0x14]
mov dword [ebp - 0xc], esi
jmp 0x462849
lea edi, [ebx + 0x340]
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x10c]
sub esi, dword [ebp - 0x14]
cmp esi, eax
jl 0x462947
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10c]
mov ecx, dword [ebx + 0x348]
sub ecx, dword [edi]
cmp ecx, eax
jge 0x462c5a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10c]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
jmp 0x462947
test ecx, ecx
mov ecx, dword [ebp - 0x38]
jle 0x46289f
mov eax, dword [ecx + 0x10]
cmp eax, dword [edx]
jl 0x462c5a
mov edi, dword [ebp - 0x40]
test edi, edi
jns 0x4628b3
mov eax, dword [edx]
sub eax, esi
cmp dword [ecx + 0x10], eax
jg 0x462c5a
mov esi, dword [ebp - 0x14]
mov ecx, ebx
mov eax, dword [ebx]
add esi, edi
mov dword [ebp - 0x14], esi
call dword [eax + 0x104]
mov ecx, dword [ebp - 0xc]
sub ecx, esi
cmp ecx, eax
jg 0x462902
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x104]
mov ecx, dword [ebx + 0x348]
lea edi, [ebx + 0x340]
sub ecx, dword [edi]
cmp ecx, eax
jle 0x462c5a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x104]
mov esi, dword [ebp - 0xc]
sub esi, eax
mov dword [ebp - 0x14], esi
jmp 0x462908
lea edi, [ebx + 0x340]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10c]
mov ecx, dword [ebp - 0xc]
sub ecx, esi
cmp ecx, eax
jl 0x462947
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10c]
mov ecx, dword [ebx + 0x348]
sub ecx, dword [edi]
cmp ecx, eax
jge 0x462c5a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10c]
mov ecx, dword [ebp - 0xc]
sub ecx, eax
mov dword [ebp - 0x14], ecx
push 1
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebx - 8]
call fcn.0047d9a5
push eax
lea ecx, [ebp - 0x24]
call fcn.005c0d0b
lea ecx, [ebx + 0x340]
mov edi, ecx
lea esi, [ebp - 0x14]
push 1
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x348]
sub eax, dword [ecx]
mov ecx, ebx
push eax
call fcn.005d8c05
cmp byte [ebx + 0x328], 0
mov dword [ebx + 0x80], eax
jne 0x462b82
push 1
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx - 8]
call fcn.0047d9a5
push eax
lea ecx, [ebp - 0x24]
call fcn.005c1be0
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx - 8]
call fcn.0047d9a5
jmp 0x462bc0
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x38]
test esi, esi
jle 0x462a86
test edx, edx
jle 0x4629e4
mov eax, dword [ebx + 0x34c]
add eax, esi
cmp dword [ecx + 0x14], eax
jl 0x462c5a
test edx, edx
jns 0x4629f5
mov eax, dword [ecx + 0x14]
cmp eax, dword [ebx + 0x34c]
jg 0x462c5a
mov esi, dword [ebp - 8]
mov ecx, ebx
mov eax, dword [ebx]
add esi, edx
mov dword [ebp - 8], esi
call dword [eax + 0x114]
mov edi, dword [ebp - 0x10]
mov ecx, esi
sub ecx, edi
cmp ecx, eax
jg 0x462a40
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x114]
mov ecx, dword [ebx + 0x34c]
sub ecx, dword [ebx + 0x344]
cmp ecx, eax
jle 0x462c5a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x114]
lea esi, [edi + eax]
mov dword [ebp - 8], esi
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x11c]
sub esi, edi
cmp esi, eax
jl 0x462b39
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x11c]
mov ecx, dword [ebx + 0x34c]
sub ecx, dword [ebx + 0x344]
cmp ecx, eax
jge 0x462c5a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x11c]
add eax, edi
mov dword [ebp - 8], eax
jmp 0x462b39
test edx, edx
jle 0x462a9b
mov eax, dword [ecx + 0x14]
cmp eax, dword [ebx + 0x344]
jl 0x462c5a
test edx, edx
jns 0x462aae
mov eax, dword [ebx + 0x344]
add eax, esi
cmp dword [ecx + 0x14], eax
jg 0x462c5a
mov esi, dword [ebp - 0x10]
mov ecx, ebx
mov eax, dword [ebx]
add esi, edx
mov dword [ebp - 0x10], esi
call dword [eax + 0x114]
mov edi, dword [ebp - 8]
mov ecx, edi
sub ecx, esi
cmp ecx, eax
jg 0x462afa
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x114]
mov ecx, dword [ebx + 0x34c]
sub ecx, dword [ebx + 0x344]
cmp ecx, eax
jle 0x462c5a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x114]
mov esi, edi
sub esi, eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x11c]
mov ecx, edi
sub ecx, esi
cmp ecx, eax
jl 0x462b39
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x11c]
mov ecx, dword [ebx + 0x34c]
sub ecx, dword [ebx + 0x344]
cmp ecx, eax
jge 0x462c5a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x11c]
sub edi, eax
mov dword [ebp - 0x10], edi
push 1
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebx - 8]
call fcn.00498a9a
push eax
lea ecx, [ebp - 0x24]
call fcn.005c0d0b
lea esi, [ebp - 0x14]
mov ecx, ebx
lea edi, [ebx + 0x340]
movsd dword es:[edi], dword [esi]
push 1
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x34c]
sub eax, dword [ebx + 0x344]
push eax
call fcn.005d8c05
cmp byte [ebx + 0x328], 0
mov dword [ebx + 0x84], eax
je 0x462b9b
lea edi, [ebx + 0x58]
lea esi, [ebx + 0x340]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.005d88e1
jmp 0x462c5a
push 1
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx - 8]
call fcn.00498a9a
push eax
lea ecx, [ebp - 0x24]
call fcn.005c1be0
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx - 8]
call fcn.00498a9a
push eax
lea ecx, [ebp - 0x24]
call fcn.005c1be0
mov ecx, dword [ebx + 0x44]
test ecx, ecx
je 0x462c5a
lea eax, [ebp - 0x24]
push eax
call fcn.005d065f
jmp 0x462c5a
cmp dword [esi + 4], 0x1d
jne 0x462c52
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x188]
test al, al
je 0x462c52
push 0
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.0047d9a5
push dword [esi + 0x14]
lea eax, [ebp - 0x14]
push dword [esi + 0x10]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x462c1b
push 0x7f84
jmp 0x462c41
push 0
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.00498a9a
push dword [esi + 0x14]
lea eax, [ebp - 0x24]
push dword [esi + 0x10]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x462c52
push 0x7f85
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x462c5a
push esi
mov ecx, ebx
call fcn.005dc636
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00609802
mov esp, ebp
pop ebp
ret 4