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

Disassembly:
mov eax, 0x421c31
call fcn.00421b24
sub esp, 0x1ac
push ebx
push edi
sub esp, 0x10
lea ecx, [ebp - 0x108]
xor ebx, ebx
call fcn.00402f51
mov dword [ebp - 4], ebx
lea edi, [ebp - 0x38]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], bl
mov byte [ebp - 4], 1
cmp dword [ebp - 0xac], ebx
je 0x401c1c
push ecx
lea ecx, [ebp - 0x1b8]
call fcn.00402266
push 2
pop eax
mov byte [ebp - 4], al
lea ecx, [ebp - 0x1a8]
lea eax, [ebp - 0xf8]
push eax
call fcn.00402381
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.00403547
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x38]
call fcn.004030eb
lea ecx, [ebp - 0x50]
call fcn.00403877
mov ebx, dword [ebp - 0x28]
lea ecx, [ebp - 0xf8]
shr ebx, 1
mov dword [ebp - 0x18], ebx
call fcn.00403726
test eax, eax
jne 0x401b02
mov eax, dword [ebp - 0x108]
lea ecx, [ebp - 0x108]
push 0
push 6
add ecx, dword [eax + 4]
pop eax
push 2
pop edx
cmp dword [ecx + 0x38], 0
cmovne eax, edx
or eax, dword [ecx + 0xc]
push eax
call fcn.004018db
lea ecx, [ebp - 0x150]
call fcn.00402237
lea eax, [ebp - 0x150]
mov byte [ebp - 4], 3
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00404694
push ebx
mov byte [ebp - 4], 1
call fcn.0040cb9e
add esp, 4
mov dword [ebp - 0x14], eax
mov edx, eax
lea ecx, [ebp - 0x38]
call fcn.004019d6
pop ecx
mov ecx, dword fs:[0x30]
push esi
mov ecx, dword [ecx + 0xc]
mov ecx, dword [ecx + 0xc]
mov edi, dword [ecx + 0x18]
mov eax, dword [edi + 0x3c]
mov edx, dword [eax + edi + 0x78]
mov eax, dword [eax + edi + 0x7c]
mov dword [ebp - 0x1c], eax
lea eax, [edx + edi]
mov dword [ebp - 0x1c], eax
cmp eax, edi
je 0x401bb9
mov edx, dword [eax + 0x18]
test edx, edx
je 0x401bb9
mov eax, dword [eax + 0x20]
lea ebx, [eax + edx*4]
add ebx, edi
lea ebx, [ebx - 4]
mov eax, 0xd523704e
mov esi, dword [ebx]
dec edx
add esi, edi
mov dword [ebp - 0x10], eax
mov al, byte [esi]
inc esi
test al, al
je 0x401bb5
mov edi, dword [ebp - 0x10]
movsx eax, al
xor eax, edi
imul edi, eax, 0x1000193
mov al, byte [esi]
inc esi
test al, al
jne 0x401b94
mov dword [ebp - 0x10], edi
cmp dword [ebp - 0x10], 0xbbc804ee
mov edi, dword [ecx + 0x18]
je 0x401bbd
test edx, edx
jne 0x401b7a
mov ecx, dword [ecx]
jmp 0x401b50
mov eax, dword [ebp - 0x1c]
push 0x40
push 0x3000
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
add ecx, edi
add eax, edi
movzx eax, word [eax + edx*2]
mov eax, dword [ecx + eax*4]
add eax, edi
mov edi, dword [ebp - 0x18]
push edi
push 0
call eax
push edi
push dword [ebp - 0x14]
mov esi, eax
push esi
call fcn.004061e0
add esp, 0xc
call esi
mov eax, dword [ebp - 0x24]
pop esi
cmp eax, 0xf
jbe 0x401c08
inc eax
push eax
push dword [ebp - 0x38]
call fcn.00403fb5
pop ecx
pop ecx
lea ecx, [ebp - 0x98]
call fcn.00402f0e
mov dword [ebp - 4], 5
jmp 0x401c39
push str.ERROR
call fcn.00401056
pop ecx
lea ecx, [ebp - 0x98]
call fcn.00402f0e
mov dword [ebp - 4], 4
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], vtable.std::ios_base.0
push eax
call fcn.00404694
pop ecx
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret