Function at 0x416950
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503900
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x90
push esi
push edi
mov byte [ebp - 0x11], cl
push 0x44
lea eax, [ebp - 0xa0]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004df440
add esp, 0xc
mov dword [ebp - 0xa0], 0x44
cmp byte [ebp - 0x11], 0
push 0
je 0x4169ba
push 0x164c
jmp 0x4169bf
push 0x164d
call fcn.00407d20
xorps xmm0, xmm0
mov word [ebp - 0x70], ax
add esp, 8
mov dword [ebp - 0x38], 0xdddec8fa
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x34], 0xb2efdbc9
xor ecx, ecx
mov dword [ebp - 0x30], 0xb7a6a1ae
mov dword [ebp - 0x2c], 0x10087b6
lea eax, [ecx - 0x47]
xor byte [ebp + ecx - 0x38], al
inc ecx
cmp ecx, 0xe
jb 0x4169f0
mov byte [ebp - 0x29], 0
xor ecx, ecx
mov dword [ebp - 0x28], 0xd2c9dff2
mov dword [ebp - 0x24], 0xf28cd2d8
mov dword [ebp - 0x20], 0xa8afa6ef
mov word [ebp - 0x1c], 0x100
nop
lea eax, [ecx - 0x47]
xor byte [ebp + ecx - 0x28], al
inc ecx
cmp ecx, 0xc
jb 0x416a20
lea eax, [ebp - 0x28]
mov byte [ebp - 0x1b], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp byte [ebp - 0x11], 0
mov esi, eax
mov dword [0x537ecc], esi
mov ecx, 0x164d
jne 0x416a5e
mov ecx, 0x800164d
push 0
push ecx
call fcn.00407d20
add esp, 8
mov dword [ebp - 0x44], edx
cmp dword [ebx + 0x1c], 0x10
lea edx, [ebp - 0x58]
lea ecx, [ebx + 8]
cmovae ecx, dword [ebx + 8]
push edx
lea edx, [ebp - 0xa0]
push edx
push 0
push 0
push eax
push 0
push 0
push 0
push ecx
push 0
call esi
test eax, eax
je 0x416b4e
push 0
push 0x2005
call fcn.00407d20
mov ecx, dword fs:[0x30]
add esp, 8
mov dword [ebp - 0x44], eax
mov ecx, dword [ecx + 0xc]
mov ecx, dword [ecx + 0xc]
nop dword [eax]
mov esi, dword [ecx + 0x18]
mov dword [ebp - 0x20], esi
mov edx, dword [esi + 0x3c]
mov eax, dword [edx + esi + 0x78]
add eax, esi
mov dword [ebp - 0x40], eax
cmp eax, esi
je 0x416b27
mov edi, dword [eax + 0x18]
test edi, edi
je 0x416b27
mov eax, dword [eax + 0x20]
lea eax, [eax + edi*4]
add eax, esi
sub eax, 4
dec edi
mov dword [ebp - 0x3c], eax
mov eax, dword [eax]
add eax, esi
mov esi, 0x811c9dc5
mov dl, byte [eax]
inc eax
test dl, dl
je 0x416b1d
nop dword [eax]
movsx edx, dl
lea eax, [eax + 1]
xor edx, esi
imul esi, edx, 0x1000193
mov dl, byte [eax - 1]
test dl, dl
jne 0x416b00
cmp esi, 0x71948ca4
je 0x416b2b
mov eax, dword [ebp - 0x3c]
mov esi, dword [ecx + 0x18]
test edi, edi
jne 0x416ae5
mov ecx, dword [ecx]
jmp 0x416ac0
mov esi, dword [ebp - 0x40]
mov edx, dword [ebp - 0x20]
push dword [ebp - 0x44]
mov eax, dword [esi + 0x24]
push dword [ebp - 0x58]
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 ecx, dword [ebx + 0x1c]
cmp ecx, 0x10
jb 0x416b7e
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x416b74
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416b91
push ecx
push edx
call fcn.004dd461
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004e2700
int3