Function at 0x41f6a0
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 0x508b87
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 2
mov eax, dword [0x5448a8]
test al, 1
jne 0x41f759
or eax, 1
mov dword [0x5448a8], eax
mov byte [ebp - 4], 3
xor eax, eax
push 2
push 0x54486c
mov dword [0x54486c], 0
mov dword [0x544870], 0
mov dword [0x544874], 0
mov dword [0x544878], eax
mov dword [0x54487c], eax
mov dword [0x544880], eax
mov dword [0x544884], eax
mov dword [0x544888], eax
mov dword [0x54488c], eax
mov dword [0x544890], eax
mov dword [0x544894], eax
mov dword [0x544898], eax
call fcn.004ded7d
mov byte [ebp - 4], 3
push 0x516450
call fcn.004dfade
add esp, 0xc
mov byte [ebp - 4], 2
push 0x54486c
call fcn.004ded99
add esp, 4
test eax, eax
jne 0x41f961
cmp dword [0x544898], 0x7fffffff
je 0x41f968
cmp dword [0x541dc8], 0xf
mov byte [0x54406c], al
mov dword [0x541dc4], eax
mov eax, 0x541db4
jbe 0x41f79b
mov eax, dword [0x541db4]
push 0
push 0x353f
mov byte [eax], 0
call fcn.00407ed0
mov edi, dword [0x540b1c]
add esp, 8
mov esi, eax
mov word [ebp - 0xf], 0x7c
mov byte [ebp - 0xd], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xf]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f7d0
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x41f979
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
jbe 0x41f7f7
mov eax, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0xf]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x38]
call fcn.00470ea0
sub esp, 0x18
mov dword [ebp - 0x14], 2
lea eax, [ebp + 0x20]
mov dword [ebp - 0x1c], esp
mov ecx, esp
lea edx, [ebp - 0x38]
push eax
call fcn.0046d2f0
add esp, 4
mov byte [ebp - 4], 6
mov byte [ebp - 4], 5
mov edx, esi
mov ecx, edi
call fcn.0041e030
mov esi, 2
add esp, 0x18
mov dword [ebp - 0x14], esi
mov bl, al
and esi, 0xfffffffd
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.00402c80
test bl, bl
je 0x41f915
cmp byte [0x54406c], 0
jne 0x41f915
lea ecx, [ecx]
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 - 0x1c], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [ebp - 0x18], ecx
cmp ecx, edx
je 0x41f8e4
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x41f8e4
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 0x41f8dd
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 0x41f8c0
cmp esi, 0x2fa62ca8
je 0x41f8e8
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x41f8a5
mov eax, dword [eax]
jmp 0x41f880
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
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 [0x54406c], 0
je 0x41f870
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
push 0x541db4
call fcn.00468b20
or esi, 1
push 0x54486c
mov dword [ebp - 0x14], esi
call fcn.004dedaa
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00402c80
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.00402c80
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 5
call fcn.004de734
push 6
mov dword [0x544898], 0x7ffffffe
call fcn.004de734
call fcn.004025a0
int3