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

Disassembly:
mov eax, 0x60
call fcn.004cba10
mov eax, dword [0x718924]
xor eax, esp
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x6c]
push ebx
mov ebx, dword [esp + 0x84]
push ebp
push esi
mov esi, dword [esp + 0x70]
push edi
mov edi, dword [esp + 0x88]
push edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 1
call fcn.00585420
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
js 0x5cf7cc
call fcn.005cfe70
mov ebp, eax
mov dword [esp + 0x10], ebp
test ebp, ebp
je 0x5cf7cc
test esi, esi
jne 0x5cf520
mov esi, 0x67cae8
xor ecx, ecx
jmp 0x5cf539
mov ecx, dword [esp + 0x78]
cmp ecx, 0xffffffff
jne 0x5cf539
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5cf530
sub ecx, edx
push 0
push edi
push ecx
push esi
push ebp
call fcn.005d0060
add esp, 0x14
test eax, eax
je 0x5cf7c3
call fcn.005cfe70
mov ebp, eax
mov dword [esp + 0x28], ebp
test ebp, ebp
je 0x5cf7bf
mov edx, dword [esp + 0x8c]
test edx, edx
je 0x5cf76e
mov ecx, 1
cmp edx, dword [esp + 0x1c]
mov edi, edx
push dword [esp + 0x10]
cmovg edi, dword [esp + 0x20]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x18], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x19], al
mov eax, ecx
shr eax, 8
push ebp
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], cl
call fcn.005cfd60
add esp, 8
test eax, eax
je 0x5cf798
push dword [esp + 0x80]
push dword [esp + 0x28]
push ebp
call fcn.005d0370
add esp, 0xc
test eax, eax
je 0x5cf798
push 4
lea eax, [esp + 0x18]
push eax
push ebp
call fcn.005d0370
add esp, 0xc
test eax, eax
je 0x5cf798
push 0
lea eax, [esp + 0x30]
push eax
push ebp
call fcn.005cffb0
add esp, 0xc
test eax, eax
je 0x5cf798
push edi
lea eax, [esp + 0x30]
push eax
push ebx
call fcn.004e25c0
mov esi, 1
add esp, 0xc
mov dword [esp + 0x18], esi
cmp dword [esp + 0x84], esi
jle 0x5cf74b
push dword [esp + 0x10]
push ebp
call fcn.005cfd60
add esp, 8
test eax, eax
je 0x5cf798
push dword [esp + 0x1c]
lea eax, [esp + 0x30]
push eax
push ebp
call fcn.005d0370
add esp, 0xc
test eax, eax
je 0x5cf798
push 0
lea eax, [esp + 0x30]
push eax
push ebp
call fcn.005cffb0
add esp, 0xc
test eax, eax
je 0x5cf798
xor ecx, ecx
test edi, edi
jle 0x5cf739
cmp edi, 0x40
jb 0x5cf716
lea edx, [ebx - 1]
lea eax, [esp + edi + 0x2b]
add edx, edi
cmp ebx, eax
ja 0x5cf699
lea eax, [esp + 0x2c]
cmp edx, eax
jae 0x5cf716
mov eax, edi
and eax, 0x8000003f
jns 0x5cf6a7
dec eax
or eax, 0xffffffc0
inc eax
mov edx, edi
lea esi, [esp + 0x2c]
sub edx, eax
lea ebp, [esp + 0x3c]
sub esi, ebx
lea eax, [ebx + 0x20]
sub ebp, ebx
nop word [eax + eax]
movups xmm0, xmmword [eax - 0x20]
lea eax, [eax + 0x40]
movups xmm1, xmmword [esp + ecx + 0x2c]
pxor xmm1, xmm0
movups xmmword [eax - 0x60], xmm1
movups xmm0, xmmword [eax - 0x50]
movups xmm1, xmmword [esp + ecx + 0x3c]
add ecx, 0x40
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [esi + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [eax + ebp - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
cmp ecx, edx
jl 0x5cf6c0
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
cmp ecx, edi
jge 0x5cf739
lea esi, [esp + 0x2c]
mov edx, edi
sub esi, ebx
lea eax, [ecx + ebx]
sub edx, ecx
mov cl, byte [esi + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x5cf727
mov esi, dword [esp + 0x18]
inc esi
mov dword [esp + 0x18], esi
cmp esi, dword [esp + 0x84]
jl 0x5cf626
mov edx, dword [esp + 0x8c]
add ebx, edi
mov ecx, dword [esp + 0x20]
sub edx, edi
inc ecx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x20], ecx
test edx, edx
jne 0x5cf576
push ebp
call fcn.005cfe10
push dword [esp + 0x14]
call fcn.005cfe10
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.004cb998
add esp, 0x60
ret
push ebp
call fcn.005cfe10
push dword [esp + 0x14]
call fcn.005cfe10
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.004cb998
add esp, 0x60
ret
mov ebp, dword [esp + 0x10]
push ebp
call fcn.005cfe10
add esp, 4
mov ecx, dword [esp + 0x6c]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004cb998
add esp, 0x60
ret