Function at 0x4c6d80
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559a8c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x58
push esi
push edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 2
mov eax, dword fs:[0x2c]
mov edx, dword [eax]
mov eax, dword [0x5898ec]
cmp eax, dword [edx + 4]
jg 0x4c7004
push 0x5898b4
call fcn.00432b99
add esp, 4
test eax, eax
jne 0x4c704f
cmp dword [0x5898e0], 0x7fffffff
je 0x4c7056
cmp dword [0x586dd0], 0xf
mov dword [0x586dcc], eax
mov byte [0x5890b0], al
mov eax, 0x586dbc
cmova eax, dword [0x586dbc]
push 0
push 0x2bc9
mov byte [eax], 0
call fcn.004ea420
mov edi, dword [0x585b24]
mov esi, eax
mov dword [ebp - 0x20], 0xdf9be3e9
mov dword [ebp - 0x1c], 0xf940fadb
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], edx
lea edx, [ebx + 8]
mov dword [ebp - 0x20], 0x7dbb92e6
mov dword [ebp - 0x1c], 0x14d846fe
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x20], 0xdf9be395
mov dword [ebp - 0x1c], 0xf940fadb
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x20], 0x7dbb92e6
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x1c], 0x14d846fe
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
movaps xmm1, xmmword [ebp - 0x40]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x68]
xorps xmm1, xmmword [ebp - 0x50]
push eax
movaps xmmword [ebp - 0x40], xmm1
call fcn.0041ab20
mov byte [ebp - 4], 4
sub esp, 0xc
lea edx, [ebx + 0x20]
mov dword [ebp - 0x24], esp
mov ecx, esp
push edx
mov edx, eax
call fcn.0041ad80
add esp, 4
mov byte [ebp - 4], 5
mov byte [ebp - 4], 4
mov edx, esi
mov ecx, edi
call fcn.00409280
add esp, 0x18
mov byte [ebp - 0x11], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68]
call fcn.00402df0
cmp byte [ebp - 0x11], 0
je 0x4c6fb5
cmp byte [0x5890b0], 0
jne 0x4c6fb5
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x24], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [ebp - 0x1c], ecx
cmp ecx, edx
je 0x4c6f87
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x4c6f87
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edi*4]
add ecx, edx
sub ecx, 4
dec edi
mov dword [ebp - 0x18], ecx
mov esi, 0x811c9dc5
mov ecx, dword [ecx]
add ecx, edx
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x4c6f7d
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 0x4c6f60
cmp esi, 0x2fa62ca8
je 0x4c6f8b
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x4c6f45
mov eax, dword [eax]
jmp 0x4c6f20
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
push 2
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
add ecx, edx
add eax, edx
movzx eax, word [eax + edi*2]
mov eax, dword [ecx + eax*4]
add eax, edx
call eax
cmp byte [0x5890b0], 0
je 0x4c6f12
mov ecx, dword [ebp - 0x28]
push 0x586dbc
call fcn.004163b0
push 0x5898b4
mov dword [ebp - 0x2c], 1
call fcn.00432baa
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebx + 8]
call fcn.00402df0
mov byte [ebp - 4], 0
lea ecx, [ebx + 0x20]
call fcn.00402df0
mov eax, dword [ebp - 0x28]
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
push 0x5898ec
call fcn.004339b3
add esp, 4
cmp dword [0x5898ec], 0xffffffff
jne 0x4c6de2
mov byte [ebp - 4], 3
mov ecx, 0x5898b4
call fcn.00408710
push 0x55c7d0
call fcn.004338de
add esp, 4
mov byte [ebp - 4], 2
push 0x5898ec
call fcn.00433962
add esp, 4
jmp 0x4c6de2
push 5
call fcn.00432534
push 6
mov dword [0x5898e0], 0x7ffffffe
call fcn.00432534
int3