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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x567319
add esp, 0xffffff80
lea edi, [esp + 0x90]
xor eax, eax
call fcn.00465fea
lea edi, [esp + 0x68]
call fcn.00465fea
mov ecx, dword [esp + 0x88]
cmp ecx, 0xc
jl 0x56700a
mov edx, dword [esp + 0x84]
movzx ebx, byte [edx + 1]
movzx ebp, byte [edx]
shl ebp, 8
or ebx, ebp
mov word [esp + 0x68], bx
lea ebx, [ecx - 2]
cmp ebx, 9
jbe 0x56730c
movzx ebx, byte [edx + 3]
movzx ebp, byte [edx + 2]
shl ebp, 8
or ebx, ebp
mov word [esp + 0x6a], bx
lea ebx, [ecx - 4]
cmp ebx, 1
jbe 0x567300
movzx ebx, byte [edx + 5]
movzx ebp, byte [edx + 4]
shl ebp, 8
or ebx, ebp
mov word [esp + 0x6c], bx
lea ebp, [ecx - 6]
cmp ebp, 1
jbe 0x5672f4
movzx ebp, byte [edx + 7]
mov eax, ebx
movzx ebx, byte [edx + 6]
shl ebx, 8
or ebp, ebx
mov word [esp + 0x6e], bp
lea ebx, [ecx - 8]
cmp ebx, 1
jbe 0x5672e8
movzx ebx, byte [edx + 9]
movzx ebp, byte [edx + 8]
shl ebp, 8
or ebx, ebp
mov word [esp + 0x70], bx
lea ebx, [ecx - 0xa]
cmp ebx, 1
jbe 0x5672dc
movzx ebx, byte [edx + 0xb]
movzx ebp, byte [edx + 0xa]
shl ebp, 8
or ebx, ebp
mov word [esp + 0x72], bx
movzx ebx, ax
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 0x8c]
xor eax, eax
mov esi, 0xc
jmp 0x5670c8
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp], ecx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
lea eax, [0x7053c7]
mov dword [esp], eax
mov dword [esp + 4], 0x38
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x5c], ecx
lea edi, [esp + 0x90]
lea esi, [esp + 0x68]
call fcn.004664c4
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xb0], eax
sub esp, 0xffffff80
ret
mov eax, dword [esp + 0x40]
inc eax
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x84]
mov ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0x88]
mov ecx, esi
mov esi, edx
mov edx, dword [esp + 0x84]
cmp eax, ebx
jge 0x5672a2
cmp ecx, esi
jb 0x5672d5
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], esi
mov eax, ebp
sub ebp, esi
mov ebx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, esi
add ebp, edx
mov dword [esp], ebp
mov ebp, ecx
sub ecx, esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], eax
call fcn.0056a6f0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x58], edx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x50], ebx
mov ebp, dword [esp + 0x1c]
movzx esi, word [esp + 0x18]
movzx edi, word [esp + 0x1a]
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
test ecx, ecx
jne 0x56720c
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], edx
mov ecx, ebp
mov ebp, dword [esp + 0x78]
inc ebp
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x7c]
cmp ebx, ebp
jae 0x5671be
mov dword [esp + 0x54], ecx
mov word [esp + 0x36], di
mov word [esp + 0x34], si
mov dword [esp + 0x38], eax
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x6c8300]
mov dword [esp + 0x10], eax
call fcn.0044be60
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x74], edx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x54]
movzx esi, word [esp + 0x34]
movzx edi, word [esp + 0x36]
mov dword [esp + 0x78], ebp
lea ebx, [ebp - 1]
shl ebx, 4
mov word [edx + ebx], si
mov word [edx + ebx + 2], di
mov ebp, dword [esp + 0x4c]
mov dword [edx + ebx + 8], ebp
mov ebp, dword [esp + 0x48]
mov dword [edx + ebx + 0xc], ebp
mov ebp, dword [0x1eaa9f0]
lea edi, [edx + ebx + 4]
mov esi, edx
mov edx, dword [esp + 0x3c]
add edx, eax
test ebp, ebp
jne 0x567200
mov dword [esi + ebx + 4], ecx
jmp 0x56709f
mov eax, ecx
call fcn.00465d80
jmp 0x56709f
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov eax, dword [esp + 0x58]
test eax, eax
je 0x567229
mov edx, dword [eax + 4]
jmp 0x56722b
mov edx, eax
mov dword [esp + 0x60], edx
mov eax, dword [esp + 0x50]
mov dword [esp + 0x64], eax
lea eax, [0x6f9d4c]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x5c], ecx
lea edi, [esp + 0x90]
lea esi, [esp + 0x68]
call fcn.004664c4
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xb0], eax
sub esp, 0xffffff80
ret
lea edi, [esp + 0x90]
mov eax, esi
lea esi, [esp + 0x68]
call fcn.004664c4
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
sub esp, 0xffffff80
ret
mov eax, esi
call fcn.00465e60
mov eax, 1
mov ecx, ebx
call fcn.00465e00
mov eax, 1
mov ecx, ebx
call fcn.00465e00
mov eax, 1
mov ecx, ebp
call fcn.00465e00
mov eax, 1
mov ecx, ebx
call fcn.00465e00
mov eax, 9
mov ecx, ebx
call fcn.00465e00
nop
call fcn.004649b0
jmp fcn.00566f00