Function at 0x401500
Capabilities:
Access peb ldr_data
Hash data using djb2
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword fs:[0x30]
push ebx
push esi
push edi
mov eax, dword [eax + 0xc]
add eax, 0x14
mov dword [ebp - 0x14], eax
mov ebx, dword [eax]
mov dword [ebp - 8], ebx
cmp ebx, eax
je 0x40166b
mov esi, dword [ebx + 0x28]
mov eax, esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0x1505
movzx edx, word [eax]
mov edi, edx
test edx, edx
je 0x40165d
mov ebx, esi
mov esi, dword [ebp - 4]
nop dword [eax]
lea eax, [edi - 0x41]
cmp eax, 0x19
lea ecx, [edi + 0x20]
mov eax, esi
lea ebx, [ebx + 2]
cmova ecx, edi
movzx edi, word [ebx]
shl eax, 5
add esi, eax
add esi, ecx
test edi, edi
jne 0x401550
mov ebx, dword [ebp - 8]
cmp esi, 0x22d3b5ed
mov esi, dword [ebp - 0x10]
jne 0x401587
mov eax, dword [ebx + 0x10]
mov dword [0x405428], eax
jmp 0x40158f
test edx, edx
je 0x40165d
mov edi, 0x1505
lea eax, [edx - 0x41]
cmp eax, 0x19
lea ecx, [edx + 0x20]
mov eax, edi
lea esi, [esi + 2]
cmova ecx, edx
movzx edx, word [esi]
shl eax, 5
add edi, eax
add edi, ecx
test edx, edx
jne 0x401594
cmp edi, 0x7040ee75
jne 0x40165d
mov edi, dword [ebx + 0x10]
mov dword [0x405424], edi
test edi, edi
je 0x40165d
mov edx, 0x6663971
mov ecx, edi
call fcn.00401450
mov esi, eax
mov edx, 0x360d9fb2
mov ecx, edi
mov dword [0x40541c], esi
call fcn.00401450
mov edx, 0x24773de
mov dword [0x405438], eax
mov ecx, edi
call fcn.00401450
mov edx, 0xd2c4ab40
mov dword [0x405420], eax
mov ecx, edi
call fcn.00401450
push str.Shell32.dll
mov dword [0x40543c], eax
call esi
mov dword [0x405430], eax
test eax, eax
je 0x40165d
mov edx, 0x9d460716
mov ecx, eax
call fcn.00401450
push str.Crypt32.dll
mov dword [0x40542c], eax
call dword [0x40541c]
mov dword [0x405434], eax
test eax, eax
je 0x40165d
mov edx, 0xe423722d
mov ecx, eax
call fcn.00401450
mov dword [0x405440], eax
mov ebx, dword [ebx]
mov dword [ebp - 8], ebx
cmp ebx, dword [ebp - 0x14]
jne 0x401525
mov ebx, dword [0x405428]
test ebx, ebx
je 0x4017a4
mov eax, dword [ebx + 0x3c]
xor edx, edx
mov eax, dword [eax + ebx + 0x78]
add eax, ebx
mov ecx, dword [eax + 0x1c]
mov esi, dword [eax + 0x18]
add ecx, ebx
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
add ecx, ebx
add eax, ebx
mov dword [ebp - 4], esi
lea eax, [eax + esi*2]
add eax, 0xfffffffe
mov dword [ebp - 8], eax
lea eax, [esi - 1]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov edi, dword [eax]
mov esi, 0x744e
add edi, ebx
cmp word [edi], si
mov esi, dword [ebp - 4]
jne 0x40171e
mov ebx, 0x1505
mov esi, 0x4e
nop dword [eax]
lea eax, [esi - 0x41]
cmp eax, 0x19
lea ecx, [esi + 0x20]
mov eax, ebx
lea edi, [edi + 1]
cmova ecx, esi
movsx esi, byte [edi]
shl eax, 5
add ebx, eax
add ebx, ecx
test esi, esi
jne 0x4016d0
mov ecx, dword [ebp - 8]
mov dword [edx*8 + 0x40341c], ebx
mov ebx, dword [ebp - 0x14]
movzx eax, word [ecx]
mov eax, dword [ebx + eax*4]
mov dword [edx*8 + 0x403420], eax
inc edx
cmp edx, 0x400
je 0x401736
mov ebx, dword [0x405428]
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
dec esi
sub eax, 4
sub ecx, 2
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
test esi, esi
jne 0x4016b1
lea eax, [edx - 1]
mov dword [0x403418], edx
xor ebx, ebx
test eax, eax
je 0x4017a4
mov ecx, edx
xor eax, eax
sub ecx, ebx
sub ecx, 1
je 0x40179c
mov edi, dword [eax*8 + 0x403420]
mov esi, dword [eax*8 + 0x403428]
cmp edi, esi
jbe 0x401792
mov edx, dword [eax*8 + 0x40341c]
mov ecx, dword [eax*8 + 0x403424]
mov dword [eax*8 + 0x40341c], ecx
mov dword [eax*8 + 0x403420], esi
mov dword [eax*8 + 0x403424], edx
mov dword [eax*8 + 0x403428], edi
mov edx, dword [0x403418]
mov ecx, edx
inc eax
sub ecx, ebx
dec ecx
cmp eax, ecx
jb 0x401750
inc ebx
lea eax, [edx - 1]
cmp ebx, eax
jb 0x401745
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret