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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50df68
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x58fa2c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
cmp dword [edi + 0x10], eax
je 0x44e8c7
mov dword [edi + 0x10], eax
xor esi, esi
mov dword [ebp - 0x18], esi
cmp esi, 3
jae 0x44e7d8
push 0
push esi
mov ecx, edi
call fcn.004499f0
inc esi
jmp 0x44e7c3
push 1
lea ecx, [edi + 0x12a8]
call fcn.00481020
push 1
lea ecx, [edi + 0x12e4]
call fcn.00481020
mov eax, dword [edi + 0x12bc]
test eax, eax
je 0x44e85b
cmp eax, 0x5919a8
je 0x44e85b
push eax
lea ecx, [ebp - 0x24]
call fcn.004809f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00481420
test eax, eax
je 0x44e827
push 1
mov ecx, eax
call fcn.00448ec0
jmp 0x44e810
push 0
mov ecx, dword [edi + 0x12bc]
call fcn.00481020
mov ecx, dword [edi + 0x12bc]
test ecx, ecx
je 0x44e845
push 1
call fcn.0042dd20
mov dword [edi + 0x12bc], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00480ad0
cmp dword [edi + 0x14], 0
je 0x44e89d
mov eax, dword [edi + 0x12a4]
test eax, eax
je 0x44e89d
mov dword [edi + 0x14], 0
push 0xbb8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x44e893
push 0
push dword [edi + 0x12a4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [edi + 0x12a4], 0
mov ecx, dword [edi + 0x1304]
test ecx, ecx
je 0x44e8b8
push 1
call fcn.00448ec0
mov dword [edi + 0x1304], 0
mov ecx, edi
call fcn.0044ea30
mov eax, 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
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 0x44f420
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e090
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x58fa2c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 8], ebx
je 0x44f529
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x44f529
cmp dword [ebp + 0x10], ebx
je 0x44f529
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, 1
jae 0x44f508
lea esi, [ecx + ecx*4]
mov eax, dword [edx + 8]
cmp eax, dword [esi*4 + 0x51bff8]
jne 0x44f523
push dword [esi*4 + 0x51bffc]
call fcn.004a4577
add esp, 4
mov edi, eax
push 0
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x18]
push eax
push dword [esi*4 + 0x51bffc]
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x44f4ff
mov eax, dword [esi*4 + 0x51bffc]
cmp eax, dword [ebp - 0x18]
jne 0x44f4ff
push edi
mov eax, dword [esi*4 + 0x51c000]
call eax
add esp, 4
test eax, eax
je 0x44f4ff
push dword [ebp + 0x10]
push edi
mov eax, dword [esi*4 + 0x51c004]
call eax
add esp, 8
mov ebx, eax
mov dword [ebp - 0x14], ebx
push edi
call fcn.004a4580
add esp, 4
mov dword [ebp - 4], 0xffffffff
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
inc ecx
jmp 0x44f472
xor eax, eax
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 0x4504b0
Capabilities:
Access peb ldr_data
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e2c0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x58fa2c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
push 0x34
call fcn.004a4577
mov esi, eax
mov dword [ebp - 0x14], esi
push 0x34
push 0
push esi
call fcn.004b8570
add esp, 0x10
mov dword [esi], 0x3500
mov dword [esi + 4], 0x34
movups xmm0, xmmword [edi + 0x650]
movups xmmword [esi + 0xc], xmm0
mov ecx, dword [ebp + 8]
mov dword [esi + 0x1c], ecx
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x30], eax
test ecx, ecx
je 0x450544
lea eax, [ebp + 8]
push eax
call fcn.004c60d9
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x28], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [esi + 8]
push ecx
push 0
push 0
push 0x51c1c0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
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 0x14
Function at 0x452030
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e696
mov eax, dword fs:[0]
push eax
sub esp, 0x1fc
mov eax, dword [0x58fa2c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x208]
call fcn.0048db90
mov dword [ebp - 4], 0
cmp dword [ebp - 0x204], 0
jne 0x45208f
lea ecx, [ebp - 0x208]
call fcn.0048e930
cmp dword [ebp - 0x204], 0
je 0x4521ed
lea ecx, [ebp - 0x208]
call fcn.0048ec90
test eax, eax
je 0x4521ed
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004b8570
add esp, 0xc
lea eax, [ebp - 0x114]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x4520f3
mov ecx, dword [0x58f684]
push 0
push 0
push str.Could_not_retrieve_the_System_Directory
mov eax, dword [ecx]
push 0
push str.AddBrowserExtentionPort
push str.ProcessName
call dword [eax + 4]
jmp 0x4521ed
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x12c]
call fcn.0040d450
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x12c]
push 0xffffffffffffffff
push 0
push 0x5919fc
call fcn.00410110
push dword [ebp + 8]
cmp dword [0x5919f8], 0x10
lea eax, [ebp - 0x12c]
mov esi, 0x5919e4
push 6
mov ecx, esi
cmovae ecx, dword [0x5919e4]
cmp dword [ebp - 0x118], 0x10
push 0x1e02
cmovae eax, dword [ebp - 0x12c]
push ecx
push eax
lea ecx, [ebp - 0x208]
call fcn.0048e2f0
test eax, eax
jne 0x452181
mov ecx, dword [0x58f684]
push 0
push 0
push str.Failed_to_enable_TCP_port_for_recorder
mov eax, dword [ecx]
push 0
push str.AddBrowserExtentionPort
push str.ProcessName
call dword [eax + 4]
push dword [ebp + 8]
cmp dword [0x5919f8], 0x10
lea eax, [ebp - 0x12c]
push 0x11
cmovae esi, dword [0x5919e4]
lea ecx, [ebp - 0x208]
cmp dword [ebp - 0x118], 0x10
push 0x1e02
cmovae eax, dword [ebp - 0x12c]
push esi
push eax
call fcn.0048e2f0
test eax, eax
jne 0x4521de
mov ecx, dword [0x58f684]
push 0
push 0
push str.Failed_to_enable_UDP_port_for_recorder
mov eax, dword [ecx]
push 0
push str.AddBrowserExtentionPort
push str.ProcessName
call dword [eax + 4]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x12c]
call fcn.00405600
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x208]
call fcn.0048dc90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4566
mov esp, ebp
pop ebp
ret 4
Function at 0x452ff0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e7f0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x58fa2c]
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
cmp dword [edi + 0x1b8], 0
je 0x4530d8
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x453078
mov esi, 1
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x453078
mov esi, 2
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x453078
mov esi, 3
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], eax
cmp dword [edi + 0x1c4], 0
jne 0x4530a1
lea eax, [edi + 4]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov dword [edi + 0x1c4], eax
test eax, eax
jne 0x4530a1
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
jmp 0x4530a7
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [edi + 0x1c4]
test eax, eax
je 0x4530d1
push 0
lea ecx, [ebp - 0x20]
push ecx
push 0
push esi
push 0
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
test eax, eax
jne 0x4530d1
call ebx
mov dword [ebp - 4], 0xffffffff
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.004a4566
mov esp, ebp
pop ebp
ret 0x14
Function at 0x453110
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e820
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x58fa2c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
push 0xf003f
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
test ebx, ebx
je 0x453222
push 0xf01ff
lea eax, [edi + 4]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ecx, eax
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x453219
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x453187
mov eax, dword [eax]
cmp eax, 2
jbe 0x453189
xor eax, eax
push dword [ebp + 8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
mov esi, 1
mov dword [ebp - 0x14], esi
test eax, eax
je 0x4531d9
mov eax, dword [edi]
push str.Manual_Start_Service_local
push edi
call dword [eax + 0x38]
add esp, 8
push dword [ebp - 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push ebx
call edi
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 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi]
push eax
push str.Manual_Start_Service_pending_local___d_
push edi
call dword [ecx + 0x38]
add esp, 0xc
push dword [ebp - 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push ebx
call edi
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 8
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call edi
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 8
Function at 0x453ac0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e940
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x58fa2c]
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 - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
mov ecx, dword [edi]
push esi
push str.ServiceRestart:___d_
push edi
call dword [ecx + 0x38]
push 0x104
push 0
lea eax, [ebp - 0x118]
push eax
call fcn.004b8570
push 0x104
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.004b8570
add esp, 0x24
push 0x104
lea eax, [ebp - 0x118]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
lea eax, [ebp - 0x118]
push eax
push str._s__r_d
lea eax, [ebp - 0x21c]
push eax
call fcn.004482a0
push 0x44
push 0
lea eax, [ebp - 0x270]
push eax
call fcn.004b8570
add esp, 0x1c
xorps xmm0, xmm0
movups xmmword [ebp - 0x22c], xmm0
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x270]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 4], 0xffffffff
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.004a4566
mov esp, ebp
pop ebp
ret
Function at 0x453e90
Capabilities:
Delete registry key
Delete service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e9c0
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x58fa2c]
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 dword [ebp - 0x11c], esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x118], ebx
xor edi, edi
mov dword [ebp - 0x120], edi
mov dword [ebp - 4], edi
push 0xf003f
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x128], eax
test eax, eax
je 0x454031
lea ebx, [esi + 4]
push 0x10000
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x124], eax
test eax, eax
je 0x45401d
push eax
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x453fef
push 0x100
push edi
lea eax, [ebp - 0x114]
push eax
call fcn.004b8570
add esp, 0xc
movups xmm0, xmmword [str.SYSTEMCurrentControlSetServicesEventLogApplication_]
movups xmmword [ebp - 0x114], xmm0
movups xmm0, xmmword [0x51c2e8]
movups xmmword [ebp - 0x104], xmm0
movups xmm0, xmmword [0x51c2f8]
movups xmmword [ebp - 0xf4], xmm0
movq xmm0, qword [0x51c308]
movq qword [ebp - 0xe4], xmm0
mov esi, ebx
mov al, byte [ebx]
inc ebx
test al, al
jne 0x453f76
sub ebx, esi
lea edi, [ebp - 0x114]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x453f86
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x118]
test eax, eax
je 0x453fbd
lea ecx, [ebp - 0x114]
push ecx
push reloc.WS2_32.dll_bind
push eax
call fcn.0048cc60
add esp, 0xc
jmp 0x453fcf
lea eax, [ebp - 0x114]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edi, 1
mov dword [ebp - 0x120], edi
push 0
push 0
push 0
push 0x40020103
push 4
mov esi, dword [ebp - 0x11c]
jmp 0x454006
push 0
call fcn.0048c5d0
add esp, 4
push 0
push 0
push 0
push 0x80020104
push 1
mov ecx, esi
call fcn.00452ff0
push dword [ebp - 0x124]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call ebx
jmp 0x454023
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0x128]
call ebx
mov ebx, dword [ebp - 0x118]
push 0xc4
push ebx
mov ecx, esi
call fcn.00453490
push 0x1f4
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
call esi
push ebx
mov ecx, dword [ebp - 0x11c]
call fcn.00453280
push 0x3e8
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, edi
jmp 0x45408d
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.004a4566
mov esp, ebp
pop ebp
ret 4
Function at 0x454b50
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
push edi
mov dword [ecx + 0x1384], 0xffffffff
lea edi, [ecx + 8]
mov dword [ecx + 4], edx
mov esi, 1
nop dword [eax]
mov eax, edx
lea edi, [edi + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi - 4], edx
cmp esi, 0x270
jl 0x454b70
pop edi
mov dword [ecx], 0x270
mov eax, ecx
pop esi
pop ebp
ret 4
Function at 0x455da0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ee8b
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x58fa2c]
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 dword [ebp - 0x11c], 0
mov dword [ebp - 4], 0
push 0
mov ecx, dword [esi + 0x20]
call fcn.004468b0
lea eax, [ebp - 0x120]
push eax
mov ecx, dword [esi + 8]
call fcn.00457740
mov byte [ebp - 4], 1
mov ecx, dword [eax]
lea edx, [ebp - 0x118]
nop dword [eax]
mov al, byte [ecx]
mov byte [edx], al
lea ecx, [ecx + 1]
lea edx, [edx + 1]
test al, al
jne 0x455e10
mov byte [ebp - 4], al
lea ecx, [ebp - 0x120]
call fcn.00488bc0
lea eax, [ebp - 0x118]
push eax
call fcn.0048b440
add esp, 4
test eax, eax
je 0x455e61
push 0
lea eax, [ebp - 0x118]
push eax
call fcn.0048d3e0
add esp, 8
lea eax, [ebp - 0x118]
push eax
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call ebx
jmp 0x455e67
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x104
lea eax, [ebp - 0x118]
push eax
call fcn.0049d670
lea eax, [ebp - 0x118]
push eax
call fcn.00488700
add esp, 0xc
mov edx, str.msocxushell.dll
mov esi, edx
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x455e90
sub edx, esi
lea edi, [ebp - 0x118]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x455ea0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x118]
push eax
call fcn.0048b440
add esp, 4
test eax, eax
je 0x455ee3
push 0
lea eax, [ebp - 0x118]
push eax
call fcn.0048d3e0
add esp, 8
lea eax, [ebp - 0x118]
push eax
call ebx
mov eax, 1
mov dword [ebp - 0x11c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x455f1b
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.004a4566
mov esp, ebp
pop ebp
ret
Function at 0x458f50
Capabilities:
Create process on windows
Delete service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f310
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x58fa2c]
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
xor esi, esi
mov dword [ebp - 0x220], esi
mov dword [ebp - 4], esi
push 0x104
push esi
lea eax, [ebp - 0x118]
push eax
call fcn.004b8570
add esp, 0xc
push 0x104
lea eax, [ebp - 0x118]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp byte [ebp - 0x118], 0
je 0x459067
push 0x44
push esi
lea eax, [ebp - 0x274]
push eax
call fcn.004b8570
xorps xmm0, xmm0
movups xmmword [ebp - 0x230], xmm0
push 0x104
push esi
lea eax, [ebp - 0x21c]
push eax
call fcn.004b8570
lea eax, [ebp - 0x118]
push eax
push str._s__u
lea eax, [ebp - 0x21c]
push eax
call fcn.004482a0
add esp, 0x24
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x274]
push eax
push esi
push esi
push 0x20
push esi
push esi
push esi
lea eax, [ebp - 0x21c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x459067
push 0x2710
push dword [ebp - 0x230]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x459067
push dword [ebp - 0x230]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 1
mov dword [ebp - 0x220], esi
mov dword [ebp - 4], 0xffffffff
mov eax, esi
jmp 0x4590d6
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
test eax, eax
je 0x4590a7
push 0xf01ff
mov ecx, dword [edi + 8]
mov ecx, dword [ecx + 0x60]
add ecx, 0x7998
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
je 0x4590a7
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 4], 0xffffffff
mov eax, esi
jmp 0x4590d6
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.004a4566
mov esp, ebp
pop ebp
ret

