Function at 0x4708de
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 0x470931
cmp dword [esi + 4], 9
jle 0x470931
cmp dword [esi + 4], 0x19
jge 0x470931
mov ecx, dword [ebx + 0x48]
push esi
test ecx, ecx
je 0x470925
mov eax, dword [ecx]
call dword [eax + 0x1e0]
jmp 0x471353
mov ecx, ebx
call fcn.005380d5
jmp 0x471353
cmp dword [esi + 4], 0x1b
jne 0x470943
mov byte [ebx + 0xba], 1
jmp 0x471353
cmp dword [esi + 4], 0x1a
jne 0x470955
mov byte [ebx + 0xba], 0
jmp 0x471353
mov ecx, dword [ebx + 0x230]
push edi
test ecx, ecx
je 0x470c35
mov eax, dword [ecx]
call dword [eax + 0x17c]
test al, al
je 0x470c35
mov ecx, dword [ebx + 0x230]
mov eax, dword [ecx]
call dword [eax + 0x188]
test al, al
je 0x470c35
cmp dword [esi + 4], 3
jne 0x470a06
movzx eax, word [esi + 0x18]
sub eax, 0x21
je 0x4709f9
sub eax, 1
je 0x4709ec
sub eax, 1
je 0x4709df
sub eax, 1
je 0x4709d2
dec eax
sub eax, 1
je 0x4709c5
dec eax
sub eax, 1
jne 0x470d19
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x54]
jmp 0x471352
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x50]
jmp 0x471352
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x60]
jmp 0x471352
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x64]
jmp 0x471352
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x5c]
jmp 0x471352
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x58]
jmp 0x471352
xor ecx, ecx
lea edi, [ebx - 8]
test edi, edi
mov eax, ebx
cmove eax, ecx
cmp dword [esi + 8], eax
jne 0x470ad8
cmp dword [esi + 4], 0x1e
jne 0x470ad8
cmp dword [esi + 0x1c], 0x18
jne 0x470ad8
mov eax, dword [ebx + 0x244]
test eax, eax
jle 0x470ab6
dec eax
lea esi, [ebx - 8]
mov dword [ebx + 0x244], 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 + 0x244]
movd xmm0, dword [ebx + 0x240]
cvtdq2pd xmm1, xmm1
mov edx, dword [ebp - 0x18]
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
movd xmm0, dword [ebx + 0x23c]
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm1
mulsd xmm1, xmm0
cvttsd2si eax, xmm1
test eax, eax
jle 0x470a9a
test edx, edx
jne 0x470aa1
test eax, eax
jns 0x470ab6
cmp edx, dword [ebp - 0x28]
je 0x470ab6
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 0x471352
xor eax, eax
xor ecx, ecx
mov dword [ebx + 0x23c], eax
test edi, edi
mov dword [ebx + 0x240], eax
mov dword [ebx + 0x244], eax
mov eax, ebx
cmove eax, ecx
jmp 0x470bc1
cmp dword [esi + 4], 0x18
jne 0x470d19
lea edi, [ebx - 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xdc]
test al, al
jne 0x470b17
movzx eax, word [esi + 0x1c]
sub eax, 0
je 0x470b0e
sub eax, 1
jne 0x470d19
mov eax, dword [edi]
mov ecx, edi
jmp 0x470d04
mov eax, dword [edi]
mov ecx, edi
jmp 0x470d11
mov ecx, dword [ebx + 0x230]
call fcn.0054224c
mov ecx, dword [ebx + 0x230]
mov dword [ebp - 0x28], eax
call fcn.00542245
mov ecx, dword [ebx + 0x230]
mov dword [ebp - 0x38], eax
call fcn.00542253
mov ecx, dword [ebx + 0x240]
cdq
sub eax, edx
mov edi, eax
xor eax, eax
sar edi, 1
mov edx, eax
test ecx, ecx
jle 0x470b83
movd xmm1, dword [ebx + 0x244]
cvtdq2pd xmm1, xmm1
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
movd xmm0, dword [ebx + 0x23c]
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm1
mulsd xmm1, xmm0
cvttsd2si edx, xmm1
mov dword [ebx + 0x23c], edx
movzx ecx, word [esi + 0x1c]
sub ecx, eax
je 0x470bb0
sub ecx, 1
jne 0x470be1
mov ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x38], ecx
je 0x470bb5
test edx, edx
jle 0x470ba8
mov dword [ebx + 0x23c], eax
sub dword [ebx + 0x23c], edi
jmp 0x470be1
cmp dword [ebp - 0x38], eax
jne 0x470bd1
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 0x471352
test edx, edx
jns 0x470bdb
mov dword [ebx + 0x23c], eax
add dword [ebx + 0x23c], edi
push dword [ebx + 0x23c]
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 + 0x240], eax
mov dword [ebx + 0x244], eax
mov eax, ebx
cmove eax, edx
push eax
call fcn.005348d8
jmp 0x471352
mov ecx, dword [ebx + 0x234]
test ecx, ecx
je 0x470d19
mov eax, dword [ecx]
call dword [eax + 0x17c]
test al, al
je 0x470d19
mov ecx, dword [ebx + 0x234]
mov eax, dword [ecx]
call dword [eax + 0x188]
test al, al
je 0x470d19
cmp dword [esi + 4], 3
jne 0x470ceb
movzx eax, word [esi + 0x18]
sub eax, 0x21
je 0x470cde
sub eax, 1
je 0x470cd1
sub eax, 1
je 0x470cc1
sub eax, 1
je 0x470cb1
dec eax
sub eax, 1
je 0x470ca4
dec eax
sub eax, 1
jne 0x470d19
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x74]
jmp 0x471352
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x70]
jmp 0x471352
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x80]
jmp 0x471352
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x84]
jmp 0x471352
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x7c]
jmp 0x471352
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x78]
jmp 0x471352
cmp dword [esi + 4], 0x18
jne 0x470d19
movzx eax, word [esi + 0x1c]
sub eax, 0
je 0x470d0c
sub eax, 1
jne 0x470d19
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x6c]
jmp 0x471352
lea ecx, [ebx - 8]
mov eax, dword [ecx]
call dword [eax + 0x68]
jmp 0x471352
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 0x470d44
test eax, eax
je 0x47134a
cmp dword [esi + 4], 0xe
jne 0x470e04
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x188]
test al, al
je 0x470e04
push 0
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.00484ddb
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 0x470d8a
mov byte [ebx + 0x249], 1
jmp 0x470db2
push 0
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
call fcn.00493623
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 0x470e04
mov byte [ebx + 0x249], 0
or dword [ebx + 0x254], 0x40
lea edi, [ebx + 0x260]
cmp byte [ebx + 0x248], 0
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x258], eax
mov eax, dword [esi + 0x14]
lea esi, [ebx + 0x58]
movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x25c], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jne 0x471352
mov ecx, dword [ebx + 0x44]
test ecx, ecx
je 0x471352
lea eax, [ebx - 8]
neg eax
sbb eax, eax
and eax, ebx
push eax
call fcn.005304f4
jmp 0x471352
cmp dword [esi + 4], 0xf
jne 0x470e56
mov eax, dword [ebx + 0x254]
test al, 0x40
je 0x470e56
lea esi, [ebx + 0x260]
and eax, 0xffffffbf
cmp byte [ebx + 0x248], 0
lea edi, [ebx + 0x58]
movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x254], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jne 0x471287
mov ecx, dword [ebx + 0x44]
test ecx, ecx
je 0x471287
lea eax, [ebx - 8]
neg eax
sbb eax, eax
and eax, ebx
push eax
call fcn.00533acb
jmp 0x471287
cmp dword [esi + 4], 0xa
jne 0x4712d7
test byte [ebx + 0x254], 0x40
je 0x4712d7
mov eax, dword [esi + 0x14]
lea edx, [ebx + 0x260]
mov ecx, dword [esi + 0x10]
lea edi, [ebp - 0x14]
sub eax, dword [ebx + 0x25c]
sub ecx, dword [ebx + 0x258]
cmp byte [ebx + 0x249], 0
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x258], eax
mov eax, dword [esi + 0x14]
mov esi, edx
mov dword [ebp - 0x40], ecx
mov dword [ebx + 0x25c], 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 0x4710b4
mov esi, dword [ebp - 0x3c]
test esi, esi
jle 0x470f85
test ecx, ecx
mov ecx, dword [ebp - 0x38]
jle 0x470ed6
mov eax, dword [ebx + 0x268]
sub eax, esi
cmp dword [ecx + 0x10], eax
jl 0x471352
mov edi, dword [ebp - 0x40]
test edi, edi
jns 0x470eec
mov eax, dword [ecx + 0x10]
cmp eax, dword [ebx + 0x268]
jg 0x471352
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 0x470f3b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x104]
mov ecx, dword [ebx + 0x268]
lea edi, [ebx + 0x260]
sub ecx, dword [edi]
cmp ecx, eax
jle 0x471352
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 0x470f41
lea edi, [ebx + 0x260]
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x10c]
sub esi, dword [ebp - 0x14]
cmp esi, eax
jl 0x47103f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10c]
mov ecx, dword [ebx + 0x268]
sub ecx, dword [edi]
cmp ecx, eax
jge 0x471352
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10c]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
jmp 0x47103f
test ecx, ecx
mov ecx, dword [ebp - 0x38]
jle 0x470f97
mov eax, dword [ecx + 0x10]
cmp eax, dword [edx]
jl 0x471352
mov edi, dword [ebp - 0x40]
test edi, edi
jns 0x470fab
mov eax, dword [edx]
sub eax, esi
cmp dword [ecx + 0x10], eax
jg 0x471352
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 0x470ffa
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x104]
mov ecx, dword [ebx + 0x268]
lea edi, [ebx + 0x260]
sub ecx, dword [edi]
cmp ecx, eax
jle 0x471352
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 0x471000
lea edi, [ebx + 0x260]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10c]
mov ecx, dword [ebp - 0xc]
sub ecx, esi
cmp ecx, eax
jl 0x47103f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10c]
mov ecx, dword [ebx + 0x268]
sub ecx, dword [edi]
cmp ecx, eax
jge 0x471352
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.00484ddb
push eax
lea ecx, [ebp - 0x24]
call fcn.005232c7
lea ecx, [ebx + 0x260]
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 + 0x268]
sub eax, dword [ecx]
mov ecx, ebx
push eax
call fcn.005396e5
cmp byte [ebx + 0x248], 0
mov dword [ebx + 0x80], eax
jne 0x47127a
push 1
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx - 8]
call fcn.00484ddb
push eax
lea ecx, [ebp - 0x24]
call fcn.00524192
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx - 8]
call fcn.00484ddb
jmp 0x4712b8
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x38]
test esi, esi
jle 0x47117e
test edx, edx
jle 0x4710dc
mov eax, dword [ebx + 0x26c]
add eax, esi
cmp dword [ecx + 0x14], eax
jl 0x471352
test edx, edx
jns 0x4710ed
mov eax, dword [ecx + 0x14]
cmp eax, dword [ebx + 0x26c]
jg 0x471352
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 0x471138
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x114]
mov ecx, dword [ebx + 0x26c]
sub ecx, dword [ebx + 0x264]
cmp ecx, eax
jle 0x471352
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 0x471231
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x11c]
mov ecx, dword [ebx + 0x26c]
sub ecx, dword [ebx + 0x264]
cmp ecx, eax
jge 0x471352
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x11c]
add eax, edi
mov dword [ebp - 8], eax
jmp 0x471231
test edx, edx
jle 0x471193
mov eax, dword [ecx + 0x14]
cmp eax, dword [ebx + 0x264]
jl 0x471352
test edx, edx
jns 0x4711a6
mov eax, dword [ebx + 0x264]
add eax, esi
cmp dword [ecx + 0x14], eax
jg 0x471352
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 0x4711f2
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x114]
mov ecx, dword [ebx + 0x26c]
sub ecx, dword [ebx + 0x264]
cmp ecx, eax
jle 0x471352
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 0x471231
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x11c]
mov ecx, dword [ebx + 0x26c]
sub ecx, dword [ebx + 0x264]
cmp ecx, eax
jge 0x471352
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.00493623
push eax
lea ecx, [ebp - 0x24]
call fcn.005232c7
lea esi, [ebp - 0x14]
mov ecx, ebx
lea edi, [ebx + 0x260]
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 + 0x26c]
sub eax, dword [ebx + 0x264]
push eax
call fcn.005396e5
cmp byte [ebx + 0x248], 0
mov dword [ebx + 0x84], eax
je 0x471293
lea edi, [ebx + 0x58]
lea esi, [ebx + 0x260]
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 0x471352
push 1
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx - 8]
call fcn.00493623
push eax
lea ecx, [ebp - 0x24]
call fcn.00524192
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx - 8]
call fcn.00493623
push eax
lea ecx, [ebp - 0x24]
call fcn.00524192
mov ecx, dword [ebx + 0x44]
test ecx, ecx
je 0x471352
lea eax, [ebp - 0x24]
push eax
call fcn.00531149
jmp 0x471352
cmp dword [esi + 4], 0x1d
jne 0x47134a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x188]
test al, al
je 0x47134a
push 0
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.00484ddb
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 0x471313
push 0x7f84
jmp 0x471339
push 0
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.00493623
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 0x47134a
push 0x7f85
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x471352
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