joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100cf5c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011f6e8
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x10165034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x258], eax
cmp dword [ebp - 0x258], 0xffffffff
jne 0x100cf609
jmp 0x100cf735
mov dword [ebp - 0x254], 0
push 0x228
push 0
lea eax, [ebp - 0x250]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x254], 0x22c
lea ecx, [ebp - 0x254]
push ecx
mov edx, dword [ebp - 0x258]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], 0xffffffff
cmp dword [ebp - 0x260], 0
je 0x100cf6d2
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x28]
call fcn.10002200
mov dword [ebp - 4], 0
push 0
push 0x1013d54c
lea ecx, [ebp - 0x28]
call fcn.10006da0
cmp eax, 0xffffffff
je 0x100cf6a7
mov ecx, dword [ebp - 0x24c]
mov dword [ebp - 0x25c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10002300
jmp 0x100cf6d2
lea edx, [ebp - 0x254]
push edx
mov eax, dword [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x260], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10002300
jmp 0x100cf657
mov ecx, dword [ebp - 0x258]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x25c], 0xffffffff
jne 0x100cf708
push str.find_service_process_fail_
push 1
push 0x221
push 0x1013d584
push 0x1013d5a4
call fcn.1010d8f0
add esp, 0x14
jmp 0x100cf735
push str.kill_service_process_
push 1
push 0x224
push 0x1013d5d0
push str.KillServiceProcess
call fcn.1010d8f0
add esp, 0x14
mov edx, dword [ebp - 0x25c]
push edx
call fcn.100fb2d0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101176fb
mov esp, ebp
pop ebp
ret
Function at 0x100cfd30
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011f808
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x10165034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x64], 0
push 0x40
push 0
lea eax, [ebp - 0x60]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x64], 0x44
mov dword [ebp - 0x38], 0x101
xor ecx, ecx
mov word [ebp - 0x34], cx
mov dword [ebp - 0x20], 0
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x64]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
push 0
lea ecx, [ebp + 8]
call fcn.100440b0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x100cfe01
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1013d6b0
push 1
push 0x28d
push 0x1013d6e0
push 0x1013d720
call fcn.1010dc80
add esp, 0x18
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10002300
mov al, byte [ebp - 0xd]
jmp 0x100cfe4d
movzx edx, byte [ebp + 0x20]
test edx, edx
je 0x100cfe17
mov eax, dword [ebp + 0x24]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp - 0x20], 0
je 0x100cfe27
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], 0
je 0x100cfe37
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0xe], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10002300
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x100d1b40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011fa88
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x10165034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x40], 0
je 0x100d1b80
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x100d1b8c
mov al, 1
jmp 0x100d1d31
mov dword [ebp - 0x54], 8
call fcn.10015ca0
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x3c], eax
call fcn.10015ca0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.10015c70
add esp, 8
movzx eax, al
test eax, eax
je 0x100d1bcf
xor al, al
jmp 0x100d1d31
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.1002e790
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x28]
call fcn.10007ce0
mov ecx, eax
call fcn.10007620
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.10001ca0
add esi, eax
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x28]
call fcn.10007ce0
mov ecx, eax
call fcn.10007620
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x48
push ecx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 0x40]
call dword [sym.imp.MSVCP120.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x100d1c4b
cmp dword [ebp - 0x38], 1
je 0x100d1c52
cmp dword [ebp - 0x38], 3
je 0x100d1ced
jmp 0x100d1d05
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x45], 0
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10007ce0
mov ecx, eax
call fcn.10007620
mov edx, dword [ebp - 0x44]
sub edx, eax
mov dword [ebp - 0x34], edx
je 0x100d1cb6
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push 1
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x28]
call fcn.10007ce0
mov ecx, eax
call fcn.10007620
push eax
call dword [sym.imp.MSVCR120.dll_fwrite]
add esp, 0x10
cmp dword [ebp - 0x34], eax
je 0x100d1cb6
mov byte [ebp - 0x2f], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10008000
mov al, byte [ebp - 0x2f]
jmp 0x100d1d31
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x100d1cd9
mov byte [ebp - 0x30], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10008000
mov al, byte [ebp - 0x30]
jmp 0x100d1d31
cmp dword [ebp - 0x34], 0
jne 0x100d1ceb
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.100cd5f0
jmp 0x100d1d1d
mov byte [ebp - 0x2e], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10008000
mov al, byte [ebp - 0x2e]
jmp 0x100d1d31
mov byte [ebp - 0x2d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10008000
mov al, byte [ebp - 0x2d]
jmp 0x100d1d31
jmp 0x100d1be2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101176fb
mov esp, ebp
pop ebp
ret
Function at 0x100d9c20
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.MSVCR120.dll__vscwprintf]
add esp, 8
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
shl eax, 1
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100d9c8b
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.MSVCR120.dll_vswprintf_s]
add esp, 0x10
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
mov dword [ebp - 8], 0
mov esp, ebp
pop ebp
ret
Function at 0x100da0c0
Capabilities:
Create pipe
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x10165034]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], ecx
xor eax, eax
mov dword [ebp - 0xc], eax
mov word [ebp - 8], ax
lea ecx, [ebp - 0x24]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea edx, [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x100da107
xor eax, eax
jmp 0x100da233
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x40], 2
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 5
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x20]
push edx
push 0
lea eax, [ebp - 0x44]
push eax
push 2
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclA]
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x100da172
xor eax, eax
jmp 0x100da233
push 1
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x100da189
xor eax, eax
jmp 0x100da233
push 0
mov eax, dword [ebp - 0x20]
push eax
push 1
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x100da1a6
xor eax, eax
jmp 0x100da233
mov dword [ebp - 0x50], 0xc
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x64
call fcn.10001710
push eax
push str.CreatePileName:__ls
call fcn.100d9c20
add esp, 8
lea eax, [ebp - 0x50]
push eax
push 0
push 0x1000
push 0x1000
push 0xff
push 6
push 0x40000003
mov ecx, dword [ebp - 0x14]
add ecx, 0x64
call fcn.10001710
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x100da230
mov ecx, dword [ebp - 0x1c]
push ecx
push str.hPipe__INVALID_HANDLE_VALUE:__d
call fcn.100d9c20
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101176fb
mov esp, ebp
pop ebp
ret

