Function at 0x471365
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 0x4713b8
cmp dword [esi + 4], 9
jle 0x4713b8
cmp dword [esi + 4], 0x19
jge 0x4713b8
mov ecx, dword [ebx + 0x48]
push esi
test ecx, ecx
je 0x4713ac
mov eax, dword [ecx]
call dword [eax + 0x1e0]
jmp 0x471dda
mov ecx, ebx
call fcn.005380d5
jmp 0x471dda
cmp dword [esi + 4], 0x1b
jne 0x4713ca
mov byte [ebx + 0xba], 1
jmp 0x471dda
cmp dword [esi + 4], 0x1a
jne 0x4713dc
mov byte [ebx + 0xba], 0
jmp 0x471dda
mov ecx, dword [ebx + 0x240]
push edi
test ecx, ecx
je 0x4716bc
mov eax, dword [ecx]
call dword [eax + 0x17c]
test al, al
je 0x4716bc
mov ecx, dword [ebx + 0x240]
mov eax, dword [ecx]
call dword [eax + 0x188]
test al, al
je 0x4716bc
cmp dword [esi + 4], 3
jne 0x47148d
movzx eax, word [esi + 0x18]
sub eax, 0x21
je 0x471480
sub eax, 1
je 0x471473
sub eax, 1
je 0x471466
sub eax, 1
je 0x471459
dec eax
sub eax, 1
je 0x47144c
dec eax
sub eax, 1
jne 0x4717a0
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x54]
jmp 0x471dd9
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x50]
jmp 0x471dd9
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x60]
jmp 0x471dd9
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x64]
jmp 0x471dd9
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x5c]
jmp 0x471dd9
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x58]
jmp 0x471dd9
xor ecx, ecx
lea edi, [ebx - 8]
test edi, edi
mov eax, ebx
cmove eax, ecx
cmp dword [esi + 8], eax
jne 0x47155f
cmp dword [esi + 4], 0x1e
jne 0x47155f
cmp dword [esi + 0x1c], 0x18
jne 0x47155f
mov eax, dword [ebx + 0x254]
test eax, eax
jle 0x47153d
dec eax
lea esi, [ebx - 8]
mov dword [ebx + 0x254], 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 + 0x254]
movd xmm0, dword [ebx + 0x250]
cvtdq2pd xmm1, xmm1
mov edx, dword [ebp - 0x18]
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
movd xmm0, dword [ebx + 0x24c]
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm1
mulsd xmm1, xmm0
cvttsd2si eax, xmm1
test eax, eax
jle 0x471521
test edx, edx
jne 0x471528
test eax, eax
jns 0x47153d
cmp edx, dword [ebp - 0x28]
je 0x47153d
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 0x471dd9
xor eax, eax
xor ecx, ecx
mov dword [ebx + 0x24c], eax
test edi, edi
mov dword [ebx + 0x250], eax
mov dword [ebx + 0x254], eax
mov eax, ebx
cmove eax, ecx
jmp 0x471648
cmp dword [esi + 4], 0x18
jne 0x4717a0
lea edi, [ebx - 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xdc]
test al, al
jne 0x47159e
movzx eax, word [esi + 0x1c]
sub eax, 0
je 0x471595
sub eax, 1
jne 0x4717a0
mov eax, dword [edi]
mov ecx, edi
jmp 0x47178b
mov eax, dword [edi]
mov ecx, edi
jmp 0x471798
mov ecx, dword [ebx + 0x240]
call fcn.0054224c
mov ecx, dword [ebx + 0x240]
mov dword [ebp - 0x28], eax
call fcn.00542245
mov ecx, dword [ebx + 0x240]
mov dword [ebp - 0x38], eax
call fcn.00542253
mov ecx, dword [ebx + 0x250]
cdq
sub eax, edx
mov edi, eax
xor eax, eax
sar edi, 1
mov edx, eax
test ecx, ecx
jle 0x47160a
movd xmm1, dword [ebx + 0x254]
cvtdq2pd xmm1, xmm1
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
movd xmm0, dword [ebx + 0x24c]
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm1
mulsd xmm1, xmm0
cvttsd2si edx, xmm1
mov dword [ebx + 0x24c], edx
movzx ecx, word [esi + 0x1c]
sub ecx, eax
je 0x471637
sub ecx, 1
jne 0x471668
mov ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x38], ecx
je 0x47163c
test edx, edx
jle 0x47162f
mov dword [ebx + 0x24c], eax
sub dword [ebx + 0x24c], edi
jmp 0x471668
cmp dword [ebp - 0x38], eax
jne 0x471658
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 0x471dd9
test edx, edx
jns 0x471662
mov dword [ebx + 0x24c], eax
add dword [ebx + 0x24c], edi
push dword [ebx + 0x24c]
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 + 0x250], eax
mov dword [ebx + 0x254], eax
mov eax, ebx
cmove eax, edx
push eax
call fcn.005348d8
jmp 0x471dd9
mov ecx, dword [ebx + 0x244]
test ecx, ecx
je 0x4717a0
mov eax, dword [ecx]
call dword [eax + 0x17c]
test al, al
je 0x4717a0
mov ecx, dword [ebx + 0x244]
mov eax, dword [ecx]
call dword [eax + 0x188]
test al, al
je 0x4717a0
cmp dword [esi + 4], 3
jne 0x471772
movzx eax, word [esi + 0x18]
sub eax, 0x21
je 0x471765
sub eax, 1
je 0x471758
sub eax, 1
je 0x471748
sub eax, 1
je 0x471738
dec eax
sub eax, 1
je 0x47172b
dec eax
sub eax, 1
jne 0x4717a0
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x74]
jmp 0x471dd9
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x70]
jmp 0x471dd9
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x80]
jmp 0x471dd9
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x84]
jmp 0x471dd9
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x7c]
jmp 0x471dd9
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x78]
jmp 0x471dd9
cmp dword [esi + 4], 0x18
jne 0x4717a0
movzx eax, word [esi + 0x1c]
sub eax, 0
je 0x471793
sub eax, 1
jne 0x4717a0
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x6c]
jmp 0x471dd9
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x68]
jmp 0x471dd9
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 0x4717cb
test eax, eax
je 0x471dd1
cmp dword [esi + 4], 0xe
jne 0x47188b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x188]
test al, al
je 0x47188b
push 0
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.00484eaa
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 0x471811
mov byte [ebx + 0x259], 1
jmp 0x471839
push 0
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
call fcn.004936f4
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 0x47188b
mov byte [ebx + 0x259], 0
or dword [ebx + 0x264], 0x40
lea edi, [ebx + 0x270]
cmp byte [ebx + 0x258], 0
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x268], eax
mov eax, dword [esi + 0x14]
lea esi, [ebx + 0x58]
movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x26c], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jne 0x471dd9
mov ecx, dword [ebx + 0x44]
test ecx, ecx
je 0x471dd9
lea eax, [ebx - 8]
neg eax
sbb eax, eax
and eax, ebx
push eax
call fcn.005304f4
jmp 0x471dd9
cmp dword [esi + 4], 0xf
jne 0x4718dd
mov eax, dword [ebx + 0x264]
test al, 0x40
je 0x4718dd
lea esi, [ebx + 0x270]
and eax, 0xffffffbf
cmp byte [ebx + 0x258], 0
lea edi, [ebx + 0x58]
movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x264], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jne 0x471d0e
mov ecx, dword [ebx + 0x44]
test ecx, ecx
je 0x471d0e
lea eax, [ebx - 8]
neg eax
sbb eax, eax
and eax, ebx
push eax
call fcn.00533acb
jmp 0x471d0e
cmp dword [esi + 4], 0xa
jne 0x471d5e
test byte [ebx + 0x264], 0x40
je 0x471d5e
mov eax, dword [esi + 0x14]
lea edx, [ebx + 0x270]
mov ecx, dword [esi + 0x10]
lea edi, [ebp - 0x14]
sub eax, dword [ebx + 0x26c]
sub ecx, dword [ebx + 0x268]
cmp byte [ebx + 0x259], 0
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x268], eax
mov eax, dword [esi + 0x14]
mov esi, edx
mov dword [ebp - 0x40], ecx
mov dword [ebx + 0x26c], 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 0x471b3b
mov esi, dword [ebp - 0x3c]
test esi, esi
jle 0x471a0c
test ecx, ecx
mov ecx, dword [ebp - 0x38]
jle 0x47195d
mov eax, dword [ebx + 0x278]
sub eax, esi
cmp dword [ecx + 0x10], eax
jl 0x471dd9
mov edi, dword [ebp - 0x40]
test edi, edi
jns 0x471973
mov eax, dword [ecx + 0x10]
cmp eax, dword [ebx + 0x278]
jg 0x471dd9
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 0x4719c2
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x104]
mov ecx, dword [ebx + 0x278]
lea edi, [ebx + 0x270]
sub ecx, dword [edi]
cmp ecx, eax
jle 0x471dd9
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 0x4719c8
lea edi, [ebx + 0x270]
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x10c]
sub esi, dword [ebp - 0x14]
cmp esi, eax
jl 0x471ac6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10c]
mov ecx, dword [ebx + 0x278]
sub ecx, dword [edi]
cmp ecx, eax
jge 0x471dd9
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10c]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
jmp 0x471ac6
test ecx, ecx
mov ecx, dword [ebp - 0x38]
jle 0x471a1e
mov eax, dword [ecx + 0x10]
cmp eax, dword [edx]
jl 0x471dd9
mov edi, dword [ebp - 0x40]
test edi, edi
jns 0x471a32
mov eax, dword [edx]
sub eax, esi
cmp dword [ecx + 0x10], eax
jg 0x471dd9
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 0x471a81
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x104]
mov ecx, dword [ebx + 0x278]
lea edi, [ebx + 0x270]
sub ecx, dword [edi]
cmp ecx, eax
jle 0x471dd9
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 0x471a87
lea edi, [ebx + 0x270]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10c]
mov ecx, dword [ebp - 0xc]
sub ecx, esi
cmp ecx, eax
jl 0x471ac6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10c]
mov ecx, dword [ebx + 0x278]
sub ecx, dword [edi]
cmp ecx, eax
jge 0x471dd9
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.00484eaa
push eax
lea ecx, [ebp - 0x24]
call fcn.005232c7
lea ecx, [ebx + 0x270]
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 + 0x278]
sub eax, dword [ecx]
mov ecx, ebx
push eax
call fcn.005396e5
cmp byte [ebx + 0x258], 0
mov dword [ebx + 0x80], eax
jne 0x471d01
push 1
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx - 8]
call fcn.00484eaa
push eax
lea ecx, [ebp - 0x24]
call fcn.00524192
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx - 8]
call fcn.00484eaa
jmp 0x471d3f
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x38]
test esi, esi
jle 0x471c05
test edx, edx
jle 0x471b63
mov eax, dword [ebx + 0x27c]
add eax, esi
cmp dword [ecx + 0x14], eax
jl 0x471dd9
test edx, edx
jns 0x471b74
mov eax, dword [ecx + 0x14]
cmp eax, dword [ebx + 0x27c]
jg 0x471dd9
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 0x471bbf
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x114]
mov ecx, dword [ebx + 0x27c]
sub ecx, dword [ebx + 0x274]
cmp ecx, eax
jle 0x471dd9
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 0x471cb8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x11c]
mov ecx, dword [ebx + 0x27c]
sub ecx, dword [ebx + 0x274]
cmp ecx, eax
jge 0x471dd9
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x11c]
add eax, edi
mov dword [ebp - 8], eax
jmp 0x471cb8
test edx, edx
jle 0x471c1a
mov eax, dword [ecx + 0x14]
cmp eax, dword [ebx + 0x274]
jl 0x471dd9
test edx, edx
jns 0x471c2d
mov eax, dword [ebx + 0x274]
add eax, esi
cmp dword [ecx + 0x14], eax
jg 0x471dd9
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 0x471c79
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x114]
mov ecx, dword [ebx + 0x27c]
sub ecx, dword [ebx + 0x274]
cmp ecx, eax
jle 0x471dd9
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 0x471cb8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x11c]
mov ecx, dword [ebx + 0x27c]
sub ecx, dword [ebx + 0x274]
cmp ecx, eax
jge 0x471dd9
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.004936f4
push eax
lea ecx, [ebp - 0x24]
call fcn.005232c7
lea esi, [ebp - 0x14]
mov ecx, ebx
lea edi, [ebx + 0x270]
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 + 0x27c]
sub eax, dword [ebx + 0x274]
push eax
call fcn.005396e5
cmp byte [ebx + 0x258], 0
mov dword [ebx + 0x84], eax
je 0x471d1a
lea edi, [ebx + 0x58]
lea esi, [ebx + 0x270]
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 0x471dd9
push 1
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx - 8]
call fcn.004936f4
push eax
lea ecx, [ebp - 0x24]
call fcn.00524192
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx - 8]
call fcn.004936f4
push eax
lea ecx, [ebp - 0x24]
call fcn.00524192
mov ecx, dword [ebx + 0x44]
test ecx, ecx
je 0x471dd9
lea eax, [ebp - 0x24]
push eax
call fcn.00531149
jmp 0x471dd9
cmp dword [esi + 4], 0x1d
jne 0x471dd1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x188]
test al, al
je 0x471dd1
push 0
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.00484eaa
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 0x471d9a
push 0x7f84
jmp 0x471dc0
push 0
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.004936f4
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 0x471dd1
push 0x7f85
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x471dd9
push esi
mov ecx, ebx
call fcn.005380d5
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00506d7f
mov esp, ebp
pop ebp
ret 4