Function at 0x402a60
Capabilities:
Access peb ldr_data
Get kernel32 base address
Hash data using sha1

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x427a46
push eax
mov eax, 0x3ee8
mov dword fs:[0], esp
call fcn.00409980
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov dword [esp + 0x18], ebp
call fcn.004197bc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x3f00], ebp
call fcn.004197bc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x100
mov byte [esp + 0x3f04], 1
call fcn.00419720
mov ebx, eax
mov eax, dword [esp + 0x3f10]
push 0x4296e8
push eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], 0x67452301
mov dword [esp + 0x34], 0xefcdab89
mov dword [esp + 0x38], 0x98badcfe
mov dword [esp + 0x3c], 0x10325476
mov dword [esp + 0x40], 0xc3d2e1f0
call fcn.0040a754
add esp, 0xc
mov edi, eax
push edi
push 0x3e80
lea ecx, [esp + 0x80]
push 1
push ecx
call fcn.0040a6ac
mov esi, eax
add esp, 0x10
cmp esi, ebp
je 0x402b42
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x7c]
push esi
push eax
call fcn.00401a60
add esp, 0xc
cmp esi, 0x3e80
je 0x402b11
push edi
call fcn.0040a572
lea ecx, [esp + 0x20]
push ecx
push ebx
call fcn.00401af0
add esp, 0xc
xor esi, esi
movzx eax, byte [esi + ebx]
push 0x10
lea edx, [esp + 0x14]
push edx
push eax
call fcn.0040a4fc
lea eax, [esp + 0x1c]
add esp, 0xc
lea edx, [eax + 1]
jmp 0x402b80
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402b80
sub eax, edx
cmp eax, 1
jne 0x402ba0
mov cl, byte [esp + 0x10]
mov byte [esp + 0x11], cl
mov byte [esp + 0x10], 0x30
mov byte [esp + 0x12], 0
lea eax, [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402ba7
sub eax, edx
push eax
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x20]
call fcn.00402180
inc esi
cmp esi, 0x14
jl 0x402b60
push ebx
call fcn.00419725
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
lea ebx, [eax - 0x10]
add esi, 0xfffffff0
add esp, 4
cmp ebx, esi
je 0x402c26
mov ecx, dword [esi + 0xc]
cmp ecx, ebp
lea edi, [esi + 0xc]
jl 0x402c18
mov ecx, dword [ebx]
cmp ecx, dword [esi]
jne 0x402c18
push ebx
call fcn.00401e50
add esp, 4
mov ebp, eax
or edx, 0xffffffff
lock xadd dword [edi], edx
dec edx
test edx, edx
jg 0x402c0f
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
add ebp, 0x10
mov dword [esp + 0x14], ebp
jmp 0x402c26
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.004020e0
mov ebp, dword [esp + 0x14]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
add ebp, 0xfffffff0
call dword [edx + 0x10]
mov edx, dword [ebp + 0xc]
test edx, edx
lea ecx, [ebp + 0xc]
jl 0x402c51
cmp eax, dword [ebp]
jne 0x402c51
mov eax, ebp
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x402c84
mov ecx, dword [ebp + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
jne 0x402c66
call fcn.00401cb0
mov edx, dword [ebp + 4]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 4]
inc ecx
mov edx, ecx
shr ecx, 2
lea esi, [ebp + 0x10]
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x3f08]
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x3f00], 0
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x402cb0
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
mov dword [esp + 0x3f00], 0xffffffff
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x402cd2
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov ecx, dword [esp + 0x3ef8]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3ef4
ret 8