joyce8/EMBER2024-capa huggingface dataset:
Function at 0x848540
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2a7000]
push edi
or ebp, 0xffffffff
jmp 0x848562
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x848569
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x848558
mov eax, 1
add ebx, ebx
jne 0x84857b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x84858c
jne 0x8485ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8485ab
dec eax
add ebx, ebx
jne 0x848598
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x848570
add ebx, ebx
jne 0x8485a7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x8485fd
xor ecx, ecx
sub eax, 3
jb 0x8485c3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x848632
sar eax, 1
mov ebp, eax
jmp 0x8485ce
add ebx, ebx
jne 0x8485ce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x84859c
inc ecx
add ebx, ebx
jne 0x8485dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x84859c
add ebx, ebx
jne 0x8485e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x8485de
jne 0x8485fa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x8485de
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x84861c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x84860e
jmp 0x84855e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x84861c
add edi, ecx
jmp 0x84855e
pop esi
mov edi, esi
mov ecx, 0x3e02
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x84863a
cmp byte [edi], 0x1a
jne 0x84863a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x84863f
lea edi, [esi + 0x440000]
mov eax, dword [edi]
or eax, eax
je 0x8486ae
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4522b4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4522f0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x84866c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4522f8]
or eax, eax
je 0x8486a8
mov dword [ebx], eax
add ebx, 4
jmp 0x848689
call dword [esi + 0x4522f4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x8486df
cmp al, 0xef
ja 0x8486d2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x8486b4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x8486c1
mov ebp, dword [esi + 0x4522fc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x848713
sub esp, 0xffffff80
jmp 0x49350f
Function at 0x5e4390
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x163000]
push edi
jmp 0x5e43aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5e43b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5e43a0
mov eax, 1
add ebx, ebx
jne 0x5e43c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5e43d4
jne 0x5e43f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5e43f3
dec eax
add ebx, ebx
jne 0x5e43e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5e43b8
add ebx, ebx
jne 0x5e43ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5e4445
xor ecx, ecx
sub eax, 3
jb 0x5e440b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5e447a
sar eax, 1
mov ebp, eax
jmp 0x5e4416
add ebx, ebx
jne 0x5e4416
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5e43e4
inc ecx
add ebx, ebx
jne 0x5e4424
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5e43e4
add ebx, ebx
jne 0x5e4431
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5e4426
jne 0x5e4442
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5e4426
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5e4464
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5e4456
jmp 0x5e43a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5e4464
add edi, ecx
jmp 0x5e43a6
pop esi
mov edi, esi
mov ecx, 0x6a39
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5e4482
cmp byte [edi], 0x16
jne 0x5e4482
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5e4487
lea edi, [esi + 0x1db000]
mov eax, dword [edi]
or eax, eax
je 0x5e44ff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1f1a18]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1f1b44]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5e44b4
mov ecx, edi
jns 0x5e44e3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1f1b48]
or eax, eax
je 0x5e44f9
mov dword [ebx], eax
add ebx, 4
jmp 0x5e44d1
call dword [esi + 0x1f1b58]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5e4530
cmp al, 0xef
ja 0x5e4523
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5e4505
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5e4512
mov ebp, dword [esi + 0x1f1b4c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5e4564
sub esp, 0xffffff80
jmp 0x48a573
Function at 0x404150
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x40417f
push esi
call fcn.00409570
add esp, 4
cmp byte [esi + 0x40], 0
je 0x404178
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x4041f9
mov eax, dword [esi + 0x190]
cmp byte [eax + 0x10], 0
je 0x4041e9
mov eax, dword [esi + 8]
test eax, eax
je 0x4041a4
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
mov edx, dword [esi + 0x190]
mov eax, dword [edx]
push esi
call eax
add esp, 4
test eax, eax
je 0x4041e5
cmp eax, 2
je 0x4041e9
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x404195
cmp eax, 3
je 0x4041cc
cmp eax, 1
jne 0x404195
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
jl 0x404195
mov edx, dword [esi + 0x11c]
add dword [eax + 8], edx
jmp 0x404195
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
call fcn.00403f20
pop esi
ret
cmp eax, 0xcc
je 0x40421b
mov ecx, dword [esi]
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call edx
add esp, 4
call fcn.00403f20
pop esi
ret
Function at 0x41f410
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, dword [esp + 0x24]
cmp dword [edi + 0x4c], 1
mov esi, dword [edi + 0x1a8]
mov dword [esp + 0x18], esi
jne 0x41f437
mov dword [esp + 8], 0x1fe
mov byte [esi + 0x1c], 1
jmp 0x41f443
mov dword [esp + 8], 0
mov byte [esi + 0x1c], 0
mov ecx, dword [edi + 0x64]
mov edx, dword [esp + 8]
mov eax, dword [edi + 4]
mov eax, dword [eax + 8]
push ecx
add edx, 0x100
push edx
push 1
push edi
call eax
xor ecx, ecx
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
add esp, 0x10
cmp dword [edi + 0x64], ecx
mov dword [esp + 0x14], ecx
jle 0x41f556
push ebx
lea edx, [esi + 0x20]
push ebp
mov dword [esp + 0x14], edx
jmp 0x41f488
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov edi, dword [edx]
cdq
idiv edi
cmp dword [esp + 0x10], 0
mov dword [esp + 0x18], eax
je 0x41f4a9
mov eax, dword [esi + 0x18]
add dword [eax + ecx*4], 0xff
lea eax, [eax + ecx*4]
mov edx, dword [esi + 0x18]
mov ebp, dword [edx + ecx*4]
lea eax, [edi + 0xfe]
lea esi, [edi + edi - 2]
cdq
idiv esi
xor ebx, ebx
mov dword [esp + 0x24], ebp
xor esi, esi
mov edx, eax
cmp esi, edx
jle 0x41f4ff
mov ecx, ebx
lea ebp, [edi + edi - 2]
imul ecx, ecx, 0x1fe
jmp 0x41f4e0
add ecx, 0x1fe
lea eax, [ecx + edi + 0xfe]
cdq
idiv ebp
inc ebx
mov edx, eax
cmp esi, edx
jg 0x41f4e0
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
mov al, byte [esp + 0x18]
imul bl
mov byte [esi + ebp], al
inc esi
cmp esi, 0xff
jle 0x41f4c6
cmp dword [esp + 0x10], 0
je 0x41f53d
mov eax, 1
lea edx, [ebp - 1]
movzx ebx, byte [ebp]
mov byte [edx], bl
movzx ebx, byte [ebp + 0xff]
mov byte [eax + ebp + 0xff], bl
inc eax
dec edx
cmp eax, 0xff
jle 0x41f520
mov eax, dword [esp + 0x2c]
add dword [esp + 0x14], 4
inc ecx
cmp ecx, dword [eax + 0x64]
mov dword [esp + 0x1c], ecx
jl 0x41f480
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x18
ret

Function at 0x438b80
Capabilities:
Terminate thread

Disassembly:
sub esp, 8
push esi
mov esi, ecx
push 0xffffffffffffffff
push 0
mov eax, dword [esi + 8]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x6c4d58
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov ecx, dword [esi + 4]
push 0
push ecx
test eax, eax
je 0x438bd0
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
add esp, 8
ret
push fcn.00438bf0
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
add esp, 8
ret
Function at 0x438c50
Capabilities:
Terminate thread

Disassembly:
sub esp, 8
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebx]
test esi, esi
je 0x438cec
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea esp, [esp]
mov eax, dword [esi + 8]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 4]
push 0xffffffffffffffff
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push 0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [esi + 8]
call ebp
push 0
push 0x6c4d58
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov ecx, dword [esi + 4]
push 0
push ecx
test eax, eax
je 0x438cb3
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x438cc9
push fcn.00438bf0
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [ebx]
mov esi, dword [edi + 0xc]
mov dword [ebx], esi
test edi, edi
je 0x438ce6
push dword [edi + 4]
call ebp
push 0x10
push edi
call fcn.0056eec5
mov esi, dword [ebx]
add esp, 8
test esi, esi
jne 0x438c70
pop edi
pop ebp
pop esi
pop ebx
add esp, 8
ret

Function at 0x438d00
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x61f138]
xor eax, esp
mov dword [esp + 0x194], eax
push 0x6c4d5c
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x438d42
lea eax, [esp]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
push 0x6c4d60
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.0056eeb4
mov esp, ebp
pop ebp
ret
Function at 0x446590
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x28
mov eax, dword [0x61f138]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x446642
cmp byte [esi + 0x3e], 0
je 0x446642
mov eax, dword [esi]
push 0xffff
call dword [eax + 0xc]
mov ecx, 0xffff
cmp cx, ax
je 0x4465f4
mov ecx, dword [esi + 0x38]
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x30]
push eax
mov edx, dword [ecx]
lea eax, [esp + 0x14]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x446607
sub eax, 1
je 0x44660b
sub eax, 2
je 0x446642
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0056eeb4
add esp, 0x28
ret
mov byte [esi + 0x3e], 0
mov edi, dword [esp + 8]
lea eax, [esp + 0xc]
sub edi, eax
je 0x44662a
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00599289
add esp, 0x10
cmp edi, eax
jne 0x4465f4
cmp byte [esi + 0x3e], 0
pop edi
sete al
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0056eeb4
add esp, 0x28
ret
mov ecx, dword [esp + 0x2c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.0056eeb4
add esp, 0x28
ret

Function at 0x4485b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b4700
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x61f138]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0056eed3
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0055be44
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x448740
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b4700
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x61f138]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0056eed3
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0055be44
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x44c100
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b5c60
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x61f138]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
lea eax, [ebx + 4]
xor ecx, ecx
mov dword [ebx], vtable.std::exception.0
mov dword [eax], ecx
push eax
mov dword [eax + 4], ecx
lea eax, [edi + 4]
push eax
call fcn.00586144
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebx + 0x18]
mov dword [ebx], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x14], eax
lea eax, [edi + 0x18]
push eax
call fcn.00441720
lea esi, [ebx + 0x30]
mov dword [ebp - 4], 1
mov dword [esi], vtable.boost::exception.0
mov ecx, dword [edi + 0x34]
mov dword [ebp + 8], esi
mov dword [esi + 4], ecx
test ecx, ecx
je 0x44c198
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [edi + 0x38]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x10], eax
mov eax, ebx
mov dword [ebx], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.1.0
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.0
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 0x452e40
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x18
push ebx
push esi
push edi
lea eax, [esp + 0x14]
mov bl, 1
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
push reloc.OLEAUT32.dll_SysReAllocString
xor bh, bh
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
sete byte [esp + 0x13]
test eax, eax
jne 0x452ec9
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 4
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push str.SoftwareSASGeneration
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x452ea7
cmp dword [esp + 0x18], 3
mov bh, bl
jne 0x452ea7
xor bl, bl
jmp 0x452ec9
push 4
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 3
push eax
push 4
push 0
push str.SoftwareSASGeneration
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.sas.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x452ef0
push str.SendSAS
push eax
call edi
test eax, eax
je 0x452ef0
push 0
call eax
push str.wmsgapi.dll
call esi
mov esi, eax
test esi, esi
je 0x452f32
push str.WmsgSendMessage
push esi
call edi
mov edi, eax
test edi, edi
je 0x452f2b
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 0
push 0x208
push ecx
call fcn.00453020
add esp, 4
push eax
call edi
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
push 0x64
call dword [sym.imp.KERNEL32.dll_SleepEx]
cmp byte [esp + 0x13], 0
je 0x452f8f
test bh, bh
jne 0x452f67
push str.SoftwareSASGeneration
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
add esp, 0x18
ret
test bl, bl
je 0x452f85
push 4
lea eax, [esp + 0x1c]
push eax
push 4
push 0
push str.SoftwareSASGeneration
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x453130
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b6466
mov eax, dword fs:[0]
push eax
sub esp, 0x70c
mov eax, dword [0x61f138]
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
push 0x104
lea eax, [ebp - 0x420]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x453184
xor eax, eax
jmp 0x4532d2
lea eax, [ebp - 0x420]
push 0x5c
push eax
call fcn.00585f4e
lea edx, [ebp - 0x218]
add esp, 8
lea ecx, [eax + 2]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x4531a0
sub esp, 8
lea ecx, [ebp - 0x718]
call fcn.00442390
lea edx, [ebp - 0x218]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x708]
call fcn.0044a500
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x700]
call fcn.004466f0
push 0x85
mov edx, str.service.cpp
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x438]
call fcn.004c37b0
mov edx, dword [ebp - 0x424]
add esp, 4
cmp edx, 8
jb 0x453244
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45323a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4532ee
push edx
push ecx
call fcn.0056eec5
add esp, 8
lea ecx, [ebp - 0x718]
call fcn.0043ae30
xor esi, esi
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
cmp eax, 0xffffffff
je 0x45317d
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x4532d0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
mov dword [ebp - 0x668], 0x22c
lea eax, [ebp - 0x668]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4532c9
cmp dword [ebp - 0x660], ebx
je 0x4532b7
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x644]
push eax
call fcn.0059d114
add esp, 8
test eax, eax
jne 0x4532b7
inc esi
lea eax, [ebp - 0x668]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x453294
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
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.0056eeb4
mov esp, ebp
pop ebp
ret
call fcn.00591dc6
int3
Function at 0x4558c0
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b6836
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x61f138]
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
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
jne 0x455995
sub esp, 8
lea ecx, [ebp - 0xd8]
call fcn.00443510
mov edx, str._hSCManager
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0xc8]
call fcn.00449a40
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xd8]
call fcn.004433d0
push 0x24a
mov edx, str.service.cpp
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.004c2da0
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 0x10
jb 0x455983
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x455979
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455a79
push edx
push ecx
call fcn.0056eec5
add esp, 8
lea ecx, [ebp - 0xd8]
call fcn.0043aef0
xor al, al
jmp 0x455a5d
push 0x10020
push str.AeroadminService
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x455a42
sub esp, 8
lea ecx, [ebp - 0x188]
call fcn.00443510
mov edx, str._hService
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x178]
call fcn.00449a40
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x188]
call fcn.004433d0
push 0x252
mov edx, str.service.cpp
mov byte [ebp - 4], 3
mov ecx, eax
call fcn.004c2da0
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 0x10
jb 0x455a2c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x455a22
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455a7e
push edx
push ecx
call fcn.0056eec5
add esp, 8
lea ecx, [ebp - 0x188]
call fcn.0043aef0
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
jmp 0x455a5d
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
call esi
push ebx
call esi
cmp edi, 1
sete al
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.0056eeb4
mov esp, ebp
pop ebp
ret
call fcn.00591dc6
call fcn.00591dc6
int3