Function at 0x1011836
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x5360
call fcn.0101bc80
mov eax, dword [0x1030118]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x107]
push ebx
push eax
mov byte [ebp - 0x108], bl
call sub.msvcrt.dll_memset
xor eax, eax
push 0x206
mov word [ebp - 0x310], ax
lea eax, [ebp - 0x30e]
push ebx
push eax
call sub.msvcrt.dll_memset
push 0x2c
lea eax, [ebp - 0x535c]
push ebx
push eax
mov dword [ebp - 0x5314], ebx
mov dword [ebp - 0x5318], 0x80004005
mov dword [ebp - 0x5360], ebx
call sub.msvcrt.dll_memset
mov ecx, dword [0x1035930]
xor eax, eax
mov dword [ebp - 0x5330], ebx
lea edi, [ebp - 0x532c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0x24
mov edi, 0x104
push edi
lea eax, [ebp - 0x310]
push eax
call fcn.01014f58
test eax, eax
je 0x101193b
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1011a3e
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
mov edi, 0x1000
push edi
lea eax, [ebp - 0x5310]
push eax
push 0x4b2
push dword [0x1035924]
call esi
test eax, eax
jne 0x1011976
mov eax, dword [section..data]
cmp eax, section..data
je 0x101193b
test byte [eax + 0x1c], 1
je 0x101193b
push 0x1002bb4
push 0x33
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010054b7
push 0x6a
push 0x4b1
push dword [0x1035900]
call fcn.010064b6
cmp dword [ebp - 0x5314], ebx
je 0x1011961
push dword [ebp - 0x5314]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x5318]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0101bc5d
leave
ret
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x5310]
push eax
lea eax, [ebp - 0x3310]
push edi
push eax
call fcn.01005835
add esp, 0x10
test eax, eax
jge 0x10119b6
mov eax, dword [section..data]
cmp eax, section..data
je 0x101193b
test byte [eax + 0x1c], 1
je 0x101193b
push 0x1002bb4
push 0x34
jmp 0x1011930
push edi
lea eax, [ebp - 0x5310]
push eax
push 0x6a
push dword [0x1035924]
call esi
test eax, eax
jne 0x10119f2
mov eax, dword [section..data]
cmp eax, section..data
je 0x101193b
test byte [eax + 0x1c], 1
je 0x101193b
push 0x1002bb4
push 0x35
jmp 0x1011930
push ebx
lea eax, [ebp - 0x5310]
push eax
lea eax, [ebp - 0x3310]
push eax
push dword [0x1035900]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [section..data]
cmp eax, section..data
je 0x1011961
test byte [eax + 0x1c], 1
je 0x1011961
push 0x1002bb4
push 0x36
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010054b7
jmp 0x1011961
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push ebx
push edi
lea eax, [ebp - 0x108]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x310]
push eax
push 0x600
push ebx
call esi
test eax, eax
jne 0x1011a89
mov eax, dword [section..data]
cmp eax, section..data
je 0x101193b
test byte [eax + 0x1c], 1
je 0x101193b
push 0x1002bb4
push 0x37
jmp 0x1011930
mov edi, 0x1000
push edi
lea eax, [ebp - 0x3310]
push eax
push 0x4b4
push dword [0x1035924]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x1011ad1
mov eax, dword [section..data]
cmp eax, section..data
je 0x101193b
test byte [eax + 0x1c], 1
je 0x101193b
push 0x1002bb4
push 0x38
jmp 0x1011930
push ebx
push ebx
push edi
lea eax, [ebp - 0x1310]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x3310]
push eax
push 0x400
push ebx
call esi
test eax, eax
jne 0x1011b16
mov eax, dword [section..data]
cmp eax, section..data
je 0x101193b
test byte [eax + 0x1c], 1
je 0x101193b
push 0x1002bb4
push 0x39
jmp 0x1011930
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov esi, eax
call fcn.01010ddc
mov dword [ebp - 0x5314], eax
cmp eax, ebx
jne 0x1011b64
mov eax, dword [section..data]
cmp eax, section..data
je 0x1011b58
test byte [eax + 0x1c], 1
je 0x1011b58
push 0x1002bb4
push 0x3a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010054b7
push 0x6a
push 0x4b3
jmp 0x1011942
push 0x1002c94
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
jne 0x1011b9a
mov eax, dword [section..data]
cmp eax, section..data
je 0x101193b
test byte [eax + 0x1c], 1
je 0x101193b
push 0x1002bb4
push 0x3b
jmp 0x1011930
or dword [ebp - 0x5328], 0xffffffff
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x5324], ecx
lea ecx, [ebp - 0x5330]
mov dword [ebp - 0x5334], ecx
push ebx
lea ecx, [ebp - 0x1310]
push 9
mov dword [ebp - 0x535c], ecx
lea ecx, [ebp - 0x5360]
push ecx
push dword [0x1035900]
mov dword [ebp - 0x5320], esi
xor esi, esi
inc esi
push ebx
mov dword [ebp - 0x5330], ebx
mov dword [ebp - 0x532c], ebx
mov dword [ebp - 0x531c], ebx
mov dword [ebp - 0x5338], esi
call eax
cmp eax, ebx
je 0x1011c25
cmp eax, esi
jne 0x1011c30
mov eax, dword [section..data]
cmp eax, section..data
je 0x1011c25
test byte [eax + 0x1c], 4
je 0x1011c25
push 0x1002bb4
push 0x3c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010054b7
mov dword [ebp - 0x5318], ebx
jmp 0x101194d
mov eax, dword [section..data]
cmp eax, section..data
je 0x101193b
test byte [eax + 0x1c], 1
je 0x101193b
push 0x1002bb4
push 0x3d
jmp 0x1011930