Function at 0x10011770
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010503e
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x10150440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.10010ef0
mov ecx, eax
test ecx, ecx
je 0x10011b3e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
push str.http:__s.ludashisafe.com_ldsbrowser_appbrowser_protectpidpidmidmidmid2mid2appverappvermodvermodvertypetypeactionaction
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], 0
call fcn.10004810
test al, al
jne 0x100117eb
push 0x93
push str.http:__s.ludashisafe.com_ldsbrowser_appbrowser_protectpidpidmidmidmid2mid2appverappvermodvermodvertypetypeactionaction
lea ecx, [ebp - 0x224]
call fcn.10005b40
mov dword [ebp - 4], 1
call fcn.10010d40
mov ecx, eax
call fcn.1000afe0
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.10004950
mov ebx, eax
add esp, 4
lea edi, [ebx + 0x10]
mov dword [ebp - 0x22c], edi
mov byte [ebp - 4], 2
call fcn.10010ef0
mov ecx, eax
test ecx, ecx
je 0x10011b48
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x220], esi
push edi
mov byte [ebp - 4], 3
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100118a9
call fcn.10010ef0
mov ecx, eax
test ecx, ecx
je 0x10011b52
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.100108d0
mov edx, dword [ebp - 0x21c]
add esp, 8
mov byte [ebp - 4], 3
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001197b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1001197b
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1008e9b0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x10154af0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.10010ef0
mov ecx, eax
test ecx, ecx
je 0x10011b5c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x21c]
call fcn.10004810
test al, al
jne 0x10011939
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011917
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.10005b40
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.100108d0
mov edx, dword [ebp - 0x21c]
add esp, 8
mov byte [ebp - 4], 3
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10011975
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x220]
mov edi, dword [ebp - 0x224]
push edi
push str.instnew
push 0
call fcn.10010e60
mov ecx, eax
call fcn.1001d390
lea eax, [ebp - 0x230]
push eax
call fcn.10010d40
mov ecx, eax
call fcn.1000b240
mov dword [ebp - 0x21c], eax
mov edx, dword [eax]
mov byte [ebp - 4], 7
cmp dword [edx - 4], 1
jle 0x100119cc
push dword [edx - 0xc]
mov ecx, eax
call fcn.100052e0
mov eax, dword [ebp - 0x21c]
mov edx, dword [eax]
sub esp, 0x18
xor ecx, ecx
mov eax, esp
mov dword [ebp - 0x234], esp
mov dword [ebp - 0x228], eax
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x21c], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011a00
sub ecx, dword [ebp - 0x21c]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x228]
push edx
call fcn.1000aa60
mov byte [ebp - 4], 8
call fcn.10010e60
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.1001dc90
mov edx, dword [ebp - 0x230]
or eax, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10011a56
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esi - 4], 1
jle 0x10011a70
push dword [esi - 0xc]
lea ecx, [ebp - 0x220]
call fcn.100052e0
mov esi, dword [ebp - 0x220]
sub esp, 0x18
mov ecx, esi
mov edx, esp
mov dword [ebp - 0x234], esp
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
lea eax, [ecx + 2]
mov dword [ebp - 0x228], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011aa0
sub ecx, dword [ebp - 0x228]
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.1000aa60
mov byte [ebp - 4], 9
call fcn.10010e60
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.1001dbd0
lea edx, [esi - 0x10]
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10011aee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, esi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x10011b06
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x10011b22
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10073638
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100047f0
push 0x80004005
call fcn.100047f0
push 0x80004005
call fcn.100047f0
push 0x80004005
call fcn.100047f0
int3