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

Disassembly:
push 0xffffffffffffffff
push 0x4cd0a7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x630
push ebx
push ebp
push esi
xor eax, eax
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x648], eax
push 0x4e8334
lea ebx, [esp + 0x28]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
call fcn.00402bd0
push eax
lea eax, [esp + 0x20]
push eax
mov edx, str.SoftwareClasses_
mov byte [esp + 0x650], 1
call fcn.00490810
mov edi, dword [eax]
xor ebx, ebx
mov dword [esp + 0x14], edi
cmp edi, ebx
je 0x44821d
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov byte [esp + 0x648], 1
mov eax, dword [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
je 0x448245
push eax
mov esi, eax
call ebp
test eax, eax
jne 0x448245
push esi
call fcn.0049e96f
add esp, 4
mov byte [esp + 0x648], bl
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x448266
push eax
mov esi, eax
call ebp
test eax, eax
jne 0x448266
push esi
call fcn.0049e96f
add esp, 4
cmp edi, ebx
je 0x448271
lea eax, [edi + 8]
cmp eax, ebx
jne 0x448276
mov eax, 0x4d9064
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x14]
push edx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, dword [esp + 0x10]
cmp esi, ebx
jne 0x4482c3
mov dword [esp + 0x648], 0xffffffff
cmp edi, ebx
je 0x4482bc
push edi
call ebp
test eax, eax
jne 0x4482bc
push edi
call fcn.0049e96f
add esp, 4
xor al, al
jmp 0x4485e6
cmp dword [esp + 0x20], 2
jne 0x448351
push 0x206
lea ecx, [esp + 0x2e]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x34], ax
call fcn.004a30a0
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x2c]
push eax
push ebx
push ebx
push 0x4d9064
push esi
mov dword [esp + 0x34], 0x206
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0x1c]
shr ecx, 1
xor edx, edx
mov word [esp + ecx*2 + 0x28], dx
cmp word [esp + 0x28], bx
je 0x44834d
lea eax, [esp + 0x28]
push str.ProcMon.Logfile.1
push eax
call fcn.0049ebc9
add esp, 8
test eax, eax
je 0x44834d
lea eax, [esp + 0x14]
mov dword [esp + 0x648], 0xffffffff
call fcn.00401970
xor al, al
jmp 0x4485e6
mov esi, dword [esp + 0x10]
mov eax, str.ProcMon.Logfile.1
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x448360
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueW]
sub eax, edx
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
push str.ProcMon.Logfile.1
push 1
push 0x4d9064
push esi
call edi
mov edx, dword [esp + 0x10]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call ebp
mov dword [esp + 0x18], ebx
push str.ProcMon.Logfile.1
lea ebx, [esp + 0x20]
call fcn.00402bd0
push eax
lea eax, [esp + 0x28]
mov bl, 3
push eax
mov edx, str.SoftwareClasses_
mov byte [esp + 0x650], bl
call fcn.00490810
push eax
lea esi, [esp + 0x18]
mov byte [esp + 0x64c], 4
call fcn.004018d0
mov byte [esp + 0x648], bl
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4483f8
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4483f8
push esi
call fcn.0049e96f
add esp, 4
mov byte [esp + 0x648], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x44841e
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x44841e
push esi
call fcn.0049e96f
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x44842b
add eax, 8
jne 0x448430
mov eax, 0x4d9064
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push reloc.WS2_32.dll_accept
call ebx
mov edx, dword [esp + 0x18]
test edx, edx
je 0x448332
mov eax, str.ProcMon_Log_File
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x448470
sub eax, esi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push str.ProcMon_Log_File
push 1
push 0x4d9064
push edx
call edi
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push ecx
xor esi, esi
lea edx, [esp + 0x14]
push edx
push esi
push 0xf003f
push esi
push esi
push esi
push str.shellopencommand
push eax
mov dword [esp + 0x34], esi
call ebx
cmp dword [esp + 0x10], esi
je 0x448332
cmp byte [esp + 0x650], 0
push 0x4fe490
lea edx, [esp + 0x234]
je 0x4484df
push str.__s___Run32__OpenLog____1_
jmp 0x4484e4
push str.__s___OpenLog____1_
call fcn.0044d6b0
lea eax, [esp + 0x238]
add esp, 8
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x4484f6
sub eax, edx
sar eax, 1
lea ecx, [eax + eax + 2]
mov eax, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x234]
push edx
push 1
push 0x4d9064
push eax
call edi
mov ecx, dword [esp + 0x10]
push ecx
call ebp
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x14]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push str.DefaultIcon
push ecx
mov dword [esp + 0x34], esi
call ebx
cmp dword [esp + 0x10], esi
je 0x448332
push 0x4fe490
push str.__s__0
lea edx, [esp + 0x238]
call fcn.0044d6b0
lea eax, [esp + 0x238]
add esp, 8
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x448577
mov ecx, dword [esp + 0x10]
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
push edx
lea eax, [esp + 0x234]
push eax
push 1
push 0x4d9064
push ecx
call edi
mov edx, dword [esp + 0x10]
push edx
call ebp
mov eax, dword [esp + 0x18]
push eax
call ebp
push esi
push esi
push esi
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov dword [esp + 0x648], 0xffffffff
mov edi, dword [esp + 0x14]
cmp edi, esi
je 0x4485e4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4485e4
push edi
call fcn.0049e96f
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x640]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x63c
ret 4