Function at 0x5bdec0
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 + 0x14], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [esp + 0x5c], eax
push edi
mov edi, edx
mov dword [esp + 0x14], esi
mov edx, 1
mov dword [esp + 0x5c], edi
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x38], ecx
mov dword [esp + 8], eax
mov eax, dword [esi + 4]
add ecx, eax
mov dword [esp + 0x64], ecx
mov ecx, edi
sub ecx, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0xb8]
mov eax, dword [esp + 0x28]
shl edx, cl
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, edx
jbe 0x5bdf49
mov eax, dword [esp + 0x28]
sub eax, edx
jmp 0x5bdf4b
mov eax, ecx
cmp dword [esi + 0x18], 0
mov edx, dword [esi + 0x50]
cmovne eax, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], eax
mov ecx, 6
mov eax, dword [esi + 0xc4]
cmp eax, ecx
mov dword [esp + 0x20], 3
cmovb ecx, eax
mov eax, dword [esi + 0x54]
mov dword [esp + 0x74], eax
mov eax, 1
shl eax, cl
imul ecx, dword [edi], 0x9e3779b1
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0xb4]
mov dword [esp + 0x54], eax
mov dword [esp + 0xc], ecx
mov ecx, 0x20
mov eax, dword [eax + 0xc0]
sub eax, 2
sub ecx, eax
mov eax, dword [esp + 0xc]
shr eax, cl
mov ecx, dword [esi + 0xc4]
shl eax, 2
mov dword [esp + 0x44], eax
cmp ecx, 6
jbe 0x5bdfd3
add ecx, 0xfffffffa
mov eax, 1
shl eax, cl
mov dword [esp + 0x48], eax
jmp 0x5bdfdb
mov dword [esp + 0x48], 0
cmp dword [esi + 0xdc], 0
mov dword [esp + 0x4c], 0x3f
jne 0x5be23d
mov edx, dword [esp + 0x10]
mov eax, edi
mov ecx, dword [esi + 0x1c]
sub eax, edx
mov dword [esp + 0x58], eax
sub eax, ecx
mov dword [esp + 0x2c], ecx
cmp eax, 0x180
jbe 0x5be14a
lea eax, [ecx + 0x60]
mov dword [esp + 0x50], eax
cmp ecx, eax
jae 0x5be0bf
mov eax, dword [esp + 8]
mov esi, 0x20
mov edi, dword [esp + 0x14]
add eax, 8
sub esi, eax
mov dword [esp + 0x3c], esi
jmp 0x5be040
imul edx, dword [ecx + edx + 8], 0x9e3779b1
mov ecx, esi
mov eax, dword [edi + 0x54]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x2c]
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 + 0x34]
shr esi, 2
and esi, 0x3fffffc0
mov dword [esp + 0xc], ecx
add edx, esi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, dword [esp + 0x4c]
add ecx, eax
mov eax, dword [esp + 0xc]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + esi]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x3c]
mov dword [edx + eax*4], ecx
inc ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
cmp ecx, dword [esp + 0x50]
jb 0x5be040
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x58]
lea edx, [edi + 1]
mov eax, dword [esp + 0x10]
add ecx, 0xffffffe0
add eax, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xc], ecx
cmp eax, edx
jbe 0x5be0df
xor edx, edx
jmp 0x5be0e6
sub edx, dword [esp + 0x10]
sub edx, ecx
inc edx
mov eax, 8
cmp edx, eax
cmova edx, eax
add edx, ecx
mov dword [esp + 0x3c], edx
cmp ecx, edx
jae 0x5be14a
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 + 0xc]
mov eax, dword [esi + 0x54]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x10]
imul edx, dword [ecx + eax], 0x9e3779b1
mov ecx, dword [esp + 0x50]
xor edx, dword [esi + 0x50]
shr edx, cl
mov ecx, dword [esp + 0xc]
mov eax, ecx
and eax, 7
inc ecx
mov dword [esp + 0xc], ecx
mov dword [esi + eax*4 + 0x2c], edx
cmp ecx, edi
jb 0x5be111
mov edi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0x5c]
mov edx, dword [esi + 0x24]
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x58]
cmp ecx, eax
jae 0x5be1ff
mov edi, dword [esp + 0x58]
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 + 0x3c]
imul edx, dword [ecx + eax + 8], 0x9e3779b1
mov eax, dword [esp + 0x2c]
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 + 0xc]
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 + 0x4c]
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 + 0x70]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
mov dword [edx + eax*4], ecx
inc ecx
mov dword [esp + 0x2c], ecx
cmp ecx, edi
jb 0x5be180
mov edi, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 8]
add eax, 8
imul edx, dword [edx + ecx + 8], 0x9e3779b1
mov ecx, 0x20
sub ecx, eax
mov eax, dword [esp + 0x28]
xor edx, dword [esp + 0x18]
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 + 0x18], ecx
jmp 0x5be258
mov eax, dword [esp + 8]
mov ecx, 0x20
xor edx, dword [esp + 0xc]
add eax, 8
sub ecx, eax
mov eax, dword [esp + 0x28]
shr edx, cl
mov dword [esi + 0x1c], eax
add dword [esi + 0x58], edx
mov eax, edx
shr eax, 2
and eax, 0x3fffffc0
movzx ecx, dl
mov edx, dword [esp + 0x34]
mov dword [esp + 0x4c], ecx
add edx, eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x3c], edx
mov dword [esp + 8], 0
mov dword [esp + 0x18], 0
lea ecx, [ecx + eax*4]
movzx eax, byte [edx]
mov dword [esp + 0x68], eax
and eax, 0x3f
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x4c]
movsx eax, al
mov dword [esp + 0x40], ecx
xor ecx, ecx
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 0x5be2c2
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 + 0x34]
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 0x5be360
test edx, edx
je 0x5be3c0
xor edi, edi
cmp dword [esp + 0x30], 0
jbe 0x5be3b8
test edx, edx
jne 0x5be379
bsf eax, esi
mov dword [esp + 0x70], eax
add eax, 0x20
jmp 0x5be380
bsf eax, edx
mov dword [esp + 0x70], eax
add eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
and eax, 0x3f
mov eax, dword [ecx + eax*4]
je 0x5be3a2
cmp eax, dword [esp + 0x24]
jb 0x5be3b8
mov dword [esp + edi*4 + 0x80], eax
inc edi
dec dword [esp + 0x30]
mov ecx, edx
mov eax, esi
add ecx, 0xffffffff
adc eax, 0xffffffff
and edx, ecx
and esi, eax
ja 0x5be362
jb 0x5be3b8
test edx, edx
jne 0x5be362
mov dword [esp + 8], edi
mov edi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x68]
mov edx, 0x3f
mov esi, dword [esp + 0x40]
dec ecx
and ecx, 0x3f
mov eax, 0
cmove eax, edx
mov edx, dword [esp + 0x4c]
add ecx, eax
mov eax, dword [esp + 0x3c]
mov byte [eax], cl
mov byte [ecx + eax], dl
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x1c]
mov dword [esi + ecx*4], eax
inc dword [edx + 0x1c]
cmp dword [esp + 8], 0
jbe 0x5be4d5
mov ecx, 3
xor eax, eax
jmp 0x5be410
mov eax, dword [esp + eax*4 + 0x80]
mov edx, dword [esp + 0x10]
add edx, eax
mov dword [esp + 0x70], eax
mov eax, dword [edx + ecx - 3]
cmp eax, dword [edi + ecx - 3]
jne 0x5be4c2
mov esi, dword [esp + 0x1c]
mov eax, edi
add esi, 0xfffffffd
cmp edi, esi
jae 0x5be474
mov eax, dword [edx]
xor eax, dword [edi]
je 0x5be454
mov esi, dword [esp + 0x1c]
bsf eax, eax
mov ecx, eax
mov dword [esp + 0x24], eax
shr ecx, 3
jmp 0x5be49c
lea eax, [edi + 4]
add edx, 4
cmp eax, esi
jae 0x5be474
mov edi, edi
mov ecx, dword [edx]
xor ecx, dword [eax]
jne 0x5be5a0
add eax, 4
add edx, 4
cmp eax, esi
jb 0x5be460
mov esi, dword [esp + 0x1c]
lea ecx, [esi - 1]
cmp eax, ecx
jae 0x5be48d
mov cx, word [edx]
cmp cx, word [eax]
jne 0x5be48d
add eax, 2
add edx, 2
cmp eax, esi
jae 0x5be498
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x5be498
inc eax
mov ecx, eax
sub ecx, edi
cmp ecx, dword [esp + 0x20]
jbe 0x5be4be
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x70]
mov edx, dword [esp + 0x60]
add eax, 3
mov dword [esp + 0x20], ecx
mov dword [edx], eax
lea eax, [ecx + edi]
cmp eax, esi
je 0x5be4d5
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 8]
jb 0x5be410
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x48]
add ecx, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
mov esi, dword [eax + 4]
mov edx, dword [eax]
mov eax, esi
sub eax, edx
mov dword [esp + 0x30], esi
add eax, dword [esp + 0x38]
mov dword [esp + 0x34], eax
mov eax, 3
cmp ecx, eax
mov dword [esp + 0x10], edx
cmovb eax, ecx
xor ecx, ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x48], ecx
test eax, eax
je 0x5be6b1
mov eax, dword [esp + 0x44]
lea ecx, [eax*4]
mov dword [esp + 0xc], ecx
lea esp, [esp]
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x5c]
mov eax, dword [ecx + eax]
mov dword [esp + 0x24], eax
lea ecx, [eax + esi]
mov dword [esp + 0x18], ecx
test eax, eax
je 0x5be7a1
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x5be666
lea esi, [edi + 4]
add ecx, 4
mov eax, esi
sub eax, ecx
mov ecx, esi
add eax, edx
mov edx, dword [esp + 0x1c]
cmp eax, edx
cmovb edx, eax
mov dword [esp + 8], edx
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x18]
add eax, 0xfffffffd
add edx, 4
cmp esi, eax
jae 0x5be5e4
mov edx, dword [esp + 0x18]
mov ecx, dword [esi]
xor ecx, dword [edx + 4]
je 0x5be5b7
bsf eax, ecx
lea edx, [edi + 4]
mov esi, eax
mov dword [esp + 0x38], eax
shr esi, 3
jmp 0x5be60f
mov esi, dword [esp + 0x1c]
bsf ecx, ecx
mov dword [esp + 0x24], ecx
shr ecx, 3
sub ecx, edi
add ecx, eax
jmp 0x5be49c
lea ecx, [esi + 4]
add edx, 8
mov esi, dword [esp + 8]
add esi, 0xfffffffd
cmp ecx, esi
jae 0x5be5e4
jmp 0x5be5d0
mov eax, dword [ecx]
xor eax, dword [edx]
jne 0x5be683
add ecx, 4
add edx, 4
cmp ecx, esi
jb 0x5be5d0
mov esi, dword [esp + 8]
lea eax, [esi - 1]
cmp ecx, eax
jae 0x5be5fd
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x5be5fd
add ecx, 2
add edx, 2
cmp ecx, esi
jae 0x5be608
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x5be608
inc ecx
mov esi, ecx
lea edx, [edi + 4]
sub esi, edx
mov eax, dword [esp + 0x18]
add eax, 4
add eax, esi
cmp eax, dword [esp + 0x10]
jne 0x5be633
push dword [esp + 0x1c]
lea ecx, [esi + edx]
mov edx, dword [esp + 0x68]
call fcn.0059fed0
add esp, 4
add esi, eax
add esi, 4
cmp esi, dword [esp + 0x20]
jbe 0x5be65e
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x24]
sub eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x60]
add eax, 3
mov dword [esp + 0x20], esi
mov dword [ecx], eax
lea eax, [esi + edi]
cmp eax, dword [esp + 0x1c]
je 0x5be69b
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
add dword [esp + 0xc], 4
inc ecx
mov dword [esp + 0x48], ecx
cmp ecx, dword [esp + 0x70]
jae 0x5be6b1
mov ecx, dword [esp + 0xc]
jmp 0x5be530
bsf eax, eax
lea edx, [edi + 4]
mov esi, eax
mov dword [esp + 0x38], eax
shr esi, 3
sub esi, edx
add esi, ecx
jmp 0x5be60f
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x17c]
xor ecx, esp
call fcn.0061b9b8
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x44]
sub dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0x5c]
mov dword [esp + 0x44], 0
mov eax, dword [eax + esi*4 + 0xc]
mov esi, eax
movzx eax, al
shr esi, 8
cmp ecx, eax
cmova ecx, eax
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x5be7a1
lea ecx, [esi*4]
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x30]
mov eax, dword [eax + 0x64]
mov eax, dword [ecx + eax]
add esi, eax
mov dword [esp + 0x24], eax
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x5be783
mov ecx, dword [esp + 0x1c]
lea eax, [edi + 4]
add esi, 4
sub eax, esi
add eax, edx
mov edx, esi
cmp eax, ecx
cmovb ecx, eax
push ecx
lea ecx, [edi + 4]
call fcn.0059fed0
add esp, 4
mov dword [esp + 0x38], eax
lea ecx, [eax + esi]
mov esi, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x10]
jne 0x5be756
mov edx, dword [esp + 0x64]
lea ecx, [eax + 4]
push esi
add ecx, edi
call fcn.0059fed0
add esp, 4
add eax, dword [esp + 0x38]
lea ecx, [eax + 4]
cmp ecx, dword [esp + 0x20]
jbe 0x5be77f
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x24]
sub eax, dword [esp + 0x34]
mov edx, dword [esp + 0x60]
add eax, 3
mov dword [esp + 0x20], ecx
mov dword [edx], eax
lea eax, [ecx + edi]
cmp eax, esi
je 0x5be7a1
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x44]
add ecx, 4
mov edx, dword [esp + 0x10]
inc eax
mov dword [esp + 0x44], eax
mov dword [esp + 8], ecx
cmp eax, dword [esp + 0x14]
jb 0x5be6f4
mov ecx, dword [esp + 0x184]
mov eax, dword [esp + 0x20]
pop edi
pop esi
xor ecx, esp
call fcn.0061b9b8
mov esp, ebp
pop ebp
ret