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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword fs:[0x30]
push ebx
push esi
push edi
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ebx, dword [eax + 0x18]
mov eax, dword [0x4fbf00]
mov dword [ebp - 8], ebx
test eax, eax
jne 0x4c4859
test ebx, ebx
je 0x4c4852
mov eax, dword [ebx + 0x3c]
mov edx, dword [eax + ebx + 0x78]
mov eax, dword [eax + ebx + 0x7c]
add edx, ebx
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x10], edx
cmp edx, ebx
je 0x4c4854
mov ecx, dword [edx + 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
test ecx, ecx
je 0x4c4852
mov edi, dword [edx + 0x20]
add edi, ebx
mov edx, dword [edi]
mov esi, 0x811c9dc5
add edx, ebx
mov bl, byte [edx]
inc edx
test bl, bl
je 0x4c4822
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 0x4c47f1
cmp esi, 0xd7849c08
je 0x4c4832
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
inc eax
add edi, 4
mov dword [ebp - 4], eax
cmp eax, ecx
je 0x4c4852
mov ebx, dword [ebp - 8]
jmp 0x4c47e1
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
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
jmp 0x4c4854
xor eax, eax
mov dword [0x4fbf00], eax
lea ecx, [ebp - 0x18]
push ecx
push 1
push 0xa
push 0xfffffffffffffffe
call eax
test eax, eax
jne 0x4c49ce
mov esi, dword [0x4f3830]
test esi, esi
jne 0x4c4902
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp - 0xc], eax
mov edx, eax
mov dword [ebp - 4], ecx
movzx ebx, word [ecx + 0x2c]
xor edi, edi
mov esi, dword [ecx + 0x30]
shr ebx, 1
mov dword [ebp - 8], 0x811c9dc5
lea eax, [esi + ebx*2]
cmp esi, eax
cmova ebx, edi
test ebx, ebx
je 0x4c48e9
mov cl, byte [esi]
lea esi, [esi + 2]
movsx edx, cl
sub cl, 0x41
mov eax, edx
or eax, 0x20
cmp cl, 0x19
cmova eax, edx
inc edi
xor eax, dword [ebp - 8]
imul eax, eax, 0x1000193
mov dword [ebp - 8], eax
cmp edi, ebx
jne 0x4c48b1
cmp eax, 0x39794115
je 0x4c49a9
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx]
mov ecx, eax
mov dword [ebp - 4], ecx
cmp eax, edx
je 0x4c48fa
cmp dword [ecx + 0x18], 0
jne 0x4c4893
xor esi, esi
mov dword [0x4f3830], esi
mov eax, dword [0x4fbef8]
test eax, eax
jne 0x4c4990
test esi, esi
je 0x4c4989
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + esi + 0x78]
lea eax, [ecx + esi]
mov dword [ebp - 8], eax
cmp eax, esi
je 0x4c4989
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp dword [eax + 0x18], ecx
je 0x4c4989
mov eax, dword [eax + 0x20]
add eax, esi
mov dword [ebp - 0xc], eax
mov edx, dword [eax]
mov edi, 0x811c9dc5
add edx, esi
mov bl, byte [edx]
inc edx
test bl, bl
je 0x4c4977
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, edi
imul edi, eax, 0x1000193
test bl, bl
jne 0x4c4946
mov ecx, dword [ebp - 4]
cmp edi, 0x84a2b863
je 0x4c49b4
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
inc ecx
add eax, 4
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], eax
cmp ecx, dword [edx + 0x18]
jne 0x4c4936
xor eax, eax
mov dword [0x4fbef8], eax
lea ecx, [ebp - 0x1c]
push ecx
push 2
push dword [ebp - 0x18]
call eax
test eax, eax
je 0x4c49ce
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x18]
jmp 0x4c48fc
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + esi]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + esi]
add eax, esi
jmp 0x4c498b
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret