joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52fca8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x52fd62
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404798
mov eax, dword [0x54808c]
cmp byte [eax], 0
je 0x52fd17
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404bec
mov eax, dword [ebx]
call fcn.00404924
push eax
mov eax, dword [ebx]
call fcn.00404914
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404924
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404bec
jmp 0x52fd49
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00408fec
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404904
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52fd69
lea eax, [ebp - 0x3f0]
call fcn.0040408c
ret

Function at 0x52fd70
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.00408fec
add esp, 0x3ec
pop ebx
ret

Function at 0x52ff30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov esi, edx
mov ebp, eax
mov edx, esi
mov eax, dword [ebp + 0x3c]
call dword [ebp + 0x38]
cmp dword [esi + 0xc], 0
jne 0x52fff6
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.004554e4
mov ebx, eax
mov dx, word [esi + 4]
mov eax, ebp
call fcn.0052fbec
mov edi, eax
test edi, edi
je 0x52ff8f
mov al, byte [0x530004]
cmp al, bl
jne 0x52ff8f
mov edx, edi
mov eax, ebp
call fcn.0052fb24
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x52fff6
cmp byte [ebp + 0x161], 2
jne 0x52ffba
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x54850c]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov edx, 0xb006
call fcn.0043f864
test eax, eax
jne 0x52fff6
jmp 0x52fff1
mov edx, dword [0x5483d8]
mov edx, dword [edx]
mov edx, dword [edx + 0x44]
mov eax, dword [ebp + 0x128]
cmp edx, eax
je 0x52fff1
test byte [eax + 0x2f4], 8
jne 0x52fff1
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x5483d8]
mov eax, edx
mov edx, 0xb006
call fcn.0043f864
xor eax, eax
mov dword [esi + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x535f5c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [0x54850c]
mov eax, dword [eax]
cmp dword [eax + 0x64], 0
jne 0x536002
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x535fa1
cmp eax, dword [esp]
pop edx
pop eax
jae 0x535fdd
jmp 0x535fa5
pop edx
pop eax
jge 0x535fdd
mov eax, dword [0x54850c]
mov eax, dword [eax]
mov dword [eax + 0x44], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00530d1c
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x536002
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x536002
cmp dword [ebx + 0x11c], 0
je 0x536002
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.0042ee54
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x540be4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x540d55
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x9c], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x540d3a
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.00408fec
mov dl, 1
mov eax, dword [0x518c80]
call fcn.00518cd8
mov edx, dword [ebp - 4]
mov dword [edx + 0x94], eax
mov dl, 1
mov eax, dword [0x41686c]
call fcn.004031e8
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x98]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.00518d54
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x540d37
mov dl, 1
mov eax, dword [0x51a0a8]
call fcn.0051a110
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
mov edx, 0x540d6c
call fcn.00519318
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404398
xor eax, eax
push ebp
push 0x540d30
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.0051a410
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00540d74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x540d37
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.00403218
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00403218
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00403218
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x540d5c
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004040b0
ret
Function at 0x44cd3c
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x46ab5c]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0044cc7b
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x44cd8b
cmp dword [ebp - 0x1c], 5
jb 0x44cda3
jmp 0x44cd9f
cmp dword [ebp - 0x10], 1
jne 0x44cda3
cmp dword [ebp - 0x1c], 4
ja 0x44cd9f
jne 0x44cda3
cmp dword [ebp - 0x18], 0
jbe 0x44cda3
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x45d9a4
call fcn.0044cb11
test eax, eax
jge 0x44cdc4
mov byte [0x46ac78], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0044be2c
add ebp, 0x78
leave
ret

Function at 0x401260
Capabilities:
Hide graphical window