Function at 0x45c0e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esi + 0x10], eax
test eax, eax
jne 0x45c0f7
xor al, al
pop esi
pop ebp
ret 4
mov eax, dword [esi]
call dword [eax]
push 0
push 0
push esi
push 0x45ce40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x45c0f0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x45d930
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510198
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x58fa2c]
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 esi, ecx
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x10
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea ecx, [esi + 4]
call fcn.00411ac0
lea ecx, [esi + 4]
mov edi, eax
call fcn.00411ac0
mov edx, dword [edi]
mov ecx, edi
mov esi, eax
call dword [edx + 0x34]
mov edx, dword [esi]
mov ecx, esi
mov edi, eax
call dword [edx + 0x2c]
push edi
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], 0
push eax
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
call fcn.00406070
mov dword [ebp - 4], 0
cmp byte [ebp - 0x20], 0
jne 0x45d9d1
xor esi, esi
jmp 0x45d9e0
lea esi, [ebp - 0x20]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x45d9d7
sub esi, ecx
cmp dword [ebp - 0x24], 0x10
lea ecx, [ebp - 0x38]
mov edi, dword [ebp - 0x28]
mov eax, esi
cmovae ecx, dword [ebp - 0x38]
cmp edi, esi
cmovb eax, edi
push eax
lea eax, [ebp - 0x20]
push eax
push ecx
call fcn.004037f0
add esp, 0xc
test eax, eax
jne 0x45da16
cmp esi, edi
jbe 0x45da10
or eax, 0xffffffff
jmp 0x45da14
sbb eax, eax
neg eax
test eax, eax
sete bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
cmp eax, 0x10
jb 0x45da35
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.004066b0
mov dword [ebp - 0x24], 0xf
mov al, bl
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
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.004a4566
mov esp, ebp
pop ebp
ret
Function at 0x45df10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
je 0x45df40
cmp dword [esi + 0xc], 0
jne 0x45df40
push 0
push 0
push esi
push 0x45dfb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc], eax
test eax, eax
je 0x45df45
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], vtable.std::exception.0
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], str.Could_not_create_licensing_thread.
xorps xmm0, xmm0
mov byte [ebp - 4], 1
push eax
movq qword [ebp - 0x10], xmm0
call fcn.004b8dc1
add esp, 8
lea eax, [ebp - 0x14]
push 0x58c824
push eax
call fcn.004b84f4
int3