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

Disassembly:
mov eax, 0xa8
call fcn.004e2da0
mov eax, dword [0x563374]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0xb8]
push ebx
mov ebx, dword [esp + 0xb8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xb4]
push esi
mov ecx, ebx
shl ecx, 7
lea esi, [ecx + eax - 0x40]
push edi
mov ecx, 0x10
lea edi, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, ebx
shld edx, eax, 1
add eax, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
test edx, edx
jb 0x4c1cf1
ja 0x4c1a07
test eax, eax
je 0x4c1cf1
push ebp
jmp 0x4c1a14
mov ecx, dword [esp + 0x1c]
xor eax, eax
xor edx, edx
jmp 0x4c1a20
mov esi, dword [ecx]
xor dword [esp + eax*4 + 0x74], esi
add ecx, 4
add eax, 1
adc edx, 0
jne 0x4c1a36
cmp eax, 0x10
jb 0x4c1a20
mov dword [esp + 0x1c], ecx
mov ecx, 0x10
lea esi, [esp + 0x74]
lea edi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x18], 4
mov ebx, dword [esp + 0x48]
lea ebp, [edx + esi]
rol ebp, 7
xor eax, ebp
lea ebp, [eax + esi]
rol ebp, 9
xor ecx, ebp
lea ebp, [ecx + eax]
rol ebp, 0xd
xor edx, ebp
lea ebp, [ecx + edx]
ror ebp, 0xe
xor esi, ebp
mov ebp, dword [esp + 0x38]
add ebp, ebx
rol ebp, 7
xor edi, ebp
lea ebp, [edi + ebx]
rol ebp, 9
mov ebx, dword [esp + 0x68]
xor ebx, ebp
lea ebp, [ebx + edi]
rol ebp, 0xd
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x38]
xor ebx, ebp
mov ebp, dword [esp + 0x68]
add ebp, ebx
ror ebp, 0xe
xor dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x5c]
add ebp, dword [esp + 0x4c]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x6c]
rol ebp, 7
xor ebx, ebp
mov ebp, dword [esp + 0x5c]
add ebp, ebx
rol ebp, 9
mov dword [esp + 0x6c], ebx
mov ebx, dword [esp + 0x3c]
xor ebx, ebp
mov ebp, dword [esp + 0x6c]
add ebp, ebx
rol ebp, 0xd
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x4c]
xor ebx, ebp
mov ebp, dword [esp + 0x3c]
add ebp, ebx
ror ebp, 0xe
xor dword [esp + 0x5c], ebp
mov ebp, dword [esp + 0x70]
add ebp, dword [esp + 0x60]
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x40]
rol ebp, 7
xor ebx, ebp
mov ebp, dword [esp + 0x70]
add ebp, ebx
rol ebp, 9
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x50]
xor ebx, ebp
mov ebp, dword [esp + 0x40]
add ebp, ebx
rol ebp, 0xd
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x60]
xor ebx, ebp
mov ebp, dword [esp + 0x50]
add ebp, ebx
ror ebp, 0xe
xor dword [esp + 0x70], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x38]
lea ebp, [ebp + esi]
rol ebp, 7
xor ebx, ebp
mov dword [esp + 0x38], ebx
lea ebp, [ebx + esi]
mov ebx, dword [esp + 0x3c]
rol ebp, 9
xor ebx, ebp
mov ebp, dword [esp + 0x38]
add ebp, ebx
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x40]
rol ebp, 0xd
xor ebx, ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x40], ebx
add ebx, dword [esp + 0x3c]
lea ebp, [ebp + eax]
ror ebx, 0xe
xor esi, ebx
mov ebx, dword [esp + 0x4c]
rol ebp, 7
xor ebx, ebp
mov ebp, dword [esp + 0x48]
add ebp, ebx
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x50]
rol ebp, 9
xor ebx, ebp
mov dword [esp + 0x50], ebx
add ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x60]
rol ebx, 0xd
xor eax, ebx
mov ebx, dword [esp + 0x50]
add ebx, eax
ror ebx, 0xe
xor dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x5c]
add ebx, edi
rol ebx, 7
xor ebp, ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x60], ebp
add ebp, ebx
rol ebp, 9
xor ecx, ebp
mov ebp, dword [esp + 0x60]
add ebp, ecx
rol ebp, 0xd
xor edi, ebp
lea ebp, [edi + ecx]
ror ebp, 0xe
xor ebx, ebp
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x5c], ebx
mov ebx, dword [esp + 0x70]
add ebx, dword [esp + 0x6c]
rol ebx, 7
xor edx, ebx
mov ebx, dword [esp + 0x68]
lea ebp, [ebp + edx]
rol ebp, 9
xor ebx, ebp
lea ebp, [ebx + edx]
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x6c]
rol ebp, 0xd
xor ebx, ebp
mov dword [esp + 0x6c], ebx
add ebx, dword [esp + 0x68]
ror ebx, 0xe
xor dword [esp + 0x70], ebx
dec dword [esp + 0x18]
jne 0x4c1a65
mov dword [esp + 0x44], eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x34], esi
xor eax, eax
mov edx, dword [esp + eax + 0x34]
mov ecx, dword [esp + eax + 0x38]
add dword [esp + eax + 0x74], edx
add dword [esp + eax + 0x78], ecx
mov edx, dword [esp + eax + 0x3c]
mov ecx, dword [esp + eax + 0x40]
add dword [esp + eax + 0x7c], edx
add dword [esp + eax + 0x80], ecx
add eax, 0x10
cmp eax, 0x40
jl 0x4c1c62
lea edx, [esp + 0x34]
push 0x40
push edx
call fcn.00443420
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, eax
and edi, 1
imul edi, dword [esp + 0x34]
mov ecx, eax
mov esi, edx
shrd ecx, esi, 1
add edi, ecx
shl edi, 6
add edi, dword [esp + 0x30]
shr esi, 1
add esp, 8
add eax, 1
adc edx, 0
mov ecx, 0x10
lea esi, [esp + 0x74]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
cmp edx, dword [esp + 0x24]
jb 0x4c1a10
ja 0x4c1cf0
cmp eax, dword [esp + 0x20]
jb 0x4c1a10
pop ebp
lea edx, [esp + 0x70]
push 0x40
push edx
call fcn.00443420
mov ecx, dword [esp + 0xb8]
add esp, 8
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004e6abd
add esp, 0xa8
ret