Function at 0x41cc80
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x48e879
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b5930]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [0x4bb3e0]
mov esi, dword [eax]
xor edi, edi
lea ebx, [ebx]
cmp esi, eax
je 0x41ccdf
cmp byte [esi + 0x18], 0
je 0x41cccd
add edi, 1
cmp esi, eax
jne 0x41ccdb
call fcn.0046ecbd
mov eax, dword [0x4bb3e0]
mov esi, dword [esi]
jmp 0x41ccc0
mov eax, dword [0x4bb3e4]
cmp edi, eax
mov dword [esp + 0x20], edi
jne 0x41ccf3
xor eax, eax
jmp 0x41d285
mov ecx, dword [0x4bb2a4]
mov ebp, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
push str.StartQ_
mov dword [esp + 0x28], ebp
call edx
mov eax, dword [0x4bb3e0]
mov esi, dword [eax]
mov ebx, 0x4bb3dc
jmp 0x41cd20
test ebx, ebx
mov edi, dword [0x4bb3e0]
je 0x41cd32
cmp ebx, 0x4bb3dc
je 0x41cd37
call fcn.0046ecbd
cmp esi, edi
je 0x41cee4
test ebx, ebx
jne 0x41cd48
call fcn.0046ecbd
cmp esi, dword [ebx + 4]
jne 0x41cd52
call fcn.0046ecbd
cmp byte [esi + 0x18], 0
je 0x41cd8c
cmp esi, dword [ebx + 4]
jne 0x41cd62
call fcn.0046ecbd
mov ecx, dword [esi + 8]
mov edx, dword [0x4bb2a8]
mov eax, dword [edx + 8]
push ecx
push str.Ignoring___s_
push 0x4bb2a8
call eax
add esp, 0xc
cmp esi, dword [ebx + 4]
jne 0x41cd88
call fcn.0046ecbd
mov esi, dword [esi]
jmp 0x41cd20
cmp esi, dword [ebx + 4]
jne 0x41cd96
call fcn.0046ecbd
mov eax, dword [esi + 8]
mov ecx, dword [0x4bb2a4]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x24]
call eax
test eax, eax
jne 0x41cd7e
mov edi, dword [0x4bb2a4]
add edi, 0x1c
call fcn.00446c70
mov ecx, dword [eax]
push ecx
call sub.TCL.dll_Tcl_GetStringResult
mov edi, eax
add esp, 4
cmp byte [edi], 0x31
jne 0x41ceb8
cmp esi, dword [ebx + 4]
jne 0x41cdd9
call fcn.0046ecbd
mov eax, dword [esi + 0x1c]
mov ebp, dword [esp + 0x44]
mov edx, dword [ebp + 0x3dc]
push eax
push 3
push 0x110a
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, dword [ebx + 4]
mov edi, eax
jne 0x41ce01
call fcn.0046ecbd
mov eax, dword [esi + 0x1c]
mov ecx, dword [ebp + 0x3dc]
push eax
push 0
push 0x1101
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, dword [ebx + 4]
jne 0x41ce23
call fcn.0046ecbd
mov edx, dword [esi + 0x20]
mov eax, dword [ebp + 0x3dc]
push edx
push 0
push 0x1101
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
add ebp, 0x3bc
push edi
mov ecx, ebp
call fcn.00458922
sub eax, 1
push eax
push 0
push 0
push 0
push 0
push 0
push 4
push edi
mov ecx, ebp
call fcn.00458998
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 0x3dc]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push 4
push 0x110a
push edx
call ebp
test eax, eax
jne 0x41ce94
push edi
push eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x3dc]
push 0x1101
push ecx
call ebp
push esi
push ebx
lea edx, [esp + 0x30]
push edx
push 0x4bb3dc
call fcn.0041d7c0
mov ebx, dword [eax]
mov esi, dword [eax + 4]
add dword [esp + 0x1c], 1
mov ebp, dword [esp + 0x24]
jmp 0x41cd20
cmp esi, dword [ebx + 4]
jne 0x41cec2
call fcn.0046ecbd
mov eax, dword [esi + 8]
mov ecx, dword [0x4bb2a8]
mov edx, dword [ecx + 8]
push edi
push eax
push str.Command___s__failed:__hs.
push 0x4bb2a8
call edx
add esp, 0x10
jmp 0x41cd7e
mov eax, dword [0x4bb2a8]
mov edx, dword [eax + 4]
push str.Ending_quarantine
mov ecx, 0x4bb2a8
call edx
mov ecx, dword [0x4bb2a4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
push str.EndQ_
call edx
sub ebp, dword [esp + 0x20]
sub ebp, dword [esp + 0x1c]
test ebp, ebp
jle 0x41d1ba
push str.PostUsage
xor edi, edi
mov esi, 0x4bb3c8
call fcn.00437510
cmp eax, 1
jne 0x41cf47
mov ecx, dword [0x4bb2a4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
push str.PostInfo_
call edx
jmp 0x41d1ba
test eax, eax
jne 0x41cf90
mov eax, dword [0x4bb2a0]
push eax
lea edi, [esp + 0x28]
call fcn.00436d80
push ecx
mov dword [esp + 0x40], 0
mov edi, esp
mov dword [esp + 0x24], esp
push 0x49adb9
mov ebx, 0x4bb3c8
mov dword [esp + 0x20], 1
call fcn.00437400
call fcn.00422b50
add esp, 4
test al, al
je 0x41cf90
mov bl, 1
jmp 0x41cf92
xor bl, bl
or edi, 0xffffffff
mov dword [esp + 0x3c], edi
test byte [esp + 0x18], 1
je 0x41cfbf
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cfbf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41d1ba
call fcn.00457afe
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41cfe1
push 0x80004005
call fcn.00405140
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], 1
call fcn.00457afe
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41d013
push 0x80004005
call fcn.00405140
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
cmp ebp, 1
mov byte [esp + 0x3c], 2
lea ecx, [esp + 0x20]
jne 0x41d042
push str.Report_Unfixable_Error_
call fcn.0040b150
push str._AppName__has_detected_that_an_error_on_your_system_cannot_be_fixed_due_to_corruption_of_your_registry_or_another_application_locking_the_registry.__AppName__can_upload_anonymous_information_to_help_us_investigate_the_reason_the_error_occurred_and_make_improvements_to_future_versions_of__AppName_.
jmp 0x41d051
push str.Report_Unfixable_Errors_
call fcn.0040b150
push str._AppName__has_detected_that_some_errors_on_your_system_cannot_be_fixed_due_to_corruption_of_your_registry_or_another_application_locking_the_registry.__AppName__can_upload_anonymous_information_to_help_us_investigate_the_reason_the_errors_occurred_and_make_improvements_to_future_versions_of__AppName_.
lea ecx, [esp + 0x1c]
call fcn.0040b150
mov edx, dword [0x4bb2a0]
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.004365c0
mov byte [esp + 0x3c], 3
mov eax, dword [eax]
push eax
push str._AppName_
lea eax, [esp + 0x20]
push eax
call fcn.00414f20
mov byte [esp + 0x3c], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d0a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x4bb2a0]
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.004365c0
mov byte [esp + 0x3c], 4
mov eax, dword [eax]
mov esi, dword [esp + 0x18]
push 0x44
push str.Report_Unfixable_Errors_
push eax
mov eax, dword [0x4bb1f8]
mov ecx, dword [eax + 0x20]
push ecx
mov ecx, esi
call fcn.0042a5c0
add esp, 0x10
cmp eax, 6
mov byte [esp + 0x3c], 2
mov eax, dword [esp + 0x24]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41d107
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
push 4
je 0x41d156
mov edx, dword [0x4bb3c8]
lea ecx, [esp + 0x28]
push ecx
push 4
push 0
push str.PostUsage
push edx
mov dword [esp + 0x3c], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call fcn.00437fd0
test al, al
jne 0x41d179
call fcn.00442b20
test eax, eax
je 0x41d179
mov ecx, dword [0x4bb2a4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
push str.PostInfo_
call edx
jmp 0x41d179
mov ecx, dword [0x4bb3c8]
lea eax, [esp + 0x28]
push eax
push 4
push 0
push str.PostUsage
push ecx
mov dword [esp + 0x3c], 2
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov byte [esp + 0x3c], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41d19d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x3c], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x41d1ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00457afe
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41d1d4
push 0x80004005
call fcn.00405140
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov ebx, 5
mov dword [esp + 0x3c], ebx
mov ecx, dword [0x4bb3e4]
push ecx
lea edx, [esp + 0x24]
push 0x49d788
push edx
call fcn.0040ae80
mov esi, dword [esp + 0x50]
mov eax, dword [esi + 0x520]
add esp, 0xc
push eax
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x28]
call fcn.00409020
add esp, 8
mov byte [esp + 0x3c], 6
mov eax, dword [eax]
push eax
lea ecx, [esi + 0x4bc]
call fcn.0044e3d0
mov byte [esp + 0x3c], bl
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41d259
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x3c], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d281
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4