Disassembly:
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [0x403100], eax
push esp
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov esi, dword [esp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x4030f4], eax
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x40128d
push esp
mov dword [ebp - 0x24], 0x401330
mov eax, dword [0x4030f4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], str.wookernof
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x4030f4]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.tofkol
push str.wookernof
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403104], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x40132c
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call esi
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x40130d
pop ebp
ret 0x10
Function at 0x100010c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x100010d7
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10001108
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x10001104
cmp esi, eax
jae 0x10001108
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x100010f4
cmp esi, eax
jb 0x1000110e
pop esi
pop edi
xor eax, eax
pop ebp
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x100011d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1000f408
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10014020]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor ebx, ebx
lea esi, [esp + 0x1c]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.10002710
push 1
mov ecx, esi
mov dword [esp + 0x48], eax
call fcn.10002790
mov dword [esp + 0x50], ebx
mov eax, dword [0x10015174]
mov edx, dword [eax + 0xc]
mov ecx, 0x10015174
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x50], 1
mov eax, dword [0x10015174]
mov edx, dword [eax + 0xc]
mov ecx, 0x10015174
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, str.desktopcal.exe
mov edi, esi
mov byte [esp + 0x50], 2
call fcn.10002530
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call esi
mov ecx, str.desktopcal.exe
xor ebp, ebp
call fcn.10002390
test eax, eax
je 0x100012ab
lea ebx, [ebx]
add ebp, 1
cmp ebp, 3
jg 0x100012ab
push 0x1f4
call esi
mov ecx, str.desktopcal.exe
lea edi, [esp + 0x1c]
call fcn.10002530
mov ecx, str.desktopcal.exe
call fcn.10002390
test eax, eax
jne 0x10001280
mov ecx, str.dkreport.exe
lea edi, [esp + 0x1c]
xor ebp, ebp
call fcn.10002530
push 0x1f4
call esi
mov ecx, str.dkreport.exe
call fcn.10002390
test eax, eax
je 0x100012fb
add ebp, 1
cmp ebp, 3
jg 0x100012fb
push 0x1f4
call esi
mov ecx, str.dkreport.exe
lea edi, [esp + 0x1c]
call fcn.10002530
mov ecx, str.dkreport.exe
call fcn.10002390
test eax, eax
jne 0x100012d0
mov ecx, str.dkupdate.exe
lea edi, [esp + 0x1c]
xor ebp, ebp
call fcn.10002530
push 0x1f4
call esi
mov ecx, str.dkupdate.exe
call fcn.10002390
test eax, eax
je 0x1000134b
add ebp, 1
cmp ebp, 3
jg 0x1000134b
push 0x1f4
call esi
mov ecx, str.dkupdate.exe
lea edi, [esp + 0x1c]
call fcn.10002530
mov ecx, str.dkupdate.exe
call fcn.10002390
test eax, eax
jne 0x10001320
mov byte [esp + 0x50], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10001370
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x50], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10001394
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x50], 0xffffffff
call fcn.10002320
mov eax, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
Function at 0x10001670
Capabilities:
Get token membership

Disassembly:
sub esp, 0x14
mov eax, dword [0x10014020]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
xor ebx, ebx
lea eax, [esp + 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
cmp eax, ebx
mov dword [esp + 4], eax
je 0x100016e1
mov eax, dword [esp + 8]
lea edx, [esp + 4]
push edx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x14]
xor edx, edx
cmp eax, 1
sete dl
pop ebx
xor ecx, esp
mov al, dl
call fcn.10003262
add esp, 0x14
ret
Function at 0x10001990
Capabilities:
Check os version
Create process on windows

Disassembly:
sub esp, 0x364
mov eax, dword [0x10014020]
xor eax, esp
mov dword [esp + 0x360], eax
push 0x11c
lea eax, [esp + 0x40]
push 0
push eax
call fcn.10003830
add esp, 0xc
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x40], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x40], 6
jb 0x10001abe
call fcn.10001670
test al, al
jne 0x10001abe
call fcn.10001700
test eax, eax
jne 0x10001abe
push 0x206
push eax
lea edx, [esp + 0x162]
push edx
mov word [esp + 0x164], ax
call fcn.10003830
add esp, 0xc
push 0x206
lea eax, [esp + 0x15c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x158]
call fcn.10001610
test eax, eax
je 0x10001abe
push 0x38
lea ecx, [esp + 8]
push 0
push ecx
call fcn.10003830
add esp, 0xc
lea eax, [esp]
lea edx, [esp + 0x158]
push eax
mov dword [esp + 4], 0x3c
mov dword [esp + 8], 0x40
mov dword [esp + 0x10], 0x10011dcc
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x10001a98
xor eax, eax
mov ecx, dword [esp + 0x360]
xor ecx, esp
call fcn.10003262
add esp, 0x364
ret
mov ecx, dword [0x100150a0]
mov eax, ecx
sub ecx, 1
mov dword [0x100150a0], ecx
mov ecx, dword [esp + 0x360]
xor ecx, esp
call fcn.10003262
add esp, 0x364
ret
mov ecx, dword [esp + 0x360]
xor ecx, esp
mov eax, 0xc8
call fcn.10003262
add esp, 0x364
ret

