Function at 0x4112c0
Capabilities:
Create directory
Create process on windows
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x64970e
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x703eb0]
xor eax, esp
mov dword [esp + 0x2a0], eax
push ebx
push esi
push edi
mov eax, dword [0x703eb0]
xor eax, esp
push eax
lea eax, [esp + 0x2b8]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x18]
push 0x2f
push eax
call fcn.00522004
add esp, 8
test eax, eax
jne 0x411319
or eax, 0xffffffff
jmp 0x41131e
sub eax, dword [esi + 0x18]
sar eax, 1
inc eax
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esi + 0x18]
call fcn.0040bb80
push 0x104
lea ecx, [esp + 0xa8]
push ecx
push 0
mov dword [esp + 0x2cc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0xa4]
push edx
lea ecx, [esp + 0x34]
call fcn.004023d0
mov byte [esp + 0x2c0], 1
mov eax, dword [esp + 0x30]
push 0x5c
push eax
call fcn.00522004
add esp, 8
test eax, eax
jne 0x411385
or eax, 0xffffffff
jmp 0x41138b
sub eax, dword [esp + 0x30]
sar eax, 1
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x38]
call fcn.004067f0
push str.Temp_
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x2cc], 2
call fcn.00402600
add esp, 0xc
lea ecx, [esp + 0x44]
push ecx
push eax
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x2cc], 3
call fcn.00402540
add esp, 0xc
mov byte [esp + 0x2c0], 5
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4113fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.Temp
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00402600
mov eax, dword [eax]
add esp, 0xc
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41143e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [esp + 0x2c]
mov esi, dword [esi + 0x18]
push 0
push 0
push edx
push esi
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
js 0x4116ae
push 4
push str.Reimage_PC_Booster
push str.An_update_for_your_PC_Booster_is_ready_to_be_installed._nWould_you_like_to_do_update_it_now_
mov ecx, 0x722660
call fcn.0042a4c9
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x41172b
push 0x44
lea ecx, [esp + 0x60]
push 0
push ecx
call fcn.005236f0
xor eax, eax
add esp, 0xc
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0x44
call fcn.0041a80c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4114d4
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x2c0], 6
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
push ecx
push edx
lea eax, [esp + 0x2c]
push str.__s___S__UPDATE1__D_s
push eax
call fcn.00402d30
mov eax, dword [esp + 0x34]
add esp, 0x10
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x60]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4115b5
mov ecx, 0xb
xor edx, edx
mov word [esp + 0x14], cx
mov word [esp + 0x1c], dx
mov byte [esp + 0x2c0], 7
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
push str.UpdateFromWeb
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
test esi, esi
jne 0x41157f
push 0x8007000e
call fcn.00401090
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
push 1
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], ebx
push esi
mov dword [eax + 8], edx
push 0x722660
mov dword [eax + 0xc], ecx
call fcn.00409130
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea edx, [esp + 0x14]
push edx
jmp 0x41167a
mov eax, dword [esp + 0x4c]
push 0xea60
push eax
call dword [sym.imp.USER32.dll_WaitForInputIdle]
cmp eax, 0x102
jne 0x411602
mov ecx, 0xb
xor edx, edx
mov word [esp + 0x14], cx
mov word [esp + 0x1c], dx
mov byte [esp + 0x2c0], 8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
jmp 0x411564
mov eax, 0xb
or ecx, 0xffffffff
mov word [esp + 0x14], ax
mov word [esp + 0x1c], cx
mov byte [esp + 0x2c0], 9
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
push str.UpdateFromWeb
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
test esi, esi
je 0x411575
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
push 1
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], ebx
push esi
mov dword [eax + 8], ecx
push 0x722660
mov dword [eax + 0xc], edx
call fcn.00409130
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [esp + 0x2c0], 5
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41172b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41172b
mov ecx, 0xb
xor edx, edx
mov word [esp + 0x14], cx
mov word [esp + 0x1c], dx
mov byte [esp + 0x2c0], 0xa
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
push str.UpdateFromWeb
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
test esi, esi
je 0x411575
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
push 1
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], ebx
push esi
mov dword [eax + 8], edx
push 0x722660
mov dword [eax + 0xc], ecx
call fcn.00409130
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [esp + 0x2c0], 2
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411753
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2c0], 1
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41177b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2c0], 0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4117a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c0], 0xffffffff
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4117ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x2b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2a0]
xor ecx, esp
call fcn.00521602
mov esp, ebp
pop ebp
ret