Function at 0x420010
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 ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506c8d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 1
mov eax, dword [0x537880]
test al, 1
jne 0x420062
or eax, 1
push 2
push 0x537844
mov dword [0x537880], eax
call fcn.004de7f3
push 0x50de80
call fcn.004df4fc
add esp, 0xc
push 0x537844
call fcn.004de812
add esp, 4
test eax, eax
jne 0x420305
cmp dword [0x534d88], 0x10
mov byte [0x53710c], al
mov eax, 0x534d74
jb 0x42008f
mov eax, dword [0x534d74]
push 0
mov dword [0x534d84], 0
push 0x475d
mov byte [eax], 0
call fcn.00406bd0
mov ebx, dword [0x533aac]
lea ecx, [ebp - 0xf]
add esp, 8
mov word [ebp - 0xf], 0x7c
mov edi, eax
mov byte [ebp - 0xd], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4200c3
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x42030b
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
jb 0x4200ea
mov eax, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0xf]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
call fcn.004720e0
sub esp, 0x18
mov byte [ebp - 4], 2
mov esi, esp
lea eax, [ebp + 0x20]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x14], esi
push eax
call fcn.0046a4f0
mov edx, eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov ecx, dword [edx]
mov dword [esi], ecx
mov ecx, ebx
mov eax, dword [edx + 4]
mov dword [esi + 4], eax
mov eax, dword [edx + 8]
mov dword [esi + 8], eax
mov eax, dword [edx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edx + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [esi + 0x14], eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov edx, edi
call fcn.0041e600
add esp, 0x18
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
test al, al
setne bl
cmp ecx, 0x10
jb 0x4201a6
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42019c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420310
push ecx
push edx
call fcn.004df511
add esp, 8
test bl, bl
je 0x420264
cmp byte [0x53710c], 0
jne 0x420264
jmp 0x4201c0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
lea esp, [esp]
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x14], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [ebp - 0x10], ecx
cmp ecx, edx
je 0x420234
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x420234
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, edx
mov ecx, dword [ebx - 4]
lea ebx, [ebx - 4]
add ecx, edx
dec edi
mov esi, 0x811c9dc5
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x42022d
lea ebx, [ebx]
movsx edx, dl
lea ecx, [ecx + 1]
xor edx, esi
imul esi, edx, 0x1000193
mov dl, byte [ecx - 1]
test dl, dl
jne 0x420210
cmp esi, 0x2fa62ca8
je 0x420238
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x4201f5
mov eax, dword [eax]
jmp 0x4201d0
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
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 [0x53710c], 0
je 0x4201c0
mov esi, dword [ebp - 0x18]
mov ecx, esi
push 0x534d74
call fcn.0046a770
push 0x537844
call fcn.004de823
mov ecx, dword [ebp + 0x1c]
add esp, 4
cmp ecx, 0x10
jb 0x4202b0
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4202a6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420315
push ecx
push edx
call fcn.004df511
add esp, 8
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp ecx, 0x10
jb 0x4202f2
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4202e8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420315
push ecx
push edx
call fcn.004df511
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call fcn.004de4bb
call fcn.00402270
call fcn.004e47b0
call fcn.004e47b0
int3