Function at 0x100db8f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.100db8b0
cmp eax, 2
jne 0x100db90a
xor eax, eax
jmp 0x100db960
mov ecx, dword [ebp - 4]
call fcn.100db8b0
cmp eax, 3
jne 0x100db91f
mov ecx, dword [ebp - 4]
call fcn.100db970
mov eax, dword [ebp - 4]
add eax, 8
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x100dba60
push 0
push 0
call dword [sym.imp.MSVCR120.dll__beginthreadex]
add esp, 0x18
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x100db956
mov dword [ebp - 8], 1
jmp 0x100db95d
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x100db9e0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x100dba00
mov eax, 1
jmp 0x100dba59
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100dba29
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
cmp dword [ebp - 8], 0xffffffff
je 0x100dba4f
mov dword [ebp - 0xc], 1
jmp 0x100dba56
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x100dbaa0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101200a8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x10165034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x28]
call fcn.10007e50
mov dword [ebp - 4], 0
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x38]
push eax
push 4
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x100dbb1d
cmp dword [ebp - 0x38], 4
je 0x100dbb1d
jmp 0x100dbb9c
cmp dword [ebp - 0x2c], 0
je 0x100dbb94
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x100dbb3b
jmp 0x100dbb9c
mov ecx, dword [ebp - 0x2c]
push ecx
push 0
mov edx, dword [ebp - 0x30]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
push 0
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x100dbb70
jmp 0x100dbb9c
call fcn.10019570
mov dword [ebp - 0x3c], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x44], esp
mov edx, dword [ebp - 0x30]
push edx
call fcn.10007fa0
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x3c]
call fcn.100df790
xor eax, eax
jne 0x100dbaf6
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10008000
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101176fb
mov esp, ebp
pop ebp
ret 4
Function at 0x100dbd20
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101200fc
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10165034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.1000c7d0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.100dc180
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.10015d80
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.100dbc70
mov byte [ebp - 4], 3
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.1001cb40
mov ecx, dword [ebp - 0x10]
mov byte [ecx], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x100dbf00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 4
jl 0x100dbf22
mov dword [ebp - 0xc], 4
jmp 0x100dbf2d
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
shl edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
jmp 0x100dbf45
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x10]
jae 0x100dbf7a
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x100dc020
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 4]
add ecx, 8
call fcn.1000c830
jmp 0x100dbf3c
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x100defe0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
push str.start_websocket...
push 1
push 0xb7
push 0x1013eea0
push str.CClientWebsocket::Start
call fcn.1010d8f0
add esp, 0x14
movzx eax, byte [0x1016b460]
test eax, eax
jne 0x100df021
mov ecx, dword [ebp - 4]
call fcn.100dfa60
mov byte [0x1016b460], 1
mov ecx, dword [ebp - 4]
mov byte [ecx + 0xc], 0
mov byte [0x1016a72c], 0
mov byte [0x1016a72d], 0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [ebp - 4]
mov dword [edx + 0xd0], eax
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xd4], eax
push 0
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov edx, dword [ebp - 4]
mov dword [edx + 0xdc], eax
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xe0], eax
mov dword [ebp - 8], 0
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
push 0x100dfb60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x44], eax
mov dword [ebp - 0xc], 0
lea edx, [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
push 0x100dfec0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x48], eax
mov dword [ebp - 0x10], 0
lea edx, [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
push 0x100dede0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xe4], eax
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
push 0x100def30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xe8], eax
mov esp, ebp
pop ebp
ret
Function at 0x100dfa60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0xc], ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 4], eax
mov dword [ebp - 0x3c], 0
push 0x2c
push 0
lea eax, [ebp - 0x38]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x3c], 0x30
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0x100df980
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], 0x1013effc
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.USER32.dll_RegisterClassExW]
movzx eax, ax
test eax, eax
jne 0x100dfaee
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1013f020
push 3
push 0x1e5
push 0x1013f098
push 0x1013f060
call fcn.1010dc80
add esp, 0x18
xor al, al
jmp 0x100dfb57
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0
push 0
push 0x64
push 0x64
push 0x64
push 0x64
push 0xcf0000
push str.CLIENTWEBSOCKET
push 0x1013f108
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100dfb49
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateWindowEx_fail__code:__d_
push 3
push 0x1ec
push 0x1013f148
push str.CClientWebsocket::CreateWnd
call fcn.1010dc80
add esp, 0x18
xor al, al
jmp 0x100dfb57
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x100e00a0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x10165034]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0xf
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0xffffffff
jne 0x100e00d3
xor al, al
jmp 0x100e019e
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x100e0109
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x100e019e
mov ecx, dword [ebp + 8]
call fcn.10001710
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.MSVCR120.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x100e0173
mov ecx, dword [ebp - 0x228]
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x100e0173
push 0
mov edx, dword [ebp - 0x238]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x100e019e
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x100e0109
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101176fb
mov esp, ebp
pop ebp
ret
Function at 0x100e5010
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0x68], 0
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 4]
mov dword [eax + edx + 0x10], 0
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x10], 0
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx], 0x67452301
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax], 0xefcdab89
mov edx, 4
shl edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + edx], 0x98badcfe
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp - 4]
mov dword [eax + edx], 0x10325476
mov esp, ebp
pop ebp
ret