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

Disassembly:
sub esp, 0xb8
push ebx
mov ebx, ecx
xor ecx, ecx
cmp dword [ebx + 0x1c], ecx
jne 0x56a1da
xor eax, eax
pop ebx
add esp, 0xb8
ret
cmp dword [0xcea298], ecx
je 0x56a1ec
xor eax, eax
pop ebx
add esp, 0xb8
ret
mov eax, dword [ebx + 0xfe8]
mov dword [esp + 0x3c], ecx
cmp eax, 3
mov dword [esp + 0x40], ecx
mov dword [esp + 8], ecx
ja case.default.0x56a203
jmp dword [eax*4 + 0x56a994]
mov dword [esp + 8], 7
jmp case.default.0x56a203
mov dword [esp + 8], 6
jmp case.default.0x56a203
mov dword [esp + 8], 3
mov edx, dword [esp + 8]
push ebp
xor eax, eax
push esi
cmp edx, ecx
push edi
mov dword [esp + 0x10], eax
mov ebp, 0x1c7
jle 0x56a600
lea esi, [eax*8]
sub esi, eax
mov eax, dword [ebx + 0x68]
shl esi, 2
add eax, esi
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x56a517
mov edx, dword [0xcf95d4]
mov ecx, dword [0xcf95d0]
mov edi, dword [sym.imp.USER32.dll_PtInRect]
push edx
push ecx
push eax
call edi
test eax, eax
je 0x56a51d
mov edi, dword [ebx + 0x68]
mov ecx, dword [0xcea298]
add edi, esi
mov eax, 0x1b3
test ecx, ecx
mov dword [esp + 0x4c], 1
mov dword [esp + 0x70], 0x1e3
mov dword [esp + 0x74], 0x1b5
mov dword [esp + 0x78], 0x208
mov dword [esp + 0x7c], 0x1c9
mov dword [esp + 0x60], 0x1a3
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], 0x1c8
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x50], 0x21f
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0x244
mov dword [esp + 0x5c], ebp
je 0x56a343
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf95d0]
push ecx
lea eax, [esp + 0x74]
push edx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x56a33e
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf95d0]
push ecx
lea eax, [esp + 0x64]
push edx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x56a33e
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf95d0]
push ecx
lea eax, [esp + 0x54]
push edx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x56a34c
mov eax, 0x1b3
mov dword [edi + 0x18], 0
jmp 0x56a351
mov eax, 0x1b3
mov edi, dword [ebx + 0x68]
mov dword [esp + 0xa4], eax
mov dword [esp + 0x84], eax
mov eax, dword [0xcea298]
add edi, esi
mov dword [esp + 0x90], 0x1e3
test eax, eax
mov dword [esp + 0x94], 0x1b5
mov dword [esp + 0x98], 0x208
mov dword [esp + 0x9c], 0x1c9
mov dword [esp + 0xa0], 0x1a3
mov dword [esp + 0xa8], 0x1c8
mov dword [esp + 0xac], ebp
mov dword [esp + 0x80], 0x21f
mov dword [esp + 0x88], 0x244
mov dword [esp + 0x8c], ebp
je 0x56a42d
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf95d0]
mov esi, dword [sym.imp.USER32.dll_PtInRect]
push ecx
lea eax, [esp + 0x94]
push edx
push eax
call esi
test eax, eax
jne 0x56a42d
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf95d0]
push ecx
lea eax, [esp + 0xa4]
push edx
push eax
call esi
test eax, eax
jne 0x56a42d
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf95d0]
push ecx
lea eax, [esp + 0x84]
push edx
push eax
call esi
test eax, eax
je 0x56a434
mov dword [edi + 0x10], 1
mov eax, dword [esp + 0x10]
cmp eax, 2
jne 0x56a4c6
cmp dword [ebx + 0xfec], 0xffffffff
je 0x56a5dd
mov ecx, ebx
call fcn.0056b100
test eax, eax
jne 0x56a4b9
mov eax, dword [0xa4f274]
mov ecx, 6
mov esi, 0x672050
lea edi, [esp + 0xb0]
test eax, eax
rep movsd dword es:[edi], dword [esi]
je 0x56a487
lea ecx, [esp + 0xb0]
push 0
push ecx
call fcn.00586e90
add esp, 8
cmp dword [ebx + 0xfe8], 2
je 0x56a4aa
lea edx, [esp + 0xb0]
push 0x3f2
push edx
call fcn.004fe420
add esp, 8
jmp 0x56a5dd
push 1
call fcn.00519fc0
add esp, 4
jmp 0x56a5dd
push eax
mov ecx, ebx
call fcn.0056b5c0
jmp 0x56a5dd
cmp eax, 3
jl 0x56a5dd
mov eax, dword [ebx + 0xfe8]
cmp eax, 2
mov eax, dword [esp + 0x10]
jne 0x56a4f7
cmp eax, 3
je 0x56a4e8
cmp eax, 4
jne 0x56a4f7
mov dword [ebx + 0xfdc], 0
jmp 0x56a5dd
add eax, 0xfffffffd
mov ecx, ebx
push eax
mov dword [ebx + 0xfec], eax
call fcn.0056b300
mov dword [ebx + 0xfdc], 1
jmp 0x56a5dd
mov edi, dword [sym.imp.USER32.dll_PtInRect]
mov eax, dword [ebx + 0x68]
add esi, eax
mov eax, dword [esi + 0x18]
test eax, eax
je 0x56a5dd
mov eax, 0x1b3
mov dword [esp + 0x38], 0x1e3
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], eax
mov eax, dword [0xcea298]
mov dword [esp + 0x3c], 0x1b5
test eax, eax
mov dword [esp + 0x40], 0x208
mov dword [esp + 0x44], 0x1c9
mov dword [esp + 0x28], 0x1a3
mov dword [esp + 0x30], 0x1c8
mov dword [esp + 0x34], ebp
mov dword [esp + 0x18], 0x21f
mov dword [esp + 0x20], 0x244
mov dword [esp + 0x24], ebp
je 0x56a5d6
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf95d0]
push ecx
lea eax, [esp + 0x3c]
push edx
push eax
call edi
test eax, eax
jne 0x56a5d6
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf95d0]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call edi
test eax, eax
jne 0x56a5d6
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf95d0]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
call edi
test eax, eax
je 0x56a5dd
mov dword [esi + 0x18], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x56a240
mov eax, dword [esp + 0x4c]
xor ecx, ecx
cmp eax, ecx
jne 0x56a7ad
mov eax, dword [ebx + 0xfec]
cmp eax, 0xffffffff
je 0x56a7ad
add eax, 3
mov edx, dword [ebx + 0x68]
mov dword [esp + 0x18], 0x1e3
mov dword [esp + 0x1c], 0x1b5
lea esi, [eax*8]
mov dword [esp + 0x20], 0x208
sub esi, eax
mov eax, 0x1b3
shl esi, 2
mov edi, esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], eax
mov eax, dword [0xcea298]
add edi, edx
cmp eax, ecx
mov dword [esp + 0x24], 0x1c9
mov dword [esp + 0x28], 0x1a3
mov dword [esp + 0x30], 0x1c8
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], 0x21f
mov dword [esp + 0x40], 0x244
mov dword [esp + 0x44], ebp
je 0x56a6da
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf95d0]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x56a6da
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf95d0]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x56a6da
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf95d0]
push ecx
lea eax, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x56a6e1
mov dword [edi + 0x18], 0
mov ecx, dword [ebx + 0x68]
mov eax, 0x1b3
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], eax
mov eax, dword [0xcea298]
add esi, ecx
test eax, eax
mov dword [esp + 0x18], 0x1e3
mov dword [esp + 0x1c], 0x1b5
mov dword [esp + 0x20], 0x208
mov dword [esp + 0x24], 0x1c9
mov dword [esp + 0x28], 0x1a3
mov dword [esp + 0x30], 0x1c8
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], 0x21f
mov dword [esp + 0x40], 0x244
mov dword [esp + 0x44], ebp
je 0x56a79e
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf95d0]
mov edi, dword [sym.imp.USER32.dll_PtInRect]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
call edi
test eax, eax
jne 0x56a7a4
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf95d0]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call edi
test eax, eax
jne 0x56a7a4
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf95d0]
push ecx
lea eax, [esp + 0x3c]
push edx
push eax
call edi
test eax, eax
je 0x56a7b3
mov dword [esi + 0x10], 1
jmp 0x56a7b3
mov edi, dword [sym.imp.USER32.dll_PtInRect]
mov dword [esi + 0x10], 1
jmp 0x56a7b3
mov edi, dword [sym.imp.USER32.dll_PtInRect]
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x10], 0
test eax, eax
jle 0x56a8a6
xor edi, edi
mov esi, dword [ebx + 0x6c]
mov eax, 0x1b3
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], eax
mov eax, dword [0xcea298]
add esi, edi
test eax, eax
mov dword [esp + 0x18], 0x1e3
mov dword [esp + 0x1c], 0x1b5
mov dword [esp + 0x20], 0x208
mov dword [esp + 0x24], 0x1c9
mov dword [esp + 0x28], 0x1a3
mov dword [esp + 0x30], 0x1c8
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], 0x21f
mov dword [esp + 0x40], 0x244
mov dword [esp + 0x44], ebp
je 0x56a882
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf95d0]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x56a882
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf95d0]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x56a882
mov ecx, dword [0xcf95d4]
mov edx, dword [0xcf95d0]
push ecx
lea eax, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x56a889
mov dword [esi + 0x10], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 0x28]
inc eax
add edi, 0x14
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x56a7c8
mov edi, dword [sym.imp.USER32.dll_PtInRect]
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x56a8d6
mov ecx, dword [0xcf95d4]
mov eax, dword [0xcf95d0]
push ecx
lea ecx, [ebx + 0x4c]
push eax
push ecx
call edi
test eax, eax
je 0x56a8d6
mov dword [ebx + 0xfdc], 0
mov dword [esp + 0x48], 3
mov eax, 0x1b3
mov dword [esp + 0x18], 0x1e3
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], eax
mov eax, dword [0xcea298]
mov dword [esp + 0x1c], 0x1b5
test eax, eax
mov dword [esp + 0x20], 0x208
mov dword [esp + 0x24], 0x1c9
mov dword [esp + 0x28], 0x1a3
mov dword [esp + 0x30], 0x1c8
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], 0x21f
mov dword [esp + 0x40], 0x244
mov dword [esp + 0x44], ebp
je 0x56a97c
mov edx, dword [0xcf95d4]
mov eax, dword [0xcf95d0]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
call edi
test eax, eax
jne 0x56a97c
mov edx, dword [0xcf95d4]
mov eax, dword [0xcf95d0]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call edi
test eax, eax
jne 0x56a97c
mov edx, dword [0xcf95d4]
mov eax, dword [0xcf95d0]
push edx
lea ecx, [esp + 0x3c]
push eax
push ecx
call edi
test eax, eax
je 0x56a983
mov dword [ebx + 0x64], 0
mov eax, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret