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

Disassembly:
push 0xffffffffffffffff
push 0x6f4948
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebp
mov ebp, ecx
mov ecx, dword [0x77fd08]
mov eax, dword [ebp + 0xd4]
cmp eax, dword [ecx + 0x28]
mov dword [esp + 0x10], ebp
jne 0x565d03
push ebx
xor ebx, ebx
push esi
push edi
mov byte [esp + 0x14], bl
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
lea edx, [esp + 0x24]
push edx
mov ecx, ebp
mov dword [esp + 0x98], ebx
call fcn.00565230
mov esi, dword [esp + 0x28]
cmp esi, ebx
je 0x565cdd
mov edi, dword [esp + 0x2c]
sub edi, esi
sar edi, 2
cmp edi, ebx
je 0x565cdd
mov eax, dword [ebp + 0xd0]
cmp eax, dword [ebp + 0xd4]
jne 0x565a21
mov byte [esp + 0x14], 1
jmp 0x565cdd
xor ebp, ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x94], 1
xor esi, esi
lea esp, [esp]
cmp esi, edi
jae 0x565a71
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + esi*4]
mov eax, dword [edx + 4]
push eax
lea ecx, [esp + 0x17]
push ecx
call fcn.0056cba0
add esp, 8
lea edx, [esp + 0x13]
push edx
lea ecx, [esp + 0x38]
call fcn.00564ae0
mov ebp, dword [esp + 0x38]
inc esi
jmp 0x565a40
lea ecx, [esp + 0x54]
call fcn.0050a9c0
mov dword [esp + 0x58], eax
mov byte [eax + 0x15], 1
mov eax, dword [esp + 0x58]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x58]
mov dword [eax], eax
mov eax, dword [esp + 0x58]
mov dword [eax + 8], eax
mov eax, 1
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov byte [esp + 0x68], bl
mov byte [esp + 0x69], bl
mov byte [esp + 0x6a], bl
mov byte [esp + 0x6b], bl
mov byte [esp + 0x6c], bl
cmp ebp, ebx
mov byte [esp + 0x94], 2
jne 0x565acd
mov dword [esp + 0x18], ebx
jmp 0x565ad7
mov eax, dword [esp + 0x3c]
sub eax, ebp
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 4]
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push ebp
push eax
call fcn.00561210
add esp, 0x10
test al, al
je 0x565c92
mov edi, dword [esi + 8]
cmp edi, ebx
je 0x565d19
mov ecx, dword [edi + 0x10]
cmp ecx, ebx
je 0x565b20
mov eax, dword [edi + 0x14]
sub eax, ecx
sar eax, 2
cmp eax, ebx
jne 0x565b48
lea ecx, [esp + 0x54]
mov byte [esp + 0x94], 1
call fcn.00565010
lea ecx, [esp + 0x34]
call fcn.00494530
lea ecx, [esp + 0x24]
call fcn.00494530
jmp 0x565d00
xor ebp, ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov byte [esp + 0x94], 3
xor esi, esi
mov ecx, dword [edi + 0x10]
cmp ecx, ebx
je 0x565b9c
mov eax, dword [edi + 0x14]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x565b9c
mov ecx, dword [ecx + esi*4]
mov edx, dword [ecx + 4]
push edx
lea eax, [esp + 0x17]
push eax
call fcn.0056cba0
add esp, 8
lea ecx, [esp + 0x13]
push ecx
lea ecx, [esp + 0x48]
call fcn.00564ae0
mov ebp, dword [esp + 0x48]
inc esi
jmp 0x565b60
lea ecx, [esp + 0x70]
call fcn.0050a9c0
mov dword [esp + 0x74], eax
mov byte [eax + 0x15], 1
mov eax, dword [esp + 0x74]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x74]
mov dword [eax], eax
mov eax, dword [esp + 0x74]
mov dword [eax + 8], eax
mov eax, 1
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov byte [esp + 0x84], bl
mov byte [esp + 0x85], bl
mov byte [esp + 0x86], bl
mov byte [esp + 0x87], bl
mov byte [esp + 0x88], bl
cmp ebp, ebx
mov byte [esp + 0x94], 4
jne 0x565c0a
mov dword [esp + 0x18], ebx
jmp 0x565c14
mov eax, dword [esp + 0x4c]
sub eax, ebp
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push ebp
push eax
call fcn.00561210
add esp, 0x10
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x58]
call fcn.0055fc10
test al, al
je 0x565c4e
mov byte [esp + 0x14], 1
mov eax, dword [esp + 0x74]
mov ecx, dword [eax]
push eax
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa0], 3
call fcn.00560c60
mov eax, dword [esp + 0x74]
push eax
call fcn.0065d0d4
add esp, 4
cmp ebp, ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
je 0x565c8e
push ebp
call fcn.0065d0d4
add esp, 4
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x60]
mov byte [esp + 0xa0], 1
call fcn.00560c60
mov edx, dword [esp + 0x58]
push edx
call fcn.0065d0d4
add esp, 4
cmp ebp, ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x94], bl
je 0x565cd9
push ebp
call fcn.0065d0d4
add esp, 4
mov esi, dword [esp + 0x28]
mov eax, dword [0x77fd08]
mov ecx, dword [eax + 8]
cmp ecx, ebx
je 0x565cf3
mov edx, dword [esp + 0x14]
push edx
call fcn.00566a70
cmp esi, ebx
je 0x565d00
push esi
call fcn.0065d0d4
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
pop ebp
mov dword fs:[0], ecx
add esp, 0x88
ret
mov byte [esp + 0x14], 1
jmp 0x565c92