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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8b0
mov eax, dword [0x102b1680]
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.1008ca13
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x10035e4c
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.1008b6a0
mov ecx, esi
add esp, 8
lea edx, [eax + 1]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10035e22
sub ecx, edi
lea eax, [ecx + 1]
push eax
push esi
push edx
call fcn.1008b7e0
lea eax, [ebp - 0x804]
push 0x100a61e8
push eax
call fcn.1008ca13
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.10035d00
add esp, 0xc
test ebx, ebx
je 0x10035eff
push ebx
push 0x400
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.1008cbf6
add esp, 0x10
test eax, eax
je 0x10035eff
nop dword [eax]
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x8ac]
push eax
call fcn.10035d00
push ebx
push 0x400
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.1008cbf6
add esp, 0x1c
test eax, eax
jne 0x10035ed0
push 4
lea eax, [ebp - 0x404]
mov dword [ebp - 0x404], 0x69757865
push eax
lea eax, [ebp - 0x8ac]
push eax
call fcn.10035d00
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 0x102b1180
push eax
call fcn.10035d00
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 0x10035f70
lea eax, [ebp - 0x844]
push eax
lea eax, [ebp - 0x8a4]
push eax
call fcn.10036180
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.1008c705
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x8b0], edi
test edi, edi
jne 0x100360cb
push str.malloc_failed._n
push 2
call fcn.1008c7d8
add esp, 4
push eax
call fcn.100368d0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a7a8
mov esp, ebp
pop ebp
ret
lea eax, [esi + 1]
push eax
push 0
push edi
call fcn.1008b540
add esp, 0xc
cmp esi, 0x10
jne 0x10036109
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.10036900
inc esi
add esp, 0xc
cmp esi, 0xc
jl 0x100360e4
jmp 0x10036136
cmp esi, 0x20
jne 0x10036156
xor esi, esi
movzx eax, byte [ebp + esi - 0x854]
push eax
push 0x100a61fc
push edi
call fcn.10036900
inc esi
add esp, 0xc
add edi, 2
cmp esi, 0x10
jl 0x10036110
mov edi, dword [ebp - 0x8b0]
test ebx, ebx
je 0x10036143
push ebx
call fcn.1008c8d2
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008a7a8
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x10036163
push ebx
call fcn.1008c8d2
add esp, 4
push edi
call fcn.1008c700
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.1008a7a8
mov esp, ebp
pop ebp
ret