joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401280
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x419288]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x30]
cmp eax, 0xffffffff
je 0x401487
push 0xb
push eax
call fcn.00403023
add esp, 8
push 0x417594
push eax
call fcn.00403325
add esp, 4
push eax
call fcn.004036a3
push 0
push 4
push 0
push eax
mov dword [0x41b340], eax
call fcn.00402bae
call fcn.004028ce
add eax, 0x20
push eax
call fcn.00402cdb
add esp, 0x1c
test eax, eax
jns 0x40140a
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x104]
push str..pipeSkyXEngineConsoleStdout__u__u
push eax
call fcn.00402168
add esp, 0x10
lea eax, [ebp - 0x104]
push 0
push 0
push 0
push 0
push 0xff
push 1
push 3
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov esi, eax
call fcn.004028ce
add eax, 0x20
push eax
lea eax, [ebp - 0x104]
push 0x4175c0
push eax
call fcn.004032b4
call fcn.004028ce
add eax, 0x20
push eax
call fcn.00402cdb
add esp, 0x10
push eax
push dword [0x41b340]
call fcn.00402cdb
add esp, 4
push eax
call fcn.00401eac
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x104]
push str..pipeSkyXEngineConsoleStderr__u__u
push eax
call fcn.00402168
add esp, 0x10
lea eax, [ebp - 0x104]
push 0
push 0
push 0
push 0
push 0xff
push 1
push 3
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov esi, eax
call fcn.004028ce
add eax, 0x40
push eax
lea eax, [ebp - 0x104]
push 0x4175c0
push eax
call fcn.004032b4
call fcn.004028ce
add eax, 0x40
push eax
call fcn.00402cdb
add esp, 0x10
push eax
push dword [0x41b340]
call fcn.00402cdb
add esp, 4
push eax
call fcn.00401eac
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
jmp 0x401459
call fcn.004028ce
add eax, 0x20
push eax
call fcn.00402cdb
add esp, 4
push eax
push dword [0x41b340]
call fcn.00402cdb
add esp, 4
push eax
call fcn.00401eac
call fcn.004028ce
add eax, 0x40
push eax
call fcn.00402cdb
add esp, 0xc
push eax
push dword [0x41b340]
call fcn.00402cdb
add esp, 4
push eax
call fcn.00401eac
add esp, 8
push 0
push 4
push 0
call fcn.004028ce
add eax, 0x20
push eax
call fcn.00402bae
add esp, 0x10
push 0
push 4
push 0
call fcn.004028ce
add eax, 0x40
push eax
call fcn.00402bae
add esp, 0x10
mov ecx, dword [ebp - 4]
mov eax, 0x41b340
xor ecx, ebp
call fcn.00401e9d
mov esp, ebp
pop ebp
ret 4
Function at 0x40c71e
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419288]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004072b5
mov dword [ebp - 0x14], eax
cmp dword [0x41b2d4], esi
jne 0x40c811
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40c79e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40c8f1
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40c8f1
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c8f1
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x41b2d4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x41b2d8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x41b2dc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41b2e4], eax
test eax, eax
je 0x40c80e
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41b2e0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40c836
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40c829
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40c84b
push 4
pop eax
jmp 0x40c8f3
cmp dword [ebp - 0x14], esi
je 0x40c84b
push dword [0x41b2d4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40c830
mov eax, dword [0x41b2e0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40c8a9
cmp dword [0x41b2e4], edi
je 0x40c8a9
push eax
call ebx
push dword [0x41b2e4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40c8a9
test eax, eax
je 0x40c8a9
call ecx
test eax, eax
je 0x40c89e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40c89e
test byte [ebp - 8], 1
jne 0x40c8a9
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40c8d9
mov eax, dword [0x41b2d8]
cmp eax, edi
je 0x40c8d6
push eax
call ebx
test eax, eax
je 0x40c8d6
call eax
mov esi, eax
test esi, esi
je 0x40c8d6
mov eax, dword [0x41b2dc]
cmp eax, edi
je 0x40c8d6
push eax
call ebx
test eax, eax
je 0x40c8d6
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x41b2d4]
call ebx
test eax, eax
je 0x40c8f1
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40c8f3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401e9d
mov esp, ebp
pop ebp
ret
Function at 0x42b5c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x22000]
push edi
jmp 0x42b5da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42b5e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42b5d0
mov eax, 1
add ebx, ebx
jne 0x42b5f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42b5e8
jne 0x42b604
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42b5e8
xor ecx, ecx
sub eax, 3
jb 0x42b618
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42b68a
mov ebp, eax
add ebx, ebx
jne 0x42b623
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42b630
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42b654
inc ecx
add ebx, ebx
jne 0x42b640
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42b635
jne 0x42b651
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42b635
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42b674
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42b665
jmp 0x42b5d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42b674
add edi, ecx
jmp 0x42b5d6
pop esi
mov edi, esi
mov ecx, 0x111d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42b692
cmp byte [edi], 5
jne 0x42b692
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 0x42b697
lea edi, [esi + 0x29000]
mov eax, dword [edi]
or eax, eax
je 0x42b70f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2d048]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2d084]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42b6c4
mov ecx, edi
jns 0x42b6f3
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 + 0x2d08c]
or eax, eax
je 0x42b709
mov dword [ebx], eax
add ebx, 4
jmp 0x42b6e1
call dword [esi + 0x2d088]
mov ebp, dword [esi + 0x2d090]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
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 0x42b743
sub esp, 0xffffff80
jmp 0x40250c

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x7f70b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.007f7200
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x7f70d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7f70c2
add dl, dl
jne 0x7f70e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7f7134
xor eax, eax
add dl, dl
jne 0x7f70ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7f71d5
add dl, dl
jne 0x7f70fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7f7108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7f7113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7f711e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x7f712a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x7f70cd
mov eax, 1
add dl, dl
jne 0x7f7142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7f714d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7f7139
sub eax, ebx
mov ebx, 1
jne 0x7f7180
mov ecx, 1
add dl, dl
jne 0x7f7166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x7f7171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7f715d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7f70cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x7f7197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x7f71a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7f718e
cmp eax, 0x7d00
jae 0x7f71c5
cmp eax, 0x500
jb 0x7f71c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7f70cd
cmp eax, 0x7f
ja 0x7f71c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7f70cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x7f71f6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x7f70cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4099a4
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409a77
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409a90
push ebx
push 0x409a9c
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409a24
mov al, 0x69
call fcn.00409648
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409978
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a2d
call fcn.00409978
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409a7e
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409b30
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
jmp 0x409bd9
cmp dword [esi + 0x10], 0x1000
jne 0x409bc5
test byte [esi + 0x15], 1
jne 0x409bc5
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409b84
cmp eax, 2
je 0x409b84
cmp eax, 0x10
je 0x409b84
cmp eax, 0x20
jne 0x409b99
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409b99
mov bl, 1
xor ebp, ebp
jmp 0x409baa
mov eax, dword [esi]
add eax, ebp
call fcn.00409b28
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409b9d
test bl, bl
je 0x409bc5
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409b5c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

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

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

