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

Disassembly:
sub esp, 0x60
push ebx
push esi
push edi
mov edi, dword [esp + 0x70]
xor ebx, ebx
mov esi, ecx
cmp edi, ebx
je 0x569587
call fcn.005a2270
cmp dword [esi + 0x1c], edi
je 0x5696d2
cmp edi, ebx
mov dword [esi + 0x1c], edi
jne 0x5696da
mov ecx, dword [esi + 0x70]
lea eax, [esi + 0x70]
cmp ecx, ebx
je 0x5695b4
push ebx
lea ecx, [esi + 0x74]
push ebx
push ecx
push eax
call fcn.005a6840
add esp, 0x10
mov eax, dword [0xd0af88]
cmp eax, ebx
je 0x5695c6
push eax
call fcn.004e6ba0
add esp, 4
or eax, 0xffffffff
mov dword [esi + 0x78], ebx
mov dword [esi + 0xfe8], eax
mov dword [esi + 0xfec], eax
mov eax, dword [esi + 0x24]
mov dword [esi + 0xfe0], ebx
cmp eax, ebx
mov dword [esi + 0xfe4], 0xffffffd3
mov word [esi + 0xff0], bx
mov dword [esi + 0xfdc], ebx
mov dword [esp + 0x70], ebx
jle 0x5697c4
push ebp
mov ebp, 0x1c7
mov edx, dword [esi + 0x68]
mov ecx, dword [0xcea298]
mov edi, ebx
mov eax, 0x1b3
add edi, edx
mov dword [esp + 0x10], 0x1e3
test ecx, ecx
mov dword [esp + 0x14], 0x1b5
mov dword [esp + 0x18], 0x208
mov dword [esp + 0x1c], 0x1c9
mov dword [esp + 0x20], 0x1a3
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0x1c8
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], 0x21f
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0x244
mov dword [esp + 0x3c], ebp
je 0x5696c9
mov edx, dword [0xcf95d4]
mov eax, dword [0xcf95d0]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x5696c4
mov edx, dword [0xcf95d4]
mov eax, dword [0xcf95d0]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x5696c4
mov edx, dword [0xcf95d4]
mov eax, dword [0xcf95d0]
push edx
lea ecx, [esp + 0x34]
push eax
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x5696ec
mov eax, 0x1b3
mov dword [edi + 0x18], 0
jmp 0x5696f1
cmp edi, ebx
je 0x5695c6
push ebx
call fcn.004fe110
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x60
ret 4
mov eax, 0x1b3
mov ecx, dword [esi + 0x68]
mov edi, ebx
mov dword [esp + 0x54], eax
mov dword [esp + 0x64], eax
mov eax, dword [0xcea298]
add edi, ecx
test eax, eax
mov dword [esp + 0x40], 0x1e3
mov dword [esp + 0x44], 0x1b5
mov dword [esp + 0x48], 0x208
mov dword [esp + 0x4c], 0x1c9
mov dword [esp + 0x50], 0x1a3
mov dword [esp + 0x58], 0x1c8
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], 0x21f
mov dword [esp + 0x68], 0x244
mov dword [esp + 0x6c], ebp
je 0x5697a5
mov edx, dword [0xcf95d4]
mov eax, dword [0xcf95d0]
push edx
lea ecx, [esp + 0x44]
push eax
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x5697a5
mov edx, dword [0xcf95d4]
mov eax, dword [0xcf95d0]
push edx
lea ecx, [esp + 0x54]
push eax
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x5697a5
mov edx, dword [0xcf95d4]
mov eax, dword [0xcf95d0]
push edx
lea ecx, [esp + 0x64]
push eax
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x5697ac
mov dword [edi + 0x10], 0
mov eax, dword [esp + 0x74]
mov ecx, dword [esi + 0x24]
inc eax
add ebx, 0x1c
cmp eax, ecx
mov dword [esp + 0x74], eax
jl 0x56960a
pop ebp
push 1
call fcn.004fe110
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x60
ret 4