Function at 0x4204c0
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 0x504f03
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 [0x538660]
test al, 1
jne 0x420525
or eax, 1
push 2
push 0x538624
mov dword [0x538660], eax
call fcn.004dc743
push 0x50c290
call fcn.004dd44c
add esp, 0xc
push 0x538624
call fcn.004dc762
add esp, 4
test eax, eax
jne 0x4207ba
cmp dword [0x535b70], 0x10
mov byte [0x537eec], al
mov eax, 0x535b5c
cmovae eax, dword [0x535b5c]
push 0
mov dword [0x535b6c], 0
push 0x336b
mov byte [eax], 0
call fcn.00407d20
mov edi, eax
mov word [ebp - 0x17], 0x7c
mov eax, dword [0x535aac]
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 0x420588
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebx + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x4207c0
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.0046db90
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.00465e90
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.0041ea80
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 0x42065e
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x420651
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4207c5
push ecx
push edx
call fcn.004dd461
mov al, byte [ebp - 0x11]
add esp, 8
test al, al
je 0x420717
cmp byte [0x537eec], 0
jne 0x420717
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 0x4206e7
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x4206e7
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 0x4206dd
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 0x4206c0
cmp esi, 0x2fa62ca8
je 0x4206eb
mov ecx, dword [ebp - 0x1c]
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x4206a5
mov eax, dword [eax]
jmp 0x420680
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 [0x537eec], 0
je 0x420673
mov esi, dword [ebp - 0x24]
mov ecx, esi
push 0x535b5c
call fcn.00466110
push 0x538624
call fcn.004dc773
mov ecx, dword [ebx + 0x1c]
add esp, 4
cmp ecx, 0x10
jb 0x420763
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x420759
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4207ca
push ecx
push edx
call fcn.004dd461
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 0x4207a5
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42079b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4207ca
push ecx
push edx
call fcn.004dd461
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.004dc40b
call fcn.00402060
call fcn.004e2700
call fcn.004e2700
int3