Function at 0x444e90
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x474da0
push eax
mov eax, dword [esp + 0x18]
mov dword fs:[0], esp
mov eax, dword [eax]
sub esp, 0x24
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0x2001f
push 0
push 0x476b58
push 0
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x445550
cmp dword [esp + 4], 2
sete al
push ebx
push esi
test eax, eax
je 0x444f62
mov edx, dword [esp + 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 8]
push eax
push 0
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
push edx
call esi
test eax, eax
jne 0x444f62
mov eax, dword [esp + 8]
push eax
call fcn.0046b365
add esp, 4
lea ecx, [esp + 8]
push ecx
mov ebx, eax
mov eax, dword [esp + 0x20]
push ebx
lea edx, [esp + 0x28]
push edx
push 0
push 0
push eax
call esi
test eax, eax
je 0x444f3f
push ebx
call fcn.0046b360
add esp, 4
jmp 0x444f62
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x444f44
sub eax, edx
mov dword [esp + 0x28], eax
jne 0x444f5e
push ebx
call fcn.0046b360
add esp, 4
jmp 0x444f62
test ebx, ebx
jne 0x444fcd
mov esi, dword [esp + 0x4c]
mov ecx, dword [esi]
mov eax, dword [ecx - 0xc]
mov dword [esp + 8], eax
inc eax
push eax
call fcn.0046b365
mov ecx, dword [esi]
mov ebx, eax
add esp, 4
mov edx, ebx
nop
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x444f80
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x1c]
inc edx
push edx
push ebx
push 1
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x444fcd
push ebx
call fcn.0046b360
mov ecx, dword [esp + 0x20]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 0x28
mov edx, dword [esp + 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
push edi
push edx
call esi
mov ebp, dword [esp + 0x50]
mov eax, dword [ebp]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jle 0x4450ce
xor edi, edi
test ecx, ecx
jle 0x4450ce
jmp 0x445000
mov ebp, dword [esp + 0x50]
mov edi, edi
mov edx, dword [eax - 0xc]
lea ecx, [edi + 1]
test ecx, ecx
jl 0x445026
cmp ecx, edx
jge 0x445026
add eax, ecx
push 0x2e
push eax
call fcn.00455cc6
add esp, 8
test eax, eax
je 0x445026
sub eax, dword [ebp]
mov esi, eax
jns 0x44502c
mov eax, dword [ebp]
mov esi, dword [eax - 0xc]
mov ecx, esi
sub ecx, edi
push ecx
push edi
lea edx, [esp + 0x38]
push edx
mov ecx, ebp
call fcn.0041ece0
mov ebp, dword [esp + 0x30]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x58]
push ecx
push 0
push 0x2001f
push 0
push 0x476b58
push 0
push ebp
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x44509d
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x445071
sub eax, edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x10], eax
inc eax
push eax
push ebx
push 1
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10]
mov edi, esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4450b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x50]
mov eax, dword [eax]
cmp esi, dword [eax - 0xc]
jl 0x444ffa
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
push 0
push 0x2001f
push 0
push 0x476b58
push 0
push ebx
push 0x80000000
call ebp
test eax, eax
push ebx
je 0x445118
call fcn.0046b360
add esp, 4
pop edi
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 0x28
call fcn.0046b360
mov eax, dword [esp + 0x5c]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add esp, 4
inc ecx
push ecx
mov ecx, dword [esp + 0x20]
push eax
push 1
push 0
push 0
push ecx
call edi
mov eax, dword [esp + 0x1c]
push 1
lea edx, [esp + 0x50]
push edx
push 1
push 0
push str.AlwaysShowExt
push eax
mov byte [esp + 0x64], 0
call edi
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
push 0
push 0x2001f
push 0
push 0x476b58
push 0
push str.shell
push eax
call ebp
test eax, eax
je 0x4451a1
mov ecx, dword [esp + 0x1c]
push ecx
call esi
pop edi
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 0x28
mov edx, dword [esp + 0x5c]
mov eax, dword [edx]
sub eax, 0x10
push eax
call fcn.004032c0
lea edi, [eax + 0x10]
mov dword [esp + 0x54], edi
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
sub eax, 0x10
push eax
mov dword [esp + 0x44], 0
call fcn.004032c0
lea ebp, [eax + 0x10]
add esp, 8
mov dword [esp + 0x54], ebp
mov eax, dword [esp + 0x20]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push 0x2001f
push 0
push 0x476b58
push 0
push edi
push eax
mov byte [esp + 0x60], 1
call ebx
test eax, eax
jne 0x4453c3
cmp dword [esp + 0x14], 2
sete al
test eax, eax
je 0x4453e0
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
xor esi, esi
push esi
lea ecx, [esp + 0x30]
push ecx
push esi
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x445288
mov eax, dword [esp + 0x10]
push eax
call fcn.0046b365
add esp, 4
lea ecx, [esp + 0x10]
push ecx
mov edi, eax
mov eax, dword [esp + 0x1c]
push edi
lea edx, [esp + 0x30]
push edx
push esi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x445277
push edi
push ebp
call fcn.0045c84c
add esp, 8
mov esi, eax
neg esi
sbb esi, esi
inc esi
push edi
call fcn.0046b360
add esp, 4
test esi, esi
jne 0x4453da
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x5c]
push edx
push 0
push 0x2001f
push 0
push 0x476b58
push 0
push str.command
push eax
call ebx
test eax, eax
jne 0x445370
cmp dword [esp + 0x14], 2
sete al
test eax, eax
je 0x445361
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x10]
push ecx
push 0
lea edx, [esp + 0x30]
push edx
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x445361
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0046b365
mov ecx, dword [esp + 0x5c]
add esp, 4
lea edx, [esp + 0x10]
push edx
mov edi, eax
push edi
lea eax, [esp + 0x30]
push eax
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x445358
cmp byte [edi], 0x22
jne 0x44531f
push 0x22
lea edx, [edi + 1]
push edx
jmp 0x445322
push 0x20
push edi
call fcn.004559e0
add esp, 8
test eax, eax
je 0x445331
mov byte [eax], 0
push 0x5c
push edi
call fcn.00455b50
add esp, 8
test eax, eax
je 0x445358
mov ecx, dword [esp + 0x48]
mov ecx, dword [ecx]
inc eax
push eax
push ecx
call fcn.0045c84c
add esp, 8
mov esi, eax
neg esi
sbb esi, esi
inc esi
push edi
call fcn.0046b360
add esp, 4
mov edx, dword [esp + 0x58]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4453da
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
mov ecx, dword [esp + 0x64]
push ecx
lea ecx, [esp + 0x54]
call fcn.00404670
mov edx, dword [esp + 0x68]
push edx
lea ecx, [esp + 0x58]
call fcn.00404670
mov edx, dword [esp + 0x50]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0x2001f
push 0
push 0x476b58
push 0
push edx
push eax
call ebx
test eax, eax
je 0x4453d6
mov ecx, dword [esp + 0x20]
push ecx
call esi
mov edx, dword [esp + 0x1c]
push edx
call esi
jmp 0x44553a
mov ebp, dword [esp + 0x54]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
inc eax
push eax
mov eax, dword [esp + 0x1c]
push ebp
push 1
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x30]
push edx
push 0
push 0x2001f
push 0
push 0x476b58
push 0
push str.command
push eax
call ebx
test eax, eax
je 0x44543b
mov ecx, dword [esp + 0x18]
push ecx
call esi
mov edx, dword [esp + 0x20]
push edx
call esi
mov eax, dword [esp + 0x1c]
push eax
call esi
jmp 0x44553a
lea ecx, [esp + 0x5c]
call fcn.004012b0
mov esi, dword [esp + 0x44]
mov ecx, dword [esi]
push ecx
lea edx, [esp + 0x60]
push str.__s_____1_
push edx
mov byte [esp + 0x48], 2
call fcn.00401380
mov eax, dword [esp + 0x68]
mov ecx, dword [eax - 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add esp, 0xc
push ecx
push eax
mov eax, dword [esp + 0x34]
push 1
push 0
push 0
push eax
call edi
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x64]
push edx
push 0
push 0x2001f
push 0
push 0x476b58
push 0
push str.DefaultIcon
push eax
call ebx
test eax, eax
jne 0x4454f9
lea ecx, [esp + 0x58]
call fcn.004012b0
mov ecx, dword [esi]
push ecx
lea edx, [esp + 0x5c]
push str._s_0
push edx
mov byte [esp + 0x48], 3
call fcn.00401380
mov eax, dword [esp + 0x64]
mov ecx, dword [eax - 0xc]
mov edx, dword [esp + 0x6c]
add esp, 0xc
push ecx
push eax
push 1
push 0
push 0
push edx
call edi
mov eax, dword [esp + 0x60]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x58]
call fcn.00401240
jmp 0x4454ff
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x50]
mov ecx, dword [eax - 0xc]
mov edx, dword [esp + 0x20]
push ecx
push eax
push 1
push 0
push 0
push edx
call edi
mov eax, dword [esp + 0x2c]
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
mov edx, dword [esp + 0x20]
push edx
call esi
mov eax, dword [esp + 0x1c]
push eax
call esi
lea ecx, [esp + 0x5c]
call fcn.00401240
lea ecx, [esp + 0x54]
call fcn.00401240
lea ecx, [esp + 0x50]
call fcn.00401240
pop edi
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 0x28