Function at 0x401871
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x284c
call fcn.00432fa0
mov eax, dword [0x4d706c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4d8fe4]
push ebx
push esi
push edi
test eax, eax
jne 0x401943
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x18]
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx + esi + 0x78]
mov ecx, dword [ecx + esi + 0x7c]
mov dword [ebp - 0x2844], ecx
lea ecx, [edx + esi]
mov dword [ebp - 0x283c], ecx
cmp ecx, esi
je 0x40191f
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x40191f
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, esi
lea ebx, [ebx - 4]
mov ecx, 0x811c9dc5
mov edx, dword [ebx]
dec edi
add edx, esi
mov dword [ebp - 0x282c], ecx
mov cl, byte [edx]
inc edx
test cl, cl
je 0x40191b
mov esi, dword [ebp - 0x282c]
movsx ecx, cl
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x4018f4
mov dword [ebp - 0x282c], esi
cmp dword [ebp - 0x282c], 0xbc25fccb
mov esi, dword [eax + 0x18]
je 0x401923
test edi, edi
jne 0x4018d4
mov eax, dword [eax]
jmp 0x4018a4
mov edx, dword [ebp - 0x283c]
mov eax, dword [edx + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + esi]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + esi]
add eax, esi
mov dword [0x4d8fe4], eax
lea ecx, [ebp - 0x280c]
mov esi, 0x2000
push ecx
push esi
lea ecx, [ebp - 0x2808]
push ecx
call eax
test eax, eax
je 0x401b4b
mov edi, dword [ebp - 0x280c]
cmp edi, esi
jae 0x401b4b
shr edi, 2
xor ebx, ebx
mov dword [ebp - 0x283c], ebx
test edi, edi
je 0x401b4b
mov eax, dword [0x4d8fdc]
test eax, eax
jne 0x401a61
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x18]
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx + esi + 0x78]
mov ecx, dword [ecx + esi + 0x7c]
mov dword [ebp - 0x2844], ecx
lea ecx, [edx + esi]
mov dword [ebp - 0x2844], ecx
cmp ecx, esi
je 0x401a34
mov ebx, dword [ecx + 0x18]
test ebx, ebx
je 0x401a34
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + ebx*4]
add ecx, esi
sub ecx, 4
dec ebx
mov dword [ebp - 0x2840], ecx
mov edx, dword [ecx]
mov ecx, 0x811c9dc5
add edx, esi
mov dword [ebp - 0x282c], ecx
mov cl, byte [edx]
inc edx
mov byte [ebp - 0x2825], cl
test cl, cl
mov ecx, dword [ebp - 0x2840]
je 0x401a30
mov cl, byte [ebp - 0x2825]
mov esi, dword [ebp - 0x282c]
movsx ecx, cl
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x401a03
mov dword [ebp - 0x282c], esi
cmp dword [ebp - 0x282c], 0x3cedbc12
mov esi, dword [eax + 0x18]
je 0x401a3b
mov ecx, dword [ebp - 0x2840]
test ebx, ebx
jne 0x4019cb
mov eax, dword [eax]
jmp 0x40199b
mov edx, dword [ebp - 0x2844]
mov eax, dword [edx + 0x24]
lea eax, [eax + ebx*2]
mov ebx, dword [ebp - 0x283c]
movzx ecx, word [eax + esi]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + esi]
add eax, esi
mov dword [0x4d8fdc], eax
push 0x800
lea ecx, [ebp - 0x808]
push ecx
push dword [ebp + ebx*4 - 0x2808]
call eax
test eax, eax
je 0x401b3c
and dword [ebp - 0x2814], 0
lea eax, [ebp - 0x808]
push eax
lea ecx, [ebp - 0x2824]
mov dword [ebp - 0x2810], 0xf
mov byte [ebp - 0x2824], 0
call fcn.00402bce
xor edx, edx
mov dword [ebp - 0x2838], 0x3c74
mov cl, 0x74
mov dword [ebp - 0x2834], 0x16113004
mov word [ebp - 0x2830], 0x1301
mov eax, edx
mov byte [ebp - 0x282e], dl
xor byte [ebp + eax - 0x2837], cl
inc eax
cmp eax, 9
jae 0x401ae6
mov cl, byte [ebp - 0x2838]
jmp 0x401ad1
mov byte [ebp - 0x282e], dl
lea edx, [ebp - 0x2837]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x401af5
sub edx, ecx
lea eax, [ebp - 0x2837]
cmp dword [ebp - 0x2810], 0x10
lea ecx, [ebp - 0x2824]
push edx
cmovae ecx, dword [ebp - 0x2824]
mov edx, dword [ebp - 0x2814]
push eax
push 0
call fcn.00402c38
add esp, 0xc
lea ecx, [ebp - 0x2824]
mov esi, eax
call fcn.00402ba8
cmp esi, 0xffffffff
jne 0x401b5c
inc ebx
mov dword [ebp - 0x283c], ebx
cmp ebx, edi
jl 0x401982
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00431cb0
leave
ret
mov al, 1
jmp 0x401b4d