Function at 0x10035c50
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8b0
mov eax, dword [0x102ba680]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x100a61d8
push esi
mov dword [ebp - 0x8b0], eax
call fcn.1008c3a3
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x10035cdc
push 0x400
lea eax, [ebp - 0x804]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x804]
push 0x5c
push eax
call fcn.1008b030
mov ecx, esi
add esp, 8
lea edx, [eax + 1]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10035cb2
sub ecx, edi
lea eax, [ecx + 1]
push eax
push esi
push edx
call fcn.1008b170
lea eax, [ebp - 0x804]
push 0x100a61d8
push eax
call fcn.1008c3a3
add esp, 0x14
mov ebx, eax
push 4
lea eax, [ebp - 0x404]
mov dword [ebp - 0x8a8], 0
push eax
lea eax, [ebp - 0x8ac]
mov dword [ebp - 0x8ac], 0
push eax
mov dword [ebp - 0x8a4], 0x67452301
mov dword [ebp - 0x8a0], 0xefcdab89
mov dword [ebp - 0x89c], 0x98badcfe
mov dword [ebp - 0x898], 0x10325476
mov dword [ebp - 0x404], 0x69757865
call fcn.10035b90
add esp, 0xc
test ebx, ebx
je 0x10035d8f
push ebx
push 0x400
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.1008c586
add esp, 0x10
test eax, eax
je 0x10035d8f
nop dword [eax]
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x8ac]
push eax
call fcn.10035b90
push ebx
push 0x400
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.1008c586
add esp, 0x1c
test eax, eax
jne 0x10035d60
push 4
lea eax, [ebp - 0x404]
mov dword [ebp - 0x404], 0x69757865
push eax
lea eax, [ebp - 0x8ac]
push eax
call fcn.10035b90
mov edx, dword [ebp - 0x8ac]
mov ecx, 0x78
mov eax, dword [ebp - 0x8a8]
mov dword [ebp - 0x80c], edx
mov dword [ebp - 0x808], eax
mov eax, 0x38
shr edx, 3
and edx, 0x3f
sub eax, edx
sub ecx, edx
cmp edx, 0x38
cmovae eax, ecx
push eax
lea eax, [ebp - 0x8ac]
push 0x102ba180
push eax
call fcn.10035b90
add esp, 0x18
lea edx, [ebp - 0x892]
xor esi, esi
nop dword [eax]
movzx ecx, byte [edx + 1]
lea edx, [edx + 4]
movzx eax, byte [edx - 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 6]
shl ecx, 8
or ecx, eax
mov dword [ebp + esi*4 - 0x844], ecx
inc esi
cmp esi, 0xe
jb 0x10035e00
lea eax, [ebp - 0x844]
push eax
lea eax, [ebp - 0x8a4]
push eax
call fcn.10036010
movzx eax, byte [ebp - 0x8a4]
mov byte [ebp - 0x854], al
movzx eax, byte [ebp - 0x8a3]
mov byte [ebp - 0x853], al
movzx eax, byte [ebp - 0x8a2]
mov byte [ebp - 0x852], al
movzx eax, byte [ebp - 0x8a1]
mov byte [ebp - 0x851], al
movzx eax, byte [ebp - 0x8a0]
mov byte [ebp - 0x850], al
movzx eax, byte [ebp - 0x89f]
mov byte [ebp - 0x84f], al
movzx eax, byte [ebp - 0x89e]
mov byte [ebp - 0x84e], al
movzx eax, byte [ebp - 0x89d]
mov esi, dword [ebp - 0x8b0]
mov byte [ebp - 0x84d], al
movzx eax, byte [ebp - 0x89c]
mov byte [ebp - 0x84c], al
movzx eax, byte [ebp - 0x89b]
mov byte [ebp - 0x84b], al
movzx eax, byte [ebp - 0x89a]
mov byte [ebp - 0x84a], al
movzx eax, byte [ebp - 0x899]
mov byte [ebp - 0x849], al
movzx eax, byte [ebp - 0x898]
mov byte [ebp - 0x848], al
movzx eax, byte [ebp - 0x897]
mov byte [ebp - 0x847], al
movzx eax, byte [ebp - 0x896]
mov byte [ebp - 0x846], al
movzx eax, byte [ebp - 0x895]
mov byte [ebp - 0x845], al
lea eax, [esi + 1]
push eax
call fcn.1008c095
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x8b0], edi
test edi, edi
jne 0x10035f5b
push str.malloc_failed._n
push 2
call fcn.1008c168
add esp, 4
push eax
call fcn.10036760
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a138
mov esp, ebp
pop ebp
ret
lea eax, [esi + 1]
push eax
push 0
push edi
call fcn.1008aed0
add esp, 0xc
cmp esi, 0x10
jne 0x10035f99
mov esi, 4
movzx eax, byte [ebp + esi - 0x854]
push eax
lea eax, [edi - 8]
lea eax, [eax + esi*2]
push 0x100a61ec
push eax
call fcn.10036790
inc esi
add esp, 0xc
cmp esi, 0xc
jl 0x10035f74
jmp 0x10035fc6
cmp esi, 0x20
jne 0x10035fe6
xor esi, esi
movzx eax, byte [ebp + esi - 0x854]
push eax
push 0x100a61ec
push edi
call fcn.10036790
inc esi
add esp, 0xc
add edi, 2
cmp esi, 0x10
jl 0x10035fa0
mov edi, dword [ebp - 0x8b0]
test ebx, ebx
je 0x10035fd3
push ebx
call fcn.1008c262
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a138
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x10035ff3
push ebx
call fcn.1008c262
add esp, 4
push edi
call fcn.1008c090
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.1008a138
mov esp, ebp
pop ebp
ret