Function at 0x100444e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011cbbb
mov eax, dword fs:[0]
push eax
sub esp, 0xa40
mov eax, dword [0x101684dc]
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 0x1004452a
xor eax, eax
jmp 0x10044752
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.10094c40
add esp, 0xc
call fcn.1003f370
test al, al
lea eax, [ebp - 0x420]
je 0x1004456d
push str.Utils_rundll64.exe
jmp 0x10044572
push str.Utils_rundll.exe
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test ebx, ebx
jle 0x1004474d
xor edi, edi
mov dword [ebp - 0xa44], edi
nop word [eax + eax]
push 0x61c
lea eax, [ebp - 0xa3c]
push 0
push eax
call fcn.10094c40
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.10094c40
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 0x10044615
lea eax, [ebp - 0x218]
push eax
push str.file__s__is_not_exist
call fcn.10039ea0
add esp, 8
jmp 0x10044732
mov eax, dword [0x1016cea4]
test al, 1
jne 0x10044654
or eax, 1
mov dword [0x1016cea4], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x10124000
mov dword [0x1016ce98], 0x10127950
mov dword [0x1016ce9c], eax
mov byte [0x1016cea0], 0
call fcn.10067ff4
mov eax, dword [0x1016cea4]
add esp, 4
test al, 2
jne 0x100446b0
or eax, 2
mov dword [0x1016cea8], 0x10127968
mov dword [0x1016cea4], eax
xor eax, eax
push 0x10124030
mov dword [0x1016ceac], 0x1016ce98
mov dword [0x1016cebc], 2
mov dword [0x1016ceb4], 0
mov dword [0x1016ceb8], 0
mov dword [0x1016cec0], eax
mov dword [0x1016ceb0], 0x1016cea8
call fcn.10067ff4
add esp, 4
mov eax, dword [0x1016cea8]
mov ecx, 0x1016cea8
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.1000f8b0
push dword [ebp - 0x424]
mov esi, dword [ebp - 0xa40]
lea eax, [ebp - 0x420]
push 0
push 0
push esi
push eax
call fcn.1000f460
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 0x10044732
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 0x10044590
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.10067be8
mov esp, ebp
pop ebp
ret 8