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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015a9b8
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x101ac034]
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 0x100fede9
jmp 0x100fef15
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 0x100feeb2
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x28]
call fcn.10003d50
mov dword [ebp - 4], 0
push 0
push 0x1017d964
lea ecx, [ebp - 0x28]
call fcn.1000ae10
cmp eax, 0xffffffff
je 0x100fee87
mov ecx, dword [ebp - 0x24c]
mov dword [ebp - 0x25c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10003e00
jmp 0x100feeb2
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.10003e00
jmp 0x100fee37
mov ecx, dword [ebp - 0x258]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x25c], 0xffffffff
jne 0x100feee8
push str.find_service_process_fail_
push 1
push 0x236
push 0x1017d984
push 0x1017d9d8
call fcn.10145f00
add esp, 0x14
jmp 0x100fef15
push str.kill_service_process_
push 1
push 0x239
push 0x1017da00
push str.KillServiceProcess
call fcn.10145f00
add esp, 0x14
mov edx, dword [ebp - 0x25c]
push edx
call fcn.101321a0
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.101506bb
mov esp, ebp
pop ebp
ret
Function at 0x100ff510
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015aad8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x101ac034]
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.1004a5e0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x100ff5e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1017dab8
push 1
push 0x2be
push 0x1017db10
push 0x1017dafc
call fcn.10146290
add esp, 0x18
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10003e00
mov al, byte [ebp - 0xd]
jmp 0x100ff62d
movzx edx, byte [ebp + 0x20]
test edx, edx
je 0x100ff5f7
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 0x100ff607
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], 0
je 0x100ff617
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.10003e00
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 0x10101550
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015ad38
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x101ac034]
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 0x10101590
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x1010159c
mov al, 1
jmp 0x10101741
mov dword [ebp - 0x54], 8
call fcn.10023980
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.10023980
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.10023940
add esp, 8
movzx eax, al
test eax, eax
je 0x101015df
xor al, al
jmp 0x10101741
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.1004a7a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x28]
call fcn.1000d670
mov ecx, eax
call fcn.100031c0
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.10002000
add esi, eax
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x28]
call fcn.1000d670
mov ecx, eax
call fcn.100031c0
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 0x1010165b
cmp dword [ebp - 0x38], 1
je 0x10101662
cmp dword [ebp - 0x38], 3
je 0x101016fd
jmp 0x10101715
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x45], 0
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.1000d670
mov ecx, eax
call fcn.100031c0
mov edx, dword [ebp - 0x44]
sub edx, eax
mov dword [ebp - 0x34], edx
je 0x101016c6
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.1000d670
mov ecx, eax
call fcn.100031c0
push eax
call dword [sym.imp.MSVCR120.dll_fwrite]
add esp, 0x10
cmp dword [ebp - 0x34], eax
je 0x101016c6
mov byte [ebp - 0x2f], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10001f50
mov al, byte [ebp - 0x2f]
jmp 0x10101741
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x101016e9
mov byte [ebp - 0x30], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10001f50
mov al, byte [ebp - 0x30]
jmp 0x10101741
cmp dword [ebp - 0x34], 0
jne 0x101016fb
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.100fb1c0
jmp 0x1010172d
mov byte [ebp - 0x2e], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10001f50
mov al, byte [ebp - 0x2e]
jmp 0x10101741
mov byte [ebp - 0x2d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10001f50
mov al, byte [ebp - 0x2d]
jmp 0x10101741
jmp 0x101015f2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101506bb
mov esp, ebp
pop ebp
ret
Function at 0x101052e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
push str.start_websocket...
push 1
push 0xb8
push 0x1017e7a8
push str.CClientWebsocket::Start
call fcn.10145f00
add esp, 0x14
movzx eax, byte [0x101b4180]
test eax, eax
jne 0x10105321
mov ecx, dword [ebp - 4]
call fcn.10105d90
mov byte [0x101b4180], 1
mov ecx, dword [ebp - 4]
mov byte [ecx + 0xc], 0
mov byte [0x101b26ac], 0
mov byte [0x101b26ab], 0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [ebp - 4]
mov dword [edx + 0xe8], eax
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xec], eax
push 0
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov edx, dword [ebp - 4]
mov dword [edx + 0xf4], eax
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xf8], eax
mov dword [ebp - 8], 0
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
push 0x10105e90
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 0x101061f0
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 0x101050e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xfc], eax
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
push 0x10105230
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x100], eax
mov esp, ebp
pop ebp
ret
Function at 0x10105d90
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], 0x10105cb0
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], 0x1017e940
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 0x10105e1e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RegisterClassEx_fail__code:__d_
push 3
push 0x1ec
push 0x1017e998
push str.CClientWebsocket::CreateWnd
call fcn.10146290
add esp, 0x18
xor al, al
jmp 0x10105e87
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 0x1017ea08
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10105e79
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateWindowEx_fail__code:__d_
push 3
push 0x1f3
push 0x1017ea48
push 0x1017eafc
call fcn.10146290
add esp, 0x18
xor al, al
jmp 0x10105e87
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 0x101063d0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x101ac034]
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 0x10106403
xor al, al
jmp 0x101064ce
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 0x10106439
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x101064ce
mov ecx, dword [ebp + 8]
call fcn.10002bf0
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.MSVCR120.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x101064a3
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 0x101064a3
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 0x101064ce
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x10106439
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.101506bb
mov esp, ebp
pop ebp
ret
Function at 0x1010da30
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 0x1010da9b
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 0x1010deb0
Capabilities:
Create pipe
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x101ac034]
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 0x1010def7
xor eax, eax
jmp 0x1010e023
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 0x1010df62
xor eax, eax
jmp 0x1010e023
push 1
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x1010df79
xor eax, eax
jmp 0x1010e023
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 0x1010df96
xor eax, eax
jmp 0x1010e023
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.10002bf0
push eax
push str.CreatePileName:__ls
call fcn.1010da30
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.10002bf0
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 0x1010e020
mov ecx, dword [ebp - 0x1c]
push ecx
push str.hPipe__INVALID_HANDLE_VALUE:__d
call fcn.1010da30
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.101506bb
mov esp, ebp
pop ebp
ret

Function at 0x1010f1b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.10061a90
cmp eax, 2
jne 0x1010f1ca
xor eax, eax
jmp 0x1010f220
mov ecx, dword [ebp - 4]
call fcn.10061a90
cmp eax, 3
jne 0x1010f1df
mov ecx, dword [ebp - 4]
call fcn.1010f230
mov eax, dword [ebp - 4]
add eax, 8
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x1010f320
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 0x1010f216
mov dword [ebp - 8], 1
jmp 0x1010f21d
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x1010f2a0
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 0x1010f2c0
mov eax, 1
jmp 0x1010f319
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 0x1010f2e9
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 0x1010f30f
mov dword [ebp - 0xc], 1
jmp 0x1010f316
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x1010f360
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101535d8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x101ac034]
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.1000d8b0
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 0x1010f3dd
cmp dword [ebp - 0x38], 4
je 0x1010f3dd
jmp 0x1010f45c
cmp dword [ebp - 0x2c], 0
je 0x1010f454
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 0x1010f3fb
jmp 0x1010f45c
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 0x1010f430
jmp 0x1010f45c
call fcn.1001dfe0
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.100029e0
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x3c]
call fcn.10105a90
xor eax, eax
jne 0x1010f3b6
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.10001f50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101506bb
mov esp, ebp
pop ebp
ret 4
Function at 0x1011c760
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
call fcn.10024690
mov ecx, eax
call fcn.1011b2c0
mov dword [ebp - 8], 0
lea ecx, [ebp - 8]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
push 0x1011c310
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
mov esp, ebp
pop ebp
ret 4

Function at 0x10120870
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015caac
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x101ac034]
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.1000ae40
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.10120ca0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.10023c20
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.101207c0
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.10035430
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 0x10120a50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 1
mov dword [ebp - 4], 0
jmp 0x10120a79
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0xc]
jae 0x10120aae
lea edx, [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp - 8]
push eax
push 0x10120b40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.10012eb0
jmp 0x10120a70
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x101211e0
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 0x10121202
mov dword [ebp - 0xc], 4
jmp 0x1012120d
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 0x10121225
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x10]
jae 0x1012125a
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x10120b40
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.10012eb0
jmp 0x1012121c
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x10121f70
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