Function at 0x422c50
Capabilities:
Access peb ldr_data
Hash data using sha1

Disassembly:
push 0xffffffffffffffff
push 0x47f1c6
mov eax, dword fs:[0]
push eax
mov eax, 0x3eec
mov dword fs:[0], esp
call fcn.00437870
mov eax, dword [0x4a9e6c]
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov dword [esp + 0x3ef8], eax
mov dword [esp + 0x18], ebp
call fcn.00456579
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x3f04], ebp
call fcn.00456579
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x100
mov byte [esp + 0x3f08], 1
call fcn.00456408
mov ebx, eax
mov eax, dword [esp + 0x3f14]
push 0x486da0
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.00439536
add esp, 0xc
mov edi, eax
lea ecx, [ecx]
push edi
push 0x3e80
lea ecx, [esp + 0x80]
push 1
push ecx
call fcn.0043948e
mov esi, eax
add esp, 0x10
cmp esi, ebp
je 0x422d41
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x7c]
push esi
push eax
call fcn.00422060
add esp, 0xc
cmp esi, 0x3e80
je 0x422d10
push edi
call fcn.00439354
lea ecx, [esp + 0x20]
push ecx
push ebx
call fcn.004220f0
add esp, 0xc
xor esi, esi
nop
movzx eax, byte [esi + ebx]
push 0x10
lea edx, [esp + 0x14]
push edx
push eax
call fcn.004391e4
lea eax, [esp + 0x1c]
add esp, 0xc
lea edx, [eax + 1]
jmp 0x422d80
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x422d80
sub eax, edx
cmp eax, 1
jne 0x422da0
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 0x422da7
sub eax, edx
push eax
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x20]
call fcn.00404a90
inc esi
cmp esi, 0x14
jl 0x422d60
push ebx
call fcn.0045640d
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
lea ebx, [eax - 0x10]
add esi, 0xfffffff0
add esp, 4
cmp ebx, esi
je 0x422e26
mov ecx, dword [esi + 0xc]
cmp ecx, ebp
lea edi, [esi + 0xc]
jl 0x422e18
mov ecx, dword [ebx]
cmp ecx, dword [esi]
jne 0x422e18
push ebx
call fcn.004057a0
add esp, 4
mov ebp, eax
or edx, 0xffffffff
lock xadd dword [edi], edx
dec edx
test edx, edx
jg 0x422e0f
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
add ebp, 0x10
mov dword [esp + 0x14], ebp
jmp 0x422e26
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00406bb0
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 0x422e51
cmp eax, dword [ebp]
jne 0x422e51
mov eax, ebp
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x422e84
mov ecx, dword [ebp + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
jne 0x422e66
call fcn.00402300
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 + 0x3f0c]
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x3f04], 0
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x422eb0
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
mov dword [esp + 0x3f04], 0xffffffff
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x422ed2
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov ecx, dword [esp + 0x3efc]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x3eec]
pop ebx
call fcn.004368a4
add esp, 0x3ef8
ret 8