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

Disassembly:
sub esp, 0x64
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x1c], edi
je 0x56910b
mov ecx, dword [0xcf95d4]
mov eax, dword [0xcf95d0]
push ecx
push eax
lea eax, [esi + 0x4c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x568c9a
cmp dword [esi + 0x64], edi
je 0x568c9a
cmp dword [esi + 0x128], 1
jne 0x568c67
mov eax, dword [0xa4f274]
push edi
push edi
cmp eax, edi
push edi
push edi
je 0x568c58
push 0x672020
call fcn.004cbc90
add esp, 0x14
jmp 0x568c9a
push 0x671ff0
call fcn.004cbc90
add esp, 0x14
jmp 0x568c9a
cmp dword [esi + 0x1c], edi
je 0x568c9a
mov ecx, dword [esi + 0x70]
lea eax, [esi + 0x70]
cmp ecx, edi
mov dword [esi + 0x1c], edi
je 0x568c88
push edi
lea ecx, [esi + 0x74]
push edi
push ecx
push eax
call fcn.005a6840
add esp, 0x10
mov eax, dword [0xd0af88]
cmp eax, edi
je 0x568c9a
push eax
call fcn.004e6ba0
add esp, 4
mov eax, dword [esi + 0x78]
xor ebx, ebx
cmp eax, edi
mov dword [esp + 0xc], ebx
jle 0x56910b
push ebp
jmp 0x568cb2
mov ebx, dword [esp + 0x10]
mov edx, dword [0xcf95d4]
mov ecx, dword [0xcf95d0]
lea ebp, [ebx*8]
push edx
sub ebp, ebx
push ecx
shl ebp, 2
mov eax, ebp
add eax, dword [esi + 0x68]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x569112
mov edx, dword [esi + 0x68]
cmp dword [edx + ebp + 0x18], edi
je 0x569112
cmp ebx, 6
ja case.0x568cf6.2
jmp dword [ebx*4 + 0x56911c]
mov ecx, dword [esi + 0x134]
mov eax, 0x14
cmp ecx, eax
jl 0x568d33
mov dword [esi + 0x140], 1
mov dword [esi + 0x144], edi
mov dword [esi + 0x148], edi
mov dword [esi + 0x14c], edi
mov dword [esi + 0x12c], eax
jmp case.0x568cf6.2
mov eax, dword [0xa4f274]
push edi
push edi
cmp eax, edi
push edi
push edi
jne 0x568f61
push 0x671fcc
jmp 0x568f6d
cmp dword [esi + 0x12c], edi
jle 0x568d65
mov dword [esi + 0x130], 1
jmp case.0x568cf6.2
push edi
push edi
push edi
push edi
mov dword [esi + 0x130], edi
push 0x671fac
jmp 0x568f6d
xor ebx, ebx
xor edi, edi
push 2
push 2
push edi
push ebx
mov ecx, 0xced988
call fcn.0052ce70
test eax, eax
je 0x568d98
mov byte [esi + 0x13e], 1
inc edi
cmp edi, 0xa
jl 0x568d7d
inc ebx
cmp ebx, 0xf
jl 0x568d7b
mov al, byte [esi + 0x13e]
test al, al
jne 0x568dc0
push 0
push 0
push 0
push 0
push 0x671f84
jmp 0x568f6d
mov eax, dword [esi + 0x128]
mov byte [esi + 0x13e], 1
test eax, eax
jne case.0x568cf6.2
mov eax, dword [esi + 0x130]
xor edi, edi
cmp eax, edi
jne 0x568e02
mov eax, dword [0xa4f274]
push edi
push edi
cmp eax, edi
push edi
push edi
je 0x568df8
push 0x671f60
jmp 0x568f6d
push 0x671f3c
jmp 0x568f6d
push 0xb29
mov ecx, 0xced988
call fcn.0052d310
mov ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov ecx, 0xa
lea ebx, [edx + edx*4]
cdq
idiv ecx
mov ecx, dword [esi + 0x12c]
lea eax, [edx + ebx*2]
mov edx, eax
shl edx, 4
add edx, eax
mov eax, dword [edx*8 + 0xceda6c]
cmp eax, ecx
jge 0x568e6d
mov eax, dword [0xa4f274]
push edi
push edi
cmp eax, edi
push edi
push edi
je 0x568e63
push 0x671f04
jmp 0x568f6d
push 0x671ed4
jmp 0x568f6d
lea ecx, [esi + 0xac]
call fcn.0045dcb0
lea ecx, [esi + 0xe0]
call fcn.0045dcf0
mov eax, 1
mov dword [esi + 0xc8], edi
mov dword [esi + 0xc4], eax
mov dword [esi + 0xcc], eax
mov dword [esi + 0x128], eax
mov dword [esi + 0x130], edi
mov dword [esi + 0x124], edi
mov byte [esi + 0x13e], 0
jmp case.0x568cf6.2
mov ecx, dword [esi + 0x134]
mov eax, 0xa
cmp ecx, eax
jl 0x568f54
mov dword [esi + 0x140], edi
mov dword [esi + 0x144], 1
mov dword [esi + 0x148], edi
mov dword [esi + 0x14c], edi
mov dword [esi + 0x12c], eax
jmp case.0x568cf6.2
mov ecx, dword [esi + 0x134]
mov eax, 5
cmp ecx, eax
jl 0x568f54
mov dword [esi + 0x140], edi
mov dword [esi + 0x144], edi
mov dword [esi + 0x148], 1
mov dword [esi + 0x14c], edi
mov dword [esi + 0x12c], eax
jmp case.0x568cf6.2
mov ecx, dword [esi + 0x134]
mov eax, 1
cmp ecx, eax
jl 0x568f54
mov dword [esi + 0x140], edi
mov dword [esi + 0x144], edi
mov dword [esi + 0x148], edi
mov dword [esi + 0x14c], eax
mov dword [esi + 0x12c], eax
jmp case.0x568cf6.2
mov eax, dword [0xa4f274]
push edi
push edi
cmp eax, edi
push edi
push edi
je 0x568f68
push 0x671eb0
jmp 0x568f6d
push 0x671e8c
call fcn.004cbc90
add esp, 0x14
mov ecx, dword [esi + 0x68]
mov eax, 0x1c7
mov edi, ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x40], eax
mov eax, dword [0xcea298]
add edi, ecx
mov ebx, 0x1b3
test eax, eax
mov dword [esp + 0x14], 0x1e3
mov dword [esp + 0x18], 0x1b5
mov dword [esp + 0x1c], 0x208
mov dword [esp + 0x20], 0x1c9
mov dword [esp + 0x24], 0x1a3
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 0x1c8
mov dword [esp + 0x34], 0x21f
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 0x244
je 0x569036
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf95d0]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x569036
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf95d0]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x569036
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf95d0]
push ecx
lea eax, [esp + 0x38]
push edx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x56903d
mov dword [edi + 0x18], 0
xor edi, edi
mov ecx, dword [esi + 0x68]
mov eax, 0x1c7
mov dword [esp + 0x60], eax
mov dword [esp + 0x70], eax
mov eax, dword [0xcea298]
add ebp, ecx
cmp eax, edi
mov dword [esp + 0x44], 0x1e3
mov dword [esp + 0x48], 0x1b5
mov dword [esp + 0x4c], 0x208
mov dword [esp + 0x50], 0x1c9
mov dword [esp + 0x54], 0x1a3
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], 0x1c8
mov dword [esp + 0x64], 0x21f
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], 0x244
je 0x5690f3
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf95d0]
mov ebx, dword [sym.imp.USER32.dll_PtInRect]
push ecx
lea eax, [esp + 0x48]
push edx
push eax
call ebx
test eax, eax
jne 0x5690f3
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf95d0]
push ecx
lea eax, [esp + 0x58]
push edx
push eax
call ebx
test eax, eax
jne 0x5690f3
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf95d0]
push ecx
lea eax, [esp + 0x68]
push edx
push eax
call ebx
test eax, eax
je 0x5690f6
mov dword [ebp + 0x18], edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x78]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x568cae
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x64
ret
mov ebx, 0x1b3
jmp 0x56903f