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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5670be
sub esp, 0x80
mov edi, dword [esp + 0x94]
mov esi, dword [esp + 0x90]
xor ebx, ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
xor edx, edx
cmp edx, edi
jne 0x566f68
cmp esi, esi
jne 0x566f68
mov ebp, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
mov edi, esi
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x20], esi
cmp esi, 0
jne 0x566ed9
mov edx, eax
mov eax, ebp
xor ecx, ecx
mov ebp, edx
mov edx, eax
mov eax, ebp
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x80
ret
mov dword [esp + 0x68], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x6c], edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x70], eax
mov edx, eax
mov ecx, 1
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x64], eax
cmp ecx, eax
jg 0x566f31
mov eax, ecx
mov ecx, edx
cmp eax, edx
ja 0x566f2a
mov edx, ebp
mov esi, eax
mov eax, ecx
mov ecx, esi
cmp ecx, 0
jbe 0x566f23
mov dword [edx], edi
jmp 0x566ebd
call fcn.004287a0
ud2
call fcn.00428810
ud2
mov dword [esp], 0x5c3ba0
mov eax, ecx
cdq
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, ecx
add eax, 4
cdq
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call fcn.0043c1f0
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
jmp 0x566f1a
xor ebp, ebp
mov edx, esi
mov ecx, edi
cmp ecx, 0
jb 0x566f83
jbe 0x5670b0
inc ebp
mov edx, ecx
xor ecx, ecx
cmp ecx, 0
jae 0x566f73
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x54], ebx
mov edx, dword [esp + 0x8c]
xor ebx, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x58], edx
cmp ebp, edx
jg 0x56706c
mov ecx, edx
cmp ebp, edx
ja 0x567065
mov edx, dword [esp + 0x50]
mov dword [esp + 0x78], ebp
mov eax, ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
xor ecx, ecx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0x28]
cmp ecx, ebp
jge 0x56702d
mov dword [esp + 0x24], esi
mov ebx, ecx
mov ebp, dword [esp + 0x88]
cmp ecx, ebp
jae 0x56705e
mov ebp, dword [esp + 0x84]
shl ebx, 2
add ebp, ebx
mov ebx, dword [esp + 0x24]
mov dword [ebp], ebx
mov esi, edi
xor edi, edi
inc ecx
mov ebp, dword [esp + 0x28]
cmp ecx, ebp
jl 0x566ffc
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x98], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x9c], ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0xa0], ebx
add esp, 0x80
ret
call fcn.004287a0
ud2
call fcn.00428810
ud2
mov dword [esp], 0x5c3ba0
mov eax, ebp
cdq
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, ebp
add eax, 4
cdq
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call fcn.0043c1f0
mov edi, dword [esp + 0x94]
mov esi, dword [esp + 0x90]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
jmp 0x566fd2
cmp edx, 0
jbe 0x566f83
jmp 0x566f79
call fcn.00450ed0
jmp fcn.00566e30