Function at 0x41f930
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 0x41f995
or eax, 1
push 2
push 0x5365ec
mov dword [0x5365e8], eax
call fcn.004dbeb3
push 0x50b3b0
call fcn.004dcbbc
add esp, 0xc
push 0x5365ec
call fcn.004dbed2
add esp, 4
test eax, eax
jne 0x41fc2a
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.00407d20
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 0x41f9f8
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebx + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x41fc30
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.0046d420
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.004657e0
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.0041e060
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 0x41face
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41fac1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fc35
push ecx
push edx
call fcn.004dcbd1
mov al, byte [ebp - 0x11]
add esp, 8
test al, al
je 0x41fb87
cmp byte [0x535eba], 0
jne 0x41fb87
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 0x41fb57
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x41fb57
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 0x41fb4d
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 0x41fb30
cmp esi, 0x2fa62ca8
je 0x41fb5b
mov ecx, dword [ebp - 0x1c]
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x41fb15
mov eax, dword [eax]
jmp 0x41faf0
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 0x41fae3
mov esi, dword [ebp - 0x24]
mov ecx, esi
push 0x533b5c
call fcn.00465a60
push 0x5365ec
call fcn.004dbee3
mov ecx, dword [ebx + 0x1c]
add esp, 4
cmp ecx, 0x10
jb 0x41fbd3
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41fbc9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fc3a
push ecx
push edx
call fcn.004dcbd1
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 0x41fc15
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41fc0b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fc3a
push ecx
push edx
call fcn.004dcbd1
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.004dbb7b
call fcn.00402040
call fcn.004e1e70
call fcn.004e1e70
int3