joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a757
Capabilities:
Prepare http request
Receive http response

Disassembly:
push 0x44
mov eax, 0x43ddda
call fcn.0040e033
mov esi, ecx
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4c], eax
call fcn.00409e6c
mov ecx, esi
call fcn.00409e2c
test al, al
je 0x40a8a2
push 7
xor ebx, ebx
xor eax, eax
pop ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x44], ax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
lea edx, [ebp - 0x44]
call fcn.00409b8c
mov eax, 0x1bb
pop ecx
pop ecx
cmp word [ebp - 0x48], ax
jne 0x40a7cd
mov byte [esi + 8], 1
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push ebx
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x44]
push eax
push dword [esi + 0xc]
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov edx, eax
mov dword [esi + 0x10], edx
test edx, edx
jne 0x40a7fe
mov dword [esi + 0x84], 2
jmp 0x40a890
xor ecx, ecx
mov eax, 0x800000
cmp byte [esi + 8], cl
cmovne ecx, eax
cmp dword [ebp - 0x18], 8
push ecx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x2c]
mov ecx, str.POST
cmovae eax, dword [ebp - 0x2c]
cmp dword [ebp + 0xc], 0
push eax
mov eax, 0x44ced0
cmovne eax, ecx
push eax
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [esi + 0x14], eax
test eax, eax
je 0x40a882
cmp byte [esi + 8], 0
je 0x40a857
push 4
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], 0x3301
push ecx
push 0x1f
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
push dword [ebp - 0x4c]
mov ecx, esi
push dword [ebp - 0x50]
call fcn.0040a8aa
test al, al
jne 0x40a874
mov dword [esi + 0x84], 3
jmp 0x40a890
push ebx
push dword [esi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x40a88e
mov dword [esi + 0x84], 1
jmp 0x40a890
mov bl, 1
lea ecx, [ebp - 0x2c]
call fcn.004056b0
lea ecx, [ebp - 0x44]
call fcn.004056b0
mov al, bl
call fcn.0040dfee
ret 0x10
Function at 0x410267
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x7eee49d4
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.7eee3648
test esi, esi
jne 0x7eee4a07
mov edx, esp
mov ecx, 0x105
xor eax, eax
call fcn.7eee497c
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.7eee3738
jmp 0x7eee4a25
call sub.kernel32.dll_GetCommandLineA_1
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.7eee47fc
mov edi, eax
test esi, esi
je 0x7eee4a25
cmp dword [ebx], 0
je 0x7eee4a25
dec esi
jmp 0x7eee4a0e
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x7eee505c
Capabilities:
Get memory capacity

Disassembly:
push ebx
add esp, 0xffffffe0
push ebx
nop
pop ebx
push eax
nop
pop eax
mov dword [esp], 0x20
nop
push eax
nop
pop eax
push esp
call sub.kernel32.dll_GlobalMemoryStatus
call fcn.7eee4fe4
nop
push eax
nop
pop eax
call fcn.7eee4fe4
mov ebx, 3
call fcn.7eee4fe4
cmp dword [esp + 8], 0x11e1a300
jae 0x7eee509e
call fcn.7eee4b50
dec ebx
jne 0x7eee508a
add esp, 0x20
pop ebx
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40279c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40c02c], 0x8088405
inc edx
mov dword [0x40c02c], edx
mul edx
mov eax, edx
ret

Function at 0x4042e8
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x15b31959
xor eax, 0x7b87d780
mov ecx, 0x2a210802
mov edx, 0x5040223d
xor ecx, edx
xor ecx, eax
mov esi, ecx
mov edx, esi
mov ebx, edx
xor ebx, 0xffffffff
and ebx, 0xffffffff
and edx, 0
or edx, ebx
and edx, 0x15d28262
and ecx, 0xea2d7d9d
or ecx, edx
push 0x5e82017c
mov edi, 0x5ec2d0fc
cld
rol dl, 1
pop esi
mov eax, 0
xor eax, edx
xor edi, edi
add edi, eax
mov edx, 0x6b54bd22
xor edx, 0x6b54bd22
xor edx, edi
jmp 0x403f9d

Function at 0x40520c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405245
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403278
jmp 0x40524e
mov eax, ebx
mov edx, esi
call fcn.0040322c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x405258
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405279
mov al, byte [esp]
jmp 0x40527b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x41e4c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
or ebp, 0xffffffff
jmp 0x41e4e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41e4e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41e4d8
mov eax, 1
add ebx, ebx
jne 0x41e4fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41e4f0
jne 0x41e50c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e4f0
xor ecx, ecx
sub eax, 3
jb 0x41e520
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41e592
mov ebp, eax
add ebx, ebx
jne 0x41e52b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41e538
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41e55c
inc ecx
add ebx, ebx
jne 0x41e548
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41e53d
jne 0x41e559
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e53d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41e57c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41e56d
jmp 0x41e4de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41e57c
add edi, ecx
jmp 0x41e4de
pop esi
mov edi, esi
mov ecx, 0x89c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41e59a
cmp byte [edi], 0xa
jne 0x41e59a
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 eax, ebx
loop 0x41e59f
lea edi, [esi + 0x1c000]
mov eax, dword [edi]
or eax, eax
je 0x41e60e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x24860]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x248d8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41e5cc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x248dc]
or eax, eax
je 0x41e608
mov dword [ebx], eax
add ebx, 4
jmp 0x41e5e9
call dword [esi + 0x248e0]
popal
jmp 0x40f084
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x4014e6
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [esp + 4]
push 0xfffffffffffffffb
pop eax
mov dl, byte [eax + ecx]
cmp dl, 0x90
je 0x4014fa
cmp dl, 0xcc
jne 0x401544
inc eax
cmp eax, 0xffffffff
jle 0x4014ed
mov al, byte [ecx]
cmp al, 0x8b
je 0x40150a
cmp al, 0x89
jne 0x401544
cmp byte [ecx + 1], 0xff
jne 0x401544
mov eax, 0x40189c
mov byte [ecx - 5], 0xe9
sub eax, ecx
mov dword [ecx - 4], eax
lea eax, [ecx + 2]
mov dword [0x436a10], eax
mov eax, 0xf9eb
push 0
push 0
mov word [ecx], ax
call dword [0x42a014]
push eax
call dword [0x42a034]
mov al, 1
ret 0xc
xor al, al
jmp 0x401541
Function at 0x4018b0
Capabilities:
Delete file
Set file attributes

Disassembly:
mov eax, dword [esp + 4]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 4]
jmp sub.MFC42.DLL_CString::CString
Function at 0x4056d0
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x406aa0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString_2
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov byte [esp + 0x14], 1
xor esi, esi
mov eax, dword [esp + 0x1c]
push esi
push eax
lea ecx, [esp + 0x10]
push str._s_04d
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x18]
add esp, 0x10
push edx
call edi
cmp eax, 0xffffffff
je 0x405733
inc esi
cmp esi, 0x3e8
jl 0x405706
pop edi
cmp esi, 0x3e8
pop esi
jne 0x40574a
push 0x409f88
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x405769
mov eax, dword [esp]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov edx, dword [esp]
push 4
push 0
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea ecx, [esp]
mov byte [esp + 0xc], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x405ac0
Capabilities:
Enumerate gui resources
Enumerate processes
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x406afb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
push esi
lea ecx, [esp + 8]
xor esi, esi
call sub.MFC42.DLL_CString::CString_2
push esi
push 2
mov dword [esp + 0x144], esi
mov dword [esp + 0x14], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x405b34
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 8]
mov dword [esp + 0x13c], ebx
call sub.MFC42.DLL_CString::CString
pop esi
pop ebx
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
add esp, 0x138
ret
push ebp
lea eax, [esp + 0x10]
push edi
push eax
push ebx
call sub.KERNEL32.dll_Process32First
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, esi
je 0x405bd0
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
lea ecx, [esp + 0x38]
lea edx, [esp + 0x10]
push ecx
push 0x409040
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeLower
mov eax, dword [esp + 0x10]
push str.wmipris.exe
push eax
call edi
add esp, 8
test eax, eax
je 0x405b9b
mov ecx, dword [esp + 0x10]
push str.Hruser.exe
push ecx
call edi
add esp, 8
test eax, eax
jne 0x405bc1
mov edx, dword [esp + 0x1c]
push edx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x405bc1
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call ebp
xor esi, esi
lea eax, [esp + 0x14]
push eax
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x405b55
mov ecx, 0x4a
xor eax, eax
lea edi, [esp + 0x14]
test esi, esi
rep stosd dword es:[edi], eax
je 0x405be4
push esi
call ebp
push ebx
call ebp
push 0
push 0x405c30
call dword [sym.imp.USER32.dll_EnumWindows]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x10]
mov dword [esp + 0x144], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x13c]
pop edi
pop ebp
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x138
ret

Function at 0x405cd0
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push edi
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x14]
pop edi
sub eax, 2
jne 0x405d13
mov eax, dword [esp + 4]
cmp eax, 4
jbe 0x405d13
cmp eax, 5
jne 0x405d1c
mov eax, dword [esp + 8]
xor al, al
add esp, 0x94
ret
cmp eax, 6
jne 0x405d13
mov al, 1
add esp, 0x94
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10086c9
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
cmp byte [0x1018811], 0
je 0x100876c
and dword [ebp - 4], 0
push esi
lea ecx, [ebp - 4]
call fcn.01008658
push eax
push 0xf003f
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.01008692
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x100875f
push edi
push 0x10013b8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x1008756
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
push 0x10013ac
push edi
call esi
mov ebx, eax
test ebx, ebx
je 0x1008744
push 0x1001394
push edi
call esi
mov esi, eax
test esi, esi
je 0x1008744
push dword [ebp - 4]
call ebx
push eax
call esi
jmp 0x100874a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop ebx
jmp 0x100875e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
pop edi
lea ecx, [ebp - 4]
call fcn.01008676
mov eax, esi
pop esi
leave
ret
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
leave
ret

Function at 0x100881d
Capabilities:
Query service status
Stop service

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push esi
xor esi, esi
push 0xf003f
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, esi
mov dword [ebp - 0xc], eax
je 0x10088f0
push edi
push 0xf01ff
push 0x100141c
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
cmp edi, esi
mov dword [ebp - 8], edi
je 0x10088d1
lea eax, [ebp - 0x28]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x10088b3
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
mov ebx, 0x3e8
push ebx
call esi
lea eax, [ebp - 0x28]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x100889b
cmp dword [ebp - 0x24], 3
jne 0x10088a1
push ebx
call esi
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 8]
call edi
test eax, eax
jne 0x100888b
xor esi, esi
cmp dword [ebp - 0x24], 1
pop ebx
je 0x10088c6
mov dword [ebp - 4], 0x80004005
jmp 0x10088c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x426
mov dword [ebp - 4], eax
jne 0x10088c6
mov dword [ebp - 4], esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x10088e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
mov dword [ebp - 4], eax
jne 0x10088e4
mov dword [ebp - 4], esi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
jmp 0x10088f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], esi
je 0x100890d
push dword [ebp - 4]
push 0x10013d0
call fcn.0100f591
pop ecx
pop ecx
xor eax, eax
cmp dword [ebp - 4], esi
pop esi
sete al
leave
ret
Function at 0x1008a33
Capabilities:
Compare security identifiers

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
cmp byte [0x1018810], 0
mov eax, dword [0x1017048]
mov dword [ebp - 4], eax
je 0x1008a53
mov al, 1
jmp 0x1008bc7
push ebx
xor ebx, ebx
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
mov byte [ebp - 0xc], 0
mov byte [ebp - 0xb], 0
mov byte [ebp - 0xa], 0
mov byte [ebp - 9], 0
mov byte [ebp - 8], 0
mov byte [ebp - 7], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x1008a96
xor al, al
jmp 0x1008bc6
cmp dword [0x1018814], 5
push esi
push edi
mov dword [ebp - 0x10], ebx
jb 0x1008ae6
push 0x1001468
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
cmp esi, ebx
je 0x1008bb5
push 0x1001450
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x1008ada
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp - 0x1c]
push ebx
call eax
test eax, eax
jne 0x1008ada
mov dword [ebp - 0x10], ebx
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1008bb5
mov esi, 0x400
push esi
call fcn.0100f60c
mov edi, eax
cmp edi, ebx
pop ecx
je 0x1008b4b
lea eax, [ebp - 0x18]
push eax
push 0x20008
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1008bae
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push 2
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov ebx, eax
dec ebx
neg ebx
sbb bl, bl
inc bl
cmp dword [ebp - 0x14], esi
jbe 0x1008b76
push edi
call fcn.0100f5fc
push dword [ebp - 0x14]
call fcn.0100f60c
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x1008b5a
push 0x1001430
call fcn.0100f591
pop ecx
xor al, al
jmp 0x1008bc4
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push edi
push 2
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov ebx, eax
dec ebx
neg ebx
sbb bl, bl
inc bl
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x1008bac
xor ebx, ebx
cmp dword [edi], ebx
jbe 0x1008bac
lea esi, [edi + 4]
push dword [esi]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x1008ba5
inc ebx
add esi, 8
cmp ebx, dword [edi]
jb 0x1008b8c
jmp 0x1008bac
mov dword [ebp - 0x10], 1
xor ebx, ebx
push edi
call fcn.0100f5fc
pop ecx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [ebp - 0x10], ebx
setne al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
call fcn.0100f0dc
leave
ret
Function at 0x1008ca3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1017048]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov byte [ebp - 0x24], 8
mov byte [ebp - 0x23], 7
mov byte [ebp - 0x22], 6
mov byte [ebp - 0x21], 5
mov byte [ebp - 0x20], 4
mov byte [ebp - 0x1f], 3
mov byte [ebp - 0x1e], 2
mov byte [ebp - 0x1d], 1
mov byte [ebp - 0x1c], 0xd
mov byte [ebp - 0x1b], 0xc
mov byte [ebp - 0x1a], 0xb
mov byte [ebp - 0x19], 0xa
mov byte [ebp - 0x18], 0x12
mov byte [ebp - 0x17], 0x11
mov byte [ebp - 0x16], 0x10
mov byte [ebp - 0x15], 0xf
mov byte [ebp - 0x14], 0x15
mov byte [ebp - 0x13], 0x14
mov byte [ebp - 0x12], 0x17
mov byte [ebp - 0x11], 0x16
mov byte [ebp - 0x10], 0x1a
mov byte [ebp - 0xf], 0x19
mov byte [ebp - 0xe], 0x1c
mov byte [ebp - 0xd], 0x1b
mov byte [ebp - 0xc], 0x1e
mov byte [ebp - 0xb], 0x1d
mov byte [ebp - 0xa], 0x20
mov byte [ebp - 9], 0x1f
mov byte [ebp - 8], 0x22
mov byte [ebp - 7], 0x21
mov byte [ebp - 6], 0x24
mov byte [ebp - 5], 0x23
lea eax, [ebp - 0x24]
push esi
movzx edx, byte [eax]
mov esi, dword [ebp + 8]
mov dx, word [esi + edx*2]
mov word [ecx], dx
inc ecx
inc ecx
inc eax
lea edx, [ebp - 4]
cmp eax, edx
jb 0x1008d3a
and word [ecx], 0
mov ecx, dword [ebp - 4]
pop esi
call fcn.0100f0dc
leave
ret
Function at 0x100927c
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1017048]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
cmp eax, ebx
push esi
mov dword [ebp - 0x210], eax
jne 0x10092a5
mov eax, 0x1001ac0
push eax
push 0x10019f0
call fcn.0100f591
pop ecx
pop ecx
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x208], ebx
call fcn.01008658
push eax
push 0xf003f
push ebx
mov esi, 0x1001988
push esi
push 0x80000002
call fcn.01008692
add esp, 0x14
cmp eax, ebx
je 0x1009301
cmp eax, 2
jne 0x10092ed
mov bl, 1
jmp 0x10093b8
push eax
push esi
push 0x1001938
call fcn.0100f591
add esp, 0xc
jmp 0x10093b8
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push edi
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x204]
push eax
mov dword [ebp - 0x20c], 0x100
xor edi, edi
push ebx
jmp 0x10093a5
lea eax, [ebp - 0x204]
push eax
call fcn.01008c57
test eax, eax
pop ecx
je 0x1009387
cmp dword [ebp - 0x210], ebx
je 0x1009366
push dword [ebp - 0x210]
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1009366
inc edi
mov dword [ebp - 0x20c], 0x200
jmp 0x1009392
push dword [ebp + 8]
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x208]
call fcn.01008fcd
add esp, 0xc
test eax, eax
je 0x10093b7
cmp byte [ebp + 8], bl
je 0x1009388
inc edi
mov dword [ebp - 0x20c], 0x100
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x204]
push eax
push edi
push dword [ebp - 0x208]
call esi
test eax, eax
je 0x1009329
mov bl, 1
pop edi
lea ecx, [ebp - 0x208]
call fcn.01008676
mov ecx, dword [ebp - 4]
pop esi
mov al, bl
pop ebx
call fcn.0100f0dc
leave
ret