Function at 0x41ccc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x134
mov eax, dword [0x45a080]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
mov edi, ecx
movsd qword [esp + 0x10], xmm3
mov ecx, 0x4690e3
mov esi, edx
call fcn.00447953
push 0
call fcn.004342e0
sub eax, dword [0x4620e8]
add esp, 4
test edi, edi
jne 0x41cd5d
test esi, esi
je 0x41cd0e
cmp esi, 1
jne 0x41cd5d
cmp eax, 0x1e
jge 0x41cd5d
lea eax, [esp + 0x10]
mov byte [0x461cdd], 1
push eax
push 0x41c440
push dword [0x462064]
mov dword [esp + 0x1c], 0x453b98
push 0x6a
push dword [0x46243c]
mov dword [esp + 0x28], 0
call dword [sym.imp.USER32.dll_CreateDialogParamA]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.0042195a
mov esp, ebp
pop ebp
ret
mov ebx, dword [0x462020]
mov eax, esi
shl eax, 6
cmp byte [eax + ebx + 0x188c], 0
je 0x41cf09
test edi, edi
jne 0x41cd7f
xorps xmm0, xmm0
jmp 0x41cd87
movsd xmm0, qword [0x462080]
sub esp, 0x20
lea eax, [esp + 0x58]
movsd qword [esp + 0x18], xmm0
movsd xmm0, qword [ebp + 0x14]
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [ebp + 0xc]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x30]
movsd qword [esp], xmm0
push dword [ebp + 8]
push esi
push edi
push str.RESPONSE__d__d__d__.3lf__.3lf__.3lf__.3lf
push 0x100
push eax
call fcn.004013f0
add esp, 0x34
lea eax, [ebx + 0xfd]
lea ecx, [ebx + 0xeb0]
push eax
call fcn.00413930
push ecx
lea ecx, [ebx + 0xeb0]
call fcn.004139e0
cmp eax, 1
jne 0x41ce03
mov eax, dword [ebx + 0xeb0]
lea ecx, [ebx + 0xeb0]
lea edx, [esp + 0x38]
push edx
call dword [eax]
mov eax, dword [ebx + 0xeb8]
test eax, eax
je 0x41ce14
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
movsd xmm0, qword [esp + 0x10]
mov eax, dword [0x461cd8]
mov dword [ebx + 0xeb8], 0
movsd qword [ebx + esi*8 + 0x58], xmm0
mov ebx, dword [esi*4 + 0x452eb0]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 0xc], eax
test eax, eax
jne 0x41ce76
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x10]
push eax
push 0
push 0xf003f
push 0
push 0x4522a0
push 0
push str.SoftWareTestProgramNetScr
push reloc.d2d1.dll_Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x41ce9c
mov eax, dword [esp + 0xc]
push 8
lea ecx, [esp + 0x24]
push ecx
push 0xb
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [0x461cd8], 0
jne 0x41ce9c
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 2
jne 0x41cf09
mov ecx, dword [0x462020]
cmp edi, 1
sete al
mov byte [ecx + 0x1ce0], al
jne 0x41ced2
push 0
push 0xa
push 1
push dword [0x46206c]
call dword [sym.imp.USER32.dll_SetTimer]
mov ebx, dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x41d006
cmp byte [ecx + 0x1ef8], 0
jne 0x41cee9
push 1
push dword [0x46206c]
call dword [sym.imp.USER32.dll_KillTimer]
push 1
push 0
push 0x80
push dword [0x46206c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [sym.imp.USER32.dll_InvalidateRect]
push eax
call ebx
jmp 0x41cf0f
mov ebx, dword [sym.imp.USER32.dll_InvalidateRect]
test edi, edi
jne 0x41cfe0
cmp esi, 2
je 0x41cf3c
inc dword [0x461e18]
push edi
call fcn.004342e0
add esp, 4
mov dword [0x4620e8], eax
mov edx, eax
mov ecx, str.ResponseLastSend
call fcn.00416d60
movsd xmm0, qword [esp + 0x10]
mov eax, dword [ebp + 8]
mov dword [0x462068], eax
lea eax, [esp + 0x28]
movsd qword [0x462428], xmm0
movsd xmm0, qword [ebp + 0x14]
push eax
mov dword [0x45ab28], esi
movsd qword [0x462080], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov edi, dword [0x462020]
mov dword [0x45ab24], esi
cmp dword [edi + 0x19d0], 0
je 0x41d01a
mov eax, dword [edi + 0x19dc]
add edi, 0x19c8
imul ecx, esi, 0x2c
mov dword [edi + 0x28], esi
add ecx, 0x1940
add eax, ecx
mov dword [edi + 0x30], eax
mov ecx, dword [edi + esi*4 + 0x38]
mov edx, ecx
lea esi, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x41cfc0
sub edx, esi
push edx
push ecx
lea ecx, [edi + 0x90]
call fcn.00407c90
push ecx
mov ecx, edi
call fcn.0040ae00
jmp 0x41d01a
cmp edi, 1
jne 0x41d01a
cmp esi, 2
je 0x41d006
dec dword [0x461e18]
xor edx, edx
mov ecx, str.ResponseLastSend
mov dword [0x4620e8], 0
call fcn.00416d60
mov dword [0x45ab28], 0xffffffff
mov dword [0x462068], 0xffffffff
push 1
push 0
push 0x81
push dword [0x46206c]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebx
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042195a
mov esp, ebp
pop ebp
ret