Function at 0x408040
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x427aa3
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x439018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push str.kernel32.dll
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4080d0
push str.SetDefaultDllDirectories
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4080d0
push 0x800
mov ecx, esi
call dword [0x429174]
call esi
test eax, eax
jne 0x4080d8
lea ecx, [ebp - 0x20]
call fcn.00405660
mov edx, 0x3e8
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xc0]
call fcn.00407ec0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
push 0xb
xor eax, eax
mov dword [ebp - 0x38], 0
push 0x435208
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
call fcn.00401bb0
mov byte [ebp - 4], 3
cmp byte [ebp - 0xa8], 0
je 0x40814d
cmp dword [ebp - 0xac], 8
lea eax, [ebp - 0xc0]
push dword [ebp - 0xb0]
cmovae eax, dword [ebp - 0xc0]
lea ecx, [ebp - 0x38]
push eax
call fcn.00401bb0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x110], str._ManufacturerName_
push eax
lea ecx, [ebp - 0x10c]
call fcn.00404170
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040dd10
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xf8]
cmp edx, 8
jb 0x4081be
mov ecx, dword [ebp - 0x10c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4081b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4096ed
push edx
push ecx
call fcn.0040f194
add esp, 8
push 0x7e
xor eax, eax
mov dword [ebp - 0x70], 0
push str.This__ManufacturerName__product_cannot_be_installed_on_your_device._Click_OK_to_view_details_about_compatibility_requirements.
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.00401bb0
mov edx, 0x3e9
lea ecx, [ebp - 0xa4]
call fcn.00407ec0
mov byte [ebp - 4], 6
cmp byte [ebp - 0x8c], 0
je 0x408228
cmp dword [ebp - 0x90], 8
lea eax, [ebp - 0xa4]
push dword [ebp - 0x94]
cmovae eax, dword [ebp - 0xa4]
lea ecx, [ebp - 0x70]
push eax
call fcn.00401bb0
push 0x12
xor eax, eax
mov dword [ebp - 0x2bc], 0
push str._ManufacturerName_
lea ecx, [ebp - 0x2bc]
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x2a8], 7
mov word [ebp - 0x2bc], ax
call fcn.00401bb0
lea eax, [ebp - 0x2bc]
mov byte [ebp - 4], 7
push eax
call fcn.00409760
lea ecx, [ebp - 0x38]
cmp eax, ecx
je 0x40828b
cmp dword [ebp - 0x24], 8
push dword [ebp - 0x28]
cmovae ecx, dword [ebp - 0x38]
push ecx
mov ecx, eax
call fcn.00401bb0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x2a8]
cmp edx, 8
jb 0x4082cf
mov ecx, dword [ebp - 0x2bc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4082c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4096a7
push edx
push ecx
call fcn.0040f194
add esp, 8
lea ecx, [ebp - 0x70]
call fcn.00407fb0
call fcn.00407e60
mov word [ebp - 0x3c], ax
test al, al
jne 0x408519
mov eax, dword [ebp - 0x3c]
shr eax, 8
test al, al
jne 0x408519
cmp dword [ebp - 0x24], 8
lea ecx, [ebp - 0x38]
push 0x31
cmovae ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
push ecx
cmovae eax, dword [ebp - 0x70]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x4094c6
mov edx, 0x3ea
lea ecx, [ebp - 0xdc]
call fcn.00407ec0
mov byte [ebp - 4], 8
mov al, byte [ebp - 0xc4]
test al, al
je 0x4084ca
xor eax, eax
mov dword [ebp - 0x2bc], 0
push eax
push 0x434c48
lea ecx, [ebp - 0x2bc]
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x2a8], 7
mov word [ebp - 0x2bc], ax
call fcn.00401bb0
xor eax, eax
mov byte [ebp - 4], 9
push eax
mov dword [ebp - 0x2a4], 0
lea ecx, [ebp - 0x2a4]
push 0x434c48
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 7
mov word [ebp - 0x2a4], ax
call fcn.00401bb0
mov byte [ebp - 4], 0xa
cmp byte [ebp - 0xc4], 0
je 0x4096ac
sub esp, 8
lea eax, [ebp - 0x2bc]
lea edx, [ebp - 0x2a4]
lea ecx, [ebp - 0xdc]
push eax
call fcn.00401a90
mov byte [ebp - 4], 9
add esp, 0xc
mov edx, dword [ebp - 0x290]
mov bl, al
cmp edx, 8
jb 0x40842c
mov ecx, dword [ebp - 0x2a4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408422
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4096b1
push edx
push ecx
call fcn.0040f194
add esp, 8
xor eax, eax
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x2a8]
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 7
mov word [ebp - 0x2a4], ax
cmp edx, 8
jb 0x40848d
mov ecx, dword [ebp - 0x2bc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408483
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4096b1
push edx
push ecx
call fcn.0040f194
add esp, 8
mov al, byte [ebp - 0xc4]
test al, al
je 0x4096b6
test bl, bl
jne 0x4084ca
cmp dword [ebp - 0xc8], 8
lea eax, [ebp - 0xdc]
push 5
cmovae eax, dword [ebp - 0xdc]
push 0
push 0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov al, byte [ebp - 0xc4]
mov byte [ebp - 4], 6
test al, al
je 0x4094c6
mov edx, dword [ebp - 0xc8]
cmp edx, 8
jb 0x4094c6
mov ecx, dword [ebp - 0xdc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4094bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4096bb
jmp 0x4094bc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea ecx, [ebp - 0x88]
call fcn.00404080
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x88]
cmp dword [ebp - 0x74], 8
push dword [ebp - 0x78]
cmovae eax, dword [ebp - 0x88]
xor ecx, ecx
mov dword [ebp - 0x2bc], 0
mov word [ebp - 0x2bc], cx
lea ecx, [ebp - 0x2bc]
push eax
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x2a8], 7
call fcn.00401bb0
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x2bc]
call fcn.00407cf0
mov esi, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2a4]
push 0xc
xor eax, eax
mov dword [ebp - 0x2a4], 0
push str.bddeploy.exe
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 7
mov word [ebp - 0x2a4], ax
call fcn.00401bb0
lea eax, [ebp - 0x2a4]
mov byte [ebp - 4], 0xe
push eax
mov ecx, esi
call fcn.004036e0
mov byte [ebp - 4], 0xd
mov esi, eax
mov edx, dword [ebp - 0x290]
cmp edx, 8
jb 0x408624
mov ecx, dword [ebp - 0x2a4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40861a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4096c0
push edx
push ecx
call fcn.0040f194
add esp, 8
xor eax, eax
mov dword [ebp - 0x294], 0
push esi
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x290], 7
mov word [ebp - 0x2a4], ax
call fcn.00404170
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0xc4]
cmp edx, 8
jb 0x40868e
mov ecx, dword [ebp - 0xd8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408684
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4096c5
push edx
push ecx
call fcn.0040f194
add esp, 8
xor eax, eax
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 7
mov word [ebp - 0xd8], ax
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x2a8]
cmp edx, 8
jb 0x4086ef
mov ecx, dword [ebp - 0x2bc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4086e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4096c5
push edx
push ecx
call fcn.0040f194
add esp, 8
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x40]
lea edx, [ebp - 0x88]
mov dword [ebp - 0x40], 0
cmovae edx, dword [ebp - 0x88]
lea ecx, [ebp - 0x1b0]
push eax
mov dword [ebp - 0x3c], 0x439a30
call fcn.004076b0
add esp, 4
cmp dword [ebp - 0x40], 0
jne 0x40907f
cmp dword [ebp - 0x74], 8
lea ecx, [ebp - 0x88]
lea edx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x88]
call fcn.004060c0
test al, al
jne 0x408d62
mov eax, dword [ebp - 0x40]
cmp eax, 0x800b0111
je 0x408760
cmp eax, 0x800b010c
jne 0x40907f
mov edx, 0x3eb
lea ecx, [ebp - 0xdc]
call fcn.00407ec0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xf4]
push 0x67
xor eax, eax
mov dword [ebp - 0xf4], 0
push str.Check_for_Bitdefender_certificates_in_the_Untrusted_Certificates_folder._Click_OK_to_view_more_details.
invalid
invalid