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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x67e2d4]
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 0x46f423
cmp dword [esi + 4], 9
jle 0x46f423
cmp dword [esi + 4], 0x19
jge 0x46f423
mov ecx, dword [ebx + 0x48]
push esi
test ecx, ecx
je 0x46f417
mov eax, dword [ecx]
call dword [eax + 0x1e0]
jmp 0x46fe45
mov ecx, ebx
call fcn.0053d10a
jmp 0x46fe45
cmp dword [esi + 4], 0x1b
jne 0x46f435
mov byte [ebx + 0xba], 1
jmp 0x46fe45
cmp dword [esi + 4], 0x1a
jne 0x46f447
mov byte [ebx + 0xba], 0
jmp 0x46fe45
mov ecx, dword [ebx + 0x310]
push edi
test ecx, ecx
je 0x46f727
mov eax, dword [ecx]
call dword [eax + 0x17c]
test al, al
je 0x46f727
mov ecx, dword [ebx + 0x310]
mov eax, dword [ecx]
call dword [eax + 0x188]
test al, al
je 0x46f727
cmp dword [esi + 4], 3
jne 0x46f4f8
movzx eax, word [esi + 0x18]
sub eax, 0x21
je 0x46f4eb
sub eax, 1
je 0x46f4de
sub eax, 1
je 0x46f4d1
sub eax, 1
je 0x46f4c4
dec eax
sub eax, 1
je 0x46f4b7
dec eax
sub eax, 1
jne 0x46f80b
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x54]
jmp 0x46fe44
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x50]
jmp 0x46fe44
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x60]
jmp 0x46fe44
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x64]
jmp 0x46fe44
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x5c]
jmp 0x46fe44
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x58]
jmp 0x46fe44
xor ecx, ecx
lea edi, [ebx - 8]
test edi, edi
mov eax, ebx
cmove eax, ecx
cmp dword [esi + 8], eax
jne 0x46f5ca
cmp dword [esi + 4], 0x1e
jne 0x46f5ca
cmp dword [esi + 0x1c], 0x18
jne 0x46f5ca
mov eax, dword [ebx + 0x324]
test eax, eax
jle 0x46f5a8
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 0x46f58c
test edx, edx
jne 0x46f593
test eax, eax
jns 0x46f5a8
cmp edx, dword [ebp - 0x28]
je 0x46f5a8
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 0x46fe44
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 0x46f6b3
cmp dword [esi + 4], 0x18
jne 0x46f80b
lea edi, [ebx - 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xdc]
test al, al
jne 0x46f609
movzx eax, word [esi + 0x1c]
sub eax, 0
je 0x46f600
sub eax, 1
jne 0x46f80b
mov eax, dword [edi]
mov ecx, edi
jmp 0x46f7f6
mov eax, dword [edi]
mov ecx, edi
jmp 0x46f803
mov ecx, dword [ebx + 0x310]
call fcn.0054224c
mov ecx, dword [ebx + 0x310]
mov dword [ebp - 0x28], eax
call fcn.00542245
mov ecx, dword [ebx + 0x310]
mov dword [ebp - 0x38], eax
call fcn.00542253
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 0x46f675
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 0x46f6a2
sub ecx, 1
jne 0x46f6d3
mov ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x38], ecx
je 0x46f6a7
test edx, edx
jle 0x46f69a
mov dword [ebx + 0x31c], eax
sub dword [ebx + 0x31c], edi
jmp 0x46f6d3
cmp dword [ebp - 0x38], eax
jne 0x46f6c3
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.00531285
jmp 0x46fe44
test edx, edx
jns 0x46f6cd
mov dword [ebx + 0x31c], eax
add dword [ebx + 0x31c], edi
push dword [ebx + 0x31c]
call fcn.0059b13a
push ecx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.005a2434
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.005348d8
jmp 0x46fe44
mov ecx, dword [ebx + 0x314]
test ecx, ecx
je 0x46f80b
mov eax, dword [ecx]
call dword [eax + 0x17c]
test al, al
je 0x46f80b
mov ecx, dword [ebx + 0x314]
mov eax, dword [ecx]
call dword [eax + 0x188]
test al, al
je 0x46f80b
cmp dword [esi + 4], 3
jne 0x46f7dd
movzx eax, word [esi + 0x18]
sub eax, 0x21
je 0x46f7d0
sub eax, 1
je 0x46f7c3
sub eax, 1
je 0x46f7b3
sub eax, 1
je 0x46f7a3
dec eax
sub eax, 1
je 0x46f796
dec eax
sub eax, 1
jne 0x46f80b
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x74]
jmp 0x46fe44
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x70]
jmp 0x46fe44
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x80]
jmp 0x46fe44
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x84]
jmp 0x46fe44
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x7c]
jmp 0x46fe44
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x78]
jmp 0x46fe44
cmp dword [esi + 4], 0x18
jne 0x46f80b
movzx eax, word [esi + 0x1c]
sub eax, 0
je 0x46f7fe
sub eax, 1
jne 0x46f80b
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x6c]
jmp 0x46fe44
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x68]
jmp 0x46fe44
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 0x46f836
test eax, eax
je 0x46fe3c
cmp dword [esi + 4], 0xe
jne 0x46f8f6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x188]
test al, al
je 0x46f8f6
push 0
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.00484c3d
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 0x46f87c
mov byte [ebx + 0x329], 1
jmp 0x46f8a4
push 0
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
call fcn.00493481
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 0x46f8f6
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 0x46fe44
mov ecx, dword [ebx + 0x44]
test ecx, ecx
je 0x46fe44
lea eax, [ebx - 8]
neg eax
sbb eax, eax
and eax, ebx
push eax
call fcn.005304f4
jmp 0x46fe44
cmp dword [esi + 4], 0xf
jne 0x46f948
mov eax, dword [ebx + 0x334]
test al, 0x40
je 0x46f948
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 0x46fd79
mov ecx, dword [ebx + 0x44]
test ecx, ecx
je 0x46fd79
lea eax, [ebx - 8]
neg eax
sbb eax, eax
and eax, ebx
push eax
call fcn.00533acb
jmp 0x46fd79
cmp dword [esi + 4], 0xa
jne 0x46fdc9
test byte [ebx + 0x334], 0x40
je 0x46fdc9
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 0x46fba6
mov esi, dword [ebp - 0x3c]
test esi, esi
jle 0x46fa77
test ecx, ecx
mov ecx, dword [ebp - 0x38]
jle 0x46f9c8
mov eax, dword [ebx + 0x348]
sub eax, esi
cmp dword [ecx + 0x10], eax
jl 0x46fe44
mov edi, dword [ebp - 0x40]
test edi, edi
jns 0x46f9de
mov eax, dword [ecx + 0x10]
cmp eax, dword [ebx + 0x348]
jg 0x46fe44
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 0x46fa2d
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 0x46fe44
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 0x46fa33
lea edi, [ebx + 0x340]
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x10c]
sub esi, dword [ebp - 0x14]
cmp esi, eax
jl 0x46fb31
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10c]
mov ecx, dword [ebx + 0x348]
sub ecx, dword [edi]
cmp ecx, eax
jge 0x46fe44
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10c]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
jmp 0x46fb31
test ecx, ecx
mov ecx, dword [ebp - 0x38]
jle 0x46fa89
mov eax, dword [ecx + 0x10]
cmp eax, dword [edx]
jl 0x46fe44
mov edi, dword [ebp - 0x40]
test edi, edi
jns 0x46fa9d
mov eax, dword [edx]
sub eax, esi
cmp dword [ecx + 0x10], eax
jg 0x46fe44
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 0x46faec
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 0x46fe44
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 0x46faf2
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 0x46fb31
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10c]
mov ecx, dword [ebx + 0x348]
sub ecx, dword [edi]
cmp ecx, eax
jge 0x46fe44
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.00484c3d
push eax
lea ecx, [ebp - 0x24]
call fcn.005232c7
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.005396e5
cmp byte [ebx + 0x328], 0
mov dword [ebx + 0x80], eax
jne 0x46fd6c
push 1
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx - 8]
call fcn.00484c3d
push eax
lea ecx, [ebp - 0x24]
call fcn.00524192
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx - 8]
call fcn.00484c3d
jmp 0x46fdaa
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x38]
test esi, esi
jle 0x46fc70
test edx, edx
jle 0x46fbce
mov eax, dword [ebx + 0x34c]
add eax, esi
cmp dword [ecx + 0x14], eax
jl 0x46fe44
test edx, edx
jns 0x46fbdf
mov eax, dword [ecx + 0x14]
cmp eax, dword [ebx + 0x34c]
jg 0x46fe44
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 0x46fc2a
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 0x46fe44
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 0x46fd23
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 0x46fe44
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x11c]
add eax, edi
mov dword [ebp - 8], eax
jmp 0x46fd23
test edx, edx
jle 0x46fc85
mov eax, dword [ecx + 0x14]
cmp eax, dword [ebx + 0x344]
jl 0x46fe44
test edx, edx
jns 0x46fc98
mov eax, dword [ebx + 0x344]
add eax, esi
cmp dword [ecx + 0x14], eax
jg 0x46fe44
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 0x46fce4
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 0x46fe44
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 0x46fd23
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 0x46fe44
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.00493481
push eax
lea ecx, [ebp - 0x24]
call fcn.005232c7
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.005396e5
cmp byte [ebx + 0x328], 0
mov dword [ebx + 0x84], eax
je 0x46fd85
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.005393c1
jmp 0x46fe44
push 1
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx - 8]
call fcn.00493481
push eax
lea ecx, [ebp - 0x24]
call fcn.00524192
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx - 8]
call fcn.00493481
push eax
lea ecx, [ebp - 0x24]
call fcn.00524192
mov ecx, dword [ebx + 0x44]
test ecx, ecx
je 0x46fe44
lea eax, [ebp - 0x24]
push eax
call fcn.00531149
jmp 0x46fe44
cmp dword [esi + 4], 0x1d
jne 0x46fe3c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x188]
test al, al
je 0x46fe3c
push 0
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.00484c3d
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 0x46fe05
push 0x7f84
jmp 0x46fe2b
push 0
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.00493481
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 0x46fe3c
push 0x7f85
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x46fe44
push esi
mov ecx, ebx
call fcn.0053d10a
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00506d7f
mov esp, ebp
pop ebp
ret 4