Function at 0x1006dea0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
xor eax, eax
push ebx
mov ebx, edx
push esi
mov esi, ecx
mov dword [ebx + 0x14af4], eax
lea ecx, [ebx + 0x14af4]
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
push edi
cmp dword [ebx + 0x14b18], eax
je 0x1006dee2
lea eax, [ebx + 0x146c8]
mov edx, 0x10
push eax
call fcn.10051e60
add esp, 4
jmp 0x1006defc
mov eax, dword [ebx + 0x126a4]
mov dword [ecx], eax
mov eax, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x3c]
mov dword [ebx + 0x14af8], eax
mov dword [ebx + 0x14afc], ecx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x5c], 0
push ecx
mov edx, eax
mov dword [ebp - 0x60], 0
mov ecx, esi
mov dword [ebp - 0x58], 0x67452301
mov dword [ebp - 0x54], 0xefcdab89
mov dword [ebp - 0x50], 0x98badcfe
mov dword [ebp - 0x4c], 0x10325476
mov dword [ebp - 0x48], 0xc3d2e1f0
call fcn.10052130
add esp, 4
lea edx, [ebp - 0x60]
lea ecx, [ebx + 0x14d50]
call fcn.10073cd0
mov eax, dword [ebx + 0x126b4]
sub eax, 2
je 0x1006df70
sub eax, 1
je 0x1006df69
mov ecx, 0x80
jmp 0x1006df75
mov ecx, 0x100
jmp 0x1006df75
mov ecx, 0xc0
push ebx
push ecx
lea edx, [ebx + 0x14d50]
call fcn.10073540
add esp, 8
test eax, eax
jne 0x1006e121
push 0x90
call fcn.1008680d
add esp, 4
mov dword [ebx + 0x14ae8], eax
test eax, eax
je 0x1006e057
push 0x90
call fcn.1008680d
add esp, 4
mov dword [ebx + 0x14aec], eax
test eax, eax
je 0x1006e057
mov ecx, dword [ebx + 0x14ae8]
lea eax, [ebx + 0x146c8]
push eax
mov edx, 0x80
call fcn.10051e60
mov esi, dword [ebx + 0x14ae8]
mov ecx, 0x20
mov edi, dword [ebx + 0x14aec]
add esp, 4
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x14d4c]
mov edx, 1
mov eax, dword [ebx + 0x14af4]
add ecx, 0x110
push ebx
mov dword [ebp - 4], 0x80
mov dword [ecx], eax
mov eax, dword [ebx + 0x14af8]
mov dword [ecx + 4], eax
mov eax, dword [ebx + 0x14afc]
mov dword [ecx + 8], eax
mov eax, dword [ebx + 0x14b00]
mov dword [ecx + 0xc], eax
lea eax, [ebp - 4]
push eax
push ecx
mov ecx, dword [ebx + 0x14aec]
call fcn.100738b0
add esp, 0xc
test eax, eax
jne 0x1006e050
mov eax, dword [ebp - 4]
xor esi, esi
mov dword [ebx + 0x14af0], eax
jmp 0x1006e05c
mov esi, 0x16
jmp 0x1006e05c
mov esi, 4
mov eax, dword [ebx + 0x146c4]
test eax, eax
je 0x1006e079
push eax
call fcn.10086818
add esp, 4
mov dword [ebx + 0x146c4], 0
mov eax, dword [ebx + 0x14d4c]
test eax, eax
je 0x1006e0b8
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1006e0a0
push eax
call fcn.10086818
mov eax, dword [ebx + 0x14d4c]
add esp, 4
mov dword [eax + 0xc], 0
push dword [ebx + 0x14d4c]
call fcn.10086818
add esp, 4
mov dword [ebx + 0x14d4c], 0
test esi, esi
jne 0x1006e126
mov eax, dword [ebx + 0x146c4]
test eax, eax
je 0x1006e0d5
push eax
call fcn.10086818
add esp, 4
mov dword [ebx + 0x146c4], esi
mov eax, dword [ebx + 0x14d4c]
test eax, eax
je 0x1006e1d9
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1006e100
push eax
call fcn.10086818
mov ecx, dword [ebx + 0x14d4c]
add esp, 4
mov dword [ecx + 0xc], 0
push dword [ebx + 0x14d4c]
call fcn.10086818
add esp, 4
mov dword [ebx + 0x14d4c], 0
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, 0x16
mov eax, dword [ebx + 0x146c4]
test eax, eax
je 0x1006e143
push eax
call fcn.10086818
add esp, 4
mov dword [ebx + 0x146c4], 0
mov eax, dword [ebx + 0x14d4c]
test eax, eax
je 0x1006e182
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1006e16a
push eax
call fcn.10086818
mov eax, dword [ebx + 0x14d4c]
add esp, 4
mov dword [eax + 0xc], 0
push dword [ebx + 0x14d4c]
call fcn.10086818
add esp, 4
mov dword [ebx + 0x14d4c], 0
mov eax, dword [ebx + 0x14ae8]
test eax, eax
je 0x1006e19f
push eax
call fcn.10086818
add esp, 4
mov dword [ebx + 0x14ae8], 0
mov eax, dword [ebx + 0x14aec]
test eax, eax
je 0x1006e1bc
push eax
call fcn.10086818
add esp, 4
mov dword [ebx + 0x14aec], 0
mov eax, dword [ebx + 0x14b04]
test eax, eax
je 0x1006e1d9
push eax
call fcn.10086818
mov dword [ebx + 0x14b04], 0
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret