Function at 0x4e1160
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, 0x34
push ebx
push esi
mov esi, dword [0x4fbe48]
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
push edi
test esi, esi
jne 0x4e1229
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, eax
mov dword [esp + 0x18], eax
mov edx, eax
mov dword [esp + 0x10], ecx
movzx ebx, word [ecx + 0x2c]
xor edi, edi
mov esi, dword [ecx + 0x30]
shr ebx, 1
mov dword [esp + 0x14], 0x811c9dc5
lea eax, [esi + ebx*2]
cmp esi, eax
cmova ebx, edi
test ebx, ebx
je 0x4e120f
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 [esp + 0x14]
imul eax, eax, 0x1000193
mov dword [esp + 0x14], eax
cmp edi, ebx
jne 0x4e11d3
cmp eax, 0x87a77597
je 0x4e16d0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [ecx]
mov ecx, eax
mov dword [esp + 0x10], ecx
cmp eax, edx
je 0x4e1221
cmp dword [ecx + 0x18], 0
jne 0x4e11b4
xor esi, esi
mov dword [0x4fbe48], esi
mov eax, dword [0x4fbe44]
test eax, eax
jne 0x4e12c7
test esi, esi
je 0x4e12c0
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + esi + 0x78]
lea eax, [ecx + esi]
mov dword [esp + 0x14], eax
cmp eax, esi
je 0x4e12c0
xor ecx, ecx
mov dword [esp + 0x10], ecx
cmp dword [eax + 0x18], ecx
je 0x4e12c0
mov eax, dword [eax + 0x20]
add eax, esi
mov dword [esp + 0x18], eax
mov edx, dword [eax]
mov edi, 0x811c9dc5
add edx, esi
mov bl, byte [edx]
inc edx
test bl, bl
je 0x4e12ab
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 0x4e1274
mov ecx, dword [esp + 0x10]
cmp edi, 0xeeff1fd2
je 0x4e16dc
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
inc ecx
add eax, 4
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
cmp ecx, dword [edx + 0x18]
jne 0x4e1264
xor eax, eax
mov dword [0x4fbe44], eax
push 0
lea ecx, [esp + 0x34]
push ecx
push 0x4fbff0
call eax
test eax, eax
jne 0x4e1add
mov esi, dword [0x4f37b0]
test esi, esi
jne 0x4e137a
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, eax
mov dword [esp + 0x14], eax
mov edx, eax
mov dword [esp + 0x10], ecx
movzx ebx, word [ecx + 0x2c]
xor edi, edi
mov esi, dword [ecx + 0x30]
shr ebx, 1
mov dword [esp + 0x18], 0x811c9dc5
lea eax, [esi + ebx*2]
cmp esi, eax
cmova ebx, edi
test ebx, ebx
je 0x4e1360
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 [esp + 0x18]
imul eax, eax, 0x1000193
mov dword [esp + 0x18], eax
cmp edi, ebx
jne 0x4e1324
cmp eax, 0x174c966e
je 0x4e16fa
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx]
mov ecx, eax
mov dword [esp + 0x10], ecx
cmp eax, edx
je 0x4e1372
cmp dword [ecx + 0x18], 0
jne 0x4e1305
xor esi, esi
mov dword [0x4f37b0], esi
mov eax, dword [0x4fc01c]
test eax, eax
jne 0x4e1418
test esi, esi
je 0x4e1411
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + esi + 0x78]
lea eax, [ecx + esi]
mov dword [esp + 0x14], eax
cmp eax, esi
je 0x4e1411
xor ecx, ecx
mov dword [esp + 0x10], ecx
cmp dword [eax + 0x18], ecx
je 0x4e1411
mov eax, dword [eax + 0x20]
add eax, esi
mov dword [esp + 0x18], eax
mov edx, dword [eax]
mov edi, 0x811c9dc5
add edx, esi
mov bl, byte [edx]
inc edx
test bl, bl
je 0x4e13fc
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 0x4e13c5
mov ecx, dword [esp + 0x10]
cmp edi, 0x8ec6e12d
je 0x4e1706
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
inc ecx
add eax, 4
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
cmp ecx, dword [edx + 0x18]
jne 0x4e13b5
xor eax, eax
mov dword [0x4fc01c], eax
push 0
call eax
mov esi, dword [0x4f3810]
mov dword [esp + 0xc], 0
test esi, esi
jne 0x4e14c6
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, eax
mov dword [esp + 0x14], eax
mov edx, eax
mov dword [esp + 0x10], ecx
nop dword [eax]
movzx ebx, word [ecx + 0x2c]
xor edi, edi
mov esi, dword [ecx + 0x30]
shr ebx, 1
mov dword [esp + 0x18], 0x811c9dc5
lea eax, [esi + ebx*2]
cmp esi, eax
cmova ebx, edi
test ebx, ebx
je 0x4e14ac
nop
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 [esp + 0x18]
imul eax, eax, 0x1000193
mov dword [esp + 0x18], eax
cmp edi, ebx
jne 0x4e1470
cmp eax, 0xa3e6f6c3
je 0x4e1724
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx]
mov ecx, eax
mov dword [esp + 0x10], ecx
cmp eax, edx
je 0x4e14be
cmp dword [ecx + 0x18], 0
jne 0x4e1450
xor esi, esi
mov dword [0x4f3810], esi
mov eax, dword [0x4f380c]
test eax, eax
jne 0x4e1564
test esi, esi
je 0x4e155d
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + esi + 0x78]
lea eax, [ecx + esi]
mov dword [esp + 0x14], eax
cmp eax, esi
je 0x4e155d
xor ecx, ecx
mov dword [esp + 0x10], ecx
cmp dword [eax + 0x18], ecx
je 0x4e155d
mov eax, dword [eax + 0x20]
add eax, esi
mov dword [esp + 0x18], eax
mov edx, dword [eax]
mov edi, 0x811c9dc5
add edx, esi
mov bl, byte [edx]
inc edx
test bl, bl
je 0x4e1548
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 0x4e1511
mov ecx, dword [esp + 0x10]
cmp edi, 0x805acd19
je 0x4e1730
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
inc ecx
add eax, 4
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
cmp ecx, dword [edx + 0x18]
jne 0x4e1501
xor eax, eax
mov dword [0x4f380c], eax
call eax
cmp al, 6
jb 0x4e1778
shr eax, 8
cmp al, 2
jb 0x4e1778
mov esi, dword [0x4f37ec]
test esi, esi
jne 0x4e1616
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, eax
mov dword [esp + 0x14], eax
mov edx, eax
mov dword [esp + 0x10], ecx
movzx ebx, word [ecx + 0x2c]
xor edi, edi
mov esi, dword [ecx + 0x30]
shr ebx, 1
mov dword [esp + 0x18], 0x811c9dc5
lea eax, [esi + ebx*2]
cmp esi, eax
cmova ebx, edi
test ebx, ebx
je 0x4e15fc
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 [esp + 0x18]
imul eax, eax, 0x1000193
mov dword [esp + 0x18], eax
cmp edi, ebx
jne 0x4e15c0
cmp eax, 0xfa102e29
je 0x4e174e
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx]
mov ecx, eax
mov dword [esp + 0x10], ecx
cmp eax, edx
je 0x4e160e
cmp dword [ecx + 0x18], 0
jne 0x4e15a1
xor esi, esi
mov dword [0x4f37ec], esi
mov eax, dword [0x4fbff4]
test eax, eax
jne 0x4e16b4
test esi, esi
je 0x4e16ad
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + esi + 0x78]
lea eax, [ecx + esi]
mov dword [esp + 0x14], eax
cmp eax, esi
je 0x4e16ad
xor ecx, ecx
mov dword [esp + 0x10], ecx
cmp dword [eax + 0x18], ecx
je 0x4e16ad
mov eax, dword [eax + 0x20]
add eax, esi
mov dword [esp + 0x18], eax
mov edx, dword [eax]
mov edi, 0x811c9dc5
add edx, esi
mov bl, byte [edx]
inc edx
test bl, bl
je 0x4e1698
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 0x4e1661
mov ecx, dword [esp + 0x10]
cmp edi, 0x6b59da97
je 0x4e175a
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
inc ecx
add eax, 4
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
cmp ecx, dword [edx + 0x18]
jne 0x4e1651
xor eax, eax
mov dword [0x4fbff4], eax
lea ecx, [esp + 0xc]
push ecx
push 1
push 0
call eax
test eax, eax
jns 0x4e18c7
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x18]
jmp 0x4e1223
mov edx, dword [esp + 0x14]
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 0x4e12c2
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x18]
jmp 0x4e1374
mov edx, dword [esp + 0x14]
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 0x4e1413
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x18]
jmp 0x4e14c0
mov edx, dword [esp + 0x14]
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 0x4e155f
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x18]
jmp 0x4e1610
mov edx, dword [esp + 0x14]
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 0x4e16af
mov esi, dword [0x4f37b0]
test esi, esi
jne 0x4e1816
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, eax
mov dword [esp + 0x14], eax
mov edx, eax
mov dword [esp + 0x10], ecx
movzx ebx, word [ecx + 0x2c]
xor edi, edi
mov esi, dword [ecx + 0x30]
shr ebx, 1
mov dword [esp + 0x18], 0x811c9dc5
lea eax, [esi + ebx*2]
cmp esi, eax
cmova ebx, edi
test ebx, ebx
je 0x4e17fc
nop
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 [esp + 0x18]
imul eax, eax, 0x1000193
mov dword [esp + 0x18], eax
cmp edi, ebx
jne 0x4e17c0
cmp eax, 0x174c966e
je 0x4e1a82
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx]
mov ecx, eax
mov dword [esp + 0x10], ecx
cmp eax, edx
je 0x4e180e
cmp dword [ecx + 0x18], 0
jne 0x4e17a0
xor esi, esi
mov dword [0x4f37b0], esi
mov eax, dword [0x4fbff4]
test eax, eax
jne 0x4e18b4
test esi, esi
je 0x4e18ad
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + esi + 0x78]
lea eax, [ecx + esi]
mov dword [esp + 0x14], eax
cmp eax, esi
je 0x4e18ad
xor ecx, ecx
mov dword [esp + 0x10], ecx
cmp dword [eax + 0x18], ecx
je 0x4e18ad
mov eax, dword [eax + 0x20]
add eax, esi
mov dword [esp + 0x18], eax
mov edx, dword [eax]
mov edi, 0x811c9dc5
add edx, esi
mov bl, byte [edx]
inc edx
test bl, bl
je 0x4e1898
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 0x4e1861
mov ecx, dword [esp + 0x10]
cmp edi, 0x6b59da97
je 0x4e1a8e
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
inc ecx
add eax, 4
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
cmp ecx, dword [edx + 0x18]
jne 0x4e1851
xor eax, eax
mov dword [0x4fbff4], eax
lea ecx, [esp + 0xc]
push ecx
push 1
push 0
call eax
test eax, eax
js 0x4e1add
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x1c]
push edx
push dword [0x4fba40]
mov dword [esp + 0x24], 0
push dword [0x4fba30]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x4e1ad3
mov eax, dword [esp + 0x1c]
cmp eax, dword [0x4fba40]
jne 0x4e1ad3
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x28]
push edx
push 0
xorps xmm0, xmm0
movlpd qword [esp + 0x30], xmm0
push dword [esp + 0x34]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x14]
mov esi, dword [0x4fbe48]
test esi, esi
jne 0x4e19c6
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, eax
mov dword [esp + 0x14], eax
mov edx, eax
mov dword [esp + 0x10], ecx
nop word [eax + eax]
movzx ebx, word [ecx + 0x2c]
xor edi, edi
mov esi, dword [ecx + 0x30]
shr ebx, 1
mov dword [esp + 0x18], 0x811c9dc5
lea eax, [esi + ebx*2]
cmp esi, eax
cmova ebx, edi
test ebx, ebx
je 0x4e19ac
nop
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 [esp + 0x18]
imul eax, eax, 0x1000193
mov dword [esp + 0x18], eax
cmp edi, ebx
jne 0x4e1970
cmp eax, 0x87a77597
je 0x4e1aac
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx]
mov ecx, eax
mov dword [esp + 0x10], ecx
cmp eax, edx
je 0x4e19be
cmp dword [ecx + 0x18], 0
jne 0x4e1950
xor esi, esi
mov dword [0x4fbe48], esi
mov eax, dword [0x4fbf44]
test eax, eax
jne 0x4e1a60
test esi, esi
je 0x4e1a59
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + esi + 0x78]
lea eax, [ecx + esi]
mov dword [esp + 0x14], eax
cmp eax, esi
je 0x4e1a59
xor ecx, ecx
mov dword [esp + 0x10], ecx
cmp dword [eax + 0x18], ecx
je 0x4e1a59
mov eax, dword [eax + 0x20]
add eax, esi
mov dword [esp + 0x18], eax
mov edx, dword [eax]
mov edi, 0x811c9dc5
add edx, esi
mov bl, byte [edx]
inc edx
test bl, bl
je 0x4e1a44
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 0x4e1a11
mov ecx, dword [esp + 0x10]
cmp edi, 0xfacd74
je 0x4e1ab8
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
inc ecx
add eax, 4
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
cmp ecx, dword [edx + 0x18]
jne 0x4e1a01
xor eax, eax
mov dword [0x4fbf44], eax
push 0x4fbfcc
push dword [esp + 0x10]
call eax
test eax, eax
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
jne 0x4e1ada
call dword [ecx + 8]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x18]
jmp 0x4e1810
mov edx, dword [esp + 0x14]
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 0x4e18af
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x18]
jmp 0x4e19c0
mov edx, dword [esp + 0x14]
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 0x4e1a5b
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret