Function at 0x449690
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483ab8
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push esi
push edi
mov eax, dword [0x4b9070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
call fcn.004171d0
mov ecx, eax
test ecx, ecx
je 0x449f5d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
jne 0x449706
push dword [ebx + 4]
lea eax, [ebp - 0x10]
push str.SystemCurrentControlSetServices_sServiceConfiguration
push eax
call fcn.0041bb20
add esp, 0xc
jmp 0x44971b
push eax
push dword [ebx + 4]
lea eax, [ebp - 0x10]
push str.SystemCurrentControlSetServices_sServiceConfiguration_s
push eax
call fcn.0041bb20
add esp, 0x10
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
sub esp, 0x14
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x10]
push esi
push ecx
lea ecx, [ebp - 0x7c]
call fcn.00449380
mov ebx, eax
or edi, 0xffffffff
mov eax, dword [ebp - 0x7c]
test ebx, ebx
je 0x449764
jle 0x449f20
movzx ebx, bx
or ebx, 0x80070000
jmp 0x449f20
mov ecx, dword [ebp + 0xc]
call fcn.004276d0
mov ebx, eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], ebx
movsd qword [ebp - 0x68], xmm0
test ebx, ebx
je 0x449e06
mov ecx, dword [ebx]
sub ecx, 0x10
call fcn.0041b750
lea edi, [eax + 0x10]
mov dword [ebp - 0x4c], edi
lea ecx, [ebx + 4]
mov byte [ebp - 4], 4
call fcn.0044bba0
test al, al
je 0x44999b
push 0
push 0x4bbfb8
push 0x4ba42c
push 0
push dword [ebx + 4]
call fcn.0045717d
add esp, 0x14
test eax, eax
je 0x449f67
mov ecx, dword [eax + 4]
sub ecx, 0x10
call fcn.0041b750
lea esi, [eax + 0x10]
mov dword [ebp - 0x50], esi
mov byte [ebp - 4], 5
test esi, esi
jne 0x4497e8
mov dword [ebp + 8], 0xd
jmp 0x449819
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4497f0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 2
push 0
push edi
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp + 8], eax
call fcn.004520f0
mov ebx, eax
mov ecx, ebx
call fcn.00451e90
cmp byte [0x4bd603], 0
jne 0x44987a
mov ecx, 0xf0
call fcn.00452760
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x44986f
movsd xmm0, qword [ebp - 0x68]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x4bd603
sub esp, 0xc
push 0xbb
push str.C:BuildAgentwork4d643bb3f4c71f96Common_service.cpp
push 0x48
call fcn.00451f60
jmp 0x449871
xor eax, eax
mov byte [ebp - 4], 5
mov dword [0x4beb5c], eax
mov ecx, ebx
call fcn.00451ea0
mov ecx, dword [0x4beb5c]
lea ecx, [ecx + 0xd0]
call fcn.00451e90
mov eax, dword [0x4beb5c]
lea ecx, [ebp - 0x2c]
push esi
mov eax, dword [eax]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x20], eax
call fcn.0041ab30
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
mov eax, dword [eax]
push edi
mov dword [ebp - 0x1c], eax
call fcn.0041ab30
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x24]
mov ebx, dword [eax]
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
call fcn.0041ab30
mov byte [ebp - 4], 9
push dword [ebp + 8]
push dword [ebp - 0x1c]
push ebx
push dword [eax]
push str.___s__Value_write__s_s_r:_d
push dword [0x4beb5c]
call dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
add esp, 0x18
add edx, 0xfffffff0
or ebx, 0xffffffff
mov byte [ebp - 4], 0xa
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44990d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xb
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44992b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xc
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x449949
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov ecx, dword [0x4beb5c]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4beb5c]
lea ecx, [ecx + 0xd0]
call fcn.00451ea0
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x449e5c
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], 0x10
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x449dcd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x449dcd
lea ecx, [ebx + 4]
call fcn.0044bbc0
test al, al
je 0x449b02
push 0
push 0x4bc048
push 0x4ba42c
push 0
push dword [ebx + 4]
call fcn.0045717d
add esp, 0x14
test eax, eax
je 0x449f81
mov eax, dword [eax + 4]
push 4
mov dword [ebp - 0x20], eax
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 4
push 0
push edi
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp + 8], eax
call fcn.004520f0
mov esi, eax
mov ecx, esi
call fcn.00451e90
cmp byte [0x4bd600], 0
jne 0x449a4d
mov ecx, 0xf0
call fcn.00452760
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 0x11
test eax, eax
je 0x449a42
movsd xmm0, qword [ebp - 0x68]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x4bd600
sub esp, 0xc
push 0xc4
push str.C:BuildAgentwork4d643bb3f4c71f96Common_service.cpp
push 0x48
call fcn.00451f60
jmp 0x449a44
xor eax, eax
mov byte [ebp - 4], 4
mov dword [0x4beb64], eax
mov ecx, esi
call fcn.00451ea0
mov ecx, dword [0x4beb64]
lea ecx, [ecx + 0xd0]
call fcn.00451e90
mov eax, dword [0x4beb64]
lea ecx, [ebp - 0x34]
push edi
mov eax, dword [eax]
mov ebx, dword [eax + 0x48]
call fcn.0041ab30
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x30]
mov esi, dword [eax]
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
call fcn.0041ab30
mov byte [ebp - 4], 0x13
push dword [ebp + 8]
push dword [ebp - 0x20]
push esi
push dword [eax]
push str.___s__Value_write__s_u_r:_d
push dword [0x4beb64]
call ebx
mov edx, dword [ebp - 0x30]
add esp, 0x18
add edx, 0xfffffff0
or esi, 0xffffffff
mov byte [ebp - 4], 0x14
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x449aca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x15
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x449ae8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov ecx, dword [0x4beb64]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4beb64]
jmp 0x449c70
lea ecx, [ebx + 4]
call fcn.0044bbe0
test al, al
je 0x449cb7
push 0
push 0x4bc020
push 0x4ba42c
push 0
push dword [ebx + 4]
call fcn.0045717d
add esp, 0x14
test eax, eax
je 0x449f81
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
push 8
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x70]
push eax
push 0xb
push 0
push edi
push dword [ebp - 0x7c]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x70], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp + 8], eax
call fcn.004520f0
mov esi, eax
mov ecx, esi
call fcn.00451e90
cmp byte [0x4bd60c], 0
jne 0x449bbd
mov ecx, 0xf0
call fcn.00452760
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 0x18
test eax, eax
je 0x449bb2
movsd xmm0, qword [ebp - 0x68]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x4bd60c
sub esp, 0xc
push 0xcc
push str.C:BuildAgentwork4d643bb3f4c71f96Common_service.cpp
push 0x48
call fcn.00451f60
jmp 0x449bb4
xor eax, eax
mov byte [ebp - 4], 4
mov dword [0x4beb58], eax
mov ecx, esi
call fcn.00451ea0
mov ecx, dword [0x4beb58]
lea ecx, [ecx + 0xd0]
call fcn.00451e90
mov eax, dword [0x4beb58]
lea ecx, [ebp - 0x3c]
push edi
mov eax, dword [eax]
mov ebx, dword [eax + 0x48]
call fcn.0041ab30
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x38]
mov esi, dword [eax]
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
call fcn.0041ab30
mov byte [ebp - 4], 0x1a
push dword [ebp + 8]
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
push dword [eax]
push str.___s__Value_write__s_I64u_r:_d
push dword [0x4beb58]
call ebx
mov edx, dword [ebp - 0x38]
add esp, 0x1c
add edx, 0xfffffff0
or esi, 0xffffffff
mov byte [ebp - 4], 0x1b
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x449c3d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x1c
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x449c5b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov ecx, dword [0x4beb58]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4beb58]
lea ecx, [ecx + 0xd0]
call fcn.00451ea0
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x449dcd
jle 0x449c91
movzx ebx, bx
or ebx, 0x80070000
add edi, 0xfffffff0
mov byte [ebp - 4], 0x1d
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x449cac
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x10]
or edi, 0xffffffff
jmp 0x449f1d
call fcn.004520f0
mov esi, eax
mov ecx, esi
call fcn.00451e90
cmp byte [0x4bd606], 0
jne 0x449d18
mov ecx, 0xf0
call fcn.00452760
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 0x1f
test eax, eax
je 0x449d0d
movsd xmm0, qword [ebp - 0x68]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x4bd606
sub esp, 0xc
push 0xd2
push str.C:BuildAgentwork4d643bb3f4c71f96Common_service.cpp
push 0x48
call fcn.00451f60
jmp 0x449d0f
xor eax, eax
mov byte [ebp - 4], 4
mov dword [0x4beb6c], eax
mov ecx, esi
call fcn.00451ea0
mov ecx, dword [0x4beb6c]
lea ecx, [ecx + 0xd0]
call fcn.00451e90
mov eax, dword [0x4beb6c]
lea ecx, [ebp - 0x44]
push edi
mov eax, dword [eax]
mov ebx, dword [eax + 0x48]
call fcn.0041ab30
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x40]
mov esi, dword [eax]
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
call fcn.0041ab30
push esi
mov byte [ebp - 4], 0x21
push dword [eax]
push str.___s__Value_write_skip__s
push dword [0x4beb6c]
call ebx
mov edx, dword [ebp - 0x40]
add esp, 0x10
add edx, 0xfffffff0
or esi, 0xffffffff
mov byte [ebp - 4], 0x22
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x449d8f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x44]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x23
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x449dad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov ecx, dword [0x4beb6c]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4beb6c]
lea ecx, [ecx + 0xd0]
call fcn.00451ea0
add edi, 0xfffffff0
mov byte [ebp - 4], 0x24
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x449de8
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
push eax
call fcn.0044bb80
mov ebx, dword [ebp - 0x18]
test ebx, ebx
jne 0x449781
mov esi, dword [ebp - 0x10]
call fcn.004520f0
mov edi, eax
mov ecx, edi
call fcn.00451e90
cmp byte [0x4bd604], 0
jne 0x449e99
mov ecx, 0xf0
call fcn.00452760
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0x25
test eax, eax
je 0x449e8e
movsd xmm0, qword [ebp - 0x68]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
push 0x4bd604
sub esp, 0xc
push 0xd7
push str.C:BuildAgentwork4d643bb3f4c71f96Common_service.cpp
push 0x48
call fcn.00451f60
jmp 0x449e90
jle 0x449e67
movzx ebx, bx
or ebx, 0x80070000
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], 0xd
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x449c91
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x449c91
xor eax, eax
mov byte [ebp - 4], 2
mov dword [0x4beb54], eax
mov ecx, edi
call fcn.00451ea0
mov ecx, dword [0x4beb54]
lea ecx, [ecx + 0xd0]
call fcn.00451e90
mov eax, dword [0x4beb54]
lea ecx, [ebp + 0xc]
push esi
mov eax, dword [eax]
mov edi, dword [eax + 0x48]
call fcn.0041ab30
mov byte [ebp - 4], 0x26
push dword [eax]
push str.Values_have_been_stored_to_the_registry_branch__HKEY_LOCAL_MACHINE_s_.
push dword [0x4beb54]
call edi
mov edx, dword [ebp + 0xc]
add esp, 0xc
add edx, 0xfffffff0
or edi, 0xffffffff
mov byte [ebp - 4], 0x27
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x449efb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov ecx, dword [0x4beb54]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4beb54]
lea ecx, [ecx + 0xd0]
call fcn.00451ea0
xor ebx, ebx
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x449f2b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0xfffffff0
mov dword [ebp - 4], 0x28
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x449f47
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00416dd0
push 0x80004005
lea ecx, [ebp - 0x48]
call fcn.00416db0
push 0x4b6c64
mov eax, ecx
push eax
call fcn.0045807a
push 0x80004005
lea ecx, [ebp + 0xc]
call fcn.00416db0
push 0x4b6c64
mov eax, ecx
push eax
call fcn.0045807a
int3