Function at 0x41cb40
Capabilities:
Access peb ldr_data
Check os version
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x44d988
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x38], ebx
call fcn.004414a2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x30], eax
lea edi, [ebx + 0x10c]
xor esi, esi
mov ecx, edi
mov dword [esp + 0x74], esi
call fcn.0041d8c0
mov eax, dword [eax + 8]
mov ecx, dword [edi]
push eax
push ecx
mov ecx, ebx
call fcn.00418520
cmp dword [esp + 0x80], 7
jne 0x41d24b
call fcn.004414a2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov ecx, dword [0x4655dc]
xor eax, eax
mov ax, word [0x46311c]
mov byte [esp + 0x74], 1
push eax
push 0x8e
push ecx
lea ecx, [esp + 0x28]
call fcn.00405060
call fcn.004414a2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov ecx, dword [0x4655dc]
xor eax, eax
mov ax, word [0x46311c]
mov byte [esp + 0x74], 2
push eax
push 0xd5
push ecx
lea ecx, [esp + 0x24]
call fcn.00405060
call fcn.004414a2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
mov ecx, dword [0x4655dc]
xor eax, eax
mov ax, word [0x46311c]
mov byte [esp + 0x74], 3
push eax
push 0xd6
push ecx
lea ecx, [esp + 0x34]
call fcn.00405060
push 1
push 0x453e30
lea ecx, [esp + 0x20]
call fcn.00405130
mov ebp, dword [esp + 0x28]
mov eax, dword [ebp - 0xc]
push eax
push ebp
lea ecx, [esp + 0x20]
call fcn.00405130
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
push 0x24
push edx
push esi
mov ecx, ebx
call fcn.0043e031
cmp eax, 6
jne 0x41cd1c
call fcn.0041f3a0
mov ecx, edi
call fcn.0041e580
call fcn.0040b530
call fcn.00421d50
lea eax, [ebp - 0x10]
mov byte [esp + 0x74], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ccb9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
mov byte [esp + 0x74], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ccd8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x74], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ccfb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x74], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x41d2f8
mov ecx, edi
call fcn.0041d8c0
mov dword [eax + 8], 8
mov eax, dword [edi]
mov dword [esp + 0x2c], eax
call fcn.004414a2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x74], 4
call fcn.004414a2
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov ecx, dword [0x4655dc]
xor eax, eax
mov ax, word [0x46311c]
mov byte [esp + 0x74], 5
push eax
push 0x88
push ecx
lea ecx, [esp + 0x30]
call fcn.00405060
push str._IMG_ALIGNabsmiddle_ALTSuccess_SRCres:__HPWUCli.exe_GRAPHIC_GREENCHECK.GIF_
lea ecx, [esp + 0x24]
call fcn.00404ab0
mov dword [esp + 0x80], 0
mov eax, dword [ebx + 0x130]
mov edx, dword [eax]
lea ecx, [esp + 0x80]
push ecx
push eax
mov byte [esp + 0x7c], 6
call dword [edx + 0x20]
mov eax, dword [esp + 0x80]
test eax, eax
je 0x41d19a
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x2c]
mov word [esp + 0x4c], 3
mov dword [esp + 0x54], eax
mov edx, dword [esp + 0x58]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x50]
mov ebx, eax
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x6c], edx
mov word [esp + 0x40], cx
call esi
push str.Icon
mov word [esp + 0x40], 8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test eax, eax
mov dword [esp + 0x44], eax
jne 0x41ce22
mov eax, 0x8007000e
mov word [esp + 0x3c], 0xa
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx]
lea ecx, [esp + 0x14]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edi
mov edi, dword [esp + 0x7c]
mov dword [ecx + 4], ebp
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], edi
mov edi, dword [esp + 0x50]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edi
mov edi, dword [esp + 0x64]
mov dword [ecx + 4], edi
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x6c]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0xa4]
push ecx
mov byte [esp + 0x9c], 9
call dword [edx + 0x2c]
lea edx, [esp + 0x3c]
push edx
call esi
lea eax, [esp + 0x4c]
push eax
call esi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41d184
xor ebp, ebp
mov dword [esp + 0x10], ebp
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push 0x44fb54
push eax
mov byte [esp + 0x80], 0xa
call dword [edx]
cmp dword [esp + 0x10], ebp
je 0x41cf41
mov edx, dword [esp + 0x20]
push edx
lea ecx, [esp + 0x38]
call fcn.00401820
mov eax, dword [eax]
cmp eax, ebp
mov byte [esp + 0x74], 0xb
je 0x41ced1
mov ecx, dword [eax]
jmp 0x41ced3
xor ecx, ecx
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xe4]
mov ebx, eax
mov eax, dword [esp + 0x34]
cmp eax, ebp
mov byte [esp + 0x74], 0xa
je 0x41cf2a
mov edi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41cf2a
cmp edi, ebp
je 0x41cf2a
mov eax, dword [edi]
cmp eax, ebp
je 0x41cf11
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
cmp eax, ebp
je 0x41cf21
push eax
call fcn.00441359
add esp, 4
push edi
call fcn.00441359
add esp, 4
cmp ebx, ebp
mov eax, dword [esp + 0x10]
jge 0x41cf62
cmp eax, ebp
mov byte [esp + 0x74], 7
je 0x41cf41
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
cmp eax, ebp
mov byte [esp + 0x74], 6
je 0x41cf54
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x80]
cmp eax, ebp
jmp 0x41d18d
cmp eax, ebp
je 0x41cf70
mov dword [esp + 0x10], ebp
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x41cf82
mov dword [esp + 0x14], ebp
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x2c]
mov word [esp + 0x4c], 3
mov dword [esp + 0x54], eax
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
mov ebp, eax
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x6c], edx
mov word [esp + 0x40], 0
call esi
push str.Progress
mov word [esp + 0x40], 8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test eax, eax
mov dword [esp + 0x44], eax
jne 0x41cfdb
mov eax, 0x8007000e
mov word [esp + 0x3c], 0xa
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx]
lea ecx, [esp + 0x14]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edi
mov edi, dword [esp + 0x7c]
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], edi
mov edi, dword [esp + 0x50]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edi
mov edi, dword [esp + 0x64]
mov dword [ecx + 4], edi
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x6c]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0xa4]
push ecx
mov byte [esp + 0x9c], 0xd
call dword [edx + 0x2c]
lea edx, [esp + 0x3c]
push edx
call esi
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x78], 0xa
call esi
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x41d05c
mov ecx, dword [esp + 0x10]
test ecx, ecx
mov byte [esp + 0x74], 7
je 0x41d077
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
jmp 0x41d073
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x44fb54
push eax
call dword [ecx]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x41d0a5
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [esp + 0x74], 6
je 0x41d086
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x80]
test eax, eax
mov byte [esp + 0x74], 5
je 0x41d19a
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x41d19a
mov ebp, dword [esp + 0x24]
mov edi, dword [ebp - 0xc]
push 0
push 0
push edi
push ebp
push 0
call dword [0x4630f0]
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
push ebx
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov esi, eax
test esi, esi
je 0x41d100
push ebx
push esi
push edi
push ebp
push 0
call dword [0x4630f0]
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
lea ecx, [esp + 0x38]
call fcn.004018b0
mov esi, dword [esp + 0x34]
test esi, esi
mov byte [esp + 0x74], 0xe
je 0x41d105
mov ecx, dword [esi]
jmp 0x41d107
call fcn.00401760
xor ecx, ecx
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xe4]
test eax, eax
jge 0x41d126
test esi, esi
je 0x41d15e
mov ecx, esi
call fcn.00401c60
jmp 0x41d15e
test esi, esi
je 0x41d15e
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41d15e
mov eax, dword [esi]
test eax, eax
je 0x41d145
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x41d155
push eax
call fcn.00441359
add esp, 4
push esi
call fcn.00441359
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
mov byte [esp + 0x74], 7
je 0x41d171
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [esp + 0x74], 6
je 0x41d184
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x80]
test eax, eax
mov byte [esp + 0x74], 5
je 0x41d19a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x74], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41d1bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x74], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d1e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x74], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d203
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x74], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d226
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x74], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d296
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x41d296
mov ecx, edi
call fcn.0041d8c0
mov ecx, eax
add ecx, 0x14
call fcn.0041d570
test eax, eax
jbe 0x41d296
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
mov ecx, edi
call fcn.0041d8c0
mov ecx, eax
add ecx, 0x14
call fcn.0041e020
add eax, 4
mov eax, dword [eax]
push eax
call ebx
mov ecx, edi
inc esi
call fcn.0041d8c0
mov ecx, eax
add ecx, 0x14
call fcn.0041d570
cmp esi, eax
jb 0x41d266
mov edi, dword [esp + 0x38]
lea esi, [edi + 0x10c]
mov ecx, esi
call fcn.0041d8c0
mov eax, dword [eax + 8]
push eax
mov ecx, esi
call fcn.0041d8c0
mov ecx, dword [eax + 0x2c]
push ecx
call fcn.00411040
mov edx, dword [esi]
add esp, 8
inc edx
mov ecx, esi
mov dword [esi], edx
call fcn.0041d590
cmp dword [esi], eax
mov ecx, edi
jae 0x41d2d7
call fcn.00419490
jmp 0x41d2dc
call fcn.00419030
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x74], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41d302
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x68
ret 8