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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x188
mov eax, dword [0x79b5e0]
xor eax, esp
mov dword [esp + 0x184], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x68], eax
push esi
mov esi, ecx
mov dword [esp + 0x3c], edx
push edi
mov dword [esp + 0xc], esi
mov eax, dword [esi + 0x5c]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x54], edx
lea edi, [edx + eax]
mov edx, 1
mov dword [esp + 0x74], edi
mov edi, dword [esp + 0x40]
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 0x5b4c66
mov eax, dword [esp + 0x3c]
sub eax, ecx
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x58]
jmp 0x5b4c6b
mov eax, dword [esi + 0x10]
mov ecx, eax
cmp dword [esi + 0x18], 0
mov dword [esp + 0x4c], 3
cmovne ecx, eax
mov dword [esp + 0x44], 0x3f
mov eax, dword [esi + 0xc4]
mov dword [esp + 0x58], 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 + 0x34], eax
mov eax, dword [esi + 0x54]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
jne 0x5b4efd
mov edx, dword [esp + 0x2c]
mov eax, edi
mov ecx, dword [esi + 0x1c]
sub eax, edx
mov dword [esp + 0x14], eax
sub eax, ecx
mov dword [esp + 0x1c], ecx
cmp eax, 0x180
jbe 0x5b4e0a
lea eax, [ecx + 0x60]
mov dword [esp + 0x50], eax
cmp ecx, eax
jae 0x5b4d7f
mov eax, dword [esp + 0x5c]
mov esi, 0x20
mov edi, dword [esp + 0xc]
add eax, 8
sub esi, eax
mov dword [esp + 0x78], esi
lea esp, [esp]
imul edx, dword [ecx + edx + 8], 0x9e3779b1
mov ecx, esi
mov eax, dword [edi + 0x54]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x1c]
and eax, 7
xor edx, dword [edi + 0x50]
shr edx, cl
mov ecx, dword [edi + eax*4 + 0x2c]
mov esi, ecx
mov dword [edi + eax*4 + 0x2c], edx
mov eax, 0
mov edx, dword [esp + 0x18]
shr esi, 2
and esi, 0x3fffffc0
mov dword [esp + 0x30], ecx
add edx, esi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, dword [esp + 0x44]
add ecx, eax
mov eax, dword [esp + 0x30]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + esi]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x78]
mov dword [edx + eax*4], ecx
inc ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x1c], ecx
cmp ecx, dword [esp + 0x50]
jb 0x5b4d00
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
lea edx, [edi + 1]
mov eax, dword [esp + 0x2c]
add ecx, 0xffffffe0
add eax, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x30], ecx
cmp eax, edx
jbe 0x5b4d9f
xor edx, edx
jmp 0x5b4da6
sub edx, dword [esp + 0x2c]
sub edx, ecx
inc edx
mov eax, 8
cmp edx, eax
cmova edx, eax
add edx, ecx
mov dword [esp + 0x78], edx
cmp ecx, edx
jae 0x5b4e0a
mov eax, dword [esi + 0x24]
mov ecx, 0x20
add eax, 8
mov edi, edx
sub ecx, eax
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x30]
mov eax, dword [esi + 0x54]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x2c]
imul edx, dword [ecx + eax], 0x9e3779b1
mov ecx, dword [esp + 0x50]
xor edx, dword [esi + 0x50]
shr edx, cl
mov ecx, dword [esp + 0x30]
mov eax, ecx
and eax, 7
inc ecx
mov dword [esp + 0x30], ecx
mov dword [esi + eax*4 + 0x2c], edx
cmp ecx, edi
jb 0x5b4dd1
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 0x5c]
mov edx, dword [esi + 0x24]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x14]
cmp ecx, eax
jae 0x5b4ebf
mov edi, dword [esp + 0x14]
lea eax, [edx + 8]
mov edx, 0x20
sub edx, eax
mov dword [esp + 0x50], edx
mov eax, dword [esi + 0x54]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x78]
imul edx, dword [ecx + eax + 8], 0x9e3779b1
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x50]
and eax, 7
xor edx, dword [esi + 0x50]
shr edx, cl
mov ecx, dword [esi + eax*4 + 0x2c]
mov dword [esi + eax*4 + 0x2c], edx
mov esi, ecx
mov edx, dword [esp + 0x30]
mov eax, 0
shr esi, 2
and esi, 0x3fffffc0
mov dword [esp + 0x68], ecx
add edx, esi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, dword [esp + 0x44]
add ecx, eax
mov eax, dword [esp + 0x68]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + esi]
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0xc]
mov dword [edx + eax*4], ecx
inc ecx
mov dword [esp + 0x1c], ecx
cmp ecx, edi
jb 0x5b4e40
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x5c]
add eax, 8
imul edx, dword [edx + ecx + 8], 0x9e3779b1
mov ecx, 0x20
sub ecx, eax
mov eax, dword [esp + 0x3c]
xor edx, dword [esp + 0x34]
shr edx, cl
and eax, 7
mov ecx, dword [esi + eax*4 + 0x2c]
mov dword [esi + eax*4 + 0x2c], edx
mov edx, ecx
mov dword [esp + 0x60], ecx
jmp 0x5b4f1e
imul edx, dword [edi], 0x9e3779b1
mov ecx, 0x20
mov eax, dword [esp + 0x5c]
add eax, 8
sub ecx, eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x1c], eax
xor edx, dword [esp + 0x34]
shr edx, cl
add dword [esi + 0x58], edx
mov eax, edx
shr eax, 2
and eax, 0x3fffffc0
movzx ecx, dl
mov edx, dword [esp + 0x18]
mov dword [esp + 0x34], ecx
add edx, eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x68], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x44], 0
lea ecx, [ecx + eax*4]
movzx eax, byte [edx]
mov dword [esp + 0x60], eax
and eax, 0x3f
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x34]
movsx eax, al
mov dword [esp + 0x48], ecx
xor ecx, ecx
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movdqu xmmword [esp + 0x78], xmm0
jmp 0x5b4f90
movdqu xmm0, xmmword [edx]
lea edx, [edx + 0x10]
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
mov dword [esp + ecx*4 + 0x78], eax
inc ecx
cmp ecx, 4
jl 0x5b4f90
mov eax, dword [esp + 0x84]
cdq
mov ecx, eax
mov esi, edx
mov eax, dword [esp + 0x80]
shld esi, ecx, 0x10
cdq
shl ecx, 0x10
or esi, edx
or ecx, eax
mov eax, dword [esp + 0x7c]
shld esi, ecx, 0x10
cdq
shl ecx, 0x10
or esi, edx
or ecx, eax
mov eax, dword [esp + 0x78]
shld esi, ecx, 0x10
cdq
shl ecx, 0x10
or esi, edx
or ecx, eax
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x18]
movq xmm2, qword [esp + 0x78]
and ecx, 0x3f
movq xmm1, qword [esp + 0x78]
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 + 0x78], xmm2
mov esi, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
test esi, esi
jne 0x5b5034
test edx, edx
je 0x5b5094
mov edi, dword [esp + 0x20]
test edi, edi
je 0x5b5090
test edx, edx
jne 0x5b504c
bsf eax, esi
mov dword [esp + 0x20], eax
add eax, 0x20
jmp 0x5b5053
bsf eax, edx
mov dword [esp + 0x20], eax
add eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x48]
and eax, 0x3f
mov eax, dword [ecx + eax*4]
je 0x5b507a
cmp eax, dword [esp + 0x58]
jb 0x5b5090
mov ecx, dword [esp + 0x14]
mov dword [esp + ecx*4 + 0x88], eax
inc ecx
mov dword [esp + 0x14], ecx
dec edi
mov ecx, edx
mov eax, esi
add ecx, 0xffffffff
adc eax, 0xffffffff
and edx, ecx
and esi, eax
ja 0x5b5038
jb 0x5b5090
test edx, edx
jne 0x5b5038
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x60]
mov edx, 0x3f
mov esi, dword [esp + 0x48]
dec ecx
and ecx, 0x3f
mov eax, 0
cmove eax, edx
mov edx, dword [esp + 0x34]
add ecx, eax
mov eax, dword [esp + 0x68]
mov byte [eax], cl
mov byte [ecx + eax], dl
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x1c]
mov dword [esi + ecx*4], eax
inc dword [edx + 0x1c]
cmp dword [esp + 0x14], 0
jbe 0x5b52e8
mov esi, dword [esp + 0x54]
xor eax, eax
lea ebx, [ebx]
mov eax, dword [esp + eax*4 + 0x88]
mov dword [esp + 0xc], eax
cmp eax, esi
jb 0x5b5192
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
add edx, eax
mov eax, dword [edx + ecx - 3]
cmp eax, dword [ecx + edi - 3]
jne 0x5b52e2
mov ecx, dword [esp + 0x10]
mov eax, edi
lea esi, [ecx - 3]
cmp edi, esi
jae 0x5b5154
mov eax, dword [edx]
xor eax, dword [edi]
je 0x5b512f
bsf eax, eax
mov esi, eax
mov dword [esp + 0x20], eax
shr esi, 3
jmp 0x5b5278
lea eax, [edi + 4]
add edx, 4
cmp eax, esi
jae 0x5b5154
lea esp, [esp]
mov ecx, dword [edx]
xor ecx, dword [eax]
jne 0x5b517d
add eax, 4
add edx, 4
cmp eax, esi
jb 0x5b5140
mov ecx, dword [esp + 0x10]
dec ecx
cmp eax, ecx
jae 0x5b5167
mov cx, word [edx]
cmp cx, word [eax]
jne 0x5b5167
add eax, 2
add edx, 2
cmp eax, dword [esp + 0x10]
jae 0x5b5174
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x5b5174
inc eax
mov esi, eax
sub esi, edi
jmp 0x5b5278
bsf ecx, ecx
mov esi, ecx
mov dword [esp + 0x20], ecx
shr esi, 3
sub esi, edi
add esi, eax
jmp 0x5b5278
mov ecx, dword [esp + 0x38]
add ecx, eax
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x5b52e2
mov edx, dword [esp + 0x38]
add edi, 4
add ecx, 4
mov dword [esp + 0x18], edi
add edx, esi
mov eax, edi
mov esi, dword [esp + 0x10]
sub eax, ecx
add eax, edx
mov edx, ecx
cmp eax, esi
mov ecx, edi
cmovb esi, eax
mov dword [esp + 0x20], esi
add esi, 0xfffffffd
cmp edi, esi
jae 0x5b5214
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x38]
mov eax, dword [edi]
xor eax, dword [ecx + edx + 4]
je 0x5b51ee
bsf eax, eax
mov esi, eax
mov dword [esp + 0x20], eax
shr esi, 3
jmp 0x5b5244
add edx, 8
lea ecx, [edi + 4]
add edx, dword [esp + 0xc]
cmp ecx, esi
jae 0x5b5214
lea esp, [esp]
mov eax, dword [ecx]
xor eax, dword [edx]
jne 0x5b52cd
add ecx, 4
add edx, 4
cmp ecx, esi
jb 0x5b5200
mov esi, dword [esp + 0x20]
lea eax, [esi - 1]
cmp ecx, eax
jae 0x5b522d
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x5b522d
add ecx, 2
add edx, 2
cmp ecx, esi
jae 0x5b5238
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x5b5238
inc ecx
mov esi, ecx
sub esi, edi
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x18]
lea eax, [ecx + 4]
mov ecx, dword [esp + 0x54]
add eax, edx
add ecx, dword [esp + 0x38]
add eax, esi
cmp eax, ecx
jne 0x5b5271
mov eax, dword [esp + 0x10]
lea ecx, [esi + edi]
mov edx, dword [esp + 0x74]
push eax
call fcn.0059fed0
add esp, 4
add esi, eax
mov edi, dword [esp + 0x40]
add esi, 4
mov edx, dword [esp + 0x4c]
cmp esi, edx
jbe 0x5b52a0
mov eax, dword [esp + 0x3c]
mov edx, esi
sub eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x70]
add eax, 3
mov dword [esp + 0x4c], edx
mov dword [ecx], eax
lea eax, [esi + edi]
cmp eax, dword [esp + 0x10]
je 0x5b52b7
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x44]
inc eax
mov dword [esp + 0x44], eax
cmp eax, dword [esp + 0x14]
jb 0x5b50e0
mov eax, edx
pop edi
pop esi
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.0061b9b8
mov esp, ebp
pop ebp
ret
bsf eax, eax
mov esi, eax
mov dword [esp + 0x20], eax
shr esi, 3
sub esi, edi
add esi, ecx
jmp 0x5b523c
mov edx, dword [esp + 0x4c]
jmp 0x5b52a4
mov ecx, dword [esp + 0x18c]
mov eax, 3
pop edi
pop esi
xor ecx, esp
call fcn.0061b9b8
mov esp, ebp
pop ebp
ret