Function at 0x40b1f0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x46f447
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x483390]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x483390]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov edi, dword [esp + 0x23c]
mov ebx, dword [esp + 0x238]
push edi
push ebx
push str.CallBackSendMsgFromUItoInstall_msg_d_wpatam_d
push 0x80
mov esi, ecx
call fcn.00431310
add esp, 0x10
cmp ebx, 5
ja case.default.0x40b258
jmp dword [ebx*4 + 0x40b528]
xor ebx, ebx
push 0x207
lea eax, [esp + 0x21]
push ebx
push eax
mov byte [esp + 0x28], bl
call fcn.00446e10
add esp, 0xc
mov eax, 0x208
lea ecx, [esp + 0x1c]
call fcn.00406570
mov edx, dword [0x4863c4]
mov eax, dword [edx + 0xc]
mov ecx, 0x4863c4
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x1c]
push ecx
push str.__s_setup.exe_
lea edi, [esp + 0x1c]
mov dword [esp + 0x238], ebx
call fcn.004035e0
mov edx, dword [0x4863c4]
mov eax, dword [edx + 0xc]
add esp, 8
mov ecx, 0x4863c4
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push str.___UNINSTALL__PRODUCTRAV_
lea edi, [esp + 0x1c]
mov byte [esp + 0x234], 1
call fcn.004035e0
add esp, 4
call fcn.00405dc0
push eax
call fcn.00406030
mov esi, eax
call fcn.00405dc0
mov ecx, esi
mov esi, eax
call fcn.00405e40
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
push esi
push edi
call fcn.004073b0
push eax
push str.RunBySrv..._d
push 0x80
call fcn.00431310
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x244], bl
add esp, 0x14
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b34a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x230], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b4f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40b4f6
xor ebx, ebx
push 0x207
lea ecx, [esp + 0x21]
push ebx
push ecx
mov byte [esp + 0x28], bl
call fcn.00446e10
add esp, 0xc
mov eax, 0x208
lea ecx, [esp + 0x1c]
call fcn.00406570
mov edx, dword [0x4863c4]
mov eax, dword [edx + 0xc]
mov ecx, 0x4863c4
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x1c]
push ecx
mov ebx, 2
push str.__s_setup.exe_
lea edi, [esp + 0x20]
mov dword [esp + 0x238], ebx
call fcn.004035e0
mov edx, dword [0x4863c4]
mov eax, dword [edx + 0xc]
add esp, 8
mov ecx, 0x4863c4
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push str.___REPAIR__PRODUCTRAV_
lea edi, [esp + 0x18]
mov byte [esp + 0x234], 3
call fcn.004035e0
add esp, 4
call fcn.00405dc0
push eax
call fcn.00406030
mov esi, eax
call fcn.00405dc0
mov ecx, esi
mov esi, eax
call fcn.00405e40
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
jmp 0x40b30d
mov eax, dword [edi]
sub eax, 0x10
call fcn.00403350
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
lea ebx, [esi + 0x30]
lea eax, [esp + 0x14]
mov dword [esp + 0x230], 4
call fcn.00403260
mov ecx, dword [ebx]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x40b49b
push ebx
mov ecx, str.Error
call fcn.00403230
test eax, eax
je 0x40b49b
mov ebx, dword [ebx]
push ecx
sub ebx, 0x10
mov eax, ebx
mov dword [esp + 0x1c], esp
mov edi, esp
call fcn.00403350
add eax, 0x10
mov dword [edi], eax
call fcn.0040b080
neg eax
sbb eax, eax
and eax, 2
mov dword [esi + 0x78], eax
jmp 0x40b4a2
mov dword [esi + 0x78], 1
lea eax, [ebp - 0x10]
mov dword [esp + 0x230], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x40b365
mov dword [esi + 0x34], edi
jmp 0x40b4f6
mov dword [esi + 0xa8], edi
jmp 0x40b4f6
xor ebx, ebx
push ebx
push ebx
push esi
push 0x409170
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x40b4f6
push ebx
push str.CallBackSendMsgToInstall_MSGID_d
push 0x80
call fcn.00431310
add esp, 0xc
mov eax, 1
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.004426a0
add esp, 0x220
ret 0xc