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

Disassembly:
mov eax, 0x6c
call fcn.0040f530
mov eax, dword [0x6cb06c]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x78]
push ebx
mov ebx, dword [esp + 0x88]
push esi
mov esi, dword [esp + 0x78]
push edi
mov edi, dword [esp + 0x98]
push ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], 1
call fcn.00582300
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
js 0x5c4898
call fcn.005c50b0
mov dword [esp + 0x1c], eax
test eax, eax
je 0x5c4898
test esi, esi
jne 0x5c4859
mov esi, 0x6673ab
xor ecx, ecx
jmp 0x5c4879
mov ecx, dword [esp + 0x80]
cmp ecx, 0xffffffff
jne 0x5c4879
mov ecx, esi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5c4870
sub ecx, edx
push 0
push ebx
push ecx
push esi
mov esi, dword [esp + 0x2c]
push esi
call fcn.005c5290
add esp, 0x14
test eax, eax
jne 0x5c48ac
push esi
call fcn.005c5040
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0040e215
add esp, 0x6c
ret
push ebp
call fcn.005c50b0
mov ebp, eax
mov dword [esp + 0x34], ebp
test ebp, ebp
jne 0x5c48da
push esi
call fcn.005c5040
add esp, 4
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0040e215
add esp, 0x6c
ret
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x5c4ae5
mov edx, 1
nop
cmp ecx, dword [esp + 0x18]
mov ebx, ecx
mov eax, edx
mov byte [esp + 0x13], dl
cmovg ebx, dword [esp + 0x18]
shr eax, 0x18
mov byte [esp + 0x10], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x11], al
mov eax, edx
shr eax, 8
push esi
push ebp
mov byte [esp + 0x1a], al
call fcn.005c4f90
add esp, 8
test eax, eax
je 0x5c4b0c
push dword [esp + 0x8c]
push dword [esp + 0x2c]
push ebp
call fcn.005c54a0
add esp, 0xc
test eax, eax
je 0x5c4b0c
push 4
lea eax, [esp + 0x14]
push eax
push ebp
call fcn.005c54a0
add esp, 0xc
test eax, eax
je 0x5c4b0c
push 0
lea eax, [esp + 0x3c]
push eax
push ebp
call fcn.005c51e0
add esp, 0xc
test eax, eax
je 0x5c4b0c
push ebp
call fcn.005c50f0
push ebx
lea eax, [esp + 0x40]
push eax
push edi
call fcn.004ede50
add esp, 0x10
mov dword [esp + 0x1c], 1
cmp dword [esp + 0x90], 1
jle 0x5c4abe
push esi
push ebp
call fcn.005c4f90
add esp, 8
test eax, eax
je 0x5c4b0c
push dword [esp + 0x18]
lea eax, [esp + 0x3c]
push eax
push ebp
call fcn.005c54a0
add esp, 0xc
test eax, eax
je 0x5c4b0c
push 0
lea eax, [esp + 0x3c]
push eax
push ebp
call fcn.005c51e0
add esp, 0xc
test eax, eax
je 0x5c4b0c
push ebp
call fcn.005c50f0
add esp, 4
xor esi, esi
test ebx, ebx
jle 0x5c4aa4
cmp ebx, 0x20
jb 0x5c4a7f
lea ecx, [edi - 1]
lea eax, [esp + ebx + 0x37]
add ecx, ebx
cmp edi, eax
ja 0x5c4a18
lea eax, [esp + 0x38]
cmp ecx, eax
jae 0x5c4a7f
mov eax, ebx
and eax, 0x8000001f
jns 0x5c4a26
dec eax
or eax, 0xffffffe0
inc eax
mov edx, ebx
lea ebp, [esp + 0x48]
sub edx, eax
mov ecx, edi
mov eax, edi
lea edi, [esp + 0x38]
neg eax
add edi, eax
add eax, ebp
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
movups xmm0, xmmword [ecx]
add esi, 0x20
lea ecx, [ecx + 0x20]
movups xmm1, xmmword [eax + ecx - 0x20]
pxor xmm1, xmm0
movups xmmword [ecx - 0x20], xmm1
movups xmm1, xmmword [ecx + ebp - 0x20]
movups xmm0, xmmword [ecx - 0x10]
pxor xmm1, xmm0
movups xmmword [ecx - 0x10], xmm1
cmp esi, edx
jl 0x5c4a50
mov ebp, dword [esp + 0x34]
cmp esi, ebx
jge 0x5c4aa4
lea eax, [esi + edi]
mov edx, ebx
lea edi, [esp + 0x38]
sub edi, dword [esp + 0x14]
sub edx, esi
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x5c4a92
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
inc esi
cmp esi, dword [esp + 0x90]
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x20]
jl 0x5c49a3
mov ecx, dword [esp + 0x98]
add edi, ebx
mov edx, dword [esp + 0x24]
sub ecx, ebx
inc edx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], edi
test ecx, ecx
jne 0x5c48f0
push ebp
call fcn.005c5040
push esi
call fcn.005c5040
add esp, 8
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0040e215
add esp, 0x6c
ret
push ebp
call fcn.005c5040
push esi
call fcn.005c5040
mov ecx, dword [esp + 0x80]
add esp, 8
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040e215
add esp, 0x6c
ret