joyce8/EMBER2024-capa huggingface dataset:
Function at 0xd88500
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0xdbf424
push 0x17
xor esi, esi
push esi
push 0xdb9770
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0xd88644
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push esi
push esi
push 0x80
push esi
push esi
push esi
mov dword [ebp - 8], esi
mov ecx, dword [eax]
push str.rootCIMV2
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
js 0xd88620
mov eax, dword [ebp - 8]
lea edx, [ebp - 0xc]
push edx
push esi
push 0x20
push str.SELECT__FROM_Win32_PerfRawData_PerfProc_Process
mov dword [ebp - 0xc], esi
mov ecx, dword [eax]
push 0xdbda4c
push eax
mov eax, dword [ecx + 0x50]
call eax
test eax, eax
js 0xd885d2
call fcn.00d8d7d0
push str._ERROR_
call fcn.00d9f6dc
add esp, 4
push str.CheckWmiPrefProcClassValid_:_Win32_PerfRawData_PerfProc_Process_class_found____n
call fcn.00d9f6dc
add esp, 4
call fcn.00d9e1f2
add eax, 0x20
push eax
call fcn.00d9ece2
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 4
push eax
call edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esi + 1]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00d8d7d0
push str._ERROR_
call fcn.00d9f6dc
add esp, 4
push str.CheckWmiPrefProcClassValid_:Unable_to_find_the_class_Win32_PerfRawData_PerfProc_Process_n
call fcn.00d9f6dc
add esp, 4
call fcn.00d9e1f2
add eax, 0x20
push eax
call fcn.00d9ece2
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 4
push eax
call edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call fcn.00d8d7d0
push str._ERROR_
call fcn.00d9f6dc
add esp, 4
push str.CheckWmiPrefProcClassValid_:_Unable_to_connect_to__CIMV2___n
jmp 0xd886a8
push esi
call fcn.00da0839
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
add esp, 4
push eax
mov dword [ebp - 0xc], edx
call fcn.00da04db
mov esi, eax
add esp, 4
mov ecx, 9
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x28]
push edx
mov edx, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
push ecx
inc edx
push edx
add eax, 0x76c
push eax
push str.__d__02d__02d__02d:_02d:_02d_
call fcn.00d9f6dc
add esp, 0x1c
push str._ERROR_
call fcn.00d9f6dc
add esp, 4
push str.CheckWmiPrefProcClassValid_:_Unable_to_create_a_WbemLocator__n
call fcn.00d9f6dc
add esp, 4
call fcn.00d9e1f2
add eax, 0x20
push eax
call fcn.00d9ece2
add esp, 4
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0xd8bdf0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0xdc451c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x134], edi
call fcn.00d8bd00
push edi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0xd8bed9
push edi
call fcn.00da0839
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x140]
add esp, 4
push eax
mov dword [ebp - 0x13c], edx
call fcn.00da04db
mov esi, eax
add esp, 4
mov ecx, 9
lea edi, [ebp - 0x164]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x164]
mov edx, dword [ebp - 0x160]
mov eax, dword [ebp - 0x15c]
push ecx
mov ecx, dword [ebp - 0x158]
push edx
mov edx, dword [ebp - 0x154]
push eax
mov eax, dword [ebp - 0x150]
push ecx
inc edx
push edx
add eax, 0x76c
push eax
push str.__d__02d__02d__02d:_02d:_02d_
call fcn.00d9f6dc
add esp, 0x1c
push str._ERROR_
call fcn.00d9f6dc
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetProcessID_:_CreateToolhelp32Snapshot_is_failed_due_to_the_following_error_code__d__n
call fcn.00d9f6dc
call fcn.00d9e1f2
add eax, 0x20
push eax
call fcn.00d9ece2
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00d9c668
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x130]
push ecx
push esi
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0xd8bf43
call fcn.00d8d7d0
push str._ERROR_
call fcn.00d9f6dc
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetProcessID_:_Process32First_function_failed_:_d_n
call fcn.00d9f6dc
call fcn.00d9e1f2
add eax, 0x20
push eax
call fcn.00d9ece2
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00d9c668
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
lea esp, [esp]
push 0xf
lea edx, [ebp - 0x10c]
push str.explorer.exe
push edx
call fcn.00db3b19
add esp, 0xc
test eax, eax
jne 0xd8bf82
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x134]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
jne 0xd8bf92
lea edx, [ebp - 0x130]
push edx
push esi
call ebx
test eax, eax
jne 0xd8bf50
jmp 0xd8bf98
mov edi, dword [ebp - 0x128]
call fcn.00d8d7d0
push str._INFO_
call fcn.00d9f6dc
add esp, 4
push edi
push str.explorer.exe
push str.GetProcessID_:_Process_ID_for__s_is__d_n
call fcn.00d9f6dc
add esp, 0xc
call fcn.00d9e1f2
add eax, 0x20
push eax
call fcn.00d9ece2
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00d9c668
mov esp, ebp
pop ebp
ret
Function at 0xd8c4d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x2c
push ebx
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0xd8c581
push esi
push edi
push 0
call fcn.00da0839
lea ecx, [ebp - 8]
push ecx
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
call fcn.00da04db
mov esi, eax
mov ecx, 9
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
push edx
mov edx, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x18]
push edx
inc eax
push eax
add ecx, 0x76c
push ecx
push str.__d__02d__02d__02d:_02d:_02d_
call fcn.00d9f6dc
push str._INFO_
call fcn.00d9f6dc
mov edx, dword [ebp + 8]
push edx
push str.KillProcess_:_Process_with_processID___d_is_killed_succcessfully..._n
call fcn.00d9f6dc
call fcn.00d9e1f2
add eax, 0x20
push eax
call fcn.00d9ece2
add esp, 0x34
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xd8c7e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdb7800
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0xdc451c]
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 eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x94], ecx
xor ecx, ecx
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
mov dword [ebp - 4], ebx
mov edx, 0xdbd220
mov ecx, edi
lea esp, [esp]
mov si, word [ecx]
cmp si, word [edx]
jne 0xd8c866
cmp si, bx
je 0xd8c862
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0xd8c866
add ecx, 4
add edx, 4
cmp si, bx
jne 0xd8c840
xor ecx, ecx
jmp 0xd8c86b
sbb ecx, ecx
sbb ecx, 0xffffffff
cmp ecx, ebx
je 0xd8c941
xor edx, edx
mov ecx, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
lea esi, [ecx + 2]
jmp 0xd8c890
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0xd8c890
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [ebp - 0x48]
call fcn.00d95690
lea eax, [ebp - 0x48]
push eax
mov eax, 0xdbe080
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.00d98cf0
push eax
mov eax, edi
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call fcn.00d98cf0
add esp, 8
mov edi, eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00d92cd0
mov esi, 8
cmp dword [ebp - 0x6c], esi
jb 0xd8c8f3
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00d9c65d
add esp, 4
xor edx, edx
mov edi, 7
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
cmp dword [ebp - 0x50], esi
jb 0xd8c915
mov eax, dword [ebp - 0x64]
push eax
call fcn.00d9c65d
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
cmp dword [ebp - 0x34], esi
jb 0xd8c932
mov edx, dword [ebp - 0x48]
push edx
call fcn.00d9c65d
add esp, 4
cmp dword [ebp - 0x18], esi
jb 0xd8c93c
mov eax, dword [ebp - 0x2c]
jmp 0xd8c946
lea eax, [ebp - 0x2c]
jmp 0xd8c946
mov esi, 8
lea ecx, [ebp - 0x84]
push ecx
push 0x20219
push ebx
push eax
push 0x80000002
mov dword [ebp - 0x8c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xd8c9d5
mov ecx, dword [ebp - 0x94]
lea edx, [ebp - 0x8c]
push edx
mov edx, dword [ebp - 0x84]
lea eax, [ebp - 0x90]
push eax
push ebx
push ebx
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0xd8c9c8
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x88]
push edx
mov dword [ecx], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], esi
jb 0xd8c9c1
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00d9c65d
add esp, 4
mov eax, 1
jmp 0xd8c9e8
mov ecx, dword [ebp - 0x84]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], esi
jb 0xd8c9e6
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00d9c65d
add esp, 4
xor eax, eax
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.00d9c668
mov esp, ebp
pop ebp
ret
Function at 0xd915a0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdb7d07
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0xdc451c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [edi], 0xdbf218
mov dword [edi + 0x10], 0xdbf2b8
mov dword [edi + 0x70], 0xdbf10c
lea esi, [edi + 0x18]
push esi
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0x10], 1
call fcn.00d92f60
mov dword [ebp - 4], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], 0xdbf214
call fcn.00d953c0
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], 0xdbf1c4
mov byte [esi + 0x50], bl
mov byte [esi + 0x49], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0xdc6e1c]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x44], ebx
mov eax, edi
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 0xd93530
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdb7048
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0xdc451c]
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 [ebx + 0x44], 0
je 0xd936c1
cmp byte [ebx + 0x49], 0
je 0xd936c1
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, ebx
call edx
cmp eax, 0xffffffff
je 0xd936b5
lea esi, [ebp - 0x2c]
call fcn.00d927f0
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0xd935a3
lea edx, [ebp - 0x2c]
mov eax, edx
mov ecx, dword [ebx + 0x44]
mov esi, dword [ecx]
lea edi, [ebp - 0x30]
push edi
mov edi, dword [ebp - 0x1c]
add edi, edx
push edi
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0xd935dc
dec eax
je 0xd935e0
sub eax, 2
lea ecx, [ebp - 0x2c]
je 0xd936bc
call fcn.00d8f1b0
xor al, al
jmp 0xd936c3
mov byte [ebx + 0x49], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0xd935f0
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0xd9361d
cmp edi, 0x10
jae 0xd935ff
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x54]
push ecx
push esi
push 1
push eax
call fcn.00d9ffe6
add esp, 0x10
cmp esi, eax
jne 0xd936ad
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [ebx + 0x49], 0
je 0xd936b9
test esi, esi
jne 0xd93597
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, ecx
cmp edx, 8
jbe 0xd936de
lea esi, [ecx + 8]
cmp esi, 0xfffffffe
ja 0xd936de
cmp edi, esi
jae 0xd93696
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00d971a0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
test esi, esi
je 0xd93597
mov ecx, eax
cmp edi, 0x10
jae 0xd93672
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
jae 0xd9368d
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0xd93591
test esi, esi
jne 0xd93668
mov dword [ebp - 0x1c], esi
cmp edi, 0x10
jae 0xd936a5
lea eax, [ebp - 0x2c]
mov byte [eax], 0
jmp 0xd93591
lea ecx, [ebp - 0x2c]
call fcn.00d8f1b0
xor al, al
jmp 0xd936c3
lea ecx, [ebp - 0x2c]
call fcn.00d8f1b0
mov al, 1
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.00d9c668
mov esp, ebp
pop ebp
ret
push 0xdbf08c
call fcn.00d9b228
int3
Function at 0xd93a00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdb7048
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0xdc451c]
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 [ebx + 0x44], 0
je 0xd93b9c
cmp byte [ebx + 0x4a], 0
je 0xd93b9c
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffff
mov ecx, ebx
call edx
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0xd93b90
lea esi, [ebp - 0x2c]
call fcn.00d927f0
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0xd93a7e
lea edx, [ebp - 0x2c]
mov eax, edx
mov ecx, dword [ebx + 0x44]
mov esi, dword [ecx]
lea edi, [ebp - 0x30]
push edi
mov edi, dword [ebp - 0x1c]
add edi, edx
mov edx, dword [esi + 0x18]
push edi
push eax
lea eax, [ebx + 0x4c]
push eax
call edx
sub eax, 0
je 0xd93ab7
dec eax
je 0xd93abb
sub eax, 2
lea ecx, [ebp - 0x2c]
je 0xd93b97
call fcn.00d8f1b0
xor al, al
jmp 0xd93b9e
mov byte [ebx + 0x4a], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0xd93acb
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0xd93af8
cmp edi, 0x10
jae 0xd93ada
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x54]
push ecx
push esi
push 1
push eax
call fcn.00d9ffe6
add esp, 0x10
cmp esi, eax
jne 0xd93b88
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [ebx + 0x4a], 0
je 0xd93b94
test esi, esi
jne 0xd93a72
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, ecx
cmp edx, 8
jbe 0xd93bb9
lea esi, [ecx + 8]
cmp esi, 0xfffffffe
ja 0xd93bb9
cmp edi, esi
jae 0xd93b71
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00d971a0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
test esi, esi
je 0xd93a72
mov ecx, eax
cmp edi, 0x10
jae 0xd93b4d
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
jae 0xd93b68
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0xd93a6c
test esi, esi
jne 0xd93b43
mov dword [ebp - 0x1c], esi
cmp edi, 0x10
jae 0xd93b80
lea eax, [ebp - 0x2c]
mov byte [eax], 0
jmp 0xd93a6c
lea ecx, [ebp - 0x2c]
call fcn.00d8f1b0
xor al, al
jmp 0xd93b9e
lea ecx, [ebp - 0x2c]
call fcn.00d8f1b0
mov al, 1
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.00d9c668
mov esp, ebp
pop ebp
ret
push 0xdbf08c
call fcn.00d9b228
int3
Function at 0xd953c0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdb6e0b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0xdc451c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], 0xdbf114
call fcn.00d9b79e
push 4
mov dword [ebp - 4], 0
call fcn.00da088a
mov edi, eax
add esp, 4
test edi, edi
je 0xd9543c
call fcn.00d9b676
mov dword [edi], eax
call fcn.00d9b435
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00d9b75f
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0xd95432
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.00d9b787
jmp 0xd9543e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
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 0xd954b0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdb6e0b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0xdc451c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], 0xdbf22c
call fcn.00d9b79e
push 4
mov dword [ebp - 4], 0
call fcn.00da088a
mov edi, eax
add esp, 4
test edi, edi
je 0xd9552c
call fcn.00d9b676
mov dword [edi], eax
call fcn.00d9b435
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00d9b75f
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0xd95522
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.00d9b787
jmp 0xd9552e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
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 0xd9c668
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0xdc451c]
jne 0xd9c672
repz ret
jmp fcn.00da3de4
Function at 0xdb116f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0xdc451c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00da4907
and dword [ebp - 0x14], 0
cmp dword [0xdc6cf4], 0
mov dword [ebp - 0x18], eax
jne 0xdb1222
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0xdb12ca
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0xdb12ca
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0xdc6cf4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0xdc6cf8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0xdc6cfc], eax
call edi
push eax
call esi
mov dword [0xdc6d04], eax
test eax, eax
je 0xdb1222
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0xdc6d00], eax
mov eax, dword [0xdc6d00]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0xdb127b
cmp dword [0xdc6d04], ecx
je 0xdb127b
push eax
call esi
push dword [0xdc6d04]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0xdb127b
test ebx, ebx
je 0xdb127b
call edi
test eax, eax
je 0xdb1272
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0xdb1272
test byte [ebp - 8], 1
jne 0xdb127b
or dword [ebp + 0x10], 0x200000
jmp 0xdb12ae
mov eax, dword [0xdc6cf8]
cmp eax, dword [ebp - 0x18]
je 0xdb12ae
push eax
call esi
test eax, eax
je 0xdb12ae
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0xdb12ae
mov eax, dword [0xdc6cfc]
cmp eax, dword [ebp - 0x18]
je 0xdb12ae
push eax
call esi
test eax, eax
je 0xdb12ae
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0xdc6cf4]
call esi
test eax, eax
je 0xdb12ca
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0xdb12cc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00d9c668
leave
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0xa691b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00a69140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00a69140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00a69140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00a69140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xa69bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xa69c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xa7b87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xa69c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xa69c52
xor eax, eax
pop esi
leave
ret 4