Function at 0x10002320
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov ebx, eax
xor esi, esi
cmp dword [ebx + 0x18], esi
push edi
je 0x10002359
mov edi, dword [ebx + 0x14]
lea eax, [esp + 0x10]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x10002359
push esi
lea esi, [esp + 0x14]
call fcn.100028a0
xor esi, esi
mov eax, dword [ebx + 0x14]
cmp eax, esi
je 0x1000236a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x14], esi
cmp dword [ebx + 0x28], esi
je 0x10002388
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], esi
mov ebx, dword [ebx + 0x24]
cmp ebx, esi
je 0x10002388
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002530
Capabilities:
Find taskbar
Terminate process

Disassembly:
mov eax, 0x241c
call fcn.1000dfb0
mov eax, dword [0x10014020]
xor eax, esp
mov dword [esp + 0x2418], eax
cmp dword [edi + 0x28], 0
push esi
mov esi, ecx
jne 0x1000257d
push 0x10
push 0x10011dd8
push str.m_bLoadPSAPIRoutinesSucc__FALSE
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2418]
xor ecx, esp
call fcn.10003262
add esp, 0x241c
ret
test esi, esi
je 0x10002565
push 0x208
lea eax, [esp + 0x2010]
push 0
push eax
mov dword [esp + 0x10], 0
call fcn.10003830
push 0x1000
lea ecx, [esp + 0x101c]
push 0
push ecx
call fcn.10003830
push 0x1000
lea edx, [esp + 0x28]
push 0
push edx
call fcn.10003830
push esi
push 0x10011e24
push 0xffffffffffffffff
lea eax, [esp + 0x2244]
push 0x103
push eax
mov dword [esp + 0x40], 0x400
call fcn.10003271
mov eax, dword [edi]
add esp, 0x38
lea ecx, [esp + 8]
push ecx
push 0x400
lea edx, [esp + 0x1014]
push edx
call eax
test eax, eax
je 0x100026ed
push ebp
mov ebp, dword [esp + 0xc]
shr ebp, 2
js 0x100026ec
push ebx
mov ebx, dword [sym.imp.USER32.dll_UpdateWindow]
lea ebx, [ebx]
push 0x208
lea ecx, [esp + 0x2018]
push 0
push ecx
call fcn.10003830
mov edx, dword [esp + ebp*4 + 0x1020]
add esp, 0xc
push edx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x100026e2
mov edx, dword [edi + 4]
lea eax, [esp + 0x10]
push eax
push 0x1000
lea ecx, [esp + 0x1c]
push ecx
push esi
call edx
test eax, eax
je 0x100026d4
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 8]
push 0x104
lea eax, [esp + 0x2018]
push eax
push ecx
push esi
call edx
test eax, eax
jbe 0x100026d4
lea eax, [esp + 0x2014]
push eax
lea ecx, [esp + 0x2220]
push ecx
call fcn.10003421
add esp, 8
test eax, eax
jne 0x100026d4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x100026bb
mov dword [esp + 0xc], 1
push str.Shell_TrayWnd
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
call ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0xc], 0
jne 0x100026eb
sub ebp, 1
jns 0x10002620
pop ebx
pop ebp
mov ecx, dword [esp + 0x241c]
mov eax, dword [esp + 4]
pop esi
xor ecx, esp
call fcn.10003262
add esp, 0x241c
ret
Function at 0x10002710
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push str.PSAPI.DLL
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [esi + 0x24], eax
je 0x10002789
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.EnumProcesses
push eax
call edi
mov dword [esi], eax
mov eax, dword [esi + 0x24]
push str.EnumProcessModules
push eax
call edi
mov ecx, dword [esi + 0x24]
push str.GetModuleBaseNameW
push ecx
mov dword [esi + 4], eax
call edi
mov edx, dword [esi + 0x24]
push str.EnumDeviceDrivers
push edx
mov dword [esi + 8], eax
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x24]
push str.GetDeviceDriverBaseNameW
push eax
call edi
cmp dword [esi], ebx
mov dword [esi + 0x10], eax
pop edi
je 0x10002789
cmp dword [esi + 4], ebx
je 0x10002789
cmp dword [esi + 0xc], ebx
je 0x10002789
cmp dword [esi + 8], ebx
je 0x10002789
test eax, eax
lea eax, [ebx + 1]
jne 0x1000278b
mov eax, ebx
pop ebx
ret

Function at 0x10002790
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov ebx, ecx
je 0x10002847
cmp dword [ebx + 0x14], 0
lea esi, [ebx + 0x14]
je 0x100027b8
push 0
call fcn.10002790
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push esi
push 0
push 0x28
call edi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x10002807
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
jne 0x10002894
push 2
call dword [sym.imp.ADVAPI32.dll_ImpersonateSelf]
test eax, eax
je 0x10002894
push esi
push 0
push 0x28
call edi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
je 0x10002894
mov edi, dword [esi]
test edi, edi
je 0x10002894
lea eax, [esp + 0x10]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x10002894
push 1
lea esi, [esp + 0x14]
call fcn.100028a0
test eax, eax
je 0x10002894
mov eax, 1
mov dword [ebx + 0x18], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [ebx + 0x18], 0
je 0x10002871
mov edi, dword [ebx + 0x14]
lea ecx, [esp + 0x10]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x10002871
push 0
lea esi, [esp + 0x14]
call fcn.100028a0
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x10002886
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x14], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10002c40
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x10014020]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.10002b7f
mov eax, 0x10000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.10003830
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x10002c8f
cmp dword [ebp - 0x1c], 5
jb 0x10002ca7
jmp 0x10002ca3
cmp dword [ebp - 0x10], 1
jne 0x10002ca7
cmp dword [ebp - 0x1c], 4
ja 0x10002ca3
jne 0x10002ca7
cmp dword [ebp - 0x18], 0
jbe 0x10002ca7
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x1001022c
call fcn.10002a15
test eax, eax
jge 0x10002cc8
mov byte [0x10015c5c], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10003262
add ebp, 0x78
leave
ret

Function at 0x10003262
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10014020]
jne 0x1000326c
repz ret
jmp fcn.10005178
Function at 0x1000a676
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x1000a6b1
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x1000a698
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x1000a6a9
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x1000a6b3
inc edi
add eax, 0x28
cmp edi, esi
jb 0x1000a68e
xor eax, eax
pop edi
pop esi
ret
Function at 0x1000b597
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.1000a646
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1000a5fb
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.1000a636
test dword [edi + ebp], 0x104686f
add byte [eax], al
lea eax, [ebp - 0x12c]
push eax
call dword [ebp - 0x3d4]
mov dword [ebp - 0x28], eax
call fcn.1000a636
pushfd
rol byte [ecx + 0x6d], 0x80
loopne 0x1000b654
and byte [ebp - 0x1f], 0
mov byte [ebp - 0x1e], 0x1d
and byte [ebp - 0x1d], 0
mov byte [ebp - 0x1c], 0xa5
mov byte [ebp - 0x1b], 0x87
mov byte [ebp - 0x1a], 0x96
mov byte [ebp - 0x19], 0xb6
mov byte [ebp - 0x18], 0x87
mov byte [ebp - 0x17], 0x8f
mov byte [ebp - 0x16], 0x92
mov byte [ebp - 0x15], 0xb2
mov byte [ebp - 0x14], 0x83
mov byte [ebp - 0x13], 0x96
mov byte [ebp - 0x12], 0x8a
mov byte [ebp - 0x11], 0xa3
mov byte [ebp - 0x10], 0xe2
lea eax, [ebp - 0x20]
push eax
call fcn.1000a646
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1000a5fb
add esp, 0xc
mov dword [ebp - 0x370], eax
lea eax, [ebp - 0x654]
push eax
push 0x104
call dword [ebp - 0x370]
mov dword [ebp - 0x550], eax
mov eax, dword [ebp - 0x28]
movsx eax, byte [ebp + eax - 0x12d]
cmp eax, 0x5c
jne 0x1000b6e2
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x550]
movsx eax, byte [ebp + eax - 0x655]
cmp eax, 0x5c
jne 0x1000b702
mov eax, dword [ebp - 0x550]
dec eax
mov dword [ebp - 0x550], eax
and dword [ebp - 0x338], 0
and dword [ebp - 0x3d0], 0
jmp 0x1000b71f
mov eax, dword [ebp - 0x3d0]
inc eax
mov dword [ebp - 0x3d0], eax
cmp dword [ebp - 0x3d0], 0x104
jge 0x1000b786
mov eax, dword [ebp - 0x3d0]
movsx eax, byte [ebp + eax - 0x334]
and eax, 0x80
test eax, eax
je 0x1000b751
mov eax, dword [ebp - 0x3d0]
inc eax
mov dword [ebp - 0x3d0], eax
jmp 0x1000b784
mov eax, dword [ebp - 0x3d0]
movsx eax, byte [ebp + eax - 0x334]
cmp eax, 0x5c
jne 0x1000b770
mov eax, dword [ebp - 0x3d0]
mov dword [ebp - 0x338], eax
mov eax, dword [ebp - 0x3d0]
movsx eax, byte [ebp + eax - 0x334]
test eax, eax
jne 0x1000b784
jmp 0x1000b786
jmp 0x1000b712
mov eax, dword [ebp - 0x670]
add eax, dword [ebp - 0x384]