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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x34]
cmp eax, dword [ecx + 8]
jbe 0x56c212
sub esp, 0xb4
mov ecx, dword [esp + 0xe0]
test ecx, ecx
je 0x56bc49
mov edx, dword [esp + 0xdc]
xor eax, eax
jmp 0x56c1dd
xor eax, eax
mov dword [esp + 0x44], eax
mov ecx, dword [0x8bbb68]
mov edx, dword [0x8bbb6c]
mov ebx, dword [0x8bbb70]
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
call fcn.0056a5b0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x6c], edx
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov ebx, dword [esp + 0xdc]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0xe0]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0xe4]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x18], ebx
call fcn.0056a8d0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x64], edx
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov ebx, dword [esp + 0xc4]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0xc8]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0xcc]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0xd0]
mov dword [esp + 0x18], edi
mov edx, dword [esp + 0xd4]
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x80]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x2c], eax
mov byte [esp + 0x30], 0
call fcn.0056add0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x50], edx
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov ebx, dword [esp + 0xc4]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0xc8]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0xcc]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0xd0]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0xd4]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0xd8]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x64]
mov dword [esp + 0x2c], esi
mov byte [esp + 0x30], 0
call fcn.0056add0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
nop
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x70], edx
mov ebx, dword [esp + 0xc0]
cmp ebx, ecx
jl 0x56be45
mov ebp, ecx
mov esi, dword [esp + 0xb8]
jmp 0x56bebb
cmp ecx, 1
jne 0x56be86
lea eax, [0x68d8c0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044aea0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x70]
mov ebp, dword [esp + 0x5c]
mov ecx, 1
mov esi, eax
mov ebx, 1
mov eax, dword [esp + 0x48]
jmp 0x56bebb
lea eax, [0x68d8c0]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [ecx + 4]
mov dword [esp + 0x40], eax
mov dword [esp + 8], eax
call fcn.0044aea0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x70]
mov ebp, dword [esp + 0x5c]
mov ecx, ebp
mov esi, eax
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
cmp ecx, ebp
jle 0x56bec3
mov edi, ebp
jmp 0x56bec7
mov edi, ebp
mov ebp, ecx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x78], esi
cmp esi, edx
je 0x56bef6
mov dword [esp], esi
mov dword [esp + 4], edx
shl ebp, 2
mov dword [esp + 8], ebp
call fcn.00464b20
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x50]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x24], ecx
call fcn.0056dc70
mov eax, dword [esp + 0x28]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x50], edx
nop
mov byte [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov byte [esp + 0xa4], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov byte [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov byte [esp + 0x94], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x98], ebx
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x9c], ebp
mov esi, dword [esp + 0x64]
mov dword [esp + 0xa0], esi
mov byte [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov byte [esp + 0x84], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov edi, dword [esp + 0x80]
mov dword [esp + 0x88], edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x8c], edi
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x90], edi
lea edi, [esp + 0xa4]
mov dword [esp], edi
lea edi, [esp + 0x94]
mov dword [esp + 4], edi
lea edi, [esp + 0x84]
mov dword [esp + 8], edi
call fcn.00565e80
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x50]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
call fcn.00568b00
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
call fcn.0056abb0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x20], eax
call fcn.00568b00
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x78]
mov dword [esp], ebx
mov ebp, dword [esp + 0x54]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x58]
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
call fcn.005673d0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf0], edx
add esp, 0xb4
ret
inc eax
cmp ecx, eax
jbe 0x56c20c
mov ebx, dword [edx + eax*4]
test ebx, ebx
je 0x56c1dc
shl eax, 5
mov edx, ebx
neg ebx
and edx, ebx
imul edx, edx, 0x77cb531
shr edx, 0x1b
lea ebx, [0x88d000]
movzx edx, byte [ebx + edx]
add eax, edx
nop
jmp 0x56bc4b
call fcn.00464220
nop
call fcn.00462d80
jmp fcn.0056bc10