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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], ecx
push ebx
push esi
push edi
test ecx, ecx
je 0x4a897e
or eax, 0xffffffff
lock xadd dword [ecx + 0x34], eax
jne 0x4a897e
cmp dword [ecx + 0x18], 0
je 0x4a86ee
mov esi, dword [0x4f081c]
test esi, esi
jne 0x4a8651
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 - 0x10], eax
mov edx, eax
mov dword [ebp - 8], ecx
movzx ebx, word [ecx + 0x2c]
xor edi, edi
mov esi, dword [ecx + 0x30]
shr ebx, 1
mov dword [ebp - 0xc], 0x811c9dc5
lea eax, [esi + ebx*2]
cmp esi, eax
cmova ebx, edi
test ebx, ebx
je 0x4a8638
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 - 0xc]
imul eax, eax, 0x1000193
mov dword [ebp - 0xc], eax
cmp edi, ebx
jne 0x4a8600
cmp eax, 0xa3e6f6c3
je 0x4a8985
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov ecx, eax
mov dword [ebp - 8], ecx
cmp eax, edx
je 0x4a8649
cmp dword [ecx + 0x18], 0
jne 0x4a85e2
xor esi, esi
mov dword [0x4f081c], esi
mov eax, dword [0x4f8cdc]
test eax, eax
jne 0x4a86e3
test esi, esi
je 0x4a86dc
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + esi + 0x78]
lea eax, [esi + ecx]
mov dword [ebp - 0xc], eax
cmp eax, esi
je 0x4a86dc
xor ecx, ecx
mov dword [ebp - 8], ecx
cmp dword [eax + 0x18], ecx
je 0x4a86dc
mov eax, dword [eax + 0x20]
add eax, esi
mov dword [ebp - 0x10], eax
mov edx, dword [eax]
mov edi, 0x811c9dc5
add edx, esi
mov bl, byte [edx]
inc edx
test bl, bl
je 0x4a86ca
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 0x4a8695
mov ecx, dword [ebp - 8]
cmp edi, 0xe53e28fa
je 0x4a8990
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
inc ecx
add eax, 4
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], eax
cmp ecx, dword [edx + 0x18]
jne 0x4a8685
xor eax, eax
mov dword [0x4f8cdc], eax
mov ecx, dword [ebp - 4]
push dword [ecx + 0x18]
call eax
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x14], 0
je 0x4a882e
mov esi, dword [0x4f081c]
test esi, esi
jne 0x4a8791
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 - 8], ecx
nop
movzx ebx, word [ecx + 0x2c]
xor edi, edi
mov esi, dword [ecx + 0x30]
shr ebx, 1
mov dword [ebp - 0x10], 0x811c9dc5
lea eax, [esi + ebx*2]
cmp esi, eax
cmova ebx, edi
test ebx, ebx
je 0x4a8778
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 [ebp - 0x10]
imul eax, eax, 0x1000193
mov dword [ebp - 0x10], eax
cmp edi, ebx
jne 0x4a8740
cmp eax, 0xa3e6f6c3
je 0x4a89ad
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx]
mov ecx, eax
mov dword [ebp - 8], ecx
cmp eax, edx
je 0x4a8789
cmp dword [ecx + 0x18], 0
jne 0x4a8720
xor esi, esi
mov dword [0x4f081c], esi
mov eax, dword [0x4f07a0]
test eax, eax
jne 0x4a8823
test esi, esi
je 0x4a881c
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + esi + 0x78]
lea eax, [ecx + esi]
mov dword [ebp - 0xc], eax
cmp eax, esi
je 0x4a881c
xor ecx, ecx
mov dword [ebp - 8], ecx
cmp dword [eax + 0x18], ecx
je 0x4a881c
mov eax, dword [eax + 0x20]
add eax, esi
mov dword [ebp - 0x10], eax
mov edx, dword [eax]
mov edi, 0x811c9dc5
add edx, esi
mov bl, byte [edx]
inc edx
test bl, bl
je 0x4a880a
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 0x4a87d5
mov ecx, dword [ebp - 8]
cmp edi, 0x8285aca5
je 0x4a89b8
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
inc ecx
add eax, 4
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], eax
cmp ecx, dword [edx + 0x18]
jne 0x4a87c5
xor eax, eax
mov dword [0x4f07a0], eax
mov ecx, dword [ebp - 4]
push dword [ecx + 0x14]
call eax
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x20], 0xffffffff
je 0x4a8979
mov esi, dword [0x4f8ce0]
test esi, esi
jne 0x4a88d1
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 - 8], ecx
nop
movzx ebx, word [ecx + 0x2c]
xor edi, edi
mov esi, dword [ecx + 0x30]
shr ebx, 1
mov dword [ebp - 0x10], 0x811c9dc5
lea eax, [esi + ebx*2]
cmp esi, eax
cmova ebx, edi
test ebx, ebx
je 0x4a88b8
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 [ebp - 0x10]
imul eax, eax, 0x1000193
mov dword [ebp - 0x10], eax
cmp edi, ebx
jne 0x4a8880
cmp eax, 0xf730d303
je 0x4a89d5
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx]
mov ecx, eax
mov dword [ebp - 8], ecx
cmp eax, edx
je 0x4a88c9
cmp dword [ecx + 0x18], 0
jne 0x4a8860
xor esi, esi
mov dword [0x4f8ce0], esi
mov eax, dword [0x4f8ce8]
test eax, eax
jne 0x4a896e
test esi, esi
je 0x4a8967
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + esi + 0x78]
lea eax, [ecx + esi]
mov dword [ebp - 0xc], eax
cmp eax, esi
je 0x4a8967
xor ecx, ecx
mov dword [ebp - 8], ecx
cmp dword [eax + 0x18], ecx
je 0x4a8967
mov eax, dword [eax + 0x20]
add eax, esi
mov dword [ebp - 0x10], eax
nop dword [eax]
mov edx, dword [eax]
mov edi, 0x811c9dc5
add edx, esi
mov bl, byte [edx]
inc edx
test bl, bl
je 0x4a8955
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 0x4a8920
mov ecx, dword [ebp - 8]
cmp edi, 0x6834302
je 0x4a89e0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
inc ecx
add eax, 4
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], eax
cmp ecx, dword [edx + 0x18]
jne 0x4a8910
xor eax, eax
mov dword [0x4f8ce8], eax
mov ecx, dword [ebp - 4]
push dword [ecx + 0x20]
call eax
mov ecx, dword [ebp - 4]
call fcn.004bb000
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
mov esi, dword [eax + 0x18]
jmp 0x4a864b
mov edx, dword [ebp - 0xc]
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 0x4a86de
mov eax, dword [ebp - 8]
mov esi, dword [eax + 0x18]
jmp 0x4a878b
mov edx, dword [ebp - 0xc]
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 0x4a881e
mov eax, dword [ebp - 8]
mov esi, dword [eax + 0x18]
jmp 0x4a88cb
mov edx, dword [ebp - 0xc]
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 0x4a8969