joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43cb90
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x768000
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x88bba0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.ProviderCaller.0
mov dword [ebp - 4], 9
mov eax, dword [edi]
mov byte [edi + 0xc8], 1
mov eax, dword [eax + 0x34]
call eax
test al, al
je 0x43cc16
cmp dword [edi + 0x94], 0
je 0x43cc16
mov esi, dword [edi + 0x90]
test esi, esi
je 0x43cc0b
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x43cc0b
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea ecx, [edi + 0x90]
call fcn.00414cc0
lea ecx, [edi + 4]
call fcn.0061dab0
mov byte [ebp - 4], 8
lea esi, [edi + 0x100]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0xb
mov ecx, esi
mov eax, dword [esi]
push eax
push dword [eax]
lea eax, [ebp - 0x18]
push eax
call fcn.0043f660
mov byte [ebp - 4], 8
push dword [esi]
call fcn.00489b60
add esp, 4
mov byte [ebp - 4], 7
cmp dword [edi + 0xfc], 0x10
jb 0x43cc68
push dword [edi + 0xe8]
call fcn.00489b60
add esp, 4
mov dword [edi + 0xfc], 0xf
mov dword [edi + 0xf8], 0
mov byte [edi + 0xe8], 0
mov byte [ebp - 4], 6
cmp dword [edi + 0xe0], 0x10
jb 0x43cc9e
push dword [edi + 0xcc]
call fcn.00489b60
add esp, 4
mov dword [edi + 0xe0], 0xf
mov dword [edi + 0xdc], 0
mov byte [edi + 0xcc], 0
mov byte [ebp - 4], 5
cmp dword [edi + 0xc4], 0x10
jb 0x43ccd4
push dword [edi + 0xb0]
call fcn.00489b60
add esp, 4
mov dword [edi + 0xc4], 0xf
mov dword [edi + 0xc0], 0
mov byte [edi + 0xb0], 0
mov byte [ebp - 4], 4
cmp dword [edi + 0xac], 0x10
jb 0x43cd0a
push dword [edi + 0x98]
call fcn.00489b60
add esp, 4
mov dword [edi + 0xac], 0xf
mov dword [edi + 0xa8], 0
mov byte [edi + 0x98], 0
mov byte [ebp - 4], 3
cmp dword [edi + 0x94], 0
je 0x43cd37
call fcn.0072357c
mov byte [ebp - 4], 2
cmp dword [edi + 0x68], 0x10
jb 0x43cd4c
push dword [edi + 0x54]
call fcn.00489b60
add esp, 4
mov dword [edi + 0x68], 0xf
mov dword [edi + 0x64], 0
mov byte [edi + 0x54], 0
mov byte [ebp - 4], 1
cmp dword [edi + 0x50], 0x10
jb 0x43cd73
push dword [edi + 0x3c]
call fcn.00489b60
add esp, 4
mov dword [edi + 0x50], 0xf
mov dword [edi + 0x4c], 0
mov byte [edi + 0x3c], 0
mov byte [ebp - 4], 0
cmp dword [edi + 0x38], 0x10
jb 0x43cd9a
push dword [edi + 0x24]
call fcn.00489b60
add esp, 4
mov dword [edi + 0x38], 0xf
mov dword [edi + 0x34], 0
mov byte [edi + 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 4]
call fcn.0061d7e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43ce80
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
mov byte [esi + 0xc8], 1
mov eax, dword [eax + 0x34]
call eax
test al, al
jne 0x43ce97
pop esi
ret
cmp dword [esi + 0x94], 0
je 0x43ced1
push edi
lea edi, [esi + 0x90]
mov esi, dword [edi]
test esi, esi
je 0x43cec9
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x43cec9
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, edi
call fcn.00414cc0
pop edi
mov al, 1
pop esi
ret
Function at 0x449cf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x767918
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x449e4d
cmp byte [ebx + 0x45], 0
je 0x449e4d
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x449d44
xor al, al
jmp 0x449e4f
mov ecx, 0xf
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], ecx
lea eax, [ebp - 0x28]
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], 8
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
nop
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x40]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x449dc7
dec eax
je 0x449dcb
sub eax, 2
je 0x449e1d
xor bl, bl
jmp 0x449e1f
mov byte [ebx + 0x45], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x449e03
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00724405
add esp, 0x10
cmp esi, eax
jne 0x449dc3
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x45], 0
je 0x449e1d
test esi, esi
jne 0x449d90
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.0040e980
jmp 0x449d89
mov bl, 1
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 0x10
jb 0x449e37
push dword [ebp - 0x28]
call fcn.00489b60
add esp, 4
mov dword [ebp - 0x14], 0xf
mov al, bl
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jmp 0x449e4f
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret
Function at 0x44ebc0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x76ad96
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x88bba0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov dword [ebp - 4], 0
lea edi, [esi + 0x18]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
cmp ecx, eax
je 0x44ec45
push 0xffffffffffffffff
push 0
push eax
call fcn.0042fa30
mov eax, dword [ebp + 0xc]
cmp esi, eax
je 0x44ec58
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.0042fa30
mov eax, dword [ebp + 0x10]
cmp edi, eax
je 0x44ec6b
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.0042fa30
lea ecx, [ebp - 0x18]
call fcn.0061f090
mov byte [ebp - 4], 3
push 0
push 0xf4240
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.007235e0
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edx
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.005f0da0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x44edb0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x76b0ae
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x88bba0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0xffffffffffffffff
push 0
push dword [ebp + 0xc]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
call fcn.0042fa30
mov dword [ebp - 4], 0
lea ecx, [esi + 0x18]
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.0042fa30
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
push 0xffffffffffffffff
push 0
push dword [ebp + 8]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.0042fa30
mov byte [ebp - 4], 2
mov al, byte [ebp + 0x14]
mov byte [esi + 0x48], al
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4552e0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0xc]
push 1
lea ecx, [esi + 4]
call fcn.00608d00
mov ecx, dword [esi + 0xa0]
test ecx, ecx
je 0x455302
mov eax, dword [ecx]
call dword [eax + 8]
cmp dword [esi + 0xd4], 0
mov ecx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
je 0x455345
mov edi, dword [esi + 0xd0]
test edi, edi
je 0x455334
push 0x1388
push edi
call ecx
cmp eax, 0x102
jne 0x455334
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea ecx, [esi + 0xd0]
call fcn.00414cc0
mov ecx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esi + 0xdc], 0
lea edi, [esi + 0xd8]
pop ebx
je 0x45537a
mov esi, dword [edi]
test esi, esi
je 0x455373
push 0x88b8
push esi
call ecx
cmp eax, 0x102
jne 0x455373
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, edi
call fcn.00414cc0
pop edi
mov al, 1
pop esi
ret
Function at 0x45bf10
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x76d00b
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov byte [ebp - 0x7d], 0
mov dword [ebp - 4], 0
push 0x44
push 0
lea eax, [ebp - 0xe0]
push eax
call fcn.00723180
add esp, 0xc
mov dword [ebp - 0xe0], 0x44
xor eax, eax
mov word [ebp - 0xb0], ax
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x9c], xmm0
push str._sCtesPersistence.exe__u
lea ecx, [ebp - 0x2c]
call fcn.00404f70
mov byte [ebp - 4], 1
lea eax, [ebp - 0x44]
push eax
call fcn.00484f10
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x8c], esp
push eax
call fcn.00408f30
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x60]
call fcn.00483380
mov byte [ebp - 4], 3
mov byte [ebp - 4], 4
mov ecx, eax
call fcn.00408450
mov ecx, eax
call fcn.00483750
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x60]
call fcn.00483470
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
call fcn.00404fd0
lea eax, [ebp - 0x44]
push eax
push str.Launching_the_uninstall_command:
lea eax, [ebp - 0x2c]
push eax
call fcn.0043b470
mov byte [ebp - 4], 8
push eax
call fcn.00481320
add esp, 0x10
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
call fcn.00404fd0
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 0x10
cmovae eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x9c]
push ecx
lea ecx, [ebp - 0xe0]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x45c0c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push str._s:_Unable_to_launch_CTESPersistence._Error_returned:___d_._Uninstall_process_abandoned.
lea ecx, [ebp - 0x2c]
call fcn.00404f70
mov byte [ebp - 4], 9
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00483380
mov esi, eax
mov byte [ebp - 4], 0xa
push str.CtesVersionManager::RemoveCtes
mov ecx, esi
call fcn.00483720
push edi
mov ecx, esi
call fcn.004836e0
lea eax, [ebp - 0x5c]
push eax
mov ecx, esi
call fcn.00483750
mov byte [ebp - 4], 0xb
push eax
call fcn.00481260
add esp, 4
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x5c]
call fcn.00404fd0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x7c]
call fcn.00483470
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
call fcn.00404fd0
jmp 0x45c0cd
mov ecx, esi
call fcn.0045d2b0
mov byte [ebp - 0x7d], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00404fd0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x7d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret
Function at 0x45dc60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x76d56a
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x88bba0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
je 0x45dcc7
lea eax, [esi + 0x70]
mov dword [esi], 0x7a2880
mov dword [ebp + 8], eax
mov dword [eax], vtable.std::ios_base.0
mov dword [ebp - 4], 0
mov dword [eax], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], 1
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov edi, dword [eax + 4]
add edi, esi
mov ecx, edi
call fcn.0040e570
lea eax, [ebp + 8]
mov dword [edi + 0x3c], 0
lea ebx, [esi + 0x10]
mov ecx, edi
push eax
mov dword [edi + 0x38], ebx
call fcn.0040ef60
mov dword [ebp - 4], 4
push eax
call fcn.00408b60
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x45dd42
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x45dd42
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0x14]
push 0x20
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
cmp dword [edi + 0x38], 0
mov byte [edi + 0x40], al
jne 0x45dd67
mov eax, dword [edi + 0xc]
mov ecx, edi
or eax, 4
push 0
push eax
call fcn.0040eb40
mov dword [ebp - 4], 5
mov eax, dword [esi]
mov dword [ebp + 8], ebx
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ecx + esi - 4], eax
mov ecx, ebx
call fcn.00408ea0
mov byte [ebp - 4], 6
lea eax, [ebx + 4]
mov dword [ebx + 0xc], eax
lea ecx, [ebx + 8]
lea eax, [ebx + 0x14]
mov dword [ebx], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [ebx + 0x1c], eax
lea eax, [ebx + 0x18]
mov dword [ebx + 0x20], eax
lea eax, [ebx + 0x24]
mov dword [ebx + 0x2c], eax
lea eax, [ebx + 0x28]
mov dword [ebx + 0x30], eax
mov byte [ebx + 0x4c], 0
mov byte [ebx + 0x45], 0
mov dword [ebx + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [ebx + 0x20]
mov dword [eax], 0
mov eax, dword [ebx + 0x30]
mov dword [eax], 0
mov eax, dword [ebx + 0xc]
mov dword [eax], 0
mov eax, dword [ebx + 0x1c]
mov dword [eax], 0
mov eax, dword [ebx + 0x2c]
mov dword [eax], 0
mov dword [ebx + 0x50], 0
mov eax, dword [0x89e0d4]
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x40], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x460bb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x76de2a
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x38], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x30], ecx
mov dword [edi], vtable.ProviderHostRunner.0
mov dword [edi + 4], 0
mov dword [ebp - 4], 0
mov dword [edi + 8], 0
mov byte [ebp - 4], 1
mov dword [edi + 0xc], 0
mov byte [ebp - 4], 2
mov dword [edi + 0x10], 0
mov byte [ebp - 4], 3
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov byte [ebp - 4], 4
mov dword [edi + 0x34], 0xf
mov dword [edi + 0x30], 0
mov byte [edi + 0x20], 0
mov byte [ebp - 4], 5
mov byte [edi + 0x38], 0
mov byte [ebp - 4], 6
xor esi, esi
mov dword [ebp - 0x3c], esi
cmp esi, dword [ebp + 8]
jge 0x460c95
push dword [eax + esi*4]
lea ecx, [ebp - 0x2c]
call fcn.00404f70
mov byte [ebp - 4], 7
lea eax, [ebp - 0x2c]
push eax
lea ecx, [edi + 0x14]
call fcn.00461ac0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.00404fd0
inc esi
mov dword [ebp - 0x3c], esi
mov eax, dword [ebp - 0x34]
jmp 0x460c60
push dword [ebp - 0x30]
lea ecx, [edi + 0x20]
call fcn.0040a3e0
mov ecx, edi
call fcn.004612e0
mov byte [edi + 0x38], al
mov dword [ebp - 0x30], 1
lea eax, [ebp - 0x30]
push eax
push 0x7a2c04
push 0x87d35c
lea eax, [ebp - 0x34]
push eax
call fcn.00460b20
add esp, 0x10
mov byte [ebp - 4], 8
push eax
lea ecx, [edi + 4]
call fcn.00460fc0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x34]
call fcn.00460e00
mov dword [ebp - 0x34], 1
lea eax, [ebp - 0x34]
push eax
push 0x7a2c04
push 0x87d374
lea eax, [ebp - 0x30]
push eax
call fcn.00460b20
add esp, 0x10
mov byte [ebp - 4], 9
push eax
lea ecx, [edi + 8]
call fcn.00460fc0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
call fcn.00460e00
push 0x87d38c
lea eax, [ebp - 0x30]
push eax
call fcn.00460a20
add esp, 8
mov byte [ebp - 4], 0xa
push eax
lea ecx, [edi + 0xc]
call fcn.00460f40
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
call fcn.00460dc0
mov dword [ebp - 4], 5
mov dword [ebp - 4], 0xffffffff
mov eax, edi
jmp 0x460d96
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46d8d0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x76ff60
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x88bba0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x3c]
call fcn.0061bff0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00476060
mov byte [ebp - 4], 1
push 0
push 0xf4240
push dword [eax + 4]
push dword [eax]
call fcn.007235e0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.005f0da0
lea eax, [ebp - 0x10]
push eax
push 0x20006
push 0
push str.SystemCurrentControlSetServicesCtesHostSvcProviders
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x46d97b
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SystemCurrentControlSetServicesCtesHostSvcProviders
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10]
push eax
push 0x20007
push 0
push str.SystemCurrentControlSetServicesCtesHostSvcProviders
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x46d9c4
push 8
lea eax, [ebp - 0x1c]
push eax
push 0xb
push 0
push str.ping
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.005f0da0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x481720
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x773340
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x87dc28], 0
mov edi, dword [0x87dc14]
je 0x4818ac
push 0x87dc18
lea eax, [ebp - 0x28]
push str.SOFTWAREAbsoluteCtesComponents_
push eax
call fcn.0043b470
add esp, 0xc
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmovae eax, dword [ebp - 0x28]
push ecx
push 1
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x4817d3
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x44]
push ecx
push 0
push 0x20006
push 0
push 0
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x481882
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x44]
push ecx
push 1
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x481882
push str.logLevel
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x4c], 4
call fcn.00404f70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x48], edi
push ecx
push 0
push eax
push dword [ebp - 0x44]
mov dword [ebp - 0x50], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x44]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x48185b
cmp dword [ebp - 0x48], 8
cmovbe edi, dword [ebp - 0x48]
mov byte [ebp - 4], 0
cmp dword [ebp - 0x2c], 0x10
jb 0x481870
push dword [ebp - 0x40]
call fcn.00489b60
add esp, 4
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 0x10
jb 0x48189a
push dword [ebp - 0x28]
call fcn.00489b60
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret