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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8b0
mov eax, dword [0x101bd554]
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 0x1009a9d4
push esi
mov dword [ebp - 0x8b0], eax
call fcn.100840c4
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x100331ac
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.10080990
mov ecx, esi
add esp, 8
lea edx, [eax + 1]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033182
sub ecx, edi
lea eax, [ecx + 1]
push eax
push esi
push edx
call fcn.10080ad0
lea eax, [ebp - 0x804]
push 0x1009a9d4
push eax
call fcn.100840c4
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.10033060
add esp, 0xc
test ebx, ebx
je 0x1003325f
push ebx
push 0x400
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.100842a7
add esp, 0x10
test eax, eax
je 0x1003325f
nop dword [eax]
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x8ac]
push eax
call fcn.10033060
push ebx
push 0x400
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.100842a7
add esp, 0x1c
test eax, eax
jne 0x10033230
push 4
lea eax, [ebp - 0x404]
mov dword [ebp - 0x404], 0x69757865
push eax
lea eax, [ebp - 0x8ac]
push eax
call fcn.10033060
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 0x101bd138
push eax
call fcn.10033060
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 0x100332d0
lea eax, [ebp - 0x844]
push eax
lea eax, [ebp - 0x8a4]
push eax
call fcn.100334f0
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.100843dd
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x8b0], edi
test edi, edi
jne 0x1003342b
push str.malloc_failed._n
push 2
call fcn.10083e89
add esp, 4
push eax
call fcn.10033c30
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007fa08
mov esp, ebp
pop ebp
ret
lea eax, [esi + 1]
push eax
push 0
push edi
call fcn.10080830
add esp, 0xc
cmp esi, 0x10
jne 0x10033472
mov esi, 4
nop dword [eax]
nop dword [eax + eax]
movzx eax, byte [ebp + esi - 0x854]
push eax
push str._02x
push edi
call fcn.10033c60
inc esi
add esp, 0xc
add edi, 2
cmp esi, 0xc
jl 0x10033450
jmp 0x100334a0
cmp esi, 0x20
jne 0x100334c4
xor esi, esi
nop dword [eax]
movzx eax, byte [ebp + esi - 0x854]
push eax
push str._02x
push edi
call fcn.10033c60
inc esi
add esp, 0xc
add edi, 2
cmp esi, 0x10
jl 0x10033480
test ebx, ebx
je 0x100334ad
push ebx
call fcn.10083f83
add esp, 4
mov eax, dword [ebp - 0x8b0]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007fa08
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x100334d1
push ebx
call fcn.10083f83
add esp, 4
push edi
call fcn.100843d8
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.1007fa08
mov esp, ebp
pop ebp
ret