joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421f38
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004027a0
mov eax, dword [ebp - 8]
call fcn.004027a0
xor eax, eax
push ebp
push 0x421ff8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf003f
push 0
mov eax, dword [ebp - 4]
call fcn.004027b0
push eax
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x421fdd
xor eax, eax
push ebp
push 0x421fd6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf01ff
mov eax, dword [ebp - 8]
call fcn.004027b0
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_OpenServiceA
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
push ebx
call sub.advapi32.dll_StartServiceA
push ebx
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x421fdd
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x421fff
lea eax, [ebp - 8]
mov edx, 2
call fcn.00402438
ret

Function at 0x422004
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004027a0
xor eax, eax
push ebp
push 0x42208a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x22]
mov edx, 0x1e
call fcn.00403ccc
mov dword [ebp - 0x1e], 3
mov word [ebp - 0x12], 0x14
lea eax, [ebp - 0x28]
mov ecx, 0x4220a0
mov edx, dword [ebp - 4]
call fcn.00402604
mov eax, dword [ebp - 0x28]
call fcn.004027b0
mov dword [ebp - 0x1a], eax
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x422091
lea eax, [ebp - 0x28]
call fcn.00402414
lea eax, [ebp - 4]
call fcn.00402414
ret

Function at 0x422378
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004027a0
xor eax, eax
push ebp
push 0x4223c8
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004027b0
push eax
push 0x4223d4
push ebx
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4223cf
lea eax, [ebp - 4]
call fcn.00402414
ret
Function at 0x4224c4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4224cd
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov edi, eax
xor eax, eax
push ebp
push 0x422644
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x15], 0xd
push 0
push edi
call sub.user32.dll_GetWindow
mov ebx, eax
test ebx, ebx
jbe 0x422600
cmp edi, ebx
je 0x4225ee
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [0x435c14]
cdq
cmp edx, dword [esp + 4]
jne 0x422524
cmp eax, dword [esp]
pop edx
pop eax
je 0x4225ee
push ebx
call sub.user32.dll_GetWindowTextLengthA
mov esi, eax
inc esi
lea eax, [ebp - 0xc]
mov edx, esi
call fcn.004028dc
push esi
mov eax, dword [ebp - 0xc]
call fcn.004027b0
push eax
push ebx
call sub.user32.dll_GetWindowTextA
mov esi, eax
test esi, esi
jle 0x4225ee
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.004057fc
cmp byte [ebp - 1], 0
je 0x4225a8
push dword [ebp - 0x14]
push dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
mov dl, byte [ebp - 0x15]
call fcn.00402530
push dword [ebp - 0x1c]
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.00419d18
push dword [ebp - 0x20]
lea eax, [ebp - 0x24]
mov dl, byte [ebp - 0x15]
call fcn.00402530
push dword [ebp - 0x24]
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00402678
jmp 0x4225ee
push ebx
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4225ee
push dword [ebp - 0x14]
push dword [ebp - 0x10]
lea eax, [ebp - 0x28]
mov dl, byte [ebp - 0x15]
call fcn.00402530
push dword [ebp - 0x28]
lea edx, [ebp - 0x2c]
mov eax, ebx
call fcn.00419d18
push dword [ebp - 0x2c]
lea eax, [ebp - 0x30]
mov dl, byte [ebp - 0x15]
call fcn.00402530
push dword [ebp - 0x30]
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00402678
push 2
push ebx
call sub.user32.dll_GetWindow
mov ebx, eax
test ebx, ebx
ja 0x422507
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.004025b8
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.0040280c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42264b
lea eax, [ebp - 0x30]
mov edx, 6
call fcn.00402438
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00402438
ret

Function at 0x42282c
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push ebx
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x422841
push 0
push ebx
call sub.user32.dll_ShowWindow
pop ebx
ret
Function at 0x422a7c
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, eax
mov byte [ebp - 1], 0
call fcn.00422a74
mov eax, dword [0x435c14]
push eax
call sub.user32.dll_OpenClipboard
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x422aef
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x422acd
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00402540
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x422af6
cmp dword [ebp - 8], 0
je 0x422ae9
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
call sub.user32.dll_CloseClipboard
ret

Function at 0x4230f8
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x423165
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xfd
lea eax, [ebp - 4]
mov edx, 0xfe
call fcn.004028dc
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004027b0
push eax
call sub.advapi32.dll_GetUserNameA
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004028dc
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00402468
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42316c
lea eax, [ebp - 4]
call fcn.00402414
ret

Function at 0x423254
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004027a0
xor eax, eax
push ebp
push 0x4232bc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004027b0
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
mov edx, ebx
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 8]
imul eax, dword [ebp - 0x10]
call fcn.00419d18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4232c3
lea eax, [ebp - 4]
call fcn.00402414
ret
Function at 0x4232c8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.004027a0
mov eax, dword [ebp - 8]
call fcn.004027a0
xor eax, eax
push ebp
push 0x42339d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00402414
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.004027b0
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.004027b0
mov ebx, eax
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0xc]
call fcn.004028dc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.00402804
push eax
push 0
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x423371
mov eax, esi
mov edx, dword [ebp - 0x14]
call fcn.00402468
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4233a4
lea eax, [ebp - 0x14]
call fcn.00402414
lea eax, [ebp - 8]
mov edx, 2
call fcn.00402438
ret
Function at 0x423480
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x423488
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4235e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x105
call fcn.004011a4
mov esi, eax
lea eax, [ebp - 4]
push eax
push 1
push 0
lea edx, [ebp - 0xc]
mov eax, 0x423600
call fcn.0041e5c0
mov eax, dword [ebp - 0xc]
call fcn.004027b0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
mov dword [ebp - 8], 0x800
lea eax, [ebp - 8]
push eax
mov edi, esi
push edi
push 0
push 0
push 0x42362c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.00402540
mov eax, dword [ebp - 0x10]
mov edx, ebx
call fcn.004059a4
mov eax, dword [ebx]
call fcn.004027b0
mov edx, eax
lea eax, [ebp - 0x18]
call fcn.00402540
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
xor edx, edx
call fcn.00404528
mov edx, dword [ebp - 0x14]
mov eax, ebx
call fcn.00402468
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebx]
call fcn.004027b0
mov edx, eax
lea eax, [ebp - 0x24]
call fcn.00402540
mov eax, dword [ebp - 0x24]
call fcn.004025b8
push eax
mov eax, dword [ebx]
call fcn.004027b0
mov edx, eax
lea eax, [ebp - 0x28]
call fcn.00402540
mov eax, dword [ebp - 0x28]
mov edx, 2
pop ecx
call fcn.0040280c
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00405834
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebx]
call fcn.004027b0
mov edx, eax
lea eax, [ebp - 0x34]
call fcn.00402540
mov eax, dword [ebp - 0x34]
mov ecx, 1
mov edx, 1
call fcn.0040280c
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.0040585c
mov edx, dword [ebp - 0x2c]
mov eax, ebx
pop ecx
call fcn.00402604
mov eax, esi
call fcn.004011bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4235ee
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00402438
ret
Function at 0x424074
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1b
push 0
push 0
dec ecx
jne 0x42407c
push ecx
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x4242cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 0x41
lea eax, [ebp - 0xb8]
mov edx, ebx
call fcn.00402530
lea eax, [ebp - 0xb8]
mov edx, 0x4242e8
call fcn.004025c0
mov eax, dword [ebp - 0xb8]
call fcn.004027b0
push eax
call sub.kernel32.dll_GetDriveTypeA
mov esi, eax
cmp esi, 1
jle 0x424288
cmp dword [ebp - 0xa4], 1
jne 0x4240f0
cmp dword [ebp - 0xac], 0xa
jae 0x4240fd
cmp dword [ebp - 0xa8], 0x3e8
ja 0x4240fd
cmp dword [ebp - 0xa4], 2
jne 0x42423b
cmp esi, 3
je 0x424110
cmp esi, 4
je 0x424110
cmp esi, 6
jne 0x4241ec
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xbc]
mov edx, ebx
call fcn.00402530
lea eax, [ebp - 0xbc]
mov edx, 0x4242e8
call fcn.004025c0
mov eax, dword [ebp - 0xbc]
call fcn.004027b0
push eax
call sub.kernel32.dll_GetDiskFreeSpaceExA
push dword [ebp - 4]
push 0x4242f4
lea eax, [ebp - 0xc0]
mov edx, ebx
call fcn.00402530
push dword [ebp - 0xc0]
push 0x424300
lea eax, [ebp - 0xc4]
lea edx, [esi + esi*4]
lea edx, [edx*2 + 0x434b78]
call fcn.00402570
push dword [ebp - 0xc4]
push 0x42430c
push 0
push 0xf4240
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.00402e28
lea edx, [ebp - 0xc8]
call fcn.00419d18
push dword [ebp - 0xc8]
push 0x424320
push 0
push 0xf4240
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
call fcn.00402e28
lea edx, [ebp - 0xcc]
call fcn.00419d18
push dword [ebp - 0xcc]
push 0x424334
lea eax, [ebp - 4]
mov edx, 0xa
call fcn.00402678
jmp 0x424288
push dword [ebp - 4]
push 0x4242f4
lea eax, [ebp - 0xd0]
mov edx, ebx
call fcn.00402530
push dword [ebp - 0xd0]
push 0x424300
lea eax, [ebp - 0xd4]
lea edx, [esi + esi*4]
lea edx, [edx*2 + 0x434b78]
call fcn.00402570
push dword [ebp - 0xd4]
push 0x424344
lea eax, [ebp - 4]
mov edx, 6
call fcn.00402678
jmp 0x424288
push dword [ebp - 4]
push 0x4242f4
lea eax, [ebp - 0xd8]
mov edx, ebx
call fcn.00402530
push dword [ebp - 0xd8]
push 0x424300
lea eax, [ebp - 0xdc]
lea edx, [esi + esi*4]
lea edx, [edx*2 + 0x434b78]
call fcn.00402570
push dword [ebp - 0xdc]
push 0x424344
lea eax, [ebp - 4]
mov edx, 6
call fcn.00402678
inc ebx
cmp bl, 0x5b
jne 0x424099
lea eax, [ebp - 4]
mov edx, 0x424350
call fcn.004025c0
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00402468
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4242d6
lea eax, [ebp - 0xdc]
mov edx, 0xa
call fcn.00402438
lea eax, [ebp - 4]
call fcn.00402414
ret
Function at 0x424448
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x130], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4245ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x435c48
call fcn.00402414
push 0
push 0x424354
call sub.user32.dll_EnumWindows
mov dword [ebp - 0x128], 0x128
xor edx, edx
mov eax, 2
call fcn.00420d80
mov esi, eax
lea edx, [ebp - 0x128]
mov eax, esi
call fcn.00420da0
test eax, eax
je 0x42457c
push dword [0x435c48]
lea edx, [ebp - 0x12c]
mov eax, dword [ebp - 0x120]
call fcn.00419d18
push dword [ebp - 0x12c]
push 0x4245c4
lea eax, [ebp - 0x130]
lea edx, [ebp - 0x104]
mov ecx, 0x104
call fcn.0040257c
push dword [ebp - 0x130]
mov eax, 0x435c48
mov edx, 4
call fcn.00402678
lea edx, [ebp - 0x128]
mov eax, esi
call fcn.00420dc0
cmp eax, 1
sbb ebx, ebx
inc ebx
push dword [0x435c48]
push 0x4245d0
lea eax, [ebp - 0x134]
lea edx, [ebp - 0x104]
mov ecx, 0x104
call fcn.0040257c
push dword [ebp - 0x134]
push 0x4245dc
lea edx, [ebp - 0x138]
mov eax, dword [ebp - 0x120]
call fcn.00419d18
push dword [ebp - 0x138]
push 0x4245e8
mov eax, 0x435c48
mov edx, 6
call fcn.00402678
test bl, bl
jne 0x42450e
push esi
call sub.kernel32.dll_CloseHandle_1
mov eax, edi
mov edx, dword [0x435c48]
call fcn.00402468
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4245b4
lea eax, [ebp - 0x138]
mov edx, 4
call fcn.00402438
ret

Function at 0x424afc
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
xor eax, eax
push ebp
push 0x424bb8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00420b1c
mov eax, dword [ebp - 4]
mov edx, 0x424bcc
call fcn.004026fc
je 0x424b6f
lea eax, [ebp - 8]
call fcn.00420b1c
mov eax, dword [ebp - 8]
mov edx, 0x424bdc
call fcn.004026fc
je 0x424b6f
lea eax, [ebp - 0xc]
call fcn.00420b1c
mov eax, dword [ebp - 0xc]
mov edx, 0x424bec
call fcn.004026fc
je 0x424b6f
lea eax, [ebp - 0x10]
call fcn.00420b1c
mov eax, dword [ebp - 0x10]
mov edx, 0x424bfc
call fcn.004026fc
jne 0x424b7a
push 0
push 2
call sub.user32.dll_ExitWindowsEx_1
jmp 0x424b9d
mov dword [0x4359b8], 1
mov eax, 6
call fcn.0041c7a8
inc dword [0x4359b8]
cmp dword [0x4359b8], 0x1f
jne 0x424b84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424bbf
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00402438
ret

Function at 0x424d18
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebx
xor ebx, ebx
cmp byte [0x434b1c], 0
je 0x424d28
mov bl, 1
jmp 0x424d53
push 0
mov eax, dword [0x435680]
push eax
push 0x424d0c
push 2
call sub.user32.dll_SetWindowsHookExA
mov dword [0x435c28], eax
cmp dword [0x435c28], 0
je 0x424d53
mov bl, 1
mov byte [0x434b1c], 1
mov eax, ebx
pop ebx
ret
Function at 0x424fd4
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff5c
push ebx
push esi
push edi
lea eax, [ebp - 0xa4]
mov edx, 0x94
call fcn.00403ccc
mov dword [ebp - 0xa4], 0x94
lea eax, [ebp - 0xa4]
push eax
call sub.kernel32.dll_GetVersionExA_1
mov eax, dword [ebp - 0x94]
cmp eax, 1
sete dl
neg dl
sbb edx, edx
mov dword [ebp - 4], edx
cmp eax, 2
jne 0x42511c
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x42511c
xor eax, eax
push ebp
push 0x425115
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 2
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_GetTokenInformation
mov eax, dword [ebp - 0xc]
push eax
call fcn.004033e4
pop ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4250fe
xor eax, eax
push ebp
push 0x4250f7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 2
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
je 0x4250df
call fcn.00424fa4
mov edi, eax
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
dec ebx
test ebx, ebx
jl 0x4250d9
inc ebx
xor esi, esi
push edi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + esi*8 + 4]
push eax
call sub.advapi32.dll_EqualSid
test eax, eax
je 0x4250d5
mov dword [ebp - 4], 0xffffffff
jmp 0x4250d9
inc esi
dec ebx
jne 0x4250ba
push edi
call sub.advapi32.dll_FreeSid
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4250fe
mov eax, dword [ebp - 0x10]
push eax
call fcn.004033f4
pop ecx
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42511c
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x425c74
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004027a0
xor eax, eax
push ebp
push 0x425d31
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x425d0c
push dword fs:[edx]
mov dword fs:[edx], esp
movzx eax, si
mov eax, dword [eax*4 + 0x434a04]
push eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004044bc
mov eax, dword [ebp - 8]
call fcn.004027b0
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.004027b0
push eax
push 0
mov eax, dword [0x435c14]
push eax
call sub.shell32.dll_ShellExecuteA
test eax, eax
je 0x425cf6
mov eax, ebx
mov edx, 0x4372b4
call fcn.00402570
jmp 0x425d02
mov eax, ebx
mov edx, 0x4373b4
call fcn.00402570
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x425d16
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425d38
lea eax, [ebp - 8]
mov edx, 2
call fcn.00402438
ret
Function at 0x425d40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004027a0
xor eax, eax
push ebp
push 0x425de9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, 0x4374b4
call fcn.00402570
push 0
push 0
push 0x10
mov eax, dword [ebp - 4]
call fcn.00419d0c
push eax
call sub.user32.dll_PostMessageA
xor eax, eax
push ebp
push 0x425dc9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00419e44
push eax
push 0xffffffffffffffff
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov ebx, eax
push 0
push ebx
call sub.kernel32.dll_TerminateProcess
test eax, eax
je 0x425dbf
mov eax, esi
mov edx, 0x4375b4
call fcn.00402570
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x425dd3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425df0
lea eax, [ebp - 4]
call fcn.00402414
ret

