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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x565ef8
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x56614b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41e150]
call fcn.00403dd4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00404c94
lea eax, [ebp - 0x10]
call fcn.00404c94
mov byte [ebp - 0x12], 0
xor eax, eax
push ebp
push 0x566119
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov edx, esi
call fcn.0055b668
mov ebx, 1
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.0055bb50
mov eax, dword [ebp - 0x1c]
mov edx, 0x566164
call fcn.004050bc
jne 0x565fe5
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.0055bb14
mov eax, dword [ebp - 0x20]
mov edx, 0x566170
call fcn.00409af0
test eax, eax
jne 0x565fe5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov ebx, dword [eax + 0x50]
jmp 0x565fa0
inc ebx
mov eax, esi
call fcn.00404f70
cmp ebx, eax
jg 0x565fb2
cmp byte [esi + ebx - 1], 0xd
jne 0x565f9f
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov edi, dword [eax + 0x50]
mov ecx, ebx
sub ecx, edi
mov edx, edi
mov eax, esi
call fcn.004051d0
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.00409c78
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.00564a6c
add ebx, 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov edx, ebx
call fcn.0055b660
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, 0x566184
call fcn.0055a628
call fcn.005655b4
pop ecx
test al, al
je 0x5660e1
cmp dword [ebp - 8], 0
jne 0x5660e1
lea eax, [ebp - 8]
call fcn.00404c94
lea eax, [ebp - 0x10]
call fcn.00404c94
mov dl, 1
mov eax, dword [0x41e440]
call fcn.00403dd4
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x5660da
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x566194
xor edx, edx
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov ecx, 0x5661b4
mov edx, 1
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov edx, 0x5661c8
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x78]
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.0042380c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x18]
call fcn.0055a8a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, 0x5661dc
call fcn.0055a628
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 8]
call fcn.0055a550
pop edx
call fcn.0055a818
mov byte [ebp - 0x12], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5660e1
mov eax, dword [ebp - 0x18]
call fcn.00403e04
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x3c
mov edx, dword [ebp - 0x10]
call fcn.00404ce8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x38
mov edx, dword [ebp - 8]
call fcn.00404ce8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x566120
mov eax, dword [ebp - 0xc]
call fcn.00403e04
ret