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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x623ec0]
xor eax, esp
mov dword [esp + 0xd4], eax
push esi
mov esi, ecx
mov ecx, dword [0x9c25b4]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, dword [0xa6f4e8]
mov edi, eax
add ecx, 0x1770
cmp edi, ecx
jb 0x52f8a3
mov ecx, dword [esi + 0x27268]
add ecx, 0x1770
cmp edi, ecx
jb 0x52f8a3
mov eax, dword [esi + 0x2726c]
add eax, 0x1770
cmp edi, eax
jb 0x52f8a3
mov eax, dword [esi + 0x27270]
add eax, 0x1770
cmp edi, eax
jb 0x52f8a3
mov eax, dword [esi + 0x27278]
add eax, 0x1770
cmp edi, eax
jb 0x52f8a3
mov eax, dword [esi + 0x27274]
add eax, 0x1770
cmp edi, eax
jb 0x52f8a3
mov eax, dword [esi + 0x2727c]
add eax, 0x1770
cmp edi, eax
jb 0x52f8a3
mov eax, dword [esi + 0x27280]
add eax, 0x1770
cmp edi, eax
jb 0x52f8a3
mov eax, dword [esi + 0x276d0]
add eax, 0x3e8
cmp edi, eax
jb 0x52f8a3
cmp dword [esi + 0x26ea4], 1
je 0x5300e6
push dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push ecx
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.005961d0
cmp eax, 1
je 0x52f8a3
cmp dword [0x9c25d4], 1
je 0x52f8a3
cmp dword [esi + 0x54], 1
je 0x52f8a3
mov ecx, dword [esi + 0x28]
xor edx, edx
add ecx, 0x134
mov eax, dword [ecx]
test eax, eax
je 0x52f76c
cmp dword [eax + 0x28], 0
je 0x52f76c
cmp eax, dword [esi + 0x110]
jne 0x52f8a3
mov eax, dword [esi + 0x110]
mov eax, dword [eax + 0x1ec]
cmp eax, 0x259
je 0x52f76c
cmp eax, 0x39f
jne 0x52f8a3
inc edx
add ecx, 4
cmp edx, 8
jl 0x52f736
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
cmp ecx, dword [esi + 0x27870]
jne 0x52f79d
cmp eax, dword [esi + 0x27874]
jne 0x52f79d
mov edx, dword [0x9c25d8]
cmp dword [edx + 0x1c], 0
jne 0x52f7af
cmp dword [edx + 0x20], 0
jne 0x52f7af
mov dword [esi + 0x27870], ecx
mov dword [esi + 0x27874], eax
mov dword [esi + 0x2786c], edi
mov eax, dword [esi + 0x110]
cmp dword [eax + 0x28], 1
jne 0x52f7ef
cmp dword [eax + 0x1ec], 0x63
jne 0x52f7ef
mov edx, dword [0x9c25ac]
cmp dword [edx + 0x944], 0
jle 0x52f7f5
mov eax, dword [esi + 0x4c]
cmp byte [eax + 0x211], 0
jne 0x52f7f5
mov ecx, dword [esi + 0x110]
push 0
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [ebp + 0x10]
mov edx, dword [0x9c25ac]
cmp byte [esi + 0x276ac], 0
jne 0x52f8f2
mov eax, 0x301
cmp word [edx + 0x9c4], ax
je 0x52f8f2
cmp dword [edx + 0x944], 0
jle 0x52f82d
mov eax, dword [esi + 0x4c]
cmp byte [eax + 0x211], 1
jne 0x52f8f2
cmp dword [ebp + 8], 0x204
jne 0x52f8f2
test dword [ebp + 0xc], 8
jne 0x52f8f2
test ecx, ecx
jle 0x52f8f2
cmp dword [ebp + 0x14], 0
jle 0x52f8f2
mov eax, dword [0x9c25a4]
mov edx, dword [0x9c25a4]
mov eax, dword [eax + 0xa8]
sub eax, dword [edx + 0x388]
mov edx, dword [0x9c25ac]
cmp ecx, eax
jge 0x52f8f2
mov ecx, dword [0x9c25a4]
mov eax, dword [ecx + 0xac]
sub eax, dword [ecx + 0x38c]
cmp dword [ebp + 0x14], eax
jge 0x52f8f2
xor ecx, ecx
cmp byte [ecx + edx + 0x10e2], 0x63
je 0x52f8be
inc ecx
cmp ecx, 0x14
jl 0x52f893
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.0046676f
mov esp, ebp
pop ebp
ret 0x10
mov ecx, esi
mov byte [edx + 0x10e1], 0x63
call fcn.00545e30
push 0
push 0x63
push 0x7e0930
mov ecx, dword [esi + 0x110]
mov eax, dword [ecx]
call dword [eax + 0x8c]
mov ecx, dword [esi + 0x110]
push 1
mov eax, dword [ecx]
call dword [eax + 0x60]
jmp 0x52f8a3
cmp dword [edx + 0x944], 0
jle 0x52f907
mov eax, dword [esi + 0x4c]
cmp byte [eax + 0x211], 1
jne 0x52f970
mov ecx, dword [ebp + 8]
cmp ecx, 0x201
jne 0x52f973
mov edx, dword [esi + 0x4c]
cmp word [edx + 0xa64], 0
jne 0x52f973
cvttss2si eax, dword [edx + 0x28]
mov dword [esp + 0x24], eax
cvttss2si eax, dword [edx + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x110]
cmp dword [eax + 0x28], 0
jne 0x52f973
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0x50]
call eax
test eax, eax
je 0x52f962
push dword [esp + 0x14]
push dword [esp + 0x28]
push 0x629000
call dword [sym.imp.USER32.dll_PtInRect]
cmp eax, 1
jne 0x52f970
push 0
push 0xb
push 0x7da530
jmp 0x52f8d5
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0x4c]
cmp dword [eax + 0x9d8], 0xc
je 0x52f8a3
test byte [ebp + 0xc], 4
je 0x52f9f9
cmp ecx, 0x204
jne 0x52f9f9
mov eax, dword [esi + 0x100]
test eax, eax
je 0x52f9f9
mov eax, dword [eax + 0x20]
test eax, eax
je 0x52f9f9
cmp eax, 0x3e8
jae 0x52f9f9
push 0x80
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.00468b40
mov eax, dword [esi + 0x100]
add esp, 0xc
add eax, 0xfc
push eax
lea eax, [esp + 0x5c]
push str.__s
push eax
call fcn.0045d4e0
mov ecx, dword [esi + 0x27ee0]
lea edx, [esp + 0x64]
add esp, 0xc
mov eax, dword [ecx]
push edx
call dword [eax + 0x90]
mov dword [esi + 0x276b4], edi
jmp 0x52f8a3
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.00592390
mov eax, dword [esi + 0x27ee8]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x4c]
cmp dword [eax + 0x208], 1
je 0x52f8a3
cmp byte [eax + 0x212], 1
jne 0x52fa4c
mov ecx, dword [eax + 0x9d8]
test ecx, ecx
je 0x52fa3c
cmp ecx, 1
je 0x52fa3c
cmp ecx, 0xe
jne 0x52fa4c
mov byte [eax + 0x212], 0
push ecx
mov ecx, dword [esi + 0x4c]
call fcn.00572830
mov eax, dword [esi + 0x4c]
cmp byte [eax + 0x212], 1
je 0x52f8a3
cmp byte [eax + 0xa0c], 1
je 0x52f8a3
mov eax, dword [ebp + 8]
cmp eax, 0x200
jne 0x52fb34
mov eax, dword [esi + 0x100]
test eax, eax
je 0x52fb1a
cmp dword [eax + 0x60], 0
je 0x52fb1a
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jle 0x52fb1a
mov edx, dword [ebp + 0x14]
test edx, edx
jle 0x52fb1a
mov eax, dword [0x9c25a4]
mov edx, dword [0x9c25a4]
mov eax, dword [eax + 0xa8]
sub eax, dword [edx + 0x388]
mov edx, dword [ebp + 0x14]
cmp ecx, eax
jge 0x52fb1a
mov ecx, dword [0x9c25a4]
mov eax, dword [ecx + 0xac]
sub eax, dword [ecx + 0x38c]
cmp edx, eax
jge 0x52fb1a
mov ecx, dword [esi + 0x100]
mov eax, dword [ecx + 0x60]
movss xmm0, dword [eax + 0x2b8]
comiss xmm0, dword [0x604dc0]
jb 0x52fb1a
movss xmm0, dword [0x604c60]
comiss xmm0, dword [eax + 0x2bc]
jb 0x52fb1a
comiss xmm0, dword [eax + 0x2c0]
jb 0x52fb1a
mov eax, dword [0x9c25d0]
mov dword [eax + 0xa4], 1
jmp 0x52fb51
mov eax, dword [0x9c25d0]
cmp dword [eax + 0xa4], 1
jne 0x52fb51
mov dword [eax + 0xa4], 0
jmp 0x52fb51
cmp eax, 0x201
jne 0x52fb51
cmp byte [esi + 0x2785c], 1
jne 0x52fb4a
mov dword [esi + 0x27860], edi
mov byte [esi + 0x2785c], 0
mov eax, dword [0x9c25ac]
cmp dword [eax + 0x944], 0
jle 0x5300e6
mov edx, dword [ebp + 0x10]
test edx, edx
jle 0x5300e6
mov ecx, dword [ebp + 0x14]
test ecx, ecx
jle 0x5300e6
mov eax, dword [0x9c25a4]
mov ecx, dword [0x9c25a4]
mov eax, dword [eax + 0xa8]
sub eax, dword [ecx + 0x388]
mov ecx, dword [ebp + 0x14]
cmp edx, eax
jge 0x5300e6
mov eax, dword [0x9c25a4]
mov edx, dword [0x9c25a4]
mov eax, dword [eax + 0xac]
sub eax, dword [edx + 0x38c]
mov edx, dword [ebp + 0x10]
cmp ecx, eax
jge 0x5300e6
mov ecx, dword [ebp + 0xc]
mov eax, ecx
and eax, 8
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
cmp eax, 0x205
jne 0x52fc09
cmp dword [esp + 0x14], 0
je 0x5300e6
mov eax, dword [esi + 0x100]
test eax, eax
je 0x52f8a3
cmp dword [eax + 0x7d4], 0x8800ff00
je 0x52f8a3
push edi
mov ecx, esi
call fcn.00528e90
jmp 0x52f8a3
cmp eax, 0x204
jne 0x52fc60
cmp dword [esp + 0x14], 0
jne 0x5300e6
movq xmm0, qword [esp + 0x30]
mov eax, dword [esp + 0x38]
push 0
test cl, 4
je 0x52fc5c
push 0
push edi
sub esp, 0xc
mov ecx, esp
push dword [ebp + 0x14]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, esi
push edx
call fcn.00525520
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.0046676f
mov esp, ebp
pop ebp
ret 0x10
push 1
jmp 0x52fc2e
cmp eax, 0x202
jne 0x52fccd
mov eax, dword [esi + 0x4c]
mov byte [esi + 0x2785c], 1
mov dword [esi + 0x27938], 0
cmp byte [eax + 0xa3d], 1
jne 0x52fc96
mov ecx, 0x3e8
cmp word [eax + 0x614], cx
jl 0x52f8a3
movq xmm0, qword [esp + 0x30]
mov eax, dword [esp + 0x38]
push edi
sub esp, 0xc
mov ecx, esp
sub esp, 8
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, esi
call fcn.005225e0
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.0046676f
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0x201
jne 0x5300e6
cmp dword [esi + 0x27938], 0
movss xmm3, dword [esp + 0x38]
movss xmm2, dword [esp + 0x30]
movss xmm5, dword [0x604ccc]
movss xmm6, dword [0x604d04]
movss xmm7, dword [0x604ce8]
movss dword [esp + 0x18], xmm3
movss dword [esp + 0x24], xmm2
je 0x52fd1a
test cl, 4
je 0x52fe30
mov eax, dword [esi + 0x4c]
cmp byte [eax + 0xa3d], 1
jne 0x52fd38
mov ecx, 0x3e8
cmp word [eax + 0x614], cx
jl 0x52f8a3
movq xmm0, qword [esp + 0x30]
mov eax, dword [esp + 0x38]
push edi
sub esp, 0xc
mov ecx, esp
push dword [ebp + 0xc]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, esi
call fcn.00521600
mov dword [esp + 0x14], eax
test eax, eax
jne 0x52fd72
push dword [esi + 0x100]
mov ecx, esi
call fcn.00522450
mov dword [esp + 0x14], eax
movss xmm3, dword [esp + 0x18]
mov ecx, esi
movss xmm2, dword [esp + 0x24]
movss dword [esp + 0x28], xmm3
push dword [esp + 0x28]
movss dword [esp + 0x28], xmm2
push dword [esp + 0x28]
call fcn.00592d40
movss xmm5, dword [0x604ccc]
movaps xmm0, xmm2
movss xmm6, dword [0x604d04]
movss dword [esp + 0x2c], xmm3
movd xmm1, eax
mov eax, dword [esi + 0x26f14]
cvtdq2ps xmm1, xmm1
movss dword [eax + 0x74], xmm2
mulss xmm1, xmm5
addss xmm1, xmm6
movss dword [eax + 0x78], xmm1
movss dword [eax + 0x7c], xmm3
mov eax, dword [esi + 0x26f18]
mov ecx, dword [esp + 0x2c]
movss xmm7, dword [0x604ce8]
unpcklps xmm0, xmm1
movq qword [eax + 0x74], xmm0
mov dword [eax + 0x7c], ecx
mov eax, dword [esi + 0x26f1c]
movq qword [eax + 0x74], xmm0
mov dword [eax + 0x7c], ecx
mov eax, dword [esi + 0x26f1c]
movss xmm0, dword [eax + 0x78]
subss xmm0, xmm7
movss dword [eax + 0x78], xmm0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x52f8a8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
test cl, 4
jne 0x53018a
mov eax, dword [0x9c25d0]
cmp dword [eax + 0x1e8], 0
jne 0x53018f
mov ecx, dword [esi + 0x4c]
cmp byte [ecx + 0xa2c], 0
jne 0x53018f
mov eax, dword [ecx + 0x9d8]
cmp eax, 0x18
je 0x5300fe
cmp eax, 0x1a
je 0x5300fe
mov eax, dword [esi + 0x27e70]
movd xmm1, edx
cvtdq2ps xmm1, xmm1
movss xmm0, dword [eax + 0x4c]
addss xmm0, dword [0x6050bc]
comiss xmm1, xmm0
jb 0x5300e6
movaps xmm0, xmm2
subss xmm0, dword [ecx + 0x28]
cvttss2si eax, xmm0
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xf
jge 0x5300e6
movss xmm4, dword [esp + 0x34]
movaps xmm0, xmm4
subss xmm0, dword [ecx + 0x2c]
cvttss2si eax, xmm0
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xf
jle 0x5300e6
movss dword [esp + 0x20], xmm3
mov ecx, esi
push dword [esp + 0x20]
movss dword [esp + 0x20], xmm2
push dword [esp + 0x20]
mov dword [esi + 0x27938], 1
call fcn.00592d40
movss dword [esp + 0x38], xmm3
movaps xmm0, xmm2
movd xmm1, eax
mov eax, dword [esi + 0x26f14]
cvtdq2ps xmm1, xmm1
movss dword [eax + 0x74], xmm2
mulss xmm1, xmm5
addss xmm1, xmm6
movss dword [eax + 0x78], xmm1
movss dword [eax + 0x7c], xmm3
mov eax, dword [esi + 0x26f18]
mov ecx, dword [esp + 0x38]
unpcklps xmm0, xmm1
movq qword [eax + 0x74], xmm0
mov dword [eax + 0x7c], ecx
mov eax, dword [esi + 0x26f1c]
movq qword [eax + 0x74], xmm0
mov dword [eax + 0x7c], ecx
mov eax, dword [esi + 0x26f1c]
movss xmm0, dword [eax + 0x78]
subss xmm0, xmm7
movss dword [eax + 0x78], xmm0
mov edx, dword [esi + 0x4c]
cmp dword [edx + 0x208], 1
je 0x5300e6
mov eax, dword [esi + 0x276c8]
add eax, 0x3e8
cmp edi, eax
jb 0x5300e6
mov eax, dword [esi + 0x1a90d8]
cmp dword [eax + 0x28], 1
je 0x5300e6
mov eax, dword [0x9c25c8]
cmp byte [eax + 0x1a0], 0
je 0x5300e6
mov eax, dword [edx + 0x7dc]
add eax, 0xc8
cmp edi, eax
jb 0x5300e6
cmp dword [edx + 0xa00], 0
jne 0x52ffba
cmp dword [edx + 0xa04], 0
je 0x52ffcd
mov eax, dword [esi + 0x27768]
add eax, 0x3e8
cmp edi, eax
jb 0x5300e6
mov eax, dword [edx + 0x9d8]
sub eax, 4
cmp eax, 5
ja 0x530029
imul eax, dword [edx + 0x5c], 0xe1
mov ecx, dword [edx + 0x60]
add eax, dword [ecx + 0x2d0]
mov eax, dword [eax*4 + 0x9a1960]
mov dword [esp + 0x18], eax
mov eax, dword [0x9c25d8]
cmp dword [eax + 0x1c], 0
je 0x530029
mov eax, dword [esp + 0x18]
cmp eax, 2
lea ecx, [eax - 2]
cmovbe ecx, eax
mov eax, dword [edx + 0x60]
imul ecx, dword [eax + 0x2e4]
mov eax, dword [edx + 0x7f0]
lea eax, [eax + ecx*4]
cmp edi, eax
jb 0x5300e6
cmp dword [esi + 0x40], 0
je 0x5300e6
movss xmm0, dword [0x60541c]
comiss xmm0, xmm4
ja 0x5300e6
push ecx
mov ecx, edx
call fcn.00572830
mov ecx, dword [esi + 0x4c]
ucomiss xmm2, dword [ecx + 0x28]
lahf
test ah, 0x44
jp 0x530067
ucomiss xmm3, dword [ecx + 0x2c]
lahf
test ah, 0x44
jnp 0x5300e6
cvttss2si eax, xmm2
mov dword [esi + 0x27850], eax
cvttss2si eax, xmm3
mov dword [esi + 0x27854], eax
movss xmm0, dword [ecx + 0x1fc]
comiss xmm0, dword [0x604da8]
jae 0x530099
ucomiss xmm0, dword [0x604c4c]
lahf
test ah, 0x44
jp 0x5300ae
push 0
push 0
push dword [esi + 0x27854]
push dword [esi + 0x27850]
call fcn.00578820
mov eax, dword [esi + 0x4c]
mov dword [esi + 0x26f20], 0
mov dword [eax + 0xa00], 0
mov eax, dword [esi + 0x4c]
mov dword [eax + 0xa04], 0
mov dword [esi + 0x100], 0
mov dword [esi + 0x26f28], 0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.0046676f
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ecx + 0x9d4], 0xffffffff
jne 0x52f8a3
cmp dword [ecx + 0x9d8], 0x18
xorps xmm0, xmm0
mov eax, dword [0x9c25ac]
mov dword [esp + 0x30], 0
movlpd qword [esp + 0x38], xmm0
mov ax, word [eax + 0xf98]
mov word [esp + 0x36], ax
mov eax, 0x36a
mov word [esp + 0x34], ax
mov eax, 0x19
je 0x53014a
mov eax, 0x1b
mov word [esp + 0x3c], ax
mov edx, 0x14
cwde
mov dword [esp + 0x40], 0
mov dword [ecx + 0x9d4], eax
lea ecx, [esp + 0x30]
call fcn.0054f850
mov ecx, dword [esp + 0xdc]
xor eax, eax
mov dword [esi + 0x276c0], edi
pop edi
pop esi
xor ecx, esp
call fcn.0046676f
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [0x9c25d0]
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0x28], 1
jne 0x5300e6
mov ecx, dword [eax + 0x1e8]
test ecx, ecx
je 0x5300e6
mov eax, dword [ecx + 0x670]
mov edx, 0x1388
mov ax, word [eax]
sub ax, dx
cmp ax, 0x5f
jbe 0x52f8a3
mov eax, edi
sub eax, dword [0x1ff9b7c]
cmp eax, 0x3e8
jbe 0x52f8a3
mov eax, dword [ecx + 0x1d0]
xorps xmm0, xmm0
mov edx, dword [esi + 0x4c]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x1d4]
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0x1c], eax
mov ax, word [edx + 0x20]
mov word [esp + 0x36], ax
mov eax, 0x272
mov word [esp + 0x34], ax
mov dword [esp + 0x44], 0
mov ecx, dword [ecx + 0x1e4]
cmp dword [ecx + 0x1e4], 0
je 0x530234
mov dword [esp + 0x3c], 0
jmp 0x52f8a3
xor eax, eax
cmp dword [ecx + 0x400], 2
mov ecx, dword [esp + 0x1c]
sete al
inc eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x18]
lea eax, [eax + ecx*4]
add eax, ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x40], eax
cvttss2si eax, dword [edx + 0x28]
mov word [esp + 0x48], ax
cvttss2si eax, dword [edx + 0x2c]
mov edx, 0x20
mov word [esp + 0x4a], ax
call fcn.0054f850
mov dword [0x1ff9b7c], edi
jmp 0x52f8a3