Disassembly:
push ebp
push ebx
mov edx, 0x10e
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x416588
call fcn.00430620
mov edx, dword [esp + 0x448]
lea ecx, [esp]
call fcn.0041b000
mov dword [0x4b7001], 0x4000096
mov dword [0x4b7001], 0x400009a
push dword [esp + 0x444]
push 0x18
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [esp + 0x42c], eax
mov dword [0x4b7001], 0x400009b
cmp dword [esp + 0x42c], 0
je 0x416705
mov dword [0x4b7001], 0x400009c
lea ebp, [esp + 4]
mov dword [ebp], 0x428
mov dword [0x4b7001], 0x400009d
lea eax, [esp + 4]
push eax
push dword [esp + 0x430]
call sub.KERNEL32.dll_Module32FirstW
mov dword [esp + 0x430], eax
mov dword [0x4b7001], 0x400009e
cmp dword [esp + 0x430], 0
je 0x4166ef
mov dword [0x4b7001], 0x400009f
push edx
call fcn.00430480
pop edx
push eax
push 1
push 1
push dword [esp + 0xc]
push edx
call fcn.00430480
pop edx
push eax
push edx
call fcn.00430480
pop edx
push eax
lea ebp, [esp + 0x1c]
lea eax, [ebp + 0x20]
push eax
call fcn.0042f530
call fcn.0041b2b2
add dword [esp], edx
call fcn.0042e540
call fcn.0041b2d0
and eax, eax
je 0x4166b4
mov dword [0x4b7001], 0x40000a0
lea ebp, [esp + 4]
push dword [ebp + 0x14]
pop eax
mov dword [esp + 0x434], eax
mov dword [0x4b7001], 0x40000a1
jmp 0x4166ef
mov dword [0x4b7001], 0x40000a2
mov dword [0x4b7001], 0x40000a3
lea eax, [esp + 4]
push eax
push dword [esp + 0x430]
call sub.KERNEL32.dll_Module32NextW
mov dword [esp + 0x430], eax
mov dword [0x4b7001], 0x40000a4
jmp 0x416624
mov dword [0x4b7001], 0x40000a5
push dword [esp + 0x42c]
call sub.KERNEL32.dll_CloseHandle
mov dword [0x4b7001], 0x40000a6
mov dword [0x4b7001], 0x40000a8
mov eax, dword [esp + 0x434]
jmp 0x41672e
push dword [esp]
call fcn.00430680
add esp, 0x438
pop ebx
pop ebp
ret 8
Function at 0x4175c8
Capabilities:
Get system information on windows

Disassembly:
push ebp
push ebx
mov edx, 0xd
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x4175cf
call fcn.00430620
mov dword [0x4b7001], 0x400007f
mov dword [0x4b7001], 0x4000081
mov dword [esp + 0x30], 0
mov dword [0x4b7001], 0x4000083
lea eax, [esp + 0xc]
push eax
call sub.KERNEL32.dll_GetNativeSystemInfo
mov dword [0x4b7001], 0x4000084
lea ebp, [esp + 0xc]
movsx ebx, word [ebp]
cmp ebx, 9
jne 0x417701
mov dword [0x4b7001], 0x4000085
mov eax, str.IsWow64Process
push eax
mov eax, str.kernel32.dll
push eax
call fcn.004174d0
mov dword [esp], eax
mov dword [0x4b7001], 0x4000086
cmp dword [esp], 0
je 0x4176f7
mov dword [0x4b7001], 0x4000087
push dword [esp + 0x40]
push 0
push 0x400
call sub.KERNEL32.dll_OpenProcess
mov dword [esp + 8], eax
mov dword [0x4b7001], 0x4000088
cmp dword [esp + 8], 0
je 0x4176ed
mov dword [0x4b7001], 0x4000089
lea eax, [esp + 4]
push eax
push dword [esp + 0xc]
push dword [esp + 8]
call fcn.0041dc25
mov dword [0x4b7001], 0x400008a
push dword [esp + 8]
call sub.KERNEL32.dll_CloseHandle
mov dword [0x4b7001], 0x400008b
mov ebx, dword [esp + 4]
and ebx, ebx
jne 0x4176e3
mov dword [0x4b7001], 0x400008c
mov dword [esp + 0x30], 1
mov dword [0x4b7001], 0x400008d
mov dword [0x4b7001], 0x400008e
mov dword [0x4b7001], 0x400008f
mov dword [0x4b7001], 0x4000090
mov dword [0x4b7001], 0x4000092
mov eax, dword [esp + 0x30]
jmp 0x417727
add esp, 0x34
pop ebx
pop ebp
ret 4

Function at 0x417952
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
push ebx
mov edx, 0xd
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x417959
call fcn.00430620
mov dword [0x4b7001], 0x15c
mov dword [0x4b7001], 0x15d
mov byte [esp], 0
mov dword [0x4b7001], 0x15f
lea eax, [esp + 4]
push eax
push 0x28
call sub.KERNEL32.dll_GetCurrentProcess
push eax
call sub.ADVAPI32.DLL_OpenProcessToken
and eax, eax
je 0x417a99
mov dword [0x4b7001], 0x160
lea eax, [esp + 8]
mov dword [0x4b7001], 0x162
lea eax, [esp + 8]
push eax
mov eax, str.SeDebugPrivilege
push eax
push 0
call sub.ADVAPI32.DLL_LookupPrivilegeValueW
and eax, eax
je 0x417a7c
mov dword [0x4b7001], 0x163
lea eax, [esp + 0x10]
mov dword [0x4b7001], 0x166
lea ebp, [esp + 0x10]
mov dword [ebp], 1
mov dword [0x4b7001], 0x167
lea ebp, [esp + 8]
push dword [ebp]
lea ebp, [esp + 0x14]
push ebp
pop ebp
pop eax
mov dword [ebp + 4], eax
mov dword [0x4b7001], 0x168
lea ebp, [esp + 8]
push dword [ebp + 4]
lea ebp, [esp + 0x14]
push ebp
pop ebp
pop eax
mov dword [ebp + 8], eax
mov dword [0x4b7001], 0x169
push ebp
pop ebp
mov dword [ebp + 0xc], 2
mov dword [0x4b7001], 0x16b
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x24]
push eax
push 0x10
lea eax, [esp + 0x1c]
push eax
push 0
push dword [esp + 0x18]
call sub.ADVAPI32.DLL_AdjustTokenPrivileges
push eax
pop eax
mov byte [esp], al
mov dword [0x4b7001], 0x16c
mov dword [0x4b7001], 0x16d
push dword [esp + 4]
call sub.KERNEL32.dll_CloseHandle
mov dword [0x4b7001], 0x16e
mov dword [0x4b7001], 0x16f
movsx eax, byte [esp]
movsx eax, al
jmp 0x417ac2
add esp, 0x34
pop ebx
pop ebp
ret
Function at 0x4188d8
Capabilities:
Get graphical window text

Disassembly:
push ebx
xor eax, eax
push eax
push eax
push eax
call fcn.00430620
mov edx, dword [esp + 0x14]
lea ecx, [esp]
call fcn.0041b000
mov dword [0x4b7001], 0x37e
mov dword [0x4b7001], 0x380
push 5
call sub.USER32.DLL_GetDesktopWindow
push eax
call sub.USER32.DLL_GetWindow
mov dword [esp + 4], eax
mov dword [0x4b7001], 0x381
cmp dword [esp + 4], 0
je 0x418a33
mov dword [0x4b7001], 0x382
push edx
call fcn.00430480
pop edx
push eax
push edx
call fcn.00430480
pop edx
push eax
push dword [esp + 0xc]
call sub.USER32.DLL_GetWindowTextLengthW
mov ebx, eax
add ebx, 2
push ebx
call fcn.0042ee70
lea eax, [esp + 0xc]
push eax
call fcn.00430520
mov dword [0x4b7001], 0x383
push dword [esp + 8]
call fcn.0042e620
push eax
push dword [esp + 0xc]
push dword [esp + 0xc]
call sub.USER32.DLL_GetWindowTextW
mov dword [0x4b7001], 0x384
push edx
call fcn.00430480
pop edx
push eax
push edx
call fcn.00430480
pop edx
push eax
push edx
call fcn.00430480
pop edx
push eax
push dword [esp + 0xc]
call fcn.0042efb0
call fcn.004305b0
push edx
call fcn.00430480
pop edx
push eax
push edx
call fcn.00430480
pop edx
push eax
push dword [esp + 0x18]
call fcn.0042efb0
call fcn.0041b2b2
add dword [esp], edx
call fcn.0041b2b2
add dword [esp + 4], edx
call fcn.0042e5c0
call fcn.0041b2d0
and eax, eax
je 0x4189fe
mov dword [0x4b7001], 0x385
mov eax, 1
jmp 0x418a4d
mov dword [0x4b7001], 0x386
mov dword [0x4b7001], 0x387
push 2
push dword [esp + 8]
call sub.USER32.DLL_GetWindow
mov dword [esp + 4], eax
mov dword [0x4b7001], 0x388
jmp 0x418917
mov dword [0x4b7001], 0x389
xor eax, eax
jmp 0x418a4d
push dword [esp]
call fcn.00430680
push dword [esp + 8]
call fcn.00430680
add esp, 0xc
pop ebx
ret 4
Function at 0x418b0a
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov edx, 0x10d
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x418b10
call fcn.00430620
mov edx, dword [esp + 0x440]
lea ecx, [esp]
call fcn.0041b000
mov dword [0x4b7001], 0x2000085
mov dword [0x4b7001], 0x2000088
lea ebp, [esp + 8]
mov dword [ebp], 0x428
mov dword [0x4b7001], 0x200008b
push dword [esp + 0x43c]
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [esp + 4], eax
mov dword [0x4b7001], 0x200008c
cmp dword [esp + 4], 0
je 0x418ce9
mov dword [0x4b7001], 0x200008d
lea eax, [esp + 8]
push eax
push dword [esp + 8]
call sub.KERNEL32.dll_Module32FirstW
and eax, eax
je 0x418ccc
mov dword [0x4b7001], 0x200008e
mov dword [0x4b7001], 0x200008f
push edx
call fcn.00430480
pop edx
push eax
push edx
call fcn.00430480
pop edx
push eax
lea ebp, [esp + 0x10]
lea eax, [ebp + 0x20]
push eax
call fcn.0042f530
lea eax, [esp + 0x434]
push eax
call fcn.00430520
mov dword [0x4b7001], 0x2000090
push edx
call fcn.00430480
pop edx
push eax
push edx
call fcn.00430480
pop edx
push eax
lea eax, [ebp + 0x220]
push eax
call fcn.0042f530
lea eax, [0x501a48]
push eax
call fcn.00430520
mov dword [0x4b7001], 0x2000094
push edx
call fcn.00430480
pop edx
push eax
push edx
call fcn.00430480
pop edx
push eax
push dword [esp + 0x438]
call fcn.0042e870
call fcn.004305b0
push edx
call fcn.00430480
pop edx
push eax
push edx
call fcn.00430480
pop edx
push eax
push dword [esp + 0xc]
call fcn.0042e870
call fcn.0041b2e0
mov edx, eax
pop ecx
push ecx
call fcn.0041b2e0
mov ecx, eax
call fcn.0041b260
je 0x418c95
mov dword [0x4b7001], 0x2000096
push dword [esp + 4]
call sub.KERNEL32.dll_CloseHandle
mov dword [0x4b7001], 0x2000097
lea ebp, [esp + 8]
mov eax, dword [ebp + 0x14]
jmp 0x418d0d
mov dword [0x4b7001], 0x2000098
mov dword [0x4b7001], 0x2000099
lea eax, [esp + 8]
push eax
push dword [esp + 8]
call sub.KERNEL32.dll_Module32NextW
and eax, eax
je 0x418cbf
xor eax, eax
jmp 0x418cc4
mov eax, 1
and eax, eax
je 0x418ba4
mov dword [0x4b7001], 0x200009a
mov dword [0x4b7001], 0x200009b
push dword [esp + 4]
call sub.KERNEL32.dll_CloseHandle
mov dword [0x4b7001], 0x200009c
mov dword [0x4b7001], 0x200009e
xor eax, eax
jmp 0x418d0d
push dword [esp]
call fcn.00430680
push dword [esp + 0x430]
call fcn.00430680
add esp, 0x434
pop ebp
ret 8