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

Disassembly:
sub esp, 0x1d4
mov eax, dword [0xcf954c]
push ebx
push ebp
push esi
xor esi, esi
push edi
mov edi, dword [sym.imp.USER32.dll_PtInRect]
cmp eax, esi
mov dword [esp + 0x18c], 1
mov dword [esp + 0x190], 2
mov dword [esp + 0x194], 3
mov dword [esp + 0x198], esi
mov dword [esp + 0x19c], 9
mov dword [esp + 0x1a0], 8
mov dword [esp + 0x1a4], 4
mov dword [esp + 0x1a8], 5
mov dword [esp + 0x1ac], 6
mov dword [esp + 0x1b0], 7
mov dword [0xcf9538], esi
mov dword [0xcf9550], esi
mov ebp, 0x1b3
mov ebx, 0x1c7
jne 0x572fd0
push 5
mov dword [0xa4efdc], esi
call fcn.00554b90
add esp, 4
jmp 0x573bf3
mov ecx, dword [0xcf95d4]
mov eax, dword [0xcf95d0]
push ecx
push eax
push 0xcf957c
call edi
test eax, eax
je 0x573103
cmp dword [0xcf9594], esi
je 0x573103
mov eax, dword [0xcf954c]
mov dword [0xa4efdc], esi
cmp eax, esi
je 0x57303c
mov eax, dword [0xcf95a0]
mov dword [0xcf954c], esi
cmp eax, esi
je 0x57302a
push esi
push esi
push 0xcf95a4
push 0xcf95a0
call fcn.005a6840
add esp, 0x10
mov eax, dword [0xd0af88]
cmp eax, esi
je 0x57303c
push eax
call fcn.004e6ba0
add esp, 4
call fcn.005755e0
push 5
call fcn.00554b90
mov eax, dword [0xcea298]
add esp, 4
cmp eax, esi
mov dword [esp + 0x6c], 0x1e3
mov dword [esp + 0x70], 0x1b5
mov dword [esp + 0x74], 0x208
mov dword [esp + 0x78], 0x1c9
mov dword [esp + 0x5c], 0x1a3
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], 0x1c8
mov dword [esp + 0x68], ebx
mov dword [esp + 0x2c], 0x21f
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], 0x244
mov dword [esp + 0x38], ebx
je 0x5730ec
mov eax, dword [0xcf95d4]
mov ecx, dword [0xcf95d0]
push eax
lea edx, [esp + 0x70]
push ecx
push edx
call edi
test eax, eax
jne 0x5730ec
mov eax, dword [0xcf95d4]
mov ecx, dword [0xcf95d0]
push eax
lea edx, [esp + 0x60]
push ecx
push edx
call edi
test eax, eax
jne 0x5730ec
mov eax, dword [0xcf95d4]
mov ecx, dword [0xcf95d0]
push eax
lea edx, [esp + 0x30]
push ecx
push edx
call edi
test eax, eax
je 0x5730f2
mov dword [0xcf9578], esi
mov eax, dword [0x62d4c4]
add eax, 0x26
push eax
call fcn.00575a50
add esp, 4
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x10]
mov ecx, dword [0xcf9598]
lea esi, [eax*8]
sub esi, eax
shl esi, 2
mov eax, dword [esi + ecx + 0x18]
lea edi, [esi + ecx]
test eax, eax
je 0x573ba1
mov eax, dword [0xcea298]
mov dword [esp + 0x2c], 0x1e3
test eax, eax
mov dword [esp + 0x30], 0x1b5
mov dword [esp + 0x34], 0x208
mov dword [esp + 0x38], 0x1c9
mov dword [esp + 0x16c], 0x1a3
mov dword [esp + 0x170], ebp
mov dword [esp + 0x174], 0x1c8
mov dword [esp + 0x178], ebx
mov dword [esp + 0x17c], 0x21f
mov dword [esp + 0x180], ebp
mov dword [esp + 0x184], 0x244
mov dword [esp + 0x188], ebx
je 0x5731f7
mov edx, dword [0xcf95d4]
mov eax, dword [0xcf95d0]
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x5731f7
mov edx, dword [0xcf95d4]
mov eax, dword [0xcf95d0]
push edx
lea ecx, [esp + 0x170]
push eax
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x5731f7
mov edx, dword [0xcf95d4]
mov eax, dword [0xcf95d0]
push edx
lea ecx, [esp + 0x180]
push eax
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x5731fe
mov dword [edi + 0x18], 0
mov eax, dword [esp + 0x10]
cmp eax, 0xd
jne 0x5734a4
mov ecx, dword [0x6729d4]
mov eax, 1
cmp ecx, eax
jne 0x5732dc
mov eax, dword [0xd12344]
mov dword [0x6729d4], 0
test eax, eax
je 0x5733aa
mov ecx, dword [0xd1233c]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [esp + 0x18], eax
je 0x5733aa
mov edi, dword [eax + 0xc]
mov eax, dword [0x6d67a8]
mov edx, dword [edi]
cmp edx, eax
je 0x5732bc
mov eax, dword [edi + 0x828]
mov esi, dword [eax]
cmp esi, eax
je 0x57329f
mov eax, dword [esi + 8]
mov ecx, 0xd125f0
push eax
call fcn.0059c340
test eax, eax
je 0x573293
mov cl, byte [eax + 0xa0]
test cl, 2
je 0x573289
and cl, 0xfd
mov byte [eax + 0xa0], cl
mov dword [eax + 0xa4], 0
mov esi, dword [esi]
mov eax, dword [edi + 0x828]
cmp esi, eax
jne 0x573263
mov eax, dword [edi + 0x828]
lea ecx, [edi + 0x824]
push eax
mov edx, dword [eax]
push edx
lea edx, [esp + 0x1bc]
push edx
call fcn.00478000
lea ecx, [esp + 0x18]
call fcn.0045caf0
mov ecx, dword [0xd1233c]
mov eax, dword [esp + 0x18]
cmp eax, ecx
jne 0x573249
jmp 0x5733aa
mov dword [0x6729d4], eax
mov eax, dword [0xd1233c]
mov ecx, dword [eax]
mov edx, ecx
cmp ecx, eax
mov dword [esp + 0x14], edx
je 0x5733aa
mov esi, dword [edx + 0xc]
mov ecx, dword [0x6d67a8]
mov eax, dword [esi]
cmp eax, ecx
jne 0x573313
lea ecx, [esp + 0x14]
call fcn.0045caf0
jmp 0x573399
push esi
call fcn.00473fa0
add esp, 4
test eax, eax
je 0x57337c
mov dword [0xa58464], 1
mov edi, dword [esi + 0xb8]
xor eax, eax
cmp edi, 0x8c
setge al
add eax, 0x963
push eax
push esi
call fcn.0041b470
add esp, 8
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x6c]
mov edi, eax
push ecx
push edx
mov ecx, 0xd12338
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], 0
call fcn.004e2660
mov eax, dword [eax]
lea ecx, [esp + 0x14]
mov dword [eax + 0x10], edi
call fcn.0045caf0
jmp 0x573399
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1b8]
push eax
push ecx
mov ecx, 0xd12338
call fcn.0045bfb0
mov edx, dword [eax]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x14]
mov eax, dword [0xd1233c]
cmp edx, eax
jne 0x5732f6
mov eax, dword [0xcf9598]
mov esi, dword [0x6729d4]
mov dword [esp + 0x12c], 0x1e3
mov dword [esp + 0x130], 0x1b5
lea edi, [eax + 0x16c]
mov eax, dword [0xcea298]
test eax, eax
mov dword [esp + 0x134], 0x208
mov dword [esp + 0x138], 0x1c9
mov dword [esp + 0xac], 0x1a3
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xb4], 0x1c8
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x14c], 0x21f
mov dword [esp + 0x150], ebp
mov dword [esp + 0x154], 0x244
mov dword [esp + 0x158], ebx
je 0x57349c
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf95d0]
push ecx
lea eax, [esp + 0x130]
push edx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x57349c
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf95d0]
push ecx
lea eax, [esp + 0xb0]
push edx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x57349c
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf95d0]
push ecx
lea eax, [esp + 0x150]
push edx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x573ba1
mov dword [edi + 0x10], esi
jmp 0x573ba1
cmp eax, 0xa
jne 0x5735bf
mov eax, dword [0xcf9598]
mov dword [esp + 0xcc], 0x1e3
mov dword [esp + 0xd0], 0x1b5
mov dword [esp + 0xd4], 0x208
mov esi, dword [eax + 0x128]
lea edi, [eax + 0x118]
mov eax, dword [0xcea298]
mov dword [esp + 0xd8], 0x1c9
test eax, eax
mov dword [esp + 0x7c], 0x1a3
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], 0x1c8
mov dword [esp + 0x88], ebx
mov dword [esp + 0xec], 0x21f
mov dword [esp + 0xf0], ebp
mov dword [esp + 0xf4], 0x244
mov dword [esp + 0xf8], ebx
je 0x573598
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf95d0]
push ecx
lea eax, [esp + 0xd0]
push edx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x573598
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf95d0]
push ecx
lea eax, [esp + 0x80]
push edx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x573598
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf95d0]
push ecx
lea eax, [esp + 0xf0]
push edx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x5735a2
xor ecx, ecx
test esi, esi
sete cl
mov dword [edi + 0x10], ecx
mov eax, dword [0xcf9598]
xor edx, edx
mov ecx, dword [eax + 0x128]
test ecx, ecx
setne dl
mov dword [0x6729d0], edx
jmp 0x573ba1
jl 0x5735c6
cmp eax, 0xe
jl 0x5735d8
cmp eax, 0x12
jl 0x573727
cmp eax, 0x1c
jge 0x573727
mov ecx, dword [0xcf9598]
mov dword [esp + 0x15c], 0x1e3
add esi, ecx
mov ecx, dword [0xcea298]
test ecx, ecx
mov edi, dword [esi + 0x10]
mov dword [esp + 0x160], 0x1b5
mov dword [esp + 0x164], 0x208
mov dword [esp + 0x168], 0x1c9
mov dword [esp + 0x10c], 0x1a3
mov dword [esp + 0x110], ebp
mov dword [esp + 0x114], 0x1c8
mov dword [esp + 0x118], ebx
mov dword [esp + 0x13c], 0x21f
mov dword [esp + 0x140], ebp
mov dword [esp + 0x144], 0x244
mov dword [esp + 0x148], ebx
je 0x5736c2
mov edx, dword [0xcf95d4]
mov eax, dword [0xcf95d0]
push edx
lea ecx, [esp + 0x160]
push eax
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x5736be
mov edx, dword [0xcf95d4]
mov eax, dword [0xcf95d0]
push edx
lea ecx, [esp + 0x110]
push eax
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x5736be
mov edx, dword [0xcf95d4]
mov eax, dword [0xcf95d0]
push edx
lea ecx, [esp + 0x140]
push eax
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x5736ce
mov eax, dword [esp + 0x10]
xor edx, edx
test edi, edi
sete dl
mov dword [esi + 0x10], edx
jmp 0x5736d2
mov eax, dword [esp + 0x10]
cmp eax, 0x12
jl 0x573ba1
mov eax, dword [esp + 0x10]
cmp eax, 0x1c
jge 0x573ba1
mov eax, dword [esp + eax*4 + 0x144]
mov ecx, 0xe
mov esi, 0x6421d8
mov edi, 0x6a00c8
rep movsd dword es:[edi], dword [esi]
mov edx, dword [eax*4 + 0x6a00c8]
xor ecx, ecx
test edx, edx
sete cl
push 0x6a00c8
mov dword [eax*4 + 0x6a00c8], ecx
call fcn.004e9890
add esp, 4
jmp 0x573ba1
cmp eax, 0xe
jne 0x57378d
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf9598]
mov eax, dword [0xcf95d0]
add edx, 0x188
push ecx
push eax
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x573ba1
call fcn.00512a50
call fcn.00512590
call fcn.005a2270
mov ecx, dword [0xcf8be4]
mov eax, 1
cmp ecx, eax
je 0x573777
mov dword [0xcf8be4], eax
mov eax, dword [0x62d4c4]
add eax, 0x26
push eax
call fcn.00575a50
add esp, 4
jmp 0x573ba1
cmp eax, 0x10
jne 0x573a07
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf9598]
mov eax, dword [0xcf95d0]
add edx, 0x1c0
push ecx
push eax
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x573ba1
mov eax, dword [0xcf9598]
mov edi, 0x1c8
mov dword [esp + 0x8c], 0x1e3
mov dword [esp + 0x90], 0x1b5
lea esi, [eax + 0x1c0]
mov eax, dword [0xcea298]
test eax, eax
mov dword [esp + 0x94], 0x208
mov dword [esp + 0x98], 0x1c9
mov dword [esp + 0x9c], 0x1a3
mov dword [esp + 0xa0], ebp
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xbc], 0x21f
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xc4], 0x244
mov dword [esp + 0xc8], ebx
je 0x5738a7
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf95d0]
push ecx
lea eax, [esp + 0x90]
push edx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x5738a7
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf95d0]
push ecx
lea eax, [esp + 0xa0]
push edx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x5738a7
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf95d0]
push ecx
lea eax, [esp + 0xc0]
push edx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x5738ae
mov dword [esi + 0x18], 0
mov ecx, dword [0xcf954c]
xor eax, eax
cmp ecx, eax
mov dword [0xcf95c0], 1
mov dword [0xce9530], eax
mov dword [0xce8ee0], eax
je 0x573904
mov dword [0xcf954c], eax
mov eax, dword [0xcf95a0]
test eax, eax
je 0x5738f2
push 0
push 0
push 0xcf95a4
push 0xcf95a0
call fcn.005a6840
add esp, 0x10
mov eax, dword [0xd0af88]
test eax, eax
je 0x573904
push eax
call fcn.004e6ba0
add esp, 4
mov ecx, dword [0x62d4c4]
add ecx, 0x26
push ecx
call fcn.00575a50
call fcn.005755e0
push 5
call fcn.00554b90
mov eax, dword [0xcea298]
add esp, 8
test eax, eax
mov dword [esp + 0xdc], 0x1e3
mov dword [esp + 0xe0], 0x1b5
mov dword [esp + 0xe4], 0x208
mov dword [esp + 0xe8], 0x1c9
mov dword [esp + 0xfc], 0x1a3
mov dword [esp + 0x100], ebp
mov dword [esp + 0x104], edi
mov dword [esp + 0x108], ebx
mov dword [esp + 0x11c], 0x21f
mov dword [esp + 0x120], ebp
mov dword [esp + 0x124], 0x244
mov dword [esp + 0x128], ebx
je 0x573b97
mov edx, dword [0xcf95d4]
mov eax, dword [0xcf95d0]
mov esi, dword [sym.imp.USER32.dll_PtInRect]
push edx
lea ecx, [esp + 0xe0]
push eax
push ecx
call esi
test eax, eax
jne 0x573b97
mov edx, dword [0xcf95d4]
mov eax, dword [0xcf95d0]
push edx
lea ecx, [esp + 0x100]
push eax
push ecx
call esi
test eax, eax
jne 0x573b97
mov edx, dword [0xcf95d4]
mov eax, dword [0xcf95d0]
push edx
lea ecx, [esp + 0x120]
push eax
push ecx
call esi
test eax, eax
je 0x573ba1
jmp 0x573b97
cmp eax, 0x11
jne 0x573ba1
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf9598]
mov eax, dword [0xcf95d0]
add edx, 0x1dc
push ecx
push eax
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x573ba1
mov eax, dword [0xa4f274]
lea edx, [esp + 0x1bc]
test eax, eax
mov edi, 0x672a60
jne 0x573a52
mov edi, 0x672a50
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x3e8
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c0]
push ecx
call fcn.004fe420
mov eax, dword [0xcf954c]
add esp, 8
test eax, eax
mov dword [0xd04a84], 1
je 0x573ad2
mov eax, dword [0xcf95a0]
mov dword [0xcf954c], 0
test eax, eax
je 0x573ac0
push 0
push 0
push 0xcf95a4
push 0xcf95a0
call fcn.005a6840
add esp, 0x10
mov eax, dword [0xd0af88]
test eax, eax
je 0x573ad2
push eax
call fcn.004e6ba0
add esp, 4
mov edx, dword [0x62d4c4]
add edx, 0x26
push edx
call fcn.00575a50
call fcn.005755e0
push 5
call fcn.00554b90
mov eax, dword [0xcea298]
add esp, 8
test eax, eax
mov dword [esp + 0x4c], 0x1e3
mov dword [esp + 0x50], 0x1b5
mov dword [esp + 0x54], 0x208
mov dword [esp + 0x58], 0x1c9
mov dword [esp + 0x1c], 0x1a3
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], 0x1c8
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3c], 0x21f
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], 0x244
mov dword [esp + 0x48], ebx
je 0x573b97
mov eax, dword [0xcf95d4]
mov ecx, dword [0xcf95d0]
mov esi, dword [sym.imp.USER32.dll_PtInRect]
push eax
lea edx, [esp + 0x50]
push ecx
push edx
call esi
test eax, eax
jne 0x573b97
mov eax, dword [0xcf95d4]
mov ecx, dword [0xcf95d0]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
call esi
test eax, eax
jne 0x573b97
mov eax, dword [0xcf95d4]
mov ecx, dword [0xcf95d0]
push eax
lea edx, [esp + 0x40]
push ecx
push edx
call esi
test eax, eax
je 0x573ba1
mov dword [0xcf9578], 0
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 0x1c
mov dword [esp + 0x10], eax
jl 0x573107
mov edx, dword [0xcf959c]
xor eax, eax
lea ecx, [edx + 0x10]
cmp dword [ecx], 0
jne 0x573bce
inc eax
add ecx, 0x14
cmp eax, 5
jl 0x573bbe
jmp 0x573beb
lea eax, [eax + eax*4]
mov dword [edx + eax*4 + 0x10], 0
mov ecx, dword [0x62d4c4]
add ecx, 0x27
push ecx
call fcn.00575a50
add esp, 4
mov edi, dword [sym.imp.USER32.dll_PtInRect]
xor esi, esi
mov eax, dword [0xcea298]
mov dword [esp + 0x3c], 0x1e3
cmp eax, esi
mov dword [esp + 0x40], 0x1b5
mov dword [esp + 0x44], 0x208
mov dword [esp + 0x48], 0x1c9
mov dword [esp + 0x1c], 0x1a3
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], 0x1c8
mov dword [esp + 0x28], ebx
mov dword [esp + 0x4c], 0x21f
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], 0x244
mov dword [esp + 0x58], ebx
je 0x573c94
mov edx, dword [0xcf95d4]
mov eax, dword [0xcf95d0]
push edx
lea ecx, [esp + 0x40]
push eax
push ecx
call edi
test eax, eax
jne 0x573c94
mov edx, dword [0xcf95d4]
mov eax, dword [0xcf95d0]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
call edi
test eax, eax
jne 0x573c94
mov edx, dword [0xcf95d4]
mov eax, dword [0xcf95d0]
push edx
lea ecx, [esp + 0x50]
push eax
push ecx
call edi
test eax, eax
je 0x573c9a
mov dword [0xcf9594], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1d4
ret