Function at 0x8c478e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x8c47070
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov esi, eax
push 0xffffffffffffffff
push 0x8c4707c
push esi
mov dword [ebp - 0x18], esi
call fcn.08c47eb0
push 0xffffffffffffffff
mov edi, eax
push 0x8c47088
push esi
mov dword [ebp - 0xc], edi
call fcn.08c47eb0
add esp, 0x18
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
push 0xd440
push pe_nt_image_headers32
mov esi, eax
call edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 8], eax
lea eax, [edi - 0x416]
mov ecx, eax
lea edx, [eax + 0x400]
cmp eax, edx
jae 0x8c47961
imul eax, eax, 0x19660d
mov ebx, dword [ecx]
add eax, 0x3c6ef375
xor ebx, eax
mov dword [ecx], ebx
add ecx, 4
cmp ecx, edx
jb 0x8c47949
mov ebx, dword [ebp + 8]
add edi, 0xfffffc06
mov dword [ebp - 0x1c], edi
mov edx, 1
mov eax, dword [edi - 4]
sub eax, edx
inc edx
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0xc]
lea eax, [edi + eax*8]
mov eax, dword [eax + 8]
add eax, ecx
add ecx, esi
add eax, esi
cmp ecx, ebx
jae 0x8c47972
cmp ebx, eax
jae 0x8c47972
lea ecx, [ebx + 0xc]
mov edx, ebx
and ecx, 0xfffffffc
cmp ecx, eax
jae 0x8c479b8
imul edx, edx, 0x19660d
mov esi, dword [ecx]
add edx, 0x3c6ef375
xor esi, edx
mov dword [ecx], esi
add ecx, 4
cmp ecx, eax
jb 0x8c4799f
mov esi, dword [ebx + 4]
mov ecx, dword [ebx]
mov edx, dword [ebx + 8]
push esi
push pe_nt_image_headers32
mov dword [ebp + 8], ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], edx
call dword [ebp - 0xc]
mov edi, eax
test edi, edi
mov dword [ebp + 0xc], edi
je 0x8c479e0
cmp esi, 0x10000
jbe 0x8c479ee
push 0
push 0
push 0
push 0xef0000ff
call dword [ebp - 4]
mov ecx, esi
lea esi, [ebx + 0xc]
mov eax, ecx
mov edx, dword [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push esi
push ebx
push ecx
mov ecx, dword [ebp - 8]
push edx
call fcn.08c47760
cmp eax, esi
je 0x8c47a28
push 0
push 0
push 0
push 0xef0000f9
call dword [ebp - 4]
push esi
push ebx
push 0
call fcn.08c47620
mov ecx, dword [ebp - 0x14]
add esp, 0xc
cmp eax, ecx
je 0x8c47a49
push 0
push 0
push 0
push 0xef0000fb
call dword [ebp - 4]
mov edi, dword [ebp - 0x18]
push 0xffffffffffffffff
push 0x8c47104
push edi
call fcn.08c47eb0
push 0xffffffffffffffff
push 0x8c470f0
push edi
mov dword [0x8c5c0f0], eax
call fcn.08c47eb0
mov edi, eax
mov eax, dword [0x8c5c0f0]
add esp, 0x18
test eax, eax
jne 0x8c47a87
push 0
push 0
push 0
push 0xef0000fc
call dword [ebp - 4]
call edi
push esi
push ebx
push eax
mov dword [0x8c5c85c], eax
call dword [0x8c5c0f0]
mov eax, dword [ebp + 0xc]
push eax
push 0x34
call fcn.08c4a52c
mov ecx, dword [ebp - 8]
push ecx
push 0x34
call fcn.08c4a52c
push 0x8c5c1e0
push 0x2a
call fcn.08c4a52c
push 0x8c5c1c0
push 0x2a
call fcn.08c4a52c
call fcn.08c48a10
push 0x84
call fcn.08c54af0
add esp, 4
test eax, eax
pop edi
pop esi
pop ebx
je 0x8c47ae7
mov ecx, eax
call fcn.08c486a0
jmp 0x8c47ae9
xor eax, eax
mov edx, 0x8c47ff0
mov dword [edx + 4], eax
call int.08c55770
mov dword [0x8c632ec], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax - 4]
mov dword [0x8c470a0], eax
mov dword [0x8c4709c], ecx
mov esp, ebp
pop ebp
ret 8