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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x18], ecx
mov eax, edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov ecx, dword [0x6a0670]
mov dword [ebp - 0x14], eax
push esi
push edi
test ecx, ecx
jne 0x40c558
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
nop dword [eax]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 4], edx
mov eax, dword [edx + 0x3c]
mov eax, dword [eax + edx + 0x78]
add eax, edx
mov dword [ebp - 8], eax
cmp eax, edx
je 0x40c53b
mov esi, dword [eax + 0x18]
test esi, esi
je 0x40c53b
mov eax, dword [eax + 0x20]
lea edi, [eax + esi*4]
add edi, edx
mov ecx, dword [edi - 4]
lea edi, [edi - 4]
add ecx, edx
dec esi
mov edx, 0x811c9dc5
mov al, byte [ecx]
inc ecx
test al, al
je 0x40c531
nop word [eax + eax]
movsx eax, al
lea ecx, [ecx + 1]
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [ecx - 1]
test al, al
jne 0x40c510
cmp edx, 0x2f903e7f
je 0x40c7fc
mov edx, dword [ebp - 4]
test esi, esi
jne 0x40c4f5
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx]
mov ecx, eax
mov dword [ebp - 0xc], eax
cmp eax, dword [ebp - 0x10]
je 0x40c54d
cmp dword [ecx + 0x18], 0
jne 0x40c4d0
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov dword [0x6a0670], ecx
mov dword [ebp - 0x30], 0xd06ff75d
lea edx, [ebp - 0x30]
mov dword [ebp - 0x2c], 0xa88efd84
mov dword [ebp - 0x28], 0x7f22838c
mov dword [ebp - 0x24], 0xd6ceec7b
push edx
mov dword [ebp - 0x40], 0xd026f71f
mov dword [ebp - 0x3c], 0xa88efdca
mov dword [ebp - 0x38], 0x7f22838c
mov dword [ebp - 0x34], 0xd6ceec7b
movaps xmm1, xmmword [ebp - 0x40]
pxor xmm1, xmmword [ebp - 0x30]
movzx eax, ax
push eax
push 0
movaps xmmword [ebp - 0x30], xmm1
call ecx
mov dword [ebp - 0x10], eax
mov eax, dword [0x6a0668]
test eax, eax
jne 0x40c656
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp - 4], eax
mov edx, eax
mov dword [ebp - 0xc], ecx
mov ecx, dword [ecx + 0x18]
mov dword [ebp - 8], ecx
mov eax, dword [ecx + 0x3c]
mov eax, dword [eax + ecx + 0x78]
add eax, ecx
mov dword [ebp - 0x14], eax
cmp eax, ecx
je 0x40c63b
mov esi, dword [eax + 0x18]
test esi, esi
je 0x40c63b
mov eax, dword [eax + 0x20]
lea edi, [eax + esi*4]
add edi, ecx
mov eax, dword [edi - 4]
lea edi, [edi - 4]
add eax, ecx
dec esi
mov edx, 0x811c9dc5
mov cl, byte [eax]
inc eax
test cl, cl
je 0x40c631
nop dword [eax + eax]
movsx ecx, cl
lea eax, [eax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
mov cl, byte [eax - 1]
test cl, cl
jne 0x40c610
cmp edx, 0x694fd8fd
je 0x40c81c
mov ecx, dword [ebp - 8]
test esi, esi
jne 0x40c5f6
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp - 0xc], ecx
cmp eax, edx
je 0x40c64f
cmp dword [ecx + 0x18], 0
jne 0x40c5d1
xor eax, eax
mov dword [0x6a0668], eax
push dword [ebp - 0x10]
push 0
call eax
mov dword [ebp - 0xc], eax
mov eax, dword [0x6a0680]
test eax, eax
jne 0x40c704
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], ecx
mov edx, dword [ecx + 0x18]
mov dword [ebp - 4], edx
mov eax, dword [edx + 0x3c]
mov eax, dword [eax + edx + 0x78]
add eax, edx
mov dword [ebp - 0x18], eax
cmp eax, edx
je 0x40c6eb
mov esi, dword [eax + 0x18]
test esi, esi
je 0x40c6eb
mov eax, dword [eax + 0x20]
lea edi, [eax + esi*4]
add edi, edx
mov ecx, dword [edi - 4]
lea edi, [edi - 4]
add ecx, edx
dec esi
mov edx, 0x811c9dc5
mov al, byte [ecx]
inc ecx
test al, al
je 0x40c6e1
nop dword [eax]
movsx eax, al
lea ecx, [ecx + 1]
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [ecx - 1]
test al, al
jne 0x40c6c0
cmp edx, 0xaa8ca8f9
je 0x40c83c
mov edx, dword [ebp - 4]
test esi, esi
jne 0x40c6a8
mov ecx, dword [ebp - 8]
mov eax, dword [ecx]
mov ecx, eax
mov dword [ebp - 8], eax
cmp eax, dword [ebp - 0x14]
je 0x40c6fd
cmp dword [ecx + 0x18], 0
jne 0x40c683
xor eax, eax
mov dword [0x6a0680], eax
push dword [ebp - 0x10]
push 0
call eax
mov dword [ebp - 4], eax
mov eax, dword [0x6a0684]
test eax, eax
jne 0x40c7b4
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], ecx
mov edx, dword [ecx + 0x18]
mov dword [ebp - 8], edx
mov eax, dword [edx + 0x3c]
mov eax, dword [eax + edx + 0x78]
add eax, edx
mov dword [ebp - 0x14], eax
cmp eax, edx
je 0x40c79b
mov esi, dword [eax + 0x18]
test esi, esi
je 0x40c79b
mov eax, dword [eax + 0x20]
lea edi, [eax + esi*4]
add edi, edx
mov ecx, dword [edi - 4]
lea edi, [edi - 4]
add ecx, edx
dec esi
mov edx, 0x811c9dc5
mov al, byte [ecx]
inc ecx
test al, al
je 0x40c791
nop dword [eax + eax]
movsx eax, al
lea ecx, [ecx + 1]
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [ecx - 1]
test al, al
jne 0x40c770
cmp edx, 0x81e23ea
je 0x40c85c
mov edx, dword [ebp - 8]
test esi, esi
jne 0x40c756
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov ecx, eax
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 0x18]
je 0x40c7ad
cmp dword [ecx + 0x18], 0
jne 0x40c731
xor eax, eax
mov dword [0x6a0684], eax
push dword [ebp - 4]
call eax
mov esi, dword [ebp - 0xc]
mov edi, eax
mov eax, dword [ebp - 0x1c]
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
test esi, esi
je 0x40c8d5
cmp esi, 0x7fffffff
ja 0x40c8de
jmp 0x40c87c
mov edi, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edi + 0x24]
lea eax, [eax + esi*2]
movzx ecx, word [eax + edx]
mov eax, dword [edi + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + edx]
add ecx, edx
jmp 0x40c54f
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov eax, dword [edi + 0x24]
lea eax, [eax + esi*2]
movzx ecx, word [eax + edx]
mov eax, dword [edi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
jmp 0x40c651
mov edi, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov eax, dword [edi + 0x24]
lea eax, [eax + esi*2]
movzx ecx, word [eax + edx]
mov eax, dword [edi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
jmp 0x40c6ff
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov eax, dword [edi + 0x24]
lea eax, [eax + esi*2]
movzx ecx, word [eax + edx]
mov eax, dword [edi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
jmp 0x40c7af
cmp esi, 0x1000
jb 0x40c8a5
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x40c8e3
push eax
call fcn.00473bf9
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x40c8e8
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x40c8ae
push esi
call fcn.00473bf9
add esp, 4
mov ecx, dword [ebp - 0x1c]
push dword [ebp - 0xc]
push edi
mov dword [ecx], eax
mov dword [ecx + 4], eax
add eax, esi
mov dword [ecx + 8], eax
mov esi, dword [ecx]
push esi
call fcn.004755f0
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, dword [ebp - 0xc]
add ecx, esi
mov dword [eax + 4], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00415070
call fcn.004070c0
call fcn.004788ce
int3