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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov dword [eax + 0x78], 0
mov dword [eax + 0x7c], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], 1
mov dword [ecx + 0x34], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x38], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x3c], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x40], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x44], 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x70], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x88], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x90], 0xffffffff
mov dword [edx + 0x94], 0xffffffff
mov eax, dword [ebp + 8]
mov dword [eax + 0x68], 0
mov dword [eax + 0x6c], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x4c], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x50], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x60], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x64], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x80], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x84], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x20
jbe 0x565904
mov dword [ebp - 8], 0x20
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ecx + 0x54], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x58], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx]
cmp eax, dword [edx + 0x20]
je 0x56599e
mov dword [ebp - 4], 0
jmp 0x565936
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x20
jae 0x565966
mov edx, dword [ebp - 4]
imul edx, edx, 0x28
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0xc8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp dword [edx + 8], 0
je 0x565964
mov eax, dword [ebp - 0xc]
push eax
call fcn.0056526b
add esp, 4
jmp 0x56592d
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x5c], 0
je 0x565993
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x5c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
call dword [ecx + 4]
add esp, 8
mov edx, dword [ebp + 8]
mov dword [edx + 0x5c], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [eax + 0x20], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x98
push edx
call fcn.005650e0
add esp, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x24], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x28], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x58]
imul eax, eax, 0x28
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0xc8]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x58]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x58], ecx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00565ada
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x565a63
mov ecx, dword [ebp - 0x14]
add ecx, 0x20
push ecx
call fcn.00518d06
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x565a63
mov edx, dword [ebp - 0x14]
add edx, 0x1c
push edx
call fcn.00518d06
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x565a63
mov eax, dword [ebp - 0x14]
push eax
call fcn.00565b54
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x565a63
mov edx, dword [ebp + 8]
mov dword [edx + 0x44], 0
mov eax, dword [ebp + 8]
push eax
call fcn.00565b19
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x565a83
mov ecx, dword [ebp - 0x18]
and ecx, 0xffff
or ecx, 0x70000
or ecx, 0x80000000
mov dword [ebp - 0x20], ecx
jmp 0x565a8a
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
je 0x565a9f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x40], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x38], 0
jne 0x565aba
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 0
jne 0x565aba
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3c], 0
je 0x565abc
jmp 0x565ac6
mov edx, dword [ebp + 8]
mov dword [edx + 0x44], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 0
je 0x565ad3
xor eax, eax
jmp 0x565ad6
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret