Function at 0x401500
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538ca1
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x58bcc0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x118], ebx
call fcn.004134f2
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x401561
push 0x80004005
call fcn.004026c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10c], eax
push pe_nt_image_headers32
mov dword [ebp - 4], ebx
call fcn.0041348b
add esp, 4
push 0x566cb8
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x118], eax
call fcn.00402330
mov ecx, 1
mov byte [ebp - 4], 1
cmp dword [edi + 0x14], ecx
jne 0x4016d5
mov eax, dword [edi]
mov esi, dword [eax - 0xc]
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x74], 0x67452301
mov dword [ebp - 0x70], 0xefcdab89
mov dword [ebp - 0x6c], 0x98badcfe
mov dword [ebp - 0x68], 0x10325476
cmp esi, ebx
jge 0x4015e0
push 0x80070057
call fcn.004026c0
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or eax, ecx
jge 0x4015f4
push esi
mov ecx, edi
call fcn.004024d0
mov eax, dword [edi]
mov ecx, esi
push eax
lea esi, [ebp - 0x7c]
call fcn.00404150
add esp, 4
mov ecx, esi
call fcn.00404280
xor esi, esi
movzx edx, byte [ebp + esi - 0x24]
push 0x10
lea ecx, [ebp - 0x108]
push ecx
push edx
call fcn.005134b6
lea eax, [ebp - 0x108]
add esp, 0xc
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401630
sub eax, edx
cmp eax, 1
jne 0x401657
mov al, byte [ebp - 0x108]
mov byte [ebp - 0x107], al
mov byte [ebp - 0x108], 0x30
mov byte [ebp - 0x106], cl
lea ecx, [ebp - 0x108]
lea ebx, [ebp - 0x110]
call fcn.00401950
inc esi
cmp esi, 0x10
jl 0x40160d
mov ecx, dword [ebp - 0x110]
mov esi, dword [ebp - 0x10c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x4016d5
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x4016c5
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4016c5
push eax
call fcn.00401e20
mov edi, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4016b4
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 0x10
mov dword [ebp - 0x10c], edi
mov edi, dword [ebp - 0x11c]
jmp 0x4016d5
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x10c]
call fcn.004021f0
cmp dword [edi + 0x14], 2
jne 0x401863
mov eax, dword [edi + 8]
cmp dword [eax - 0xc], 0
jne 0x401750
mov esi, dword [ebp - 0x114]
push 0x566cb8
mov ecx, esi
call fcn.00402330
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x110]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401720
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401749
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x40192e
push 3
push eax
lea edx, [ebp - 0x104]
lea ecx, [ebp - 0x100]
push edx
mov dword [ebp - 0x104], ecx
call fcn.00401ac0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x104]
push eax
lea ecx, [ebp - 0x7c]
call fcn.004043b0
add esp, 4
test eax, eax
je 0x4017e5
xor esi, esi
movzx edx, byte [ebp + esi - 0x24]
push 0x10
lea ecx, [ebp - 0x108]
push ecx
push edx
call fcn.005134b6
lea eax, [ebp - 0x108]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4017a7
sub eax, edx
cmp eax, 1
jne 0x4017ce
mov al, byte [ebp - 0x108]
mov byte [ebp - 0x107], al
mov byte [ebp - 0x108], 0x30
mov byte [ebp - 0x106], cl
lea ecx, [ebp - 0x108]
lea ebx, [ebp - 0x110]
call fcn.00401950
inc esi
cmp esi, 0x10
jl 0x401787
mov ecx, dword [ebp - 0x110]
mov esi, dword [ebp - 0x10c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x401846
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x401836
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x401836
push eax
call fcn.00401e20
mov edi, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x40182b
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 0x10
mov dword [ebp - 0x10c], edi
jmp 0x401846
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x10c]
call fcn.004021f0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x104]
lea ecx, [ebp - 0x100]
cmp eax, ecx
je 0x401863
push eax
call fcn.00513741
add esp, 4
mov edx, dword [ebp - 0x118]
push edx
call fcn.00413480
mov esi, dword [ebp - 0x10c]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add esi, 0xfffffff0
add esp, 4
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40189f
cmp eax, dword [esi]
jne 0x40189f
mov ebx, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x4018db
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
jne 0x4018b8
call fcn.00402480
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.00513307
add esp, 0x10
mov edi, dword [ebp - 0x114]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x110]
add ebx, 0x10
add eax, 0xfffffff0
mov dword [edi], ebx
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40190c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40192c
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005132f8
mov esp, ebp
pop ebp
ret 4