Function at 0x4a7c80
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Get ntdll base address
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x4fb9ec]
sub esp, 0x24
test ecx, ecx
je 0x4a7fa8
mov eax, dword [0x4fb9e8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
push esi
push edi
test eax, eax
je 0x4a7d83
nop dword [eax]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [eax + 0x18]
mov eax, dword [0x4fbc80]
mov dword [ebp - 0xc], edx
test eax, eax
jne 0x4a7d5c
test edx, edx
je 0x4a7d52
mov eax, dword [edx + 0x3c]
mov ecx, dword [eax + edx + 0x78]
mov eax, dword [eax + edx + 0x7c]
mov dword [ebp - 0x20], eax
lea eax, [ecx + edx]
mov dword [ebp - 8], eax
cmp eax, edx
je 0x4a7d52
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp dword [eax + 0x18], ecx
je 0x4a7d52
mov ebx, dword [eax + 0x20]
add ebx, edx
nop dword [eax]
mov esi, dword [ebx]
mov edi, 0x811c9dc5
add esi, edx
mov al, byte [esi]
inc esi
test al, al
je 0x4a7d43
movsx edx, al
lea esi, [esi + 1]
sub al, 0x41
mov ecx, edx
or ecx, 0x20
cmp al, 0x19
mov al, byte [esi - 1]
cmova ecx, edx
xor ecx, edi
imul edi, ecx, 0x1000193
test al, al
jne 0x4a7d10
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
cmp edi, 0xa2f4b4fb
je 0x4a7dee
mov eax, dword [ebp - 8]
inc ecx
add ebx, 4
mov dword [ebp - 4], ecx
cmp ecx, dword [eax + 0x18]
jne 0x4a7d00
xor eax, eax
mov ebx, dword [ebp - 0x10]
mov dword [0x4fbc80], eax
push 0
push 0
push 0
push 0
push dword [0x4fb9e4]
call eax
mov eax, dword [0x4fb9e8]
inc ebx
mov dword [ebp - 0x10], ebx
cmp ebx, eax
jb 0x4a7cb0
mov ecx, dword [0x4fb9ec]
xor edx, edx
mov dword [ebp - 0xc], edx
test eax, eax
je 0x4a7fa0
shl edx, 2
mov dword [ebp - 0x20], edx
add edx, ecx
mov dword [ebp - 8], edx
cmp dword [edx], 0
je 0x4a7f91
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ebx, dword [eax + 0x18]
mov eax, dword [0x4fbc8c]
mov dword [ebp - 0x10], ebx
test eax, eax
jne 0x4a7e9e
test ebx, ebx
je 0x4a7e97
mov eax, dword [ebx + 0x3c]
mov edx, dword [eax + ebx + 0x78]
mov eax, dword [eax + ebx + 0x7c]
add edx, ebx
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x18], edx
cmp edx, ebx
jne 0x4a7e0b
mov edx, dword [ebp - 8]
jmp 0x4a7e99
mov ebx, dword [ebp - 8]
mov eax, dword [ebx + 0x24]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + edx]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
jmp 0x4a7d54
mov ecx, dword [edx + 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x4a7e94
mov edi, dword [edx + 0x20]
add edi, ebx
nop dword [eax]
mov edx, dword [edi]
mov esi, 0x811c9dc5
add edx, ebx
mov bl, byte [edx]
inc edx
test bl, bl
je 0x4a7e61
movsx ecx, bl
lea edx, [edx + 1]
sub bl, 0x41
mov eax, ecx
or eax, 0x20
cmp bl, 0x19
mov bl, byte [edx - 1]
cmova eax, ecx
xor eax, esi
imul esi, eax, 0x1000193
test bl, bl
jne 0x4a7e30
cmp esi, 0xe446330e
je 0x4a7e71
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
inc eax
add edi, 4
mov dword [ebp - 4], eax
cmp eax, ecx
je 0x4a7e94
mov ebx, dword [ebp - 0x10]
jmp 0x4a7e20
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x24]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov edx, dword [ebp - 8]
jmp 0x4a7e99
mov edx, dword [ebp - 8]
xor eax, eax
mov dword [0x4fbc8c], eax
push 0
push 0
push dword [edx]
call eax
mov eax, dword fs:[0x30]
mov ecx, dword [0x4f3784]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ebx, dword [eax + 0x18]
mov dword [ebp - 0x10], ebx
test ecx, ecx
jne 0x4a7f79
test ebx, ebx
je 0x4a7f71
mov eax, dword [ebx + 0x3c]
mov edx, dword [eax + ebx + 0x78]
mov eax, dword [eax + ebx + 0x7c]
add edx, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
cmp edx, ebx
je 0x4a7f71
mov ecx, dword [edx + 0x18]
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x4a7f71
mov edi, dword [edx + 0x20]
add edi, ebx
nop
mov edx, dword [edi]
mov esi, 0x811c9dc5
add edx, ebx
mov bl, byte [edx]
inc edx
test bl, bl
je 0x4a7f41
movsx ecx, bl
lea edx, [edx + 1]
sub bl, 0x41
mov eax, ecx
or eax, 0x20
cmp bl, 0x19
mov bl, byte [edx - 1]
cmova eax, ecx
xor eax, esi
imul esi, eax, 0x1000193
test bl, bl
jne 0x4a7f10
cmp esi, 0xe049c205
je 0x4a7f51
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
inc eax
add edi, 4
mov dword [ebp - 8], eax
cmp eax, ecx
je 0x4a7f71
mov ebx, dword [ebp - 0x10]
jmp 0x4a7f00
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x24]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + edx]
add ecx, edx
jmp 0x4a7f73
xor ecx, ecx
mov dword [0x4f3784], ecx
mov eax, dword [0x4fb9ec]
mov edx, dword [ebp - 0x20]
push dword [edx + eax]
call ecx
mov ecx, dword [0x4fb9ec]
mov eax, dword [0x4fb9e8]
mov edx, dword [ebp - 0xc]
inc edx
mov dword [ebp - 0xc], edx
cmp edx, eax
jb 0x4a7d90
call fcn.004bced0
pop edi
pop esi
pop ebx
push dword [0x4fb9e4]
call fcn.00411330
call eax
push 0xc
push 0
push 0x4fb9e4
call fcn.0040d020
add esp, 0xc
mov esp, ebp
pop ebp
ret