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

Disassembly:
sub esp, 0x50
mov eax, dword [0x616930]
xor eax, esp
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x54]
push ebx
mov ebx, dword [esp + 0x64]
add eax, 0xffffebc0
mov dword [esp + 0xc], ebx
push edi
mov edi, dword [esp + 0x60]
cmp eax, 0x60
ja case.default.0x567ca7
movzx eax, byte [eax + 0x567ffc]
push ebp
push esi
jmp dword [eax*4 + 0x567fe8]
cmp dword [esp + 0x6c], 0
jne 0x567d92
lea eax, [esp + 0x1c]
push eax
push 0xe
push edi
call fcn.00564490
add esp, 0xc
lea esi, [esp + 0x34]
mov ebp, 7
mov ecx, dword [esi]
xor edx, edx
mov edi, dword [esi + 0x1c]
mov eax, ecx
sub eax, edi
mov dword [esi + 0x1c], edx
xor ebx, ebx
mov dword [esi], eax
cmp eax, ecx
jbe 0x567d03
mov ebx, 1
mov eax, ebx
nop
dec dword [esi + eax*4]
cmp dword [esi + eax*4], 0xffffffff
jne 0x567d01
inc eax
cmp eax, 7
jb 0x567cf0
jmp 0x567d03
xor ebx, ebx
add dword [esi + 0xc], edi
cmp dword [esi + 0xc], edi
jae 0x567d24
mov edx, 1
mov eax, 4
add dword [esi + eax*4], edx
jne 0x567d22
inc eax
cmp eax, 7
jb 0x567d15
jmp 0x567d24
xor edx, edx
cmp edx, ebx
je 0x567d3a
push esi
push 7
push dword [0x432770]
push esi
call fcn.00565410
add esp, 0x10
sub esi, 4
sub ebp, 1
jne 0x567cd2
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push esi
push 7
push eax
call fcn.00564490
push 7
push dword [0x432770]
push esi
call fcn.00564440
add esp, 0x18
cmp eax, 0xffffffff
je case.0x567ca7.5188
push esi
push 7
push dword [0x432770]
push esi
call fcn.00565410
add esp, 0x10
pop esi
pop ebp
pop edi
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.005bca10
add esp, 0x50
ret
push ebx
push 7
push dword [0x432770]
push edi
call fcn.00565360
lea eax, [esp + 0x2c]
push eax
push 7
push 0
call fcn.00565340
mov eax, dword [edi + 0x1c]
lea esi, [edi + 0x1c]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x20]
push ebx
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0x24]
push 7
push dword [0x432770]
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x44]
push ebx
push eax
call fcn.00564770
lea eax, [esp + 0x4c]
push eax
push 7
push 0
call fcn.00565340
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x64], eax
mov eax, dword [edi + 0x30]
push ebx
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0x34]
push 7
push dword [0x432770]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x64]
push eax
push ebx
call fcn.00564770
add esp, 0x50
push ebx
push 7
push dword [0x432770]
push esi
push ebx
call fcn.005647a0
lea eax, [esp + 0x30]
push eax
push 7
push 0
call fcn.00565340
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x30]
push ebx
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x34]
push 7
push dword [0x432770]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x48]
push eax
push ebx
call fcn.005647a0
add esp, 0x34
pop esi
pop ebp
pop edi
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.005bca10
add esp, 0x50
ret
cmp dword [esp + 0x6c], 0
jne 0x567fab
lea eax, [esp + 0x1c]
push eax
push 0x10
push edi
call fcn.00564490
add esp, 0xc
mov dword [esp + 0x14], 8
lea esi, [esp + 0x54]
mov edi, dword [esi + 4]
lea edx, [esi - 0x1c]
add dword [edx], edi
xor ebx, ebx
mov dword [esp + 0x10], 0
mov dword [esi + 4], ebx
cmp dword [edx], edi
jae 0x567ed8
mov dword [esp + 0x10], 1
mov eax, 1
add dword [edx + eax*4], 1
jne 0x567ed4
inc eax
cmp eax, 8
jb 0x567ec6
jmp 0x567ed8
mov dword [esp + 0x10], ebx
mov ecx, dword [esi - 0x10]
mov eax, ecx
sub eax, edi
mov dword [esi - 0x10], eax
cmp eax, ecx
jbe 0x567f03
mov ebx, 1
mov eax, 4
dec dword [edx + eax*4]
cmp dword [edx + eax*4], 0xffffffff
jne 0x567f01
inc eax
cmp eax, 8
jb 0x567ef0
jmp 0x567f03
xor ebx, ebx
mov ecx, dword [esi - 4]
mov eax, ecx
mov ebp, dword [esi]
sub eax, edi
mov dword [esi - 4], eax
cmp eax, ecx
jbe 0x567f22
lea eax, [ebx + 1]
test ebp, ebp
lea ecx, [ebp - 1]
cmovne eax, ebx
mov ebx, eax
jmp 0x567f24
mov ecx, ebp
mov ebp, dword [esp + 0x10]
lea eax, [ecx + edi]
cmp eax, edi
mov dword [esi], eax
lea ecx, [ebp + 1]
cmovae ecx, ebp
cmp ecx, ebx
je 0x567f4b
push edx
push 8
push dword [0x4327a8]
push edx
call fcn.00565410
add esp, 0x10
mov eax, dword [esp + 0x14]
sub esi, 4
dec eax
mov dword [esp + 0x14], eax
test eax, eax
jne 0x567ea0
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push esi
push 8
push eax
call fcn.00564490
push 8
push dword [0x4327a8]
push esi
call fcn.00564440
add esp, 0x18
cmp eax, 0xffffffff
je case.0x567ca7.5188
push esi
push 8
push dword [0x4327a8]
push esi
call fcn.00565410
add esp, 0x10
pop esi
pop ebp
pop edi
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.005bca10
add esp, 0x50
ret
push ebx
push edi
call fcn.00568060
jmp 0x567fd2
cmp dword [esp + 0x6c], 0
push ebx
push edi
jne 0x567fc4
call fcn.00568630
jmp 0x567fd2
call fcn.00568330
jmp 0x567fd2
push ebx
push edi
call fcn.00568780
add esp, 8
pop esi
pop ebp
mov ecx, dword [esp + 0x54]
pop edi
pop ebx
xor ecx, esp
call fcn.005bca10
add esp, 0x50
ret