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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x565bb0
sub esp, 0x8c
mov eax, dword [esp + 0x94]
test eax, eax
jne 0x56565f
mov eax, dword [esp + 0x9c]
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
jmp 0x56572c
nop
cmp eax, 0x14
jae 0x565b97
mov ecx, dword [0x85aed4]
mov edx, dword [0x85aed0]
cmp eax, ecx
jae 0x565b92
movzx ecx, byte [edx + eax]
mov edx, dword [esp + 0x9c]
cmp edx, ecx
je 0x5656bd
lea eax, [0x662400]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x28
lea ecx, [0x69ac1c]
mov dword [eax], ecx
xor ecx, ecx
lea edx, [0x6f6584]
mov ebx, eax
xor ebp, ebp
xor eax, eax
jmp 0x56572c
mov dword [esp + 0x48], ecx
mov ecx, dword [0x85fc60]
lea edx, [0x65a040]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0040e070
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x10]
mov edx, dword [eax]
mov eax, dword [eax + 4]
test cl, cl
je 0x5656fd
mov ecx, eax
xor ebx, ebx
mov ebp, edx
mov eax, dword [esp + 0x48]
xor edx, edx
jmp 0x56572c
lea eax, [0x662400]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x25
lea ecx, [0x699bd3]
mov dword [eax], ecx
xor ecx, ecx
lea edx, [0x6f6584]
mov ebx, eax
xor ebp, ebp
xor eax, eax
test edx, edx
jne 0x5659c2
mov dword [esp + 0x60], ebp
mov edx, dword [esp + 0x90]
mov ebx, dword [edx]
lea esi, [eax + ecx]
mov dword [esp + 0x30], esi
nop
mov edi, dword [ebx + 8]
mov ebx, dword [ebx + 4]
lea ebp, [edi - 1]
test ebp, ebp
jl 0x5657a0
mov ebx, dword [ebx + edi*4 - 4]
nop
cmp ebx, 0x10000
jb 0x56576d
shr ebx, 0x10
mov edi, 0x10
jmp 0x56576f
xor edi, edi
cmp ebx, 0x100
jb 0x56577d
shr ebx, 8
add edi, 8
cmp ebx, 0x100
jae 0x565b86
shl ebp, 5
lea esi, [0x6a151a]
movzx ebx, byte [esi + ebx]
add ebx, edi
add ebx, ebp
mov esi, dword [esp + 0x30]
jmp 0x5657a2
xor ebx, ebx
lea ebp, [eax + ecx + 0xb]
lea edi, [ebx + 7]
sar edi, 0x1f
shr edi, 0x1d
lea ebx, [edi + ebx + 7]
sar ebx, 3
cmp ebp, ebx
jg 0x5659a1
mov ebp, dword [esp + 0xa8]
cmp ebp, ebx
jne 0x565980
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ecx
mov byte [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0xac]
mov dword [esp + 0x14], eax
call fcn.004f4450
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov byte [esp + 0x7c], 0
mov byte [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp + 8], eax
call fcn.005665e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x64], eax
lea ecx, [0x659160]
mov dword [esp], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.004483a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
call fcn.004eb6d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test ecx, ecx
jbe 0x565b7f
movzx ebx, byte [eax]
cmp ecx, 1
jbe 0x565b75
movzx ebp, byte [eax + 1]
dec ebx
shr ebx, 0x1f
xor ebp, 1
xchg ebp, eax
movzx eax, al
xchg ebp, eax
dec ebp
shr ebp, 0x1f
and ebx, ebp
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x3c]
mov edi, ebp
sub ebp, esi
cmp edx, edi
jb 0x565b6e
cmp edi, ebp
jb 0x565b65
mov dword [esp + 0x68], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], ecx
mov esi, edi
sub edi, ebp
sub edx, ebp
neg edx
sar edx, 0x1f
and edx, ebp
add edx, eax
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x9c]
cmp edx, edi
je 0x56595c
xor edx, edx
jmp 0x565a2a
mov dword [esp + 0x48], ebp
mov edx, dword [esp + 0x98]
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esp + 0x38], eax
xor eax, eax
mov byte [esp + 0x27], al
mov eax, dword [esp + 0x54]
jmp 0x565a0b
mov eax, dword [0x860270]
mov ecx, dword [0x860274]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x8c
ret
mov eax, dword [0x860270]
mov ecx, dword [0x860274]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x8c
ret
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], ebx
add esp, 0x8c
ret
lea ecx, [ebp + 1]
mov eax, dword [esp + 0x5c]
movzx esi, byte [ebp + eax]
movzx ebp, byte [ebp + edx]
xor ebp, esi
movzx esi, byte [esp + 0x27]
or esi, ebp
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x38], ecx
xchg esi, eax
mov byte [esp + 0x27], al
xchg esi, eax
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x38]
cmp ebp, edi
jge 0x565a1a
jb 0x5659d7
jmp 0x565b5c
movzx edx, byte [esp + 0x27]
movzx edx, dl
dec edx
shr edx, 0x1f
mov ebp, dword [esp + 0x48]
and edx, ebx
mov ebx, dword [esp + 0x30]
sub esi, ebx
cmp esi, ebp
ja 0x565b53
sub ebp, esi
mov ebx, dword [esp + 0x44]
sub ebx, esi
neg ebx
sar ebx, 0x1f
and ebx, esi
add ebx, eax
mov edi, dword [esp + 0x2c]
cmp edi, ebp
je 0x565a57
xor ebx, ebx
jmp 0x565abc
mov dword [esp + 0x48], esi
mov edi, dword [esp + 0x60]
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x34], eax
xor eax, eax
mov byte [esp + 0x26], al
mov eax, dword [esp + 0x4c]
jmp 0x565a9d
lea eax, [esi + 1]
movzx ecx, byte [esi + ebx]
movzx esi, byte [edi + esi]
xor esi, ecx
movzx ecx, byte [esp + 0x26]
or ecx, esi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x34], eax
mov byte [esp + 0x26], cl
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x34]
cmp esi, ebp
jge 0x565aac
jb 0x565a75
jmp 0x565b4a
movzx ebx, byte [esp + 0x26]
movzx ebx, bl
dec ebx
shr ebx, 0x1f
mov esi, dword [esp + 0x48]
and ebx, edx
lea edx, [esi - 1]
cmp ecx, edx
jbe 0x565b43
movzx ebp, byte [esi + eax - 1]
dec ebp
shr ebp, 0x1f
and ebx, ebp
mov ebp, 2
jmp 0x565aef
lea esi, [ebp + 1]
movzx edi, byte [ebp + eax]
xor edi, 0xffffffff
xchg edi, eax
movzx eax, al
xchg edi, eax
dec edi
shr edi, 0x1f
and ebx, edi
mov ebp, esi
cmp ebp, edx
jge 0x565af9
cmp ebp, ecx
jb 0x565ad7
jmp 0x565b3c
cmp ebx, 1
je 0x565b1f
mov eax, dword [0x860270]
mov ecx, dword [0x860274]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x8c
ret
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
add esp, 0x8c
ret
mov eax, ebp
call fcn.0045f7d0
mov eax, edx
call fcn.0045f7d0
mov eax, esi
mov ecx, ebp
call fcn.0045f7d0
mov eax, esi
mov ecx, ebp
call fcn.0045f830
mov eax, ebp
mov ecx, edi
call fcn.0045f7d0
mov eax, ebp
mov ecx, edi
call fcn.0045f830
mov ecx, edi
call fcn.0045f810
mov eax, 1
call fcn.0045f7d0
xor eax, eax
call fcn.0045f7d0
mov eax, ebx
mov ecx, 0x100
call fcn.0045f7e0
call fcn.0045f7e0
lea eax, [0x658f60]
mov dword [esp], eax
lea eax, [0x6f5e64]
mov dword [esp + 4], eax
call fcn.00434250
nop
call fcn.0045e340
jmp fcn.00565620