Function at 0x10042c30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010dcab
mov eax, dword fs:[0]
push eax
sub esp, 0xa40
mov eax, dword [0x1015746c]
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
mov eax, ecx
mov dword [ebp - 0xa48], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0xa4c], esi
test esi, esi
jne 0x10042c7a
xor eax, eax
jmp 0x10042ea2
mov ecx, dword [eax + 0x38]
sub ecx, dword [eax + 0x34]
mov eax, 0x14f38f63
imul ecx
push 0x208
sar edx, 7
lea eax, [ebp - 0x420]
mov ebx, edx
push 0
shr ebx, 0x1f
push eax
add ebx, edx
call fcn.10094f30
add esp, 0xc
call fcn.1003dc60
test eax, eax
lea eax, [ebp - 0x420]
je 0x10042cbd
push str.Utils_rundll64.exe
jmp 0x10042cc2
push str.Utils_rundll.exe
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test ebx, ebx
jle 0x10042e9d
xor edi, edi
mov dword [ebp - 0xa44], edi
nop word [eax + eax]
push 0x61c
lea eax, [ebp - 0xa3c]
push 0
push eax
call fcn.10094f30
mov eax, dword [ebp - 0xa48]
mov ecx, 0x187
push 0x208
push 0
mov esi, dword [eax + 0x34]
lea eax, [ebp - 0x218]
add esi, edi
lea edi, [ebp - 0xa3c]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.10094f30
add esp, 0x18
lea eax, [ebp - 0xa3c]
push eax
push dword [ebp - 0xa4c]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10042d65
lea eax, [ebp - 0x218]
push eax
push str.file__s__is_not_exist
call fcn.100384f0
add esp, 8
jmp 0x10042e82
mov eax, dword [0x1015bcb4]
test al, 1
jne 0x10042da4
or eax, 1
mov dword [0x1015bcb4], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x101155c0
mov dword [0x1015bca8], 0x10118930
mov dword [0x1015bcac], eax
mov byte [0x1015bcb0], 0
call fcn.10068844
mov eax, dword [0x1015bcb4]
add esp, 4
test al, 2
jne 0x10042e00
or eax, 2
mov dword [0x1015bcb8], 0x10118948
mov dword [0x1015bcb4], eax
xor eax, eax
push 0x101155f0
mov dword [0x1015bcbc], 0x1015bca8
mov dword [0x1015bccc], 2
mov dword [0x1015bcc4], 0
mov dword [0x1015bcc8], 0
mov dword [0x1015bcd0], eax
mov dword [0x1015bcc0], 0x1015bcb8
call fcn.10068844
add esp, 4
mov eax, dword [0x1015bcb8]
mov ecx, 0x1015bcb8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa40], eax
lea eax, [ebp - 0x62c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa40]
push str.__dll__s____entry_s__s
push eax
call fcn.1000ae00
push dword [ebp - 0x424]
mov esi, dword [ebp - 0xa40]
lea eax, [ebp - 0x420]
push 0
push 0
push esi
push eax
call fcn.10013a80
add esp, 0x28
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10042e82
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0xa44]
add edi, 0x61c
mov dword [ebp - 0xa44], edi
sub ebx, 1
jne 0x10042ce0
mov eax, 1
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.10068438
mov esp, ebp
pop ebp
ret 8