Function at 0x423e80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48baf2
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4bc704]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x17
lea esi, [ebp - 0x34]
mov dword [ebp - 0x28], 1
call fcn.00417d60
push 0x49f46c
push eax
lea eax, [ebp - 0x30]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.00409300
add esp, 0x10
mov esi, eax
mov byte [ebp - 4], 1
test byte [0x4c84fc], 1
jne 0x423f02
or dword [0x4c84fc], 1
mov byte [ebp - 4], 2
call fcn.00424540
push 0x496b90
call fcn.004683c5
add esp, 4
mov byte [ebp - 4], 1
push 0x4c8504
lea ecx, [ebp - 0x14]
push esi
push ecx
call fcn.0040a4b0
add esp, 0xc
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x423f37
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423f5a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x14]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
call esi
test eax, eax
jne 0x423fb9
mov edx, dword [ebp - 0x14]
push edx
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov eax, dword [ebp - 0x14]
push eax
call esi
cmp eax, edi
jne 0x423fb9
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423fa5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x18]
push ecx
mov ecx, 0x49f470
call fcn.00404d20
mov byte [ebp - 4], 6
test byte [0x4c84fc], 1
jne 0x423ff5
or dword [0x4c84fc], 1
mov byte [ebp - 4], 7
call fcn.00424540
push 0x496b90
call fcn.004683c5
add esp, 4
mov byte [ebp - 4], 6
push 0x4c8504
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
mov esi, ebx
call fcn.00424240
test eax, eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
sete byte [ebp - 0xd]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424032
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xd], 0
je 0x42403b
mov dword [ebp - 0x28], edi
mov eax, dword [ebx + 4]
lea edi, [ebx + 4]
sub eax, 0x10
call fcn.00404780
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 8
cmp dword [esi - 4], 1
jle 0x424069
mov ecx, dword [esi - 0xc]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.00404af0
mov esi, dword [ebp - 0x18]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00469425
add esp, 8
test eax, eax
js 0x42422c
cmp eax, dword [esi - 8]
jg 0x42422c
mov dword [esi - 0xc], eax
xor ecx, ecx
push str.uninst.exe
lea edx, [ebp - 0x18]
mov word [esi + eax*2], cx
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.00409300
add esp, 0xc
lea ecx, [ebp - 0x24]
push ecx
mov ecx, 0x49f470
mov byte [ebp - 4], 9
call fcn.00404d20
lea edx, [ebp - 0x20]
push edx
mov ecx, 0x49f470
mov byte [ebp - 4], 0xa
call fcn.00404d20
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x49f470
mov byte [ebp - 4], 0xb
call fcn.00404d20
mov byte [ebp - 4], 0xc
test byte [0x4c84fc], 1
jne 0x424110
or dword [0x4c84fc], 1
mov byte [ebp - 4], 0xd
call fcn.00424540
push 0x496b90
call fcn.004683c5
add esp, 4
mov byte [ebp - 4], 0xc
mov edx, dword [ebx]
mov edx, dword [edx]
push 1
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x20]
push ecx
lea eax, [ebp - 0x1c]
push eax
push 0
push edi
push 0x4c8510
lea ecx, [ebp - 0x14]
push ecx
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
call edx
test eax, eax
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x1c]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42415e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424181
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4241a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4241ac
xor edi, edi
jmp 0x4241af
mov edi, dword [ebp - 0x28]
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4241d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4241f2
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424218
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00404c10
int3