Function at 0x1004f070
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x60], 0
push ecx
mov edx, eax
mov dword [ebp - 0x64], 0
mov ecx, esi
mov dword [ebp - 0x5c], 0x67452301
mov dword [ebp - 0x58], 0xefcdab89
mov dword [ebp - 0x54], 0x98badcfe
mov dword [ebp - 0x50], 0x10325476
mov dword [ebp - 0x4c], 0xc3d2e1f0
call fcn.10052130
add esp, 4
lea edx, [ebp - 0x64]
lea ecx, [edi + 0x1fbf0]
call fcn.10052350
mov eax, dword [edi + 0x1f560]
sub eax, 2
je 0x1004f0f1
sub eax, 1
je 0x1004f0ea
mov ecx, 0x80
jmp 0x1004f0f6
mov ecx, 0x100
jmp 0x1004f0f6
mov ecx, 0xc0
push edi
push ecx
lea edx, [edi + 0x1fbf0]
call fcn.100524c0
add esp, 8
test eax, eax
jne 0x1004f269
mov eax, dword [edi + 0x1f998]
add eax, 0x10
push eax
call fcn.1008680d
lea ebx, [edi + 0x1f990]
add esp, 4
mov dword [ebx], eax
mov dword [ebp - 8], ebx
test eax, eax
je 0x1004f1b3
push dword [edi + 0x1f998]
push dword [edi + 0x1f994]
push eax
call fcn.1007d410
mov ecx, dword [edi + 0x1fbec]
lea esi, [edi + 0x1fbec]
mov eax, dword [edi + 0x1f99c]
add ecx, 0x110
add esp, 0xc
mov edx, 1
mov dword [ecx], eax
mov eax, dword [edi + 0x1f9a0]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x1f9a4]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0x1f9a8]
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0x1f998]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push edi
push eax
push ecx
mov ecx, dword [ebx]
call fcn.10052750
add esp, 0xc
test eax, eax
jne 0x1004f1ac
mov eax, dword [ebp - 4]
xor ebx, ebx
mov dword [edi + 0x1f998], eax
jmp 0x1004f1be
mov ebx, 0x16
jmp 0x1004f1be
mov ebx, 4
lea esi, [edi + 0x1fbec]
lea eax, [edi + 0x1f564]
mov dword [ebp - 4], eax
mov eax, dword [eax]
test eax, eax
je 0x1004f1e0
push eax
call fcn.10086818
add esp, 4
mov dword [edi + 0x1f564], 0
mov eax, dword [esi]
test eax, eax
je 0x1004f20f
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1004f1ff
push eax
call fcn.10086818
mov eax, dword [esi]
add esp, 4
mov dword [eax + 0xc], 0
push dword [esi]
call fcn.10086818
add esp, 4
mov dword [esi], 0
lea edx, [edi + 0x1f564]
test ebx, ebx
jne 0x1004f286
mov eax, dword [edx]
test eax, eax
je 0x1004f22d
push eax
call fcn.10086818
mov eax, dword [ebp - 4]
add esp, 4
mov dword [eax], ebx
mov eax, dword [esi]
test eax, eax
je 0x1004f31f
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1004f250
push eax
call fcn.10086818
mov ecx, dword [esi]
add esp, 4
mov dword [ecx + 0xc], 0
push dword [esi]
call fcn.10086818
add esp, 4
mov dword [esi], 0
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [edi + 0x1f564]
mov ebx, 0x16
lea eax, [edi + 0x1f990]
mov dword [ebp - 4], edx
lea esi, [edi + 0x1fbec]
mov dword [ebp - 8], eax
mov eax, dword [edx]
test eax, eax
je 0x1004f29e
push eax
call fcn.10086818
mov eax, dword [ebp - 4]
add esp, 4
mov dword [eax], 0
mov eax, dword [esi]
test eax, eax
je 0x1004f2cd
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1004f2bd
push eax
call fcn.10086818
mov eax, dword [esi]
add esp, 4
mov dword [eax + 0xc], 0
push dword [esi]
call fcn.10086818
add esp, 4
mov dword [esi], 0
mov esi, dword [ebp - 8]
mov eax, dword [esi]
test eax, eax
je 0x1004f2e5
push eax
call fcn.10086818
add esp, 4
mov dword [esi], 0
mov eax, dword [edi + 0x1f994]
test eax, eax
je 0x1004f302
push eax
call fcn.10086818
add esp, 4
mov dword [edi + 0x1f994], 0
mov eax, dword [edi + 0x1f9ac]
test eax, eax
je 0x1004f31f
push eax
call fcn.10086818
mov dword [edi + 0x1f9ac], 0
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret