Function at 0x431c60
Capabilities:
Create thread
Delete file
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480020
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4ac084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [0x4b04b0], 0
je 0x431caf
call fcn.00431bd0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x4b0498], 0
je 0x431ce1
cmp dword [0x4b04a0], 0x20
je 0x431ce1
push 0
push 0
push 0x20
push 0x409b00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x431ce1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00403450
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x431cfd
push 0x80004005
call fcn.004039a0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
cmp dword [0x4b0484], 0
je 0x431d29
push 0xa
push str._NOSTART1
lea ecx, [ebp - 0x14]
call fcn.00409770
push 0x16
push str._REBOOTReallySuppress
lea ecx, [ebp - 0x14]
call fcn.00409770
test edi, edi
je 0x431d41
lea eax, [edi + 0x68]
jmp 0x431d43
xor eax, eax
mov esi, dword [ebp - 0x14]
push ecx
push esi
push dword [edi + 0x64]
lea ecx, [edi + 0x6c]
push eax
call fcn.00446980
test eax, eax
jne 0x431d93
push str.PCKAV_install_error.
push 3
push 3
push 0x5a
push str.CInstActionPCKAV::DoAction
push str.c:_buildagentwork_b0d71a1a28f6c898installerActionsInstActionPCKAV.h
lea ecx, [ebp - 0x24]
call fcn.00457220
push eax
call fcn.004573f0
add esp, 0x10
call fcn.0042f230
push dword [edi + 0x64]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor edi, edi
jmp 0x431ea1
cmp dword [0x4b0490], 0
je 0x431df3
push 0x2001f
push str.SoftwareEssentwarePCKAV
push SysReAllocString
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.00402f70
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x18]
push 4
push eax
push 4
push 0
push str.RunSilentScan
push ebx
mov dword [ebp - 0x18], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test ebx, ebx
je 0x431df3
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x490710
lea ecx, [ebp - 0x10]
call fcn.00403ac0
mov byte [ebp - 4], 1
xor ebx, ebx
mov eax, dword [0x4b049c]
test eax, eax
je 0x431e20
push 8
push str._autorun
lea ecx, [ebp - 0x10]
call fcn.00409770
jmp 0x431e36
cmp dword [0x4b04a0], 0x20
je 0x431e4a
push str._silentscan
lea ecx, [ebp - 0x10]
call fcn.00409600
cmp dword [0x4b04a0], 0x20
mov eax, 0x1d4c0
cmovne ebx, eax
mov eax, dword [0x4b049c]
cmp dword [0x4b0490], 0
jne 0x431e7d
test eax, eax
jne 0x431e7d
push ebx
push dword [ebp - 0x10]
mov edx, str.6D62ECA7_CC77_47AF_AA5C_FE6B72350139
mov ecx, str.FE88A67B_BBC2_49A8_B12F_3504144E1044
push str.PCKAV.exe
call fcn.0040b850
mov ecx, dword [edi + 4]
add esp, 0xc
test ecx, ecx
je 0x431e7d
mov eax, dword [ecx]
call dword [eax]
mov byte [ebp - 4], 0
mov edi, 1
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x431ea1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x431ec0
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
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