Function at 0x100115b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10039fc8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x1004b00c]
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 esi, dword [ebp + 8]
xor bl, bl
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], bl
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 0x10
jb 0x10011602
mov eax, dword [esi]
jmp 0x10011604
mov eax, esi
push eax
push str.all_file:__s
call fcn.10009500
add esp, 8
lea eax, [ebp - 0x2c]
push eax
push ecx
call fcn.10009f40
mov ecx, dword [ebp - 0x1c]
add esp, 8
test ecx, ecx
je 0x100117aa
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push ecx
cmovae eax, dword [ebp - 0x2c]
mov edx, str.e__A_
push eax
push ecx
call fcn.1000a050
add esp, 0xc
mov byte [ebp - 0x5d], 1
cmp dword [esi + 0x14], 0x10
jb 0x10011653
mov eax, dword [esi]
jmp 0x10011655
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1001176a
cmp dword [ebp - 0x18], 0x10
lea edx, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmovae edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x5c]
call fcn.10005340
add esp, 4
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 0x10
jb 0x1001168b
mov edx, dword [esi]
jmp 0x1001168d
mov edx, esi
lea ecx, [ebp - 0x44]
call fcn.10005810
mov byte [ebp - 4], 2
lea edx, [ebp - 0x44]
cmp dword [ebp - 0x30], 0x10
lea ecx, [ebp - 0x5c]
mov edi, dword [ebp - 0x34]
mov eax, edi
cmovae edx, dword [ebp - 0x44]
cmp dword [ebp - 0x48], 0x10
mov ebx, dword [ebp - 0x4c]
cmovae ecx, dword [ebp - 0x5c]
cmp ebx, edi
cmovb eax, ebx
push eax
push edx
push ecx
call fcn.10001130
add esp, 0xc
test eax, eax
jne 0x100116fa
cmp ebx, edi
jb 0x100116fa
ja 0x100116fa
cmp dword [ebp - 0x30], 0x10
lea ecx, [ebp - 0x44]
lea eax, [ebp - 0x5c]
cmovae ecx, dword [ebp - 0x44]
cmp dword [ebp - 0x48], 0x10
push ecx
cmovae eax, dword [ebp - 0x5c]
push eax
push str._not_need_write_file
call fcn.10009500
add esp, 0xc
xor bl, bl
jmp 0x10011722
cmp dword [ebp - 0x30], 0x10
lea ecx, [ebp - 0x44]
lea eax, [ebp - 0x5c]
cmovae ecx, dword [ebp - 0x44]
cmp dword [ebp - 0x48], 0x10
push ecx
cmovae eax, dword [ebp - 0x5c]
push eax
push str.bufMd5_s__fileMd5_s__diff_need_write
call fcn.10009500
mov bl, byte [ebp - 0x5d]
add esp, 0xc
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x10011737
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.10001b80
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
cmp eax, 0x10
jb 0x10011762
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.10001b80
test bl, bl
jne 0x10011774
mov bl, 1
jmp 0x1001178e
mov ecx, str.file_not_exit__need_write
call fcn.100092f0
cmp dword [ebp - 0x18], 0x10
lea edx, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmovae edx, dword [ebp - 0x2c]
mov ecx, esi
call fcn.10009fb0
add esp, 4
mov bl, al
cmp dword [esi + 0x14], 0x10
jb 0x10011796
mov esi, dword [esi]
movzx eax, bl
push eax
push esi
push str.create__s_ret:_d
call fcn.10009500
add esp, 0xc
jmp 0x100117b4
mov ecx, str.get_buf_from_res_error
call fcn.100092f0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x100117c9
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.10001b80
mov al, bl
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.1001e3e5
mov esp, ebp
pop ebp
ret 0xc