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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8b0
mov eax, dword [0x102ae680]
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 0x100a61e8
push esi
mov dword [ebp - 0x8b0], eax
call fcn.1008c693
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x10035dec
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.1008b320
mov ecx, esi
add esp, 8
lea edx, [eax + 1]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10035dc2
sub ecx, edi
lea eax, [ecx + 1]
push eax
push esi
push edx
call fcn.1008b460
lea eax, [ebp - 0x804]
push 0x100a61e8
push eax
call fcn.1008c693
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.10035ca0
add esp, 0xc
test ebx, ebx
je 0x10035e9f
push ebx
push 0x400
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.1008c876
add esp, 0x10
test eax, eax
je 0x10035e9f
nop dword [eax]
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x8ac]
push eax
call fcn.10035ca0
push ebx
push 0x400
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.1008c876
add esp, 0x1c
test eax, eax
jne 0x10035e70
push 4
lea eax, [ebp - 0x404]
mov dword [ebp - 0x404], 0x69757865
push eax
lea eax, [ebp - 0x8ac]
push eax
call fcn.10035ca0
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 0x102ae180
push eax
call fcn.10035ca0
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 0x10035f10
lea eax, [ebp - 0x844]
push eax
lea eax, [ebp - 0x8a4]
push eax
call fcn.10036120
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.1008c385
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x8b0], edi
test edi, edi
jne 0x1003606b
push str.malloc_failed._n
push 2
call fcn.1008c458
add esp, 4
push eax
call fcn.10036870
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a428
mov esp, ebp
pop ebp
ret
lea eax, [esi + 1]
push eax
push 0
push edi
call fcn.1008b1c0
add esp, 0xc
cmp esi, 0x10
jne 0x100360a9
mov esi, 4
movzx eax, byte [ebp + esi - 0x854]
push eax
lea eax, [edi - 8]
lea eax, [eax + esi*2]
push 0x100a61fc
push eax
call fcn.100368a0
inc esi
add esp, 0xc
cmp esi, 0xc
jl 0x10036084
jmp 0x100360d6
cmp esi, 0x20
jne 0x100360f6
xor esi, esi
movzx eax, byte [ebp + esi - 0x854]
push eax
push 0x100a61fc
push edi
call fcn.100368a0
inc esi
add esp, 0xc
add edi, 2
cmp esi, 0x10
jl 0x100360b0
mov edi, dword [ebp - 0x8b0]
test ebx, ebx
je 0x100360e3
push ebx
call fcn.1008c552
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a428
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x10036103
push ebx
call fcn.1008c552
add esp, 4
push edi
call fcn.1008c380
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.1008a428
mov esp, ebp
pop ebp
ret