Function at 0x10042540
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
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x1008b018]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword fs:[0x30]
mov dword [esp + 0x14], 0x40
push ebx
push esi
mov eax, dword [eax + 0xc]
push edi
mov eax, dword [eax + 0xc]
nop dword [eax]
mov esi, dword [eax + 0x18]
mov dword [esp + 0x10], esi
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + esi + 0x78]
add ecx, esi
mov dword [esp + 0x18], ecx
cmp ecx, esi
je 0x100425e4
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x100425e4
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, esi
mov edx, dword [ebx - 4]
lea ebx, [ebx - 4]
add edx, esi
dec edi
mov esi, 0x49570ce2
mov cl, byte [edx]
inc edx
test cl, cl
je 0x100425dd
nop dword [eax]
movsx ecx, cl
lea edx, [edx + 1]
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx - 1]
test cl, cl
jne 0x100425c0
cmp esi, 0xfd677648
je 0x100425e8
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x100425a7
mov eax, dword [eax]
jmp 0x10042580
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
lea ecx, [esp + 0x20]
push ecx
push 0x40
push dword [ebp + 0x10]
add eax, edx
push dword [esp + 0x20]
call eax
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x18]
mov dword [esp + 0x18], esi
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + esi + 0x78]
add ecx, esi
mov dword [esp + 0x10], ecx
cmp ecx, esi
je 0x10042684
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x10042684
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, esi
mov edx, dword [ebx - 4]
lea ebx, [ebx - 4]
add edx, esi
dec edi
mov esi, 0x4e595358
mov cl, byte [edx]
inc edx
test cl, cl
je 0x1004267d
nop dword [eax]
movsx ecx, cl
lea edx, [edx + 1]
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx - 1]
test cl, cl
jne 0x10042660
cmp esi, 0xc80d2209
je 0x10042688
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x10042648
mov eax, dword [eax]
jmp 0x10042621
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push dword [ebp + 0x10]
mov eax, dword [esi + 0x24]
push dword [esp + 0x20]
push dword [esp + 0x1c]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
call eax
mov eax, dword fs:[0x30]
add esp, 0xc
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x18]
mov dword [esp + 0x10], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [esp + 0x1c], ecx
cmp ecx, edx
je 0x10042724
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x10042724
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, edx
mov ecx, dword [ebx - 4]
lea ebx, [ebx - 4]
add ecx, edx
dec edi
mov esi, 0x1a7493d3
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x1004271d
nop dword [eax]
movsx edx, dl
lea ecx, [ecx + 1]
xor edx, esi
imul esi, edx, 0x1000193
mov dl, byte [ecx - 1]
test dl, dl
jne 0x10042700
cmp esi, 0xcb6567fd
je 0x10042728
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x100426e8
mov eax, dword [eax]
jmp 0x100426c1
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
lea ecx, [esp + 0x20]
push ecx
push dword [esp + 0x24]
add eax, edx
push dword [ebp + 0x10]
push dword [esp + 0x20]
call eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1004a7ae
mov esp, ebp
pop ebp
ret 0xc