Function at 0x403ec0
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
and esp, 0xfffffff8
sub esp, 0x15c
mov eax, dword [0x42800c]
xor eax, esp
mov dword [esp + 0x158], eax
mov eax, ecx
mov dword [esp + 4], edx
push ebx
mov dword [esp + 0x10], eax
push esi
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
push edi
test eax, eax
je 0x404143
push 0x40
lea eax, [esp + 0x24]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword fs:[0x30]
add esp, 0xc
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x18]
mov dword [esp + 0xc], esi
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + esi + 0x78]
add ecx, esi
mov dword [esp + 0x1c], ecx
cmp ecx, esi
je 0x403f79
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x403f79
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, esi
nop word [eax + eax]
mov edx, dword [ebx - 4]
lea ebx, [ebx - 4]
add edx, esi
dec edi
mov esi, 0x9f031f02
mov cl, byte [edx]
inc edx
test cl, cl
je 0x403f72
movsx ecx, cl
lea edx, [edx + 1]
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx - 1]
test cl, cl
jne 0x403f55
cmp esi, 0xec249b30
je 0x403f7d
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x403f40
mov eax, dword [eax]
jmp 0x403f13
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
mov esi, dword [esp + 0x10]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
lea ecx, [esp + 0x64]
push ecx
push 0x40
lea ecx, [esp + 0x28]
add eax, edx
push ecx
push esi
push dword [esp + 0x24]
call eax
test eax, eax
je 0x404143
push 0xf8
lea eax, [esp + 0x6c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x68]
add esp, 0xc
add eax, esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
mov dword [esp + 0xc], eax
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop
mov edx, dword [eax + 0x18]
mov dword [esp + 0x14], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [esp + 0x18], ecx
cmp ecx, edx
je 0x404054
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x404054
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, 0xba7b58a1
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x40404d
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 0x404030
cmp esi, 0x53c6bae9
je 0x404058
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x404017
mov eax, dword [eax]
jmp 0x403ff0
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
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]
lea ecx, [esp + 0x64]
push ecx
push 0xf8
lea ecx, [esp + 0x70]
add eax, edx
push ecx
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call eax
test eax, eax
je 0x404143
mov eax, dword [esp + 0x90]
cmp eax, 0xcc4d0
ja 0x404104
je 0x4040ea
sub eax, 0xcbc90
je 0x4040d0
sub eax, 0x20
jne 0x404143
mov eax, 3
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.0041d7f9
mov esp, ebp
pop ebp
ret
mov eax, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.0041d7f9
mov esp, ebp
pop ebp
ret
mov eax, 2
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.0041d7f9
mov esp, ebp
pop ebp
ret
cmp eax, 0x3195dd
je 0x404129
sub eax, 0x31df13
neg eax
sbb eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.0041d7f9
mov esp, ebp
pop ebp
ret
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.0041d7f9
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x164]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041d7f9
mov esp, ebp
pop ebp
ret