Function at 0x5f95a0
Capabilities:
Hash data with md5
Write file on windows

Disassembly:
mov eax, dword [esp + 0xc]
mov dl, byte [eax + 1]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [eax + 2]
xor ecx, ecx
test dl, dl
push edi
mov dword [ebp], 0x6dc414
mov dword [ebp + 0xe], 0xffffffff
mov dword [ebp + 4], ecx
mov dword [ebp + 8], esi
mov byte [ebp + 0xc], dl
mov byte [ebp + 0xd], cl
jne 0x5f95da
mov byte [ebp + 0xd], 1
mov byte [ebp + 0xc], 1
mov word [ebp + 0x12], cx
mov dword [ebp], 0x714988
movzx edx, byte [eax]
mov byte [ebp + 0x14], dl
mov dword [ebp + 0x15], 0xffffffff
mov bl, byte [eax + 1]
mov dl, byte [eax + 6]
mov eax, dword [eax + 2]
lea edi, [ebp + 0x15]
mov dword [ebp + 0x29], eax
mov byte [esp + 0x14], bl
mov al, byte [esp + 0x14]
lea ebx, [ebp + 0x19]
mov byte [ebx + 0x14], al
xor eax, eax
mov dword [ebx], 0x22
mov esi, 0x1000
mov word [ebx + 4], si
mov word [ebx + 6], si
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
mov byte [ebx + 0x15], dl
mov dword [ebx + 0x16], ecx
mov dword [ebx + 0x1a], ecx
mov dword [ebx + 0x1e], eax
mov dword [ebx + 0x22], eax
mov dword [ebx + 0x26], eax
lea esi, [ebp + 0x47]
mov dword [ebx + 0x2a], eax
call fcn.005f5a00
movzx ecx, byte [ebp + 0x14]
push ecx
push ebx
lea edx, [ebp + 0x67]
push edx
call fcn.005d9630
movzx esi, byte [ebp + 0xc]
imul esi, esi, 0xffff
add esi, 1
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
mov dword [ebp + 0x178], 0
mov dword [ebp + 0x17c], esi
neg ecx
or ecx, eax
push ecx
call fcn.0069c0de
mov dword [ebp + 0x180], eax
xor eax, eax
mov dword [ebp + 0x184], eax
mov dword [ebp + 0x188], eax
mov dword [ebp + 0x190], eax
mov dword [ebp + 0x18c], eax
mov dword [ebp + 0x1dc], eax
mov dword [ebp + 0x1d8], eax
mov dword [ebp + 0x1e0], 0x67452301
mov dword [ebp + 0x1e4], 0xefcdab89
mov dword [ebp + 0x1e8], 0x98badcfe
mov dword [ebp + 0x1ec], 0x10325476
movzx esi, byte [ebp + 0xc]
shl esi, 0xd
xor ecx, ecx
add esp, 4
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0069c0de
mov dword [ebp + 0x1f0], eax
mov dword [ebp + 0x1f4], 0
mov byte [ebp + 0x1f8], 0
mov eax, dword [edi]
add esp, 4
cmp eax, 0xffffffff
je 0x5f9729
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [edi], eax
jne 0x5f975a
or byte [ebp + 0xd], 1
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 1
lea edx, [esp + 0x20]
push edx
push eax
mov byte [esp + 0x28], 0x66
call esi
mov eax, dword [edi]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 1
lea edx, [esp + 0x20]
push edx
push eax
mov byte [esp + 0x28], 0x4c
call esi
mov eax, dword [edi]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 1
lea edx, [esp + 0x20]
push edx
push eax
mov byte [esp + 0x28], 0x61
call esi
mov eax, dword [edi]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 1
lea edx, [esp + 0x20]
push edx
push eax
mov byte [esp + 0x28], 0x43
call esi
cmp dword [ebp + 0x4f], 0
lea esi, [ebp + 0x47]
jle 0x5f97d5
cmp dword [esi + 4], 0
je 0x5f97d5
add dword [esi], 0x80000000
jmp 0x5f97db
add dword [ebx], 0x80000000
mov eax, ebx
call fcn.005f57f0
push edi
push esi
call fcn.005f5b10
mov ecx, dword [esp + 0x1c]
movzx edi, byte [ebp + 0xc]
mov eax, 0x1000
mov dword [ebp + 0x194], eax
mov dword [ebp + 0xaf], eax
mov dl, byte [ecx + 6]
mov byte [ebp + 0xb9], dl
mov eax, dword [ebp + 0x1f4]
push eax
shl edi, 0xc
call fcn.0069c8fa
xor ecx, ecx
add esp, 4
mov eax, edi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0069c0de
mov dword [ebp + 0x1f4], eax
movzx edi, byte [ebp + 0xc]
mov eax, dword [ebp + 0x190]
imul edi, dword [ebp + 0x194]
add esp, 4
push eax
call fcn.0069c8fa
lea ecx, [edi*4 + 0x10]
add esp, 4
push ecx
call fcn.0069c0de
add esp, 4
test eax, eax
mov dword [ebp + 0x190], eax
jne 0x5f9881
mov dword [ebp + 0x18c], eax
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
add eax, 4
and eax, 0xfffffff0
pop edi
add eax, 0x10
mov dword [ebp + 0x18c], eax
pop esi
mov eax, ebp
pop ebp
pop ebx
ret 0xc