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

Disassembly:
push 0xffffffffffffffff
push 0x6f49a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
mov esi, dword [esp + 0x6c]
mov al, byte [esi + 0xf]
xor ebx, ebx
cmp al, bl
mov ebp, ecx
push edi
mov dword [esp + 0x10], ebp
jbe 0x565e9e
mov eax, dword [esi + 0xb]
mov dword [ebp + 0xd0], eax
mov dword [ebp + 0x118], ebx
mov eax, dword [0x77fd08]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax + 0x14]
mov edi, dword [esi + 0xb]
mov dword [esp + 0x14], eax
mov eax, dword [edx]
cmp eax, edx
je 0x565ecb
mov ecx, dword [eax + 8]
cmp ecx, ebx
je 0x565ec5
cmp dword [ecx], edi
je 0x56603f
mov eax, dword [eax]
cmp eax, edx
jne 0x565eb6
xor cl, cl
xor edi, edi
cmp cl, bl
mov byte [esp + 0x70], cl
je 0x565ef0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x70]
xor edx, edx
mov dl, byte [ecx + 0x1f]
push edx
push eax
call fcn.0056cb60
add esp, 8
mov edi, eax
cmp edi, ebx
movzx eax, byte [esi + 0xf]
mov dword [ebp + 0x120], edi
mov dword [ebp + 0x124], eax
je 0x566383
push edi
mov ecx, ebp
call fcn.00565040
mov ebp, eax
cmp ebp, ebx
je 0x565f35
movzx ecx, byte [esi + 0xf]
mov eax, dword [ebp + 8]
sub eax, ecx
mov dword [ebp + 8], eax
cmp byte [esi + 0xf], bl
jbe 0x565f2e
mov edx, dword [esp + 0x10]
mov dword [edx + 8], ebp
mov ecx, ebp
call fcn.0056d4e0
cmp edi, 2
jne 0x56616b
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xc]
call fcn.0056d4e0
mov al, byte [esi + 0xf]
xor edi, edi
cmp al, bl
jbe 0x565f8d
push ecx
mov cl, byte [esi + edi + 0x10]
mov eax, esp
mov dword [esp + 0x74], esp
mov byte [eax], cl
call fcn.0056cc30
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0xc]
add esp, 4
mov ebp, eax
push ebp
call fcn.0056da80
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xc]
push ebp
call fcn.0056d550
movzx ecx, byte [esi + 0xf]
inc edi
cmp edi, ecx
jl 0x565f53
mov edx, dword [esp + 0x10]
mov esi, dword [edx + 0xc]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
add esi, 0xc
mov byte [esp + 0x70], bl
mov edx, dword [esp + 0x70]
push edx
mov edx, eax
sub edx, ecx
sar edx, 2
push edx
push eax
push ecx
call fcn.005644d0
xor edi, edi
xor ebp, ebp
add esp, 0x10
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebx
xor edx, edx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x14], edx
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x566070
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp edx, eax
jae 0x566070
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax + 4]
push ecx
lea edx, [esp + 0x74]
push edx
call fcn.0056cba0
add esp, 8
cmp edi, ebx
je 0x566047
mov ecx, dword [esp + 0x24]
mov eax, ebp
sub eax, edi
sub ecx, edi
cmp eax, ecx
jae 0x566047
mov eax, dword [esp + 0x70]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x78]
push edx
push 1
push ebp
call fcn.00562cf0
mov eax, dword [esp + 0x28]
add esp, 0x14
inc ebp
inc eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x14], eax
mov edx, eax
jmp 0x565fd2
mov cl, byte [ecx + 0x2d]
jmp 0x565ecd
lea eax, [esp + 0x70]
push eax
push 1
push ebp
lea ecx, [esp + 0x24]
call fcn.005647a0
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x14], eax
mov edx, eax
jmp 0x565fd2
lea ecx, [esp + 0x28]
call fcn.0050a9c0
mov dword [esp + 0x2c], eax
mov byte [eax + 0x15], 1
mov eax, dword [esp + 0x2c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [eax], eax
mov eax, dword [esp + 0x2c]
mov dword [eax + 8], eax
mov eax, 1
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], bl
mov byte [esp + 0x3f], bl
mov byte [esp + 0x40], bl
cmp edi, ebx
mov byte [esp + 0x68], al
jne 0x5660c8
mov dword [esp + 0x70], ebx
jmp 0x5660ce
sub ebp, edi
mov dword [esp + 0x70], ebp
mov ebp, dword [esp + 0x10]
mov ecx, dword [ebp + 4]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x1c]
push edi
push ecx
call fcn.00561210
add esp, 0x10
test al, al
je 0x56612e
cmp byte [esp + 0x3d], bl
je 0x56611c
push 0x16387
lea esi, [ebp + 0x140]
call fcn.0040f6e0
add esp, 4
push ebx
mov ecx, esi
mov byte [esi + 0x35], bl
call fcn.005b01b0
mov byte [esi + 0x34], bl
cmp byte [esp + 0x3e], bl
jne 0x566128
cmp byte [esp + 0x3d], bl
je 0x56612e
inc dword [ebp + 0x80]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
push eax
push ecx
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0x34]
mov byte [esp + 0x74], bl
call fcn.00560c60
mov eax, dword [esp + 0x2c]
push eax
call fcn.0065d0d4
add esp, 4
cmp edi, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x566383
push edi
jmp 0x56637b
cmp ebp, ebx
je 0x566383
mov ecx, ebp
call fcn.0056d4e0
mov al, byte [esi + 0xf]
xor edi, edi
cmp al, bl
jbe 0x5661a9
push ecx
mov cl, byte [esi + edi + 0x10]
mov eax, esp
mov dword [esp + 0x74], esp
mov byte [eax], cl
call fcn.0056cc30
add esp, 4
push eax
mov ecx, ebp
call fcn.0056da80
movzx edx, byte [esi + 0xf]
inc edi
cmp edi, edx
jl 0x566183
xor esi, esi
xor edi, edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
xor edx, edx
mov dword [esp + 0x68], 2
mov dword [esp + 0x14], edx
jmp 0x5661d0
mov ecx, dword [ebp + 0x10]
cmp ecx, ebx
je 0x566262
mov eax, dword [ebp + 0x14]
sub eax, ecx
sar eax, 2
cmp edx, eax
jae 0x566262
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax + 4]
push ecx
lea edx, [esp + 0x74]
push edx
call fcn.0056cba0
add esp, 8
cmp esi, ebx
je 0x566239
mov ecx, dword [esp + 0x24]
mov eax, edi
sub eax, esi
sub ecx, esi
cmp eax, ecx
jae 0x566239
mov eax, dword [esp + 0x70]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x78]
push edx
push 1
push edi
call fcn.00562cf0
mov eax, dword [esp + 0x28]
add esp, 0x14
inc edi
inc eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], eax
mov edx, eax
jmp 0x5661d0
lea eax, [esp + 0x70]
push eax
push 1
push edi
lea ecx, [esp + 0x24]
call fcn.005647a0
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x14], eax
mov edx, eax
jmp 0x5661d0
lea ecx, [esp + 0x44]
call fcn.0050a9c0
mov dword [esp + 0x48], eax
mov byte [eax + 0x15], 1
mov eax, dword [esp + 0x48]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x48]
mov dword [eax], eax
mov eax, dword [esp + 0x48]
mov dword [eax + 8], eax
mov eax, 1
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov byte [esp + 0x58], bl
mov byte [esp + 0x59], bl
mov byte [esp + 0x5a], bl
mov byte [esp + 0x5b], bl
mov byte [esp + 0x5c], bl
cmp esi, ebx
mov byte [esp + 0x68], 3
jne 0x5662bb
mov dword [esp + 0x70], ebx
jmp 0x5662c1
sub edi, esi
mov dword [esp + 0x70], edi
mov edi, dword [esp + 0x10]
mov ecx, dword [edi + 4]
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x1c]
push esi
push ecx
call fcn.00561210
add esp, 0x10
test al, al
je 0x566325
cmp byte [esp + 0x59], bl
je 0x566313
push 0x16387
add edi, 0x140
call fcn.0040f6e0
add esp, 4
push ebx
mov ecx, edi
mov byte [edi + 0x35], bl
call fcn.005b01b0
mov byte [edi + 0x34], bl
mov edi, dword [esp + 0x10]
cmp byte [esp + 0x5a], bl
jne 0x56631f
cmp byte [esp + 0x59], bl
je 0x566325
inc dword [edi + 0x80]
mov eax, dword [ebp + 0x14]
mov ebp, dword [ebp + 0x10]
mov ecx, eax
mov byte [esp + 0x70], bl
mov edx, dword [esp + 0x70]
push edx
sub ecx, ebp
sar ecx, 2
push ecx
push eax
push ebp
call fcn.005644d0
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
add esp, 0x10
push eax
push ecx
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0x50]
mov byte [esp + 0x74], 2
call fcn.00560c60
mov eax, dword [esp + 0x48]
push eax
call fcn.0065d0d4
add esp, 4
cmp esi, ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
je 0x566383
push esi
call fcn.0065d0d4
add esp, 4
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x5c
ret 4