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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
xor eax, eax
push ebx
push edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0x10
mov edx, ecx
push edx
push esi
mov dword [esp + 0x24], 0
call fcn.10007850
add esp, 0x14
test eax, eax
jne 0x10004ead
mov eax, dword [esp + 0x28]
movzx ecx, al
shl ecx, 8
movzx edx, ah
movzx eax, byte [esp + 0x2a]
or ecx, edx
movzx edx, byte [esp + 0x2b]
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, edx
mov eax, ecx
mov ecx, dword [esp + 0x2c]
movzx edx, cl
shl edx, 8
movzx ecx, ch
or edx, ecx
movzx ecx, byte [esp + 0x2e]
shl edx, 8
or edx, ecx
movzx ecx, byte [esp + 0x2f]
shl edx, 8
or edx, ecx
xor ecx, ecx
or eax, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
movzx ecx, byte [esp + 0x33]
movzx ebx, al
xor edi, edi
or edi, edx
movzx edx, ah
movzx eax, byte [esp + 0x32]
shl ebx, 8
or ebx, edx
shl ebx, 8
or ebx, eax
mov eax, dword [esp + 0x34]
movzx edx, al
shl edx, 8
movzx eax, ah
or edx, eax
movzx eax, byte [esp + 0x36]
shl edx, 8
or edx, eax
movzx eax, byte [esp + 0x37]
shl ebx, 8
shl edx, 8
or ebx, ecx
or edx, eax
xor eax, eax
xor ecx, ecx
or ecx, edx
mov edx, dword [esp + 0x1c]
or ebx, eax
mov dword [esp + 0x18], edi
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0xf8], edi
mov dword [esi + 0xfc], edx
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esp + 0xc], 4
mov eax, ecx
shrd ecx, ebx, 1
shr ebx, 1
xor edx, edx
shl edi, 0x1f
or ebx, edi
and eax, 1
or ecx, edx
imul eax, eax, 0xe1000000
mov edx, dword [esp + 0x18]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x1c]
shrd edx, ebx, 1
shr ebx, 1
xor edi, edi
xor edi, edx
mov edx, dword [esp + 0xc]
xor eax, ebx
mov ebx, dword [esp + 0x24]
mov dword [esi + edx*8 + 0x38], ecx
mov dword [esi + edx*8 + 0x3c], ebx
mov dword [esi + edx*8 + 0xb8], edi
mov dword [esi + edx*8 + 0xbc], eax
sar edx, 1
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], edx
test edx, edx
jg 0x10004dab
mov ebx, 2
mov dword [esp + 0xc], ebx
cmp ebx, 1
mov eax, dword [esi + ebx*8 + 0xb8]
mov ecx, dword [esi + ebx*8 + 0xbc]
lea edi, [esi + ebx*8 + 0xb8]
lea edx, [esi + ebx*8 + 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [edx]
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
jle 0x10004e9c
sub edi, edx
dec ebx
lea ecx, [edx + 8]
lea eax, [esi + 0x40]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebx
mov edi, dword [eax + 0x80]
mov ebx, dword [eax + 0x84]
xor edi, dword [esp + 0x18]
xor ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov dword [edx + ecx], edi
mov edi, dword [esp + 0x24]
mov dword [edx + ecx + 4], ebx
xor edi, dword [eax + 4]
mov edx, dword [esp + 0x20]
xor edx, dword [eax]
mov dword [ecx + 4], edi
mov dword [ecx], edx
add eax, 8
add ecx, 8
sub dword [esp + 0x10], 1
jne 0x10004e5a
mov ebx, dword [esp + 0xc]
add ebx, ebx
cmp ebx, 8
mov dword [esp + 0xc], ebx
jle 0x10004e16
xor eax, eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret