Function at 0x5b61e0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x180
mov eax, dword [0x79b5e0]
xor eax, esp
mov dword [esp + 0x17c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x60], eax
push esi
mov esi, ecx
mov dword [esp + 0x24], edx
push edi
mov dword [esp + 0x24], esi
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x18], eax
lea eax, [esi + 0x2c]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x4c], edx
mov edx, 1
lea edi, [ecx + eax]
mov dword [esp + 0x6c], edi
mov edi, dword [esp + 0x28]
mov ecx, edi
sub ecx, eax
mov eax, edx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0xb8]
shl eax, cl
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
sub eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
jbe 0x5b628d
mov eax, dword [esp + 0x3c]
sub eax, ecx
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x20]
jmp 0x5b6292
mov eax, dword [esi + 0x10]
mov ecx, eax
cmp dword [esi + 0x18], 0
mov dword [esp + 0x30], 3
cmovne ecx, eax
mov dword [esp + 0x5c], 0x3f
mov eax, dword [esi + 0xc4]
mov dword [esp + 0x20], ecx
mov ecx, 6
cmp eax, ecx
cmovb ecx, eax
mov eax, dword [esi + 0x50]
shl edx, cl
cmp dword [esi + 0xdc], 0
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x54]
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], edx
jne 0x5b658b
mov edx, dword [esp + 0x38]
mov eax, edi
mov ecx, dword [esi + 0x1c]
sub eax, edx
mov dword [esp + 0x48], eax
sub eax, ecx
mov dword [esp + 0xc], ecx
cmp eax, 0x180
jbe 0x5b6469
lea eax, [ecx + 0x60]
mov dword [esp + 0x40], eax
cmp ecx, eax
jae 0x5b63c3
mov eax, dword [esp + 0x1c]
mov esi, 0x40
mov edi, dword [esp + 0x24]
add eax, 8
sub esi, eax
mov dword [esp + 0x70], esi
jmp 0x5b6330
push 0xcf1bbcdc
push 0xbb000000
push dword [ecx + edx + 0xc]
push dword [ecx + edx + 8]
call fcn.00620b50
xor eax, dword [edi + 0x50]
mov ecx, esi
xor edx, dword [edi + 0x54]
call fcn.00622f20
mov ecx, eax
mov eax, dword [esp + 0xc]
and eax, 7
mov edx, dword [edi + eax*4 + 0x2c]
mov esi, edx
mov dword [edi + eax*4 + 0x2c], ecx
mov eax, 0
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x18]
shr esi, 2
and esi, 0x3fffffc0
add edx, esi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, dword [esp + 0x5c]
add ecx, eax
mov eax, dword [esp + 0x2c]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + esi]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x70]
mov dword [edx + eax*4], ecx
inc ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc], ecx
cmp ecx, dword [esp + 0x40]
jb 0x5b6330
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x48]
lea edx, [edi + 1]
mov eax, dword [esp + 0x38]
add ecx, 0xffffffe0
add eax, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x2c], ecx
cmp eax, edx
jbe 0x5b63e3
xor edx, edx
jmp 0x5b63ea
sub edx, dword [esp + 0x38]
sub edx, ecx
inc edx
mov eax, 8
cmp edx, eax
cmova edx, eax
add edx, ecx
mov dword [esp + 0x70], edx
cmp ecx, edx
jae 0x5b6469
mov eax, dword [esi + 0x24]
mov ecx, 0x40
add eax, 8
mov edi, edx
mov edx, dword [esp + 0x2c]
sub ecx, eax
mov dword [esp + 0x40], ecx
jmp 0x5b6420
mov eax, dword [esp + 0x38]
push 0xcf1bbcdc
push 0xbb000000
push dword [edx + eax + 4]
push dword [edx + eax]
call fcn.00620b50
xor eax, dword [esi + 0x50]
xor edx, dword [esi + 0x54]
mov ecx, dword [esp + 0x40]
call fcn.00622f20
mov edx, dword [esp + 0x2c]
mov ecx, eax
mov eax, edx
inc edx
and eax, 7
mov dword [esp + 0x2c], edx
mov dword [esi + eax*4 + 0x2c], ecx
cmp edx, edi
jb 0x5b6420
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x5c]
mov edx, dword [esi + 0x24]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x48]
cmp ecx, eax
jae 0x5b6535
mov edi, dword [esp + 0x48]
lea eax, [edx + 8]
mov edx, 0x40
sub edx, eax
mov dword [esp + 0x40], edx
nop
mov eax, dword [esp + 0x70]
push 0xcf1bbcdc
push 0xbb000000
push dword [ecx + eax + 0xc]
push dword [ecx + eax + 8]
call fcn.00620b50
xor eax, dword [esi + 0x50]
xor edx, dword [esi + 0x54]
mov ecx, dword [esp + 0x40]
call fcn.00622f20
mov esi, dword [esp + 0x64]
mov ecx, eax
mov eax, dword [esp + 0xc]
and eax, 7
mov edx, dword [esi + eax*4]
mov dword [esi + eax*4], ecx
mov esi, edx
shr esi, 2
mov eax, 0
mov dword [esp + 0x50], edx
and esi, 0x3fffffc0
mov edx, dword [esp + 0x2c]
add edx, esi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, dword [esp + 0x5c]
add ecx, eax
mov eax, dword [esp + 0x50]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + esi]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x24]
mov dword [edx + eax*4], ecx
inc ecx
mov dword [esp + 0xc], ecx
cmp ecx, edi
jb 0x5b64a0
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x1c]
push 0xcf1bbcdc
push 0xbb000000
push dword [ecx + eax + 0xc]
add esi, 8
push dword [ecx + eax + 8]
call fcn.00620b50
xor eax, dword [esp + 0x60]
mov ecx, 0x40
xor edx, dword [esp + 0x34]
sub ecx, esi
call fcn.00622f20
mov esi, dword [esp + 0x64]
mov ecx, eax
mov eax, dword [esp + 0x3c]
and eax, 7
mov edx, dword [esi + eax*4]
mov dword [esi + eax*4], ecx
mov ecx, dword [esp + 0x24]
jmp 0x5b65c7
mov esi, dword [esp + 0x1c]
push 0xcf1bbcdc
push 0xbb000000
push dword [edi + 4]
add esi, 8
push dword [edi]
call fcn.00620b50
xor eax, dword [esp + 0x60]
mov ecx, 0x40
xor edx, dword [esp + 0x34]
sub ecx, esi
call fcn.00622f20
mov ecx, dword [esp + 0x24]
mov edx, eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x1c], eax
add dword [ecx + 0x58], edx
mov ecx, edx
mov esi, dword [esp + 0x18]
movzx eax, dl
xor edx, edx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x44]
shr ecx, 2
and ecx, 0x3fffffc0
mov dword [esp + 0x1c], edx
add esi, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x50], esi
mov edx, esi
lea eax, [eax + ecx*4]
mov dword [esp + 0x44], eax
movzx eax, byte [esi]
mov dword [esp + 0x58], eax
and eax, 0x3f
mov dword [esp + 0x18], eax
xor ecx, ecx
mov eax, dword [esp + 0x34]
movsx eax, al
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movdqu xmmword [esp + 0x70], xmm0
movdqu xmm0, xmmword [edx]
lea edx, [edx + 0x10]
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
mov dword [esp + ecx*4 + 0x70], eax
inc ecx
cmp ecx, 4
jl 0x5b6632
mov eax, dword [esp + 0x7c]
cdq
mov ecx, eax
mov esi, edx
mov eax, dword [esp + 0x78]
shld esi, ecx, 0x10
cdq
shl ecx, 0x10
or esi, edx
or ecx, eax
mov eax, dword [esp + 0x74]
shld esi, ecx, 0x10
cdq
shl ecx, 0x10
or esi, edx
or ecx, eax
mov eax, dword [esp + 0x70]
shld esi, ecx, 0x10
cdq
shl ecx, 0x10
or esi, edx
or ecx, eax
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x18]
movq xmm2, qword [esp + 0x70]
and ecx, 0x3f
movq xmm1, qword [esp + 0x70]
mov eax, ecx
neg eax
and eax, 0x3f
movd xmm0, eax
psllq xmm2, xmm0
movd xmm0, ecx
psrlq xmm1, xmm0
por xmm2, xmm1
movq qword [esp + 0x70], xmm2
mov esi, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
test esi, esi
jne 0x5b66d0
test edx, edx
je 0x5b6730
mov edi, dword [esp + 0x10]
test edi, edi
je 0x5b672c
test edx, edx
jne 0x5b66e8
bsf eax, esi
mov dword [esp + 0x10], eax
add eax, 0x20
jmp 0x5b66ef
bsf eax, edx
mov dword [esp + 0x10], eax
add eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
and eax, 0x3f
mov eax, dword [ecx + eax*4]
je 0x5b6716
cmp eax, dword [esp + 0x20]
jb 0x5b672c
mov ecx, dword [esp + 0xc]
mov dword [esp + ecx*4 + 0x80], eax
inc ecx
mov dword [esp + 0xc], ecx
dec edi
mov ecx, edx
mov eax, esi
add ecx, 0xffffffff
adc eax, 0xffffffff
and edx, ecx
and esi, eax
ja 0x5b66d4
jb 0x5b672c
test edx, edx
jne 0x5b66d4
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x58]
mov edx, 0x3f
mov esi, dword [esp + 0x44]
dec ecx
and ecx, 0x3f
mov eax, 0
cmove eax, edx
mov edx, dword [esp + 0x34]
add ecx, eax
mov eax, dword [esp + 0x50]
mov byte [eax], cl
mov byte [ecx + eax], dl
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x1c]
mov dword [esi + ecx*4], eax
inc dword [edx + 0x1c]
cmp dword [esp + 0xc], 0
jbe 0x5b69a2
mov edx, dword [esp + 0xc]
xor eax, eax
jmp 0x5b6780
mov eax, dword [esp + eax*4 + 0x80]
cmp eax, dword [esp + 0x54]
jb 0x5b682f
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
add edx, eax
mov eax, dword [edx + ecx - 3]
cmp eax, dword [ecx + edi - 3]
jne 0x5b6977
mov ecx, dword [esp + 0x14]
mov eax, edi
lea esi, [ecx - 3]
cmp edi, esi
jae 0x5b67eb
mov eax, dword [edx]
xor eax, dword [edi]
je 0x5b67cd
bsf eax, eax
mov esi, eax
mov dword [esp + 0x10], eax
shr esi, 3
jmp 0x5b6916
lea eax, [edi + 4]
add edx, 4
cmp eax, esi
jae 0x5b67eb
mov ecx, dword [edx]
xor ecx, dword [eax]
jne 0x5b681a
add eax, 4
add edx, 4
cmp eax, esi
jb 0x5b67d7
mov ecx, dword [esp + 0x14]
dec ecx
cmp eax, ecx
jae 0x5b67fe
mov cx, word [edx]
cmp cx, word [eax]
jne 0x5b67fe
add eax, 2
add edx, 2
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jae 0x5b6811
mov cl, byte [edx]
cmp cl, byte [eax]
mov ecx, dword [esp + 0x14]
jne 0x5b6811
inc eax
mov esi, eax
sub esi, edi
jmp 0x5b6916
bsf ecx, ecx
mov esi, ecx
mov dword [esp + 0x10], ecx
shr esi, 3
sub esi, edi
add esi, eax
jmp 0x5b6912
mov ecx, dword [esp + 0x4c]
add ecx, eax
mov dword [esp + 0x18], ecx
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x5b696d
lea edx, [ecx + 4]
mov ecx, dword [esp + 0x54]
add ecx, dword [esp + 0x4c]
lea esi, [edi + 4]
mov edi, dword [esp + 0x28]
mov eax, esi
sub eax, edx
mov dword [esp + 0x10], esi
add eax, ecx
mov ecx, dword [esp + 0x14]
cmp eax, ecx
cmovb ecx, eax
mov dword [esp + 0x20], ecx
mov ecx, esi
mov eax, dword [esp + 0x20]
add eax, 0xfffffffd
cmp esi, eax
jae 0x5b68b7
mov edx, dword [esp + 0x18]
mov eax, dword [esi]
xor eax, dword [edx + 4]
je 0x5b6892
bsf eax, eax
mov esi, eax
mov dword [esp + 0x10], eax
shr esi, 3
jmp 0x5b68e2
lea ecx, [esi + 4]
add edx, 8
mov esi, dword [esp + 0x20]
add esi, 0xfffffffd
cmp ecx, esi
jae 0x5b68b7
mov eax, dword [ecx]
xor eax, dword [edx]
jne 0x5b6955
add ecx, 4
add edx, 4
cmp ecx, esi
jb 0x5b68a3
mov esi, dword [esp + 0x20]
lea eax, [esi - 1]
cmp ecx, eax
jae 0x5b68d0
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x5b68d0
add ecx, 2
add edx, 2
cmp ecx, esi
jae 0x5b68db
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x5b68db
inc ecx
mov esi, ecx
lea edx, [edi + 4]
sub esi, edx
mov eax, dword [esp + 0x18]
lea edx, [edi + 4]
mov ecx, dword [esp + 0x54]
add eax, 4
add ecx, dword [esp + 0x4c]
add eax, esi
cmp eax, ecx
jne 0x5b690f
push dword [esp + 0x14]
lea ecx, [esi + edx]
mov edx, dword [esp + 0x70]
call fcn.0059fed0
add esp, 4
add esi, eax
add esi, 4
mov ecx, dword [esp + 0x14]
cmp esi, dword [esp + 0x30]
jbe 0x5b6973
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x30], esi
sub eax, dword [esp + edx*4 + 0x80]
mov edx, dword [esp + 0x68]
add eax, 3
mov dword [edx], eax
lea eax, [esi + edi]
cmp eax, ecx
jne 0x5b6973
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x17c]
xor ecx, esp
call fcn.0061b9b8
mov esp, ebp
pop ebp
ret
bsf eax, eax
lea edx, [edi + 4]
mov esi, eax
mov dword [esp + 0x10], eax
shr esi, 3
sub esi, edx
add esi, ecx
jmp 0x5b68e2
mov ecx, dword [esp + 0x30]
jmp 0x5b697b
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, edx
jb 0x5b6780
mov eax, ecx
pop edi
pop esi
mov ecx, dword [esp + 0x17c]
xor ecx, esp
call fcn.0061b9b8
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x184]
mov eax, 3
pop edi
pop esi
xor ecx, esp
call fcn.0061b9b8
mov esp, ebp
pop ebp
ret