Function at 0x426410
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004027a0
xor eax, eax
push ebp
push 0x4264b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004264c4
mov eax, dword [ebp - 4]
call fcn.004027b0
mov dword [ebx + 4], eax
push 6
push 1
push 2
call sub.wsock32.dll_socket
mov dword [ebx + 0x14], eax
mov word [ebp - 0x14], 2
push esi
call sub.wsock32.dll_htons
mov word [ebp - 0x12], ax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_inet_addr
mov esi, eax
mov dword [ebp - 0x10], esi
inc esi
jne 0x42648d
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x4264a0
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
push 0x10
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx + 0x14]
push eax
call sub.wsock32.dll_connect
mov byte [ebx + 0x10], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4264bd
lea eax, [ebp - 4]
call fcn.00402414
ret

Function at 0x4264d8
Capabilities:
Get socket status

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, eax
test edx, edx
jne 0x42650e
lea eax, [esp + 8]
call fcn.0040de44
lea edx, [esp + 8]
mov eax, dword [ebx + 0x14]
call fcn.0040de34
push 0
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0
call sub.wsock32.dll_select
jmp 0x42653d
mov dword [esp], edx
xor eax, eax
mov dword [esp + 4], eax
lea eax, [esp + 8]
call fcn.0040de44
lea edx, [esp + 8]
mov eax, dword [ebx + 0x14]
call fcn.0040de34
push esp
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0
call sub.wsock32.dll_select
add esp, 0x10c
pop ebx
ret
Function at 0x426894
Capabilities:
Parse pe header

Disassembly:
push ebx
push esi
xor ebx, ebx
mov ecx, eax
mov ax, word [ecx]
not ax
cmp ax, 0x5a4d
je 0x4268d5
mov eax, ecx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov esi, eax
push 0xf8
push esi
call sub.kernel32.dll_IsBadReadPtr
test eax, eax
jne 0x4268d5
cmp dword [esi], 0x4550
jne 0x4268d5
mov bl, 1
mov eax, ebx
pop esi
pop ebx
ret