Function at 0x401830
Capabilities:
Access peb ldr_data
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
push ebx
push esi
push edi
call fcn.00401500
mov eax, dword [0x406004]
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [0x406008]
mov dword [esp + 0x20], eax
mov eax, dword fs:[0x30]
mov dword [esp + 0x14], 0
push ecx
mov eax, dword [eax + 0x10]
push dword [eax + 0x44]
call dword [0x40542c]
mov ecx, eax
mov dword [esp + 0xc], ecx
test ecx, ecx
je 0x4018dd
cmp dword [esp + 0x14], 1
jle 0x401acf
mov ebx, 1
nop dword [eax]
mov esi, dword [ecx + ebx*4]
mov edi, 0x1505
movzx eax, word [esi]
test eax, eax
je 0x4018cb
nop
lea ecx, [eax - 0x41]
lea edx, [eax + 0x20]
cmp ecx, 0x19
lea esi, [esi + 2]
cmova edx, eax
mov eax, edi
shl eax, 5
add edi, eax
movzx eax, word [esi]
add edi, edx
test eax, eax
jne 0x4018a0
cmp edi, 0xb6c6529
je 0x4018ec
mov ecx, dword [esp + 0xc]
inc ebx
cmp ebx, dword [esp + 0x14]
jl 0x401890
mov edi, dword [esp + 0xc]
push edi
call dword [0x405438]
push 0
call dword [0x405420]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0xc]
mov esi, dword [edi + ebx*4 + 4]
test esi, esi
je 0x4018d6
push 0
push 0
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0x10
push eax
lea eax, [esp + 0x34]
push eax
push 0xc
push esi
call dword [0x40543c]
push eax
push esi
call dword [0x405440]
test eax, eax
je 0x4018d6
mov ebx, dword [esp + 0x20]
lea eax, [esp + 0x18]
push 0x40
push 0x3000
push eax
push 0
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 0xffffffffffffffff
mov dword [esp + 0x30], ebx
call fcn.00401f85
add esp, 0x18
test eax, eax
jne 0x4018d6
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x64], esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x68], edx
mov edx, 0x40601c
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x38]
push esi
push 0x40601c
mov dword [esp + 0x50], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x40], 0x61707865
mov dword [esp + 0x54], 0x3120646e
mov dword [esp + 0x68], 0x79622d36
mov dword [esp + 0x7c], 0x6b206574
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
call fcn.00401ae0
push ebx
push dword [esp + 0x1c]
push esi
push 0x40601c
call section..text
mov esi, dword [esp + 0x28]
add esp, 0x18
or edx, 0xffffffff
test ebx, ebx
je 0x401aa5
mov edi, esi
movzx eax, byte [edi]
lea edi, [edi + 1]
xor edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
and cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
and cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
and cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
and cl, 1
cmove edx, eax
sub ebx, 1
jne 0x401a00
mov edi, dword [esp + 0xc]
not edx
cmp edx, dword [section..VectoR]
jne 0x401ab1
call esi
push 0x8000
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push 0xffffffffffffffff
call fcn.00401f8f
add esp, 0x10
jmp 0x4018d6
mov edi, eax
jmp 0x4018d6