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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x79b5e0]
xor eax, esp
mov dword [esp + 0x194], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x64], eax
push esi
mov esi, ecx
mov dword [esp + 0x38], edx
push edi
mov edi, 1
mov dword [esp + 0x28], esi
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x2c], eax
lea eax, [esi + 0x2c]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x60], ecx
add ecx, eax
mov dword [esp + 0x74], ecx
mov ecx, edx
sub ecx, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x40], ecx
mov eax, edi
mov ecx, dword [esi + 0xb8]
shl eax, cl
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
sub eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
jbe 0x5baa71
mov eax, dword [esp + 0x40]
sub eax, ecx
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x54]
jmp 0x5baa76
mov eax, dword [esi + 0x10]
mov ecx, eax
cmp dword [esi + 0x18], 0
push 0xcf1bbcdc
cmovne ecx, eax
mov dword [esp + 0x20], 3
mov eax, dword [esi + 0xc4]
mov dword [esp + 0x58], ecx
mov ecx, 6
cmp eax, ecx
push 0xbb000000
push dword [edx + 4]
cmovb ecx, eax
mov eax, dword [esi + 0x50]
push dword [edx]
shl edi, cl
mov ecx, dword [esi + 0xb4]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x54]
mov dword [esp + 0x54], edi
mov esi, dword [ecx + 0x24]
mov edi, dword [ecx + 0x28]
add esi, 8
mov dword [esp + 0x20], eax
mov dword [esp + 0x60], ecx
call fcn.00620b50
mov ecx, 0x40
sub ecx, esi
call fcn.00622f20
mov edx, dword [esp + 0x50]
mov ecx, eax
mov esi, dword [esp + 0x28]
shr ecx, 2
and ecx, 0x3fffffc0
movzx eax, al
mov dword [esp + 0x88], eax
cmp dword [esi + 0xdc], 0
mov dword [esp + 0x68], 0x3f
lea eax, [ecx + edi]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x70], eax
mov eax, dword [edx + 0x5c]
lea eax, [eax + ecx*4]
mov dword [esp + 0x58], eax
jne 0x5baddb
mov edx, dword [esp + 0xc]
mov eax, edi
mov ecx, dword [esi + 0x1c]
sub eax, edx
mov dword [esp + 0x18], eax
sub eax, ecx
mov dword [esp + 0x24], ecx
cmp eax, 0x180
jbe 0x5bacb9
lea eax, [ecx + 0x60]
mov dword [esp + 0x5c], eax
cmp ecx, eax
jae 0x5bac12
mov eax, dword [esp + 0x4c]
mov esi, 0x40
mov edi, dword [esp + 0x28]
add eax, 8
sub esi, eax
lea eax, [edx + 8]
mov dword [esp + 0x38], esi
mov dword [esp + 0x14], eax
jmp 0x5bab80
push 0xcf1bbcdc
push 0xbb000000
push dword [ecx + eax + 4]
push dword [ecx + eax]
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 + 0x24]
and eax, 7
mov edx, dword [edi + eax*4 + 0x2c]
mov esi, edx
mov dword [edi + eax*4 + 0x2c], ecx
mov eax, 0
shr esi, 2
mov dword [esp + 0x34], 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 + 0x68]
add ecx, eax
mov eax, dword [esp + 0x34]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + esi]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x38]
mov dword [edx + eax*4], ecx
inc ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
cmp ecx, dword [esp + 0x5c]
jb 0x5bab80
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
lea edx, [edi + 1]
mov eax, dword [esp + 0xc]
add ecx, 0xffffffe0
add eax, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], ecx
cmp eax, edx
jbe 0x5bac32
xor edx, edx
jmp 0x5bac39
sub edx, dword [esp + 0xc]
sub edx, ecx
inc edx
mov eax, 8
cmp edx, eax
cmova edx, eax
add edx, ecx
mov dword [esp + 0x14], edx
cmp ecx, edx
jae 0x5bacb9
mov eax, dword [esi + 0x24]
mov ecx, 0x40
add eax, 8
mov edi, edx
mov edx, dword [esp + 0x34]
sub ecx, eax
mov dword [esp + 0x38], ecx
jmp 0x5bac70
mov eax, dword [esp + 0xc]
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 + 0x38]
call fcn.00622f20
mov edx, dword [esp + 0x34]
mov ecx, eax
mov eax, edx
inc edx
and eax, 7
mov dword [esp + 0x34], edx
mov dword [esi + eax*4 + 0x2c], ecx
cmp edx, edi
jb 0x5bac70
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
mov eax, dword [esi + 0x5c]
mov edx, dword [esi + 0x24]
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
cmp ecx, eax
jae 0x5bad85
mov edi, dword [esp + 0x18]
lea eax, [edx + 8]
mov edx, 0x40
sub edx, eax
mov dword [esp + 0x38], edx
nop
mov eax, dword [esp + 0x14]
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 + 0x38]
call fcn.00622f20
mov esi, dword [esp + 0x64]
mov ecx, eax
mov eax, dword [esp + 0x24]
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 + 0x34], edx
and esi, 0x3fffffc0
mov edx, dword [esp + 0x5c]
add edx, esi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, dword [esp + 0x68]
add ecx, eax
mov eax, dword [esp + 0x34]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + esi]
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov dword [edx + eax*4], ecx
inc ecx
mov dword [esp + 0x24], ecx
cmp ecx, edi
jb 0x5bacf0
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x4c]
push 0xcf1bbcdc
push 0xbb000000
push dword [ecx + eax + 0xc]
add esi, 8
push dword [ecx + eax + 8]
call fcn.00620b50
xor eax, dword [esp + 0x48]
mov ecx, 0x40
xor edx, dword [esp + 0x10]
sub ecx, esi
call fcn.00622f20
mov esi, dword [esp + 0x64]
mov ecx, eax
mov eax, dword [esp + 0x40]
and eax, 7
mov edx, dword [esi + eax*4]
mov dword [esi + eax*4], ecx
mov ecx, dword [esp + 0x28]
jmp 0x5bae17
mov esi, dword [esp + 0x4c]
push 0xcf1bbcdc
push 0xbb000000
push dword [edi + 4]
add esi, 8
push dword [edi]
call fcn.00620b50
xor eax, dword [esp + 0x48]
mov ecx, 0x40
xor edx, dword [esp + 0x10]
sub ecx, esi
call fcn.00622f20
mov ecx, dword [esp + 0x28]
mov edx, eax
mov eax, dword [esp + 0x40]
mov dword [ecx + 0x1c], eax
add dword [ecx + 0x58], edx
mov ecx, edx
movzx eax, dl
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
shr ecx, 2
and ecx, 0x3fffffc0
mov dword [esp + 0x18], 0
add edx, ecx
mov dword [esp + 0x48], 0
mov dword [esp + 0x38], edx
lea eax, [eax + ecx*4]
mov dword [esp + 0x30], eax
movzx eax, byte [edx]
mov dword [esp + 0x14], eax
and eax, 0x3f
mov dword [esp + 0x2c], eax
xor ecx, ecx
mov eax, dword [esp + 0x10]
movsx eax, al
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movdqu xmmword [esp + 0x78], xmm0
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 0x5bae82
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 + 0x2c]
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 0x5baf26
test edx, edx
je 0x5baf90
mov edi, dword [esp + 0x44]
lea ebx, [ebx]
test edi, edi
je 0x5baf88
test edx, edx
jne 0x5baf44
bsf eax, esi
mov dword [esp + 0x78], eax
add eax, 0x20
jmp 0x5baf4b
bsf eax, edx
mov dword [esp + 0x78], eax
add eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
and eax, 0x3f
mov eax, dword [ecx + eax*4]
je 0x5baf72
cmp eax, dword [esp + 0x54]
jb 0x5baf88
mov ecx, dword [esp + 0x18]
mov dword [esp + ecx*4 + 0x98], eax
inc ecx
mov dword [esp + 0x18], ecx
dec edi
mov ecx, edx
mov eax, esi
add ecx, 0xffffffff
adc eax, 0xffffffff
and edx, ecx
and esi, eax
ja 0x5baf30
jb 0x5baf88
test edx, edx
jne 0x5baf30
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
mov edx, 0x3f
mov esi, dword [esp + 0x30]
dec ecx
and ecx, 0x3f
mov eax, 0
cmove eax, edx
mov edx, dword [esp + 0x10]
add ecx, eax
mov eax, dword [esp + 0x38]
mov byte [eax], cl
mov byte [ecx + eax], dl
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x1c]
mov dword [esi + ecx*4], eax
inc dword [edx + 0x1c]
cmp dword [esp + 0x18], 0
jbe 0x5bb0a5
mov ecx, 3
xor eax, eax
jmp 0x5bafe0
mov eax, dword [esp + eax*4 + 0x98]
mov edx, dword [esp + 0xc]
add edx, eax
mov dword [esp + 0x14], eax
mov eax, dword [edx + ecx - 3]
cmp eax, dword [edi + ecx - 3]
jne 0x5bb092
mov esi, dword [esp + 0x20]
mov eax, edi
add esi, 0xfffffffd
cmp edi, esi
jae 0x5bb044
mov eax, dword [edx]
xor eax, dword [edi]
je 0x5bb024
mov esi, dword [esp + 0x20]
bsf eax, eax
mov ecx, eax
mov dword [esp + 0x78], eax
shr ecx, 3
jmp 0x5bb06c
lea eax, [edi + 4]
add edx, 4
cmp eax, esi
jae 0x5bb044
mov edi, edi
mov ecx, dword [edx]
xor ecx, dword [eax]
jne 0x5bb1eb
add eax, 4
add edx, 4
cmp eax, esi
jb 0x5bb030
mov esi, dword [esp + 0x20]
lea ecx, [esi - 1]
cmp eax, ecx
jae 0x5bb05d
mov cx, word [edx]
cmp cx, word [eax]
jne 0x5bb05d
add eax, 2
add edx, 2
cmp eax, esi
jae 0x5bb068
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x5bb068
inc eax
mov ecx, eax
sub ecx, edi
cmp ecx, dword [esp + 0x1c]
jbe 0x5bb08e
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
add eax, 3
mov dword [esp + 0x1c], ecx
mov dword [edx], eax
lea eax, [ecx + edi]
cmp eax, esi
je 0x5bb0a5
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x48]
inc eax
mov dword [esp + 0x48], eax
cmp eax, dword [esp + 0x18]
jb 0x5bafe0
mov edx, dword [esp + 0x50]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x30], eax
mov dword [esp + 0x78], ecx
sub ecx, eax
add dword [esp + 0x60], ecx
movzx eax, byte [edx]
and eax, 0x3f
xor ecx, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x88]
movsx eax, al
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movdqu xmmword [esp + 0x88], xmm0
movdqu xmm0, xmmword [edx]
lea edx, [edx + 0x10]
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
mov dword [esp + ecx*4 + 0x88], eax
inc ecx
cmp ecx, 4
jl 0x5bb103
mov eax, dword [esp + 0x94]
cdq
mov ecx, eax
mov esi, edx
mov eax, dword [esp + 0x90]
shld esi, ecx, 0x10
cdq
shl ecx, 0x10
or esi, edx
or ecx, eax
mov eax, dword [esp + 0x8c]
shld esi, ecx, 0x10
cdq
shl ecx, 0x10
or esi, edx
or ecx, eax
mov eax, dword [esp + 0x88]
shld esi, ecx, 0x10
cdq
shl ecx, 0x10
or esi, edx
or ecx, eax
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x2c]
movq xmm2, qword [esp + 0x88]
and ecx, 0x3f
movq xmm1, qword [esp + 0x88]
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 + 0x88], xmm2
mov esi, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
test esi, esi
jne 0x5bb1c9
test edx, edx
je 0x5bb32c
xor edi, edi
jmp 0x5bb1d0
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x5bb24f
test edx, edx
jne 0x5bb202
bsf eax, esi
mov dword [esp + 0x88], eax
add eax, 0x20
jmp 0x5bb20c
mov esi, dword [esp + 0x20]
bsf ecx, ecx
mov dword [esp + 0x78], ecx
shr ecx, 3
sub ecx, edi
add ecx, eax
jmp 0x5bb06c
bsf eax, edx
mov dword [esp + 0x88], eax
add eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x58]
and eax, 0x3f
mov eax, dword [edi + eax*4]
mov edi, dword [esp + 0xc]
je 0x5bb239
mov ecx, dword [esp + 0x50]
cmp eax, dword [ecx + 0xc]
jb 0x5bb24f
mov dword [esp + edi*4 + 0x98], eax
inc edi
dec dword [esp + 0x44]
mov dword [esp + 0xc], edi
mov ecx, edx
mov eax, esi
add ecx, 0xffffffff
adc eax, 0xffffffff
and edx, ecx
and esi, eax
ja 0x5bb1d0
jb 0x5bb24f
test edx, edx
jne 0x5bb1d0
test edi, edi
mov edi, dword [esp + 0x3c]
je 0x5bb32c
mov ecx, dword [esp + 0xc]
xor eax, eax
mov eax, dword [esp + eax*4 + 0x98]
mov esi, dword [esp + 0x78]
add esi, eax
mov dword [esp + 0x88], eax
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x5bb326
mov ecx, dword [esp + 0x20]
lea eax, [edi + 4]
add esi, 4
sub eax, esi
mov edx, esi
add eax, dword [esp + 0x30]
cmp eax, ecx
cmovb ecx, eax
push ecx
lea ecx, [edi + 4]
call fcn.0059fed0
add esp, 4
mov dword [esp + 0x58], eax
lea ecx, [eax + esi]
cmp ecx, dword [esp + 0x30]
jne 0x5bb2c9
mov esi, dword [esp + 0x20]
lea ecx, [edi + 4]
mov edx, dword [esp + 0x74]
add ecx, eax
push esi
call fcn.0059fed0
add esp, 4
add eax, dword [esp + 0x58]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + 4]
cmp ecx, edx
jbe 0x5bb2fb
mov eax, dword [esp + 0x40]
mov edx, ecx
sub eax, dword [esp + 0x88]
sub eax, dword [esp + 0x60]
mov esi, dword [esp + 0x6c]
add eax, 3
mov dword [esp + 0x1c], edx
mov dword [esi], eax
lea eax, [ecx + edi]
cmp eax, dword [esp + 0x20]
je 0x5bb310
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, ecx
jb 0x5bb261
mov eax, edx
pop edi
pop esi
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.0061b9b8
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x1c]
jmp 0x5bb2ff
mov ecx, dword [esp + 0x19c]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
xor ecx, esp
call fcn.0061b9b8
mov esp, ebp
pop ebp
ret