Function at 0x420530
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, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504573
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x30
push esi
push edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 1
mov eax, dword [0x5365e8]
test al, 1
jne 0x420595
or eax, 1
push 2
push 0x5365ec
mov dword [0x5365e8], eax
call fcn.004dcab3
push 0x50b3b0
call fcn.004dd7bc
add esp, 0xc
push 0x5365ec
call fcn.004dcad2
add esp, 4
test eax, eax
jne 0x42082a
cmp dword [0x533b70], 0x10
mov byte [0x535eba], al
mov eax, 0x533b5c
cmovae eax, dword [0x533b5c]
push 0
mov dword [0x533b6c], 0
push 0xd0525
mov byte [eax], 0
call fcn.00408920
mov edi, eax
mov word [ebp - 0x17], 0x7c
mov eax, dword [0x533aac]
lea ecx, [ebp - 0x17]
add esp, 8
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x15], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4205f8
sub ecx, edx
mov eax, 0x7fffffff
mov edx, dword [ebx + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x420830
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
push ecx
cmovae eax, dword [ebx + 8]
lea ecx, [ebp - 0x17]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x20]
lea ecx, [ebp - 0x40]
call fcn.0046e020
sub esp, 0x18
mov byte [ebp - 4], 2
mov esi, esp
lea eax, [ebx + 0x20]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x20], esi
push eax
call fcn.004663e0
mov ecx, dword [ebp - 0x1c]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov edx, edi
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.0041ec60
add esp, 0x18
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
test al, al
setne al
mov byte [ebp - 0x11], al
cmp ecx, 0x10
jb 0x4206ce
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4206c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420835
push ecx
push edx
call fcn.004dd7d1
mov al, byte [ebp - 0x11]
add esp, 8
test al, al
je 0x420787
cmp byte [0x535eba], 0
jne 0x420787
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x20], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [ebp - 0x18], ecx
cmp ecx, edx
je 0x420757
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x420757
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edi*4]
add ecx, edx
sub ecx, 4
dec edi
mov dword [ebp - 0x1c], ecx
mov esi, 0x811c9dc5
mov ecx, dword [ecx]
add ecx, edx
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x42074d
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 0x420730
cmp esi, 0x2fa62ca8
je 0x42075b
mov ecx, dword [ebp - 0x1c]
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x420715
mov eax, dword [eax]
jmp 0x4206f0
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
push 2
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]
add eax, edx
call eax
cmp byte [0x535eba], 0
je 0x4206e3
mov esi, dword [ebp - 0x24]
mov ecx, esi
push 0x533b5c
call fcn.00466660
push 0x5365ec
call fcn.004dcae3
mov ecx, dword [ebx + 0x1c]
add esp, 4
cmp ecx, 0x10
jb 0x4207d3
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4207c9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42083a
push ecx
push edx
call fcn.004dd7d1
add esp, 8
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp ecx, 0x10
jb 0x420815
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42080b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42083a
push ecx
push edx
call fcn.004dd7d1
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push eax
call fcn.004dc77b
call fcn.00402c40
call fcn.004e2a70
call fcn.004e2a70
int3