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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x56f53c
sub esp, 0x7c
mov eax, dword [esp + 0x84]
test eax, eax
jne 0x56f3f6
mov eax, dword [esp + 0x8c]
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
test edx, edx
jne 0x56f3e4
mov dword [esp + 0x50], ebx
mov dword [esp + 0x2c], esi
mov edx, dword [esp + 0x80]
mov edi, dword [edx]
mov ecx, esi
lea esi, [eax + ebp]
mov dword [esp + 0x24], esi
nop
mov ebx, dword [edi + 8]
mov edi, dword [edi + 4]
lea esi, [ebx - 1]
test esi, esi
jl 0x56f3dd
mov ebx, dword [edi + ebx*4 - 4]
nop
cmp ebx, 0x10000
jb 0x56f3d6
shr ebx, 0x10
mov edi, 0x10
cmp ebx, 0x100
jb 0x56f034
shr ebx, 8
add edi, 8
cmp ebx, 0x100
jae 0x56f512
shl esi, 5
lea ecx, [0xe19cc0]
movzx ecx, byte [ebx + ecx]
add ecx, edi
add ecx, esi
lea ebx, [eax + ebp + 0xb]
lea esi, [ecx + 7]
sar esi, 0x1f
shr esi, 0x1d
lea ecx, [esi + ecx + 7]
sar ecx, 3
cmp ecx, ebx
jl 0x56f3b8
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x28], ebp
mov byte [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 0x94]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x14], eax
call fcn.0055d2d0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov byte [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
lea eax, [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
lea eax, [esp + 0x6c]
mov dword [esp + 8], eax
call fcn.00571c70
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
nop
mov ecx, dword [eax + 8]
lea edx, [0x92cb00]
mov dword [esp], edx
shl ecx, 2
mov dword [esp + 0x44], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00440170
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx + 4]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
call fcn.0055d220
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
ja 0x56f50d
nop
sub ecx, eax
mov dword [esp + 0x38], ecx
mov edx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
mov ecx, dword [esp + 0x58]
add eax, ecx
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x40]
cmp edx, ecx
jle 0x56f3af
mov ebx, ecx
mov dword [esp + 0x34], ecx
lea eax, [0x92cb00]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
call fcn.00440170
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
mov ebx, ecx
sub ecx, edx
cmp ecx, ebx
ja 0x56f504
mov edx, ebx
sub ebx, ecx
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ecx, ebx
lea ebx, [ecx + eax]
mov esi, dword [esp + 0x38]
cmp ebp, esi
jle 0x56f3a8
mov dword [esp + 0x58], eax
mov ebp, dword [esp + 0x54]
cmp ebx, ebp
je 0x56f228
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call fcn.00457480
mov ecx, dword [esp + 0x40]
test ecx, ecx
jbe 0x56f4fd
mov edx, dword [esp + 0x58]
movzx ebx, byte [edx]
cmp ecx, 1
jbe 0x56f4f3
movzx ebp, byte [edx + 1]
dec ebx
shr ebx, 0x1f
xor ebp, 1
xchg ebp, eax
movzx eax, al
xchg ebp, eax
dec ebp
shr ebp, 0x1f
and ebx, ebp
mov ebp, dword [esp + 0x3c]
mov eax, ecx
sub eax, ebp
cmp eax, ecx
ja 0x56f4ee
mov dword [esp + 0x30], ebx
mov dword [esp + 0x48], eax
sub ecx, eax
mov ebp, ecx
neg ecx
sar ecx, 0x1f
and ecx, eax
add ecx, edx
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebp
mov ecx, dword [esp + 0x88]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x14], ecx
call fcn.005353b0
mov eax, dword [esp + 0x30]
and eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x24]
mov ebx, ecx
sub ecx, edx
mov edx, dword [esp + 0x48]
cmp ecx, edx
ja 0x56f4e5
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], ecx
sub ebx, ecx
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, ecx
mov esi, dword [esp + 0x58]
add ebx, esi
mov dword [esp], ebx
sub edx, ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov edx, dword [esp + 0x50]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], edx
call fcn.005353b0
mov eax, dword [esp + 0x30]
and eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x48]
lea edx, [ecx - 1]
mov ebx, dword [esp + 0x40]
cmp edx, ebx
jae 0x56f4dc
mov ebp, dword [esp + 0x58]
movzx esi, byte [ecx + ebp - 1]
dec esi
shr esi, 0x1f
and esi, eax
mov eax, 2
jmp 0x56f35e
lea edi, [eax + 1]
mov ecx, edi
movzx edi, byte [ebp + eax]
xor edi, 0xffffffff
xchg edi, eax
movzx eax, al
xchg edi, eax
dec edi
shr edi, 0x1f
and esi, edi
mov eax, ecx
cmp eax, edx
jge 0x56f36b
cmp eax, ebx
jb 0x56f344
jmp 0x56f4d5
cmp esi, 1
je 0x56f38e
mov eax, dword [0xe7a684]
mov ecx, dword [0xe7a680]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x7c
ret
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
add esp, 0x7c
ret
mov esi, ebp
jmp 0x56f20c
mov ebx, ecx
mov ecx, edx
jmp 0x56f1be
mov eax, dword [0xe7a684]
mov ecx, dword [0xe7a680]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x7c
ret
xor edi, edi
jmp 0x56f026
xor ecx, ecx
jmp 0x56f051
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], ecx
add esp, 0x7c
ret
nop
cmp eax, 0x14
jae 0x56f523
mov ecx, dword [0xe714ac]
mov edx, dword [0xe714a8]
cmp eax, ecx
jae 0x56f51e
movzx ecx, byte [edx + eax]
mov edx, dword [esp + 0x8c]
cmp ecx, edx
je 0x56f458
nop
lea eax, [0x94a0a0]
mov dword [esp], eax
call fcn.0040af00
mov ecx, dword [esp + 4]
mov dword [ecx + 4], 0x28
lea eax, [0x9e8dcb]
mov dword [ecx], eax
xor eax, eax
lea edx, [0xaa4cf0]
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x56efd9
mov dword [esp + 0x48], ecx
lea ecx, [0x930dc0]
mov dword [esp], ecx
mov ecx, dword [0xe79718]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0040e320
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x10]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
test cl, cl
je 0x56f4a0
xor ecx, ecx
mov ebp, ebx
mov esi, edx
xor edx, edx
mov ebx, eax
mov eax, dword [esp + 0x48]
jmp 0x56efd9
nop
lea eax, [0x94a0a0]
mov dword [esp], eax
call fcn.0040af00
mov ecx, dword [esp + 4]
mov dword [ecx + 4], 0x25
lea eax, [0x9e6e41]
mov dword [ecx], eax
xor eax, eax
lea edx, [0xaa4cf0]
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x56efd9
mov ecx, ebx
call fcn.00456b30
mov eax, edx
mov ecx, ebx
call fcn.00456b30
mov eax, ecx
mov ecx, edx
call fcn.00456b90
call fcn.00456b90
mov eax, 1
call fcn.00456b30
xor eax, eax
call fcn.00456b30
mov eax, ecx
mov ecx, ebx
call fcn.00456b90
call fcn.00456b90
mov eax, ebx
mov ecx, 0x100
call fcn.00456b40
call fcn.00456b40
lea eax, [0x92c840]
mov dword [esp], eax
lea eax, [0xa9b2e8]
mov dword [esp + 4], eax
call fcn.0042cc50
nop
call fcn.00455270
jmp fcn.0056efa0