Function at 0x1001b150
Capabilities:
Check if file exists
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10042621
mov eax, dword fs:[0]
push eax
sub esp, 0x358
mov eax, dword [0x10062070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x29c], ax
lea eax, [ebp - 0x29a]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001b216
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1001b216
push eax
push 0x80
push 3
push eax
push 1
push 0x80000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1001b229
lea eax, [ebp - 0x2a4]
push eax
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push dword [ebp - 0x2a0]
lea eax, [ebp - 0x29c]
push dword [ebp - 0x2a4]
push edi
push str._s__d__d
push 0x208
push eax
call fcn.100030a0
add esp, 0x18
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1001b229
push ecx
push edi
push ecx
mov edx, 0x104
lea ecx, [ebp - 0x29c]
call fcn.10003110
xor eax, eax
xorps xmm0, xmm0
movq qword [ebp - 0x354], xmm0
mov dword [ebp - 0x2b8], 7
mov dword [ebp - 0x2bc], 0
mov word [ebp - 0x2cc], ax
cmp word [ebp - 0x29c], ax
jne 0x1001b25e
xor ecx, ecx
jmp 0x1001b276
lea ecx, [ebp - 0x29c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001b267
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x2cc]
call fcn.1000dd10
lea edx, [ebp - 0x2cc]
lea ecx, [ebp - 0x2fc]
mov dword [ebp - 4], 0
call fcn.10023b80
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2b8], 8
jb 0x1001b2bd
push dword [ebp - 0x2cc]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
push dword [ebp - 0x2ec]
xor eax, eax
cmp dword [ebp - 0x2e8], 0x10
mov word [ebp - 0x2cc], ax
lea eax, [ebp - 0x2fc]
cmovae eax, dword [ebp - 0x2fc]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x364]
mov dword [ebp - 0x2b8], 7
mov dword [ebp - 0x2bc], 0
movq qword [ebp - 0x354], xmm0
mov dword [ebp - 0x364], 0x67452301
mov dword [ebp - 0x360], 0xefcdab89
mov dword [ebp - 0x35c], 0x98badcfe
mov dword [ebp - 0x358], 0x10325476
call fcn.100231a0
lea ecx, [ebp - 0x364]
call fcn.10023250
movq xmm0, qword [ebp - 0x30c]
push 0x7f
movq qword [ebp - 0x2ac], xmm0
movq xmm0, qword [ebp - 0x304]
lea eax, [ebp - 0x93]
push 0
push eax
movq qword [ebp - 0x2a4], xmm0
mov byte [ebp - 0x94], 0
call sub.MSVCR110.dll_memset
add esp, 0xc
xor ebx, ebx
xor edi, edi
lea esp, [esp]
movzx eax, byte [ebp + ebx - 0x2ac]
push eax
mov eax, 0x80
sub eax, edi
push str._02x
push eax
lea eax, [ebp - 0x94]
add eax, edi
push eax
call dword [sym.imp.MSVCR110.dll_sprintf_s]
add edi, 2
add esp, 0x10
lea ebx, [ebx + 1]
cmp edi, 0x20
jl 0x1001b380
cmp byte [ebp - 0x94], 0
mov dword [ebp - 0x2a0], 0xf
mov dword [ebp - 0x2a4], 0
mov byte [ebp - 0x2b4], 0
jne 0x1001b3db
xor ecx, ecx
jmp 0x1001b3ed
lea ecx, [ebp - 0x94]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001b3e4
sub ecx, edx
push ecx
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x2b4]
call fcn.10011580
lea edx, [ebp - 0x2b4]
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 3
call fcn.10023a40
cmp dword [ebp - 0x2a0], 0x10
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jb 0x1001b42f
push dword [ebp - 0x2b4]
call edi
add esp, 4
cmp dword [ebp - 0x2d0], 8
mov ebx, dword [ebp - 0x2e4]
lea edx, [ebp - 0x2e4]
cmovae edx, ebx
mov ecx, 0x3c
sub edx, esi
lea esp, [esp]
lea eax, [ecx + 0x7fffffc2]
test eax, eax
je 0x1001b46e
movzx eax, word [esi + edx]
test ax, ax
je 0x1001b46e
mov word [esi], ax
add esi, 2
dec ecx
jne 0x1001b450
jmp 0x1001b472
test ecx, ecx
jne 0x1001b475
sub esi, 2
xor eax, eax
cmp dword [ebp - 0x2d0], 8
mov word [esi], ax
jb 0x1001b489
push ebx
call edi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x2e8], 0x10
mov dword [ebp - 0x2d0], 7
mov dword [ebp - 0x2d4], 0
mov word [ebp - 0x2e4], ax
jb 0x1001b4ba
push dword [ebp - 0x2fc]
call edi
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1003d966
mov esp, ebp
pop ebp
ret 4