Function at 0x5bfa00
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]
push esi
mov dword [esp + 0x3c], eax
mov esi, 1
mov eax, dword [ebp + 0xc]
push edi
mov edi, edx
mov dword [esp + 0x64], eax
mov edx, ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], edx
mov eax, dword [edx + 0x5c]
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x38], eax
mov eax, dword [edx + 0x28]
mov dword [esp + 0x34], eax
lea eax, [edx + 0x2c]
mov dword [esp + 0x6c], eax
mov eax, dword [edx + 0x24]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0xc], eax
mov eax, dword [edx + 4]
add ecx, eax
mov dword [esp + 0x70], ecx
mov ecx, edi
sub ecx, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [edx + 0xb8]
mov eax, dword [esp + 0x2c]
shl esi, cl
mov ecx, dword [edx + 0x10]
sub eax, ecx
cmp eax, esi
jbe 0x5bfa90
mov eax, dword [esp + 0x2c]
sub eax, esi
jmp 0x5bfa92
mov eax, ecx
cmp dword [edx + 0x18], 0
push 0xcf1bbcdc
cmovne eax, ecx
mov dword [esp + 0x1c], 3
mov dword [esp + 0x20], eax
mov ecx, 6
mov eax, dword [edx + 0xc4]
cmp eax, ecx
mov dword [esp + 0x4c], eax
cmovb ecx, eax
mov eax, dword [edx + 0x50]
mov dword [esp + 0x5c], eax
mov eax, dword [edx + 0x54]
mov dword [esp + 0x54], eax
mov eax, 1
shl eax, cl
mov dword [esp + 0x24], eax
mov eax, dword [edx + 0xb4]
push 0xbb000000
push dword [edi + 4]
mov dword [esp + 0x68], eax
mov esi, dword [eax + 0xc0]
push dword [edi]
sub esi, 2
call fcn.00620b50
mov ecx, 0x40
sub ecx, esi
call fcn.00622f20
mov ecx, dword [esp + 0x48]
shl eax, 2
mov dword [esp + 0x54], eax
cmp ecx, 6
jbe 0x5bfb25
add ecx, 0xfffffffa
mov eax, 1
shl eax, cl
mov dword [esp + 0x48], eax
jmp 0x5bfb2d
mov dword [esp + 0x48], 0
mov esi, dword [esp + 0x24]
mov dword [esp + 0x74], 0x3f
cmp dword [esi + 0xdc], 0
jne 0x5bfde7
mov edx, dword [esp + 0x10]
mov eax, edi
mov ecx, dword [esi + 0x1c]
sub eax, edx
mov dword [esp + 0x60], eax
sub eax, ecx
mov dword [esp + 0x28], ecx
cmp eax, 0x180
jbe 0x5bfcc7
lea eax, [ecx + 0x60]
mov dword [esp + 0x68], eax
cmp ecx, eax
jae 0x5bfc22
mov eax, dword [esp + 0xc]
mov esi, 0x40
mov edi, dword [esp + 0x24]
add eax, 8
sub esi, eax
lea eax, [edx + 8]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x44], eax
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, dword [esp + 0x28]
and ecx, 7
mov edx, dword [edi + ecx*4 + 0x2c]
mov esi, edx
mov dword [edi + ecx*4 + 0x2c], eax
mov eax, 0
shr esi, 2
mov dword [esp + 0x14], edx
and esi, 0x3fffffc0
mov edx, dword [esp + 0x34]
add edx, esi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, dword [esp + 0x74]
add ecx, eax
mov eax, dword [esp + 0x14]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + esi]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x4c]
mov dword [edx + eax*4], ecx
inc ecx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], ecx
cmp ecx, dword [esp + 0x68]
jb 0x5bfb92
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x60]
lea edx, [edi + 1]
mov eax, dword [esp + 0x10]
add ecx, 0xffffffe0
add eax, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], ecx
cmp eax, edx
jbe 0x5bfc42
xor edx, edx
jmp 0x5bfc49
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 + 0x44], edx
cmp ecx, edx
jae 0x5bfcc7
mov eax, dword [esi + 0x24]
mov ecx, 0x40
add eax, 8
mov edi, edx
mov edx, dword [esp + 0x14]
sub ecx, eax
mov dword [esp + 0x4c], ecx
jmp 0x5bfc80
mov eax, dword [esp + 0x10]
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 + 0x4c]
call fcn.00622f20
mov edx, dword [esp + 0x14]
mov ecx, edx
and ecx, 7
inc edx
mov dword [esp + 0x14], edx
mov dword [esi + ecx*4 + 0x2c], eax
cmp edx, edi
jb 0x5bfc80
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov eax, dword [esi + 0x5c]
mov edx, dword [esi + 0x24]
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x68], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x60]
cmp ecx, eax
jae 0x5bfd93
mov edi, dword [esp + 0x60]
lea eax, [edx + 8]
mov edx, 0x40
sub edx, eax
mov dword [esp + 0x4c], edx
lea ecx, [ecx]
mov eax, dword [esp + 0x44]
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 + 0x4c]
call fcn.00622f20
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x6c]
and ecx, 7
mov edx, dword [esi + ecx*4]
mov dword [esi + ecx*4], eax
mov esi, edx
shr esi, 2
mov eax, 0
mov dword [esp + 0x14], edx
and esi, 0x3fffffc0
mov edx, dword [esp + 0x68]
add edx, esi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, dword [esp + 0x74]
add ecx, eax
mov eax, dword [esp + 0x14]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + esi]
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov dword [edx + eax*4], ecx
inc ecx
mov dword [esp + 0x28], ecx
cmp ecx, edi
jb 0x5bfd00
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
push 0xcf1bbcdc
push 0xbb000000
push dword [ecx + eax + 0xc]
add esi, 8
push dword [ecx + eax + 8]
call fcn.00620b50
xor eax, dword [esp + 0x58]
mov ecx, 0x40
xor edx, dword [esp + 0x50]
sub ecx, esi
call fcn.00622f20
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x6c]
and ecx, 7
mov edx, dword [esi + ecx*4]
mov dword [esi + ecx*4], eax
mov ecx, dword [esp + 0x24]
jmp 0x5bfe23
mov esi, dword [esp + 0xc]
push 0xcf1bbcdc
push 0xbb000000
push dword [edi + 4]
add esi, 8
push dword [edi]
call fcn.00620b50
xor eax, dword [esp + 0x58]
mov ecx, 0x40
xor edx, dword [esp + 0x50]
sub ecx, esi
call fcn.00622f20
mov ecx, dword [esp + 0x24]
mov edx, eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 0x1c], eax
add dword [ecx + 0x58], edx
mov ecx, edx
movzx eax, dl
mov edx, dword [esp + 0x34]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x38]
shr ecx, 2
and ecx, 0x3fffffc0
mov dword [esp + 0xc], 0
add edx, ecx
mov dword [esp + 0x58], 0
mov dword [esp + 0x4c], edx
lea eax, [eax + ecx*4]
mov dword [esp + 0x38], eax
movzx eax, byte [edx]
mov dword [esp + 0x44], eax
and eax, 0x3f
mov dword [esp + 0x34], eax
xor ecx, ecx
mov eax, dword [esp + 0x50]
movsx eax, al
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movdqu xmmword [esp + 0x78], xmm0
mov edi, edi
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 0x5bfe90
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 + 0x34]
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 0x5bff34
test edx, edx
je 0x5bff94
xor edi, edi
cmp dword [esp + 0x20], 0
jbe 0x5bff8c
test edx, edx
jne 0x5bff4d
bsf eax, esi
mov dword [esp + 0x78], eax
add eax, 0x20
jmp 0x5bff54
bsf eax, edx
mov dword [esp + 0x78], eax
add eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
and eax, 0x3f
mov eax, dword [ecx + eax*4]
je 0x5bff76
cmp eax, dword [esp + 0x1c]
jb 0x5bff8c
mov dword [esp + edi*4 + 0x88], eax
inc edi
dec dword [esp + 0x20]
mov ecx, edx
mov eax, esi
add ecx, 0xffffffff
adc eax, 0xffffffff
and edx, ecx
and esi, eax
ja 0x5bff36
jb 0x5bff8c
test edx, edx
jne 0x5bff36
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, 0x3f
mov esi, dword [esp + 0x38]
dec ecx
and ecx, 0x3f
mov eax, 0
cmove eax, edx
mov edx, dword [esp + 0x50]
add ecx, eax
mov eax, dword [esp + 0x4c]
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 0x5c00a4
mov ecx, 3
xor eax, eax
jmp 0x5bffe0
mov eax, dword [esp + eax*4 + 0x88]
mov edx, dword [esp + 0x10]
add edx, eax
mov dword [esp + 0x78], eax
mov eax, dword [edx + ecx - 3]
cmp eax, dword [edi + ecx - 3]
jne 0x5c0091
mov esi, dword [esp + 0x40]
mov eax, edi
lea ecx, [esi - 3]
cmp edi, ecx
jae 0x5c0047
mov eax, dword [edx]
xor eax, dword [edi]
je 0x5c0020
bsf eax, eax
mov ecx, eax
mov dword [esp + 0x1c], eax
shr ecx, 3
jmp 0x5c006b
lea eax, [edi + 4]
add edx, 4
cmp eax, ecx
jae 0x5c0047
lea ebx, [ebx]
mov ecx, dword [edx]
xor ecx, dword [eax]
jne 0x5c0169
add eax, 4
lea ecx, [esi - 3]
add edx, 4
cmp eax, ecx
jb 0x5c0030
lea ecx, [esi - 1]
cmp eax, ecx
jae 0x5c005c
mov cx, word [edx]
cmp cx, word [eax]
jne 0x5c005c
add eax, 2
add edx, 2
cmp eax, esi
jae 0x5c0067
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x5c0067
inc eax
mov ecx, eax
sub ecx, edi
cmp ecx, dword [esp + 0x18]
jbe 0x5c008d
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x78]
mov edx, dword [esp + 0x64]
add eax, 3
mov dword [esp + 0x18], ecx
mov dword [edx], eax
lea eax, [ecx + edi]
cmp eax, esi
je 0x5c00a4
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x58]
inc eax
mov dword [esp + 0x58], eax
cmp eax, dword [esp + 0xc]
jb 0x5bffe0
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x48]
add esi, dword [esp + 0x20]
mov dword [esp + 0x30], esi
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
mov dword [esp + 0x34], eax
sub eax, edx
add eax, dword [esp + 0x3c]
mov dword [esp + 0x38], eax
mov eax, 3
cmp esi, eax
mov dword [esp + 0x10], edx
cmovb eax, esi
xor ecx, ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x48], ecx
test eax, eax
je 0x5c0271
mov eax, dword [esp + 0x54]
lea ecx, [eax*4]
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x5c]
mov eax, dword [ecx + eax]
mov ecx, dword [esp + 0x34]
add ecx, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ecx
test eax, eax
je 0x5c036d
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x5c0222
lea esi, [edi + 4]
add ecx, 4
mov eax, esi
sub eax, ecx
mov ecx, esi
add eax, edx
mov edx, dword [esp + 0x40]
cmp eax, edx
cmovb edx, eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
add eax, 0xfffffffd
add edx, 4
cmp esi, eax
jae 0x5c01a4
mov edx, dword [esp + 0x14]
mov ecx, dword [esi]
xor ecx, dword [edx + 4]
je 0x5c017c
bsf eax, ecx
lea edx, [edi + 4]
mov esi, eax
mov dword [esp + 0x3c], eax
shr esi, 3
jmp 0x5c01cf
bsf ecx, ecx
mov dword [esp + 0x1c], ecx
shr ecx, 3
sub ecx, edi
add ecx, eax
jmp 0x5c006b
lea ecx, [esi + 4]
add edx, 8
mov esi, dword [esp + 0xc]
add esi, 0xfffffffd
cmp ecx, esi
jae 0x5c01a4
lea ecx, [ecx]
mov eax, dword [ecx]
xor eax, dword [edx]
jne 0x5c023f
add ecx, 4
add edx, 4
cmp ecx, esi
jb 0x5c0190
mov esi, dword [esp + 0xc]
lea eax, [esi - 1]
cmp ecx, eax
jae 0x5c01bd
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x5c01bd
add ecx, 2
add edx, 2
cmp ecx, esi
jae 0x5c01c8
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x5c01c8
inc ecx
mov esi, ecx
lea edx, [edi + 4]
sub esi, edx
mov eax, dword [esp + 0x14]
add eax, 4
add eax, esi
cmp eax, dword [esp + 0x10]
jne 0x5c01f3
push dword [esp + 0x40]
lea ecx, [esi + edx]
mov edx, dword [esp + 0x74]
call fcn.0059fed0
add esp, 4
add esi, eax
add esi, 4
cmp esi, dword [esp + 0x18]
jbe 0x5c021e
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x64]
add eax, 3
mov dword [esp + 0x18], esi
mov dword [ecx], eax
lea eax, [esi + edi]
cmp eax, dword [esp + 0x40]
je 0x5c0257
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
add dword [esp + 0x20], 4
inc ecx
mov dword [esp + 0x48], ecx
cmp ecx, dword [esp + 0x78]
jae 0x5c026d
mov ecx, dword [esp + 0x20]
jmp 0x5c00f6
bsf eax, eax
lea edx, [edi + 4]
mov esi, eax
mov dword [esp + 0x3c], eax
shr esi, 3
sub esi, edx
add esi, ecx
jmp 0x5c01cf
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.0061b9b8
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x5c]
sub esi, ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x54], 0
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + edx*4 + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp + 0xc], eax
shr dword [esp + 0xc], 8
movzx eax, al
cmp esi, eax
cmova esi, eax
mov dword [esp + 0x30], esi
test esi, esi
je 0x5c036d
mov eax, dword [esp + 0xc]
lea ecx, [eax*4]
mov dword [esp + 0xc], ecx
lea ebx, [ebx]
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x34]
mov eax, dword [eax + 0x64]
mov eax, dword [ecx + eax]
add esi, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x5c034f
mov ecx, dword [esp + 0x40]
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 + 0x3c], eax
lea ecx, [eax + esi]
mov esi, dword [esp + 0x40]
cmp ecx, dword [esp + 0x10]
jne 0x5c0322
mov edx, dword [esp + 0x70]
lea ecx, [eax + 4]
push esi
add ecx, edi
call fcn.0059fed0
add esp, 4
add eax, dword [esp + 0x3c]
lea ecx, [eax + 4]
cmp ecx, dword [esp + 0x18]
jbe 0x5c034b
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x38]
mov edx, dword [esp + 0x64]
add eax, 3
mov dword [esp + 0x18], ecx
mov dword [edx], eax
lea eax, [ecx + edi]
cmp eax, esi
je 0x5c036d
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x54]
add ecx, 4
mov edx, dword [esp + 0x10]
inc eax
mov dword [esp + 0x54], eax
mov dword [esp + 0xc], ecx
cmp eax, dword [esp + 0x30]
jb 0x5c02c0
mov ecx, dword [esp + 0x18c]
mov eax, dword [esp + 0x18]
pop edi
pop esi
xor ecx, esp
call fcn.0061b9b8
mov esp, ebp
pop ebp
ret