joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000b4e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push str.LdrLoadDll
push str.Ntdll.dll
mov dword [ebp - 0xc], 0x25ff
mov word [ebp - 8], 0x2500
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x1000b518
xor al, al
pop esi
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 0x10126b8c
call edi
mov ecx, dword [esi]
mov dword [0x10126b8c], ecx
mov ecx, dword [ebp - 4]
mov dx, word [esi + 4]
lea eax, [ebp - 4]
push eax
push ecx
push 6
push 0x10126b8c
mov word [0x10126b90], 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
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push str.LdrLoadDll
push str.Ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x1000b5a9
xor al, al
pop esi
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 esi
call edi
mov ecx, dword [0x10126b8c]
mov dword [esi], ecx
mov ecx, dword [ebp - 4]
mov dx, word [0x10126b90]
lea eax, [ebp - 4]
push eax
push ecx
push 6
push esi
mov word [esi + 4], dx
call edi
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000b6d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea esi, [ebp - 0x408]
call section..text
mov edi, dword [0x10126ec8]
mov edx, dword [edi]
cmp edx, edi
je 0x1000b77c
lea ecx, [ecx]
mov ecx, dword [edx + 0x14]
mov esi, dword [edx + 0x10]
or eax, 0xffffffff
test ecx, ecx
je 0x1000b731
lea ecx, [ecx]
movzx ebx, byte [esi]
mov edi, eax
and edi, 0xff
xor edi, ebx
shr eax, 8
xor eax, dword [ebp + edi*4 - 0x408]
inc esi
dec ecx
jne 0x1000b710
mov edi, dword [0x10126ec8]
not eax
cmp dword [edx + 0x18], eax
jne 0x1000b78f
cmp byte [edx + 0x1d], 0
jne 0x1000b778
mov eax, dword [edx + 8]
cmp byte [eax + 0x1d], 0
jne 0x1000b75d
mov edx, eax
mov eax, dword [edx]
cmp byte [eax + 0x1d], 0
jne 0x1000b778
mov edx, eax
mov eax, dword [edx]
cmp byte [eax + 0x1d], 0
je 0x1000b751
jmp 0x1000b778
mov eax, dword [edx + 4]
cmp byte [eax + 0x1d], 0
jne 0x1000b776
cmp edx, dword [eax + 8]
jne 0x1000b776
mov edx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x1d], 0
je 0x1000b766
mov edx, eax
cmp edx, edi
jne 0x1000b700
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011ccc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.10011ccc
mov esp, ebp
pop ebp
ret

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

Disassembly:
cmp byte [0x10126edc], 0
push esi
je 0x1000d0db
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x10126ee0]
cmp eax, 0x1388
jbe 0x1000d0db
push 0x10126f10
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x1000d0db
call esi
mov dword [0x10126ee0], eax
test eax, eax
je 0x1000d0d0
call fcn.1000cfc0
test al, al
jne 0x1000d0d0
push 0x1388
xor ecx, ecx
call fcn.10005ee0
push eax
push 2
mov eax, 0x10126620
call fcn.1000d510
add esp, 0xc
pop esi
ret
push 0x10126f10
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
ret

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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, ebx
jae 0x1000d172
jmp 0x1000d160
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
sub eax, edi
cmp eax, ebx
jb 0x1000d160
pop edi
xor al, al
pop esi
pop ebp
ret
Function at 0x1000d180
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10012c16
mov eax, dword fs:[0]
push eax
sub esp, 0x654
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dx, word [0x100190b4]
mov dword [ebp - 0x65c], eax
lea eax, [ebp - 0x620]
mov esi, ecx
mov ecx, dword [0x100190b0]
push eax
push 0x3ff
mov dword [ebp - 0x660], esi
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x14], dx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x1000d3a8
lea ebx, [ebp - 0x620]
xor edi, edi
jmp 0x1000d200
mov cx, word [ebx]
push 0x104
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x18]
push eax
mov word [ebp - 0x18], cx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x1000d2b6
xor ecx, ecx
mov eax, esi
mov dword [ebp - 0x628], 7
mov dword [ebp - 0x62c], edi
mov word [ebp - 0x63c], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1000d243
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea ecx, [ebp - 0x63c]
call fcn.1000f440
lea eax, [ebp - 0x220]
mov dword [ebp - 4], edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1000d270
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x63c]
push eax
call fcn.1000e700
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000d2d5
mov dword [ebp - 4], eax
cmp dword [ebp - 0x628], 8
jb 0x1000d2b6
mov ecx, dword [ebp - 0x63c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dx, word [ebx]
add ebx, 2
test dx, dx
jne 0x1000d2b6
cmp word [ebx], di
je 0x1000d3a8
mov esi, dword [ebp - 0x660]
jmp 0x1000d200
xor eax, eax
mov word [ebp - 0x658], ax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x644], 7
mov dword [ebp - 0x648], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1000d2f7
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x658]
call fcn.1000f440
mov eax, ebx
mov byte [ebp - 4], 1
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1000d321
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0x648]
push ebx
inc eax
push esi
lea ecx, [ebp - 0x63c]
call fcn.1000e570
mov esi, 8
cmp dword [ebp - 0x644], esi
jb 0x1000d362
mov ecx, dword [ebp - 0x658]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x63c]
cmp dword [ebp - 0x628], esi
jae 0x1000d376
lea eax, [ebp - 0x63c]
mov edx, dword [ebp - 0x65c]
push eax
push 0x104
push edx
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
add esp, 0xc
cmp dword [ebp - 0x628], esi
jb 0x1000d3a4
mov eax, dword [ebp - 0x63c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, 1
jmp 0x1000d3aa
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10011ccc
mov esp, ebp
pop ebp
ret
Function at 0x1000d510
Capabilities:
Create thread
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, eax
test edi, edi
jle 0x1000d52d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, dword [ebp + 0x10]
mov dword [0x10126c34], eax
push 0x100
push 0
push 0x10127250
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
mov cl, byte [eax + 0x10018000]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10127250], cl
inc eax
cmp eax, 0x100
jb 0x1000d543
mov edx, dword [ebp + 0xc]
push edx
push 1
push edi
push 0x10127250
push 0
mov ecx, 0x1011c548
call fcn.10005790
mov eax, dword [0x101263d4]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [sym.imp.USER32.dll_UnregisterClassA]
add esp, 0x14
test eax, eax
je 0x1000d5af
push 0
push 0
push 0x10
push eax
call edi
mov eax, dword [0x10126b80]
mov ecx, dword [str.SPLASH]
push eax
push ecx
mov dword [0x101263d4], 0
call ebx
mov eax, dword [0x101264fc]
test eax, eax
je 0x1000d5da
push 0
push 0
push 0x10
push eax
call edi
mov edx, dword [0x10126b80]
mov eax, dword [str.SPLASH]
push edx
push eax
mov dword [0x101264fc], 0
call ebx
mov eax, dword [0x10126624]
test eax, eax
je 0x1000d606
push 0
push 0
push 0x10
push eax
call edi
mov ecx, dword [0x10126b80]
mov edx, dword [str.SPLASH]
push ecx
push edx
mov dword [0x10126624], 0
call ebx
mov eax, dword [ebp + 8]
sub eax, 0
je 0x1000d62c
dec eax
je 0x1000d620
dec eax
jne 0x1000d638
mov eax, 0x6a
mov ecx, 0xffffff
jmp 0x1000d63e
mov eax, 0x69
mov ecx, 0xffffff
jmp 0x1000d63e
mov eax, 0x67
mov ecx, 0xffffff
jmp 0x1000d63e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
push ecx
push eax
mov eax, dword [ebp + 0xc]
call fcn.1000cc90
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push esi
push 0x1000d470
push 0
push 0
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x1000d6c0
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 8], 0
je 0x1000d6c0
mov eax, dword [esi + 4]
test eax, eax
je 0x1000d6bb
push 0
push 0
push 0x10
push eax
call edi
mov edx, dword [0x10126b80]
mov eax, dword [esi + 0x1c]
push edx
push eax
mov dword [esi + 4], 0
call ebx
call fcn.1000d0e0
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1000e070
Capabilities:
Encode data using xor
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xfe
lea eax, [ebp - 0x107]
push 0
push eax
mov esi, ecx
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x114], 1
mov byte [ebp - 0x108], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x100
push 0
push 0x10127250
mov dword [ebp - 0x110], 0xff
xor bl, bl
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x1000e0e0
mov cl, byte [eax + str.zesvhydkv]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10127250], cl
inc eax
cmp eax, 0x100
jb 0x1000e0e0
lea edx, [ebp - 0x10c]
push edx
push 0x20019
push 0
push 0x10127250
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp - 0x10c]
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x114]
push edx
push 0
push str.RarCache
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x108]
push ecx
call fcn.1000d7b0
add esp, 4
mov edi, eax
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000e155
sub eax, edx
cmp eax, 5
jbe 0x1000e1b3
mov ecx, edi
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000e187
test dl, dl
je 0x1000e183
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000e187
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000e167
xor eax, eax
jmp 0x1000e18c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000e1af
push 0x1388
mov ecx, 0xb
call fcn.10005ee0
push eax
push 1
mov eax, 0x101264f8
call fcn.1000d510
add esp, 0xc
mov bl, 1
mov esi, edi
mov edx, dword [ebp - 0x10c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call edi
test bl, bl
jne 0x1000e25a
push esi
call fcn.1000dc10
add esp, 4
push 0x100
push 0
push 0x10127250
mov esi, eax
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x1000e1f0
mov cl, byte [eax + str.zesvhydkv]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10127250], cl
inc eax
cmp eax, 0x100
jb 0x1000e1f0
lea edx, [ebp - 0x10c]
push edx
push 0xf003f
push 0
push 0x10127250
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000e230
sub eax, edx
push eax
mov eax, dword [ebp - 0x10c]
push esi
push 1
push 0
push str.RarCache
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x10c]
push ecx
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10011ccc
mov esp, ebp
pop ebp
ret
Function at 0x1000e270
Capabilities:
Get disk information
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x100
lea eax, [ebp - 0x108]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
xor esi, esi
lea ecx, [ecx]
lea ecx, [ebp - 0x108]
push ecx
mov ecx, esi
call fcn.1000a710
add esp, 4
test al, al
jne 0x1000e2bb
inc esi
cmp esi, 5
jl 0x1000e2a0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x11c]
push edx
push 0
push 0
push 0x100190dc
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x1000e326
mov edx, dword [ebp - 0xf8]
mov esi, dword [ebp - 0xf4]
mov eax, dword [ebp - 0xf0]
xor edx, dword [ebp - 0x108]
xor esi, dword [ebp - 0x104]
xor eax, dword [ebp - 0x100]
mov ecx, dword [ebp - 0xec]
xor ecx, dword [ebp - 0xfc]
xor edx, 0x3ad3b74a
xor esi, 0x94fdc685
xor eax, 0xf45bbf4c
xor ecx, 0x8941d8e7
jmp 0x1000e389
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.RPCRT4.dll_UuidCreateSequential]
lea ecx, [ebp - 0x140]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0x140]
movzx ecx, word [ebp - 0x10a]
movzx edi, word [ebp - 0x120]
mov edx, dword [ebp - 0x11c]
mov esi, dword [ebp - 0x10e]
shl eax, 0x10
or eax, ecx
movzx ecx, word [ebp - 0x11e]
shl ecx, 0x10
or ecx, edi
xor edx, 0x12b586fe
xor esi, 0x5d78a569
xor eax, 0xf45bc123
xor ecx, 0xb542d8e1
push ecx
push eax
push esi
push edx
push str._08X__08X__08X__08X
push 0x10127350
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [ebp - 4]
add esp, 0x18
pop edi
xor ecx, ebp
mov eax, 0x10127350
pop esi
call fcn.10011ccc
mov esp, ebp
pop ebp
ret

Function at 0x1000e3c0
Capabilities:
Encode data using xor

Disassembly:
push esi
push 0x100
push 0
push 0x10127250
mov esi, eax
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
shl esi, 8
lea ecx, [esi + 0x10015600]
pop esi
mov dl, byte [ecx + eax]
sub dl, 0x1b
xor dl, 0xc
mov byte [eax + 0x10127250], dl
inc eax
cmp eax, 0x100
jb 0x1000e3e3
mov eax, 0x10127250
ret
Function at 0x1000e400
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1001c018]
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 0x1000e437
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011ccc
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 0x1000e427
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.10011ccc
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 4]
push ecx
push 0x40
mov eax, 0x1000e4a0
push 5
sub eax, 0x80f85a
push 0x80f855
mov byte [ebp - 0x10], 0xe8
mov dword [ebp - 0xf], eax
mov dword [ebp - 4], 0
call esi
test eax, eax
jne 0x1000e533
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x10]
mov cl, byte [ebp - 0xc]
mov eax, 0x80f855
mov dword [eax], edx
lea edx, [ebp - 8]
push edx
mov byte [eax + 4], cl
mov eax, dword [ebp - 4]
push eax
push 5
push 0x80f855
mov dword [ebp - 8], 0
call esi
test eax, eax
je 0x1000e528
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000f9c0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [0x1011c51c]
push edi
cmp esi, dword [0x1011c520]
je 0x1000fa8e
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
nop
cmp byte [esi], 2
jne 0x1000f9fe
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 0x1000fa13
add esi, 0x105
cmp esi, dword [0x1011c520]
jne 0x1000f9e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x1011c520]
mov esi, dword [0x1011c51c]
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1000fa76
xor edi, edi
cmp byte [edi + esi], 2
jne 0x1000fa52
lea ecx, [edi + esi + 1]
push ecx
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov esi, dword [0x1011c51c]
mov ecx, dword [0x1011c520]
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 0x1000fa36
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0
push 6
call fcn.10003040
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000fad0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x1011c52c]
push edi
mov dword [ebp - 0x134], esi
cmp esi, dword [0x1011c530]
je 0x1000fc77
mov ebx, dword [ebp - 0x134]
lea edi, [esi + 1]
jmp 0x1000fb10
movzx eax, byte [esi]
cmp eax, 3
ja case.default.0x1000fb1c
jmp dword [eax*4 + 0x1000fc88]
push edi
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
mov ebx, eax
test ebx, ebx
jmp 0x1000fbf0
push 0
push edi
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
mov ebx, eax
test ebx, ebx
je case.default.0x1000fb1c
lea eax, [ebp - 0x134]
push eax
push ebx
mov dword [ebp - 0x134], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 0x134]
push ecx
jmp 0x1000fc6b
push 0
push 2
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x130]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x1000fbd8
lea ecx, [ebp - 0x130]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x1000fbd8
lea edx, [ebp - 0x10c]
push edi
push edx
call dword [sym.imp.MSVCR100.dll__mbscmp]
add esp, 8
test eax, eax
je 0x1000fc1b
lea eax, [ebp - 0x130]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x1000fbb0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x134]
jmp case.default.0x1000fb1c
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x1000fc4c
add esi, 0x41
add edi, 0x41
mov dword [ebp - 0x134], esi
cmp esi, dword [0x1011c530]
jne 0x1000fb10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011ccc
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x128]
mov eax, dword [ebp - 0x134]
push edx
inc eax
push eax
push 8
call fcn.10003040
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011ccc
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x134]
push ecx
push ebx
mov dword [ebp - 0x134], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [ebp - 0x134]
push edx
inc esi
push esi
push 8
call fcn.10003040
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10011ccc
mov esp, ebp
pop ebp
ret
Function at 0x1000fd40
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.1000fee0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1000fe04
cmp dword [ebp - 4], 0x50000000
jb 0x1000fd81
cmp dword [ebp - 4], 0x80000000
ja 0x1000fd81
mov dword [ebp - 4], 0x4fff0000
jmp 0x1000fd5a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1000fda7
jmp 0x1000fe04
cmp dword [ebp - 0x14], 0x10000
jne 0x1000fdea
cmp dword [ebp - 0x18], 0x10000
jb 0x1000fdea
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000fddd
mov eax, dword [ebp - 8]
jmp 0x1000fe06
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1000fdff
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1000fee0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1000fd5a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1000fe10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1000ff10
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1000fecc
cmp dword [ebp - 4], 0x50000000
jb 0x1000fe4c
cmp dword [ebp - 4], 0x80000000
ja 0x1000fe4c
mov dword [ebp - 4], 0x80010000
jmp 0x1000fe25
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1000fe72
jmp 0x1000fecc
cmp dword [ebp - 0x14], 0x10000
jne 0x1000feb5
cmp dword [ebp - 0x18], 0x10000
jb 0x1000feb5
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000fea8
mov eax, dword [ebp - 8]
jmp 0x1000fece
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1000fec7
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1000ff10
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1000fe25
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10010640
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x10010655
xor eax, eax
jmp 0x100106ca
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, 0x10000
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x10010682
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x38d
jae 0x100106c5
mov edx, dword [ebp - 4]
imul edx, edx, 0x48
mov eax, dword [ebp - 8]
cmp dword [eax + edx + 0x40], 0
je 0x100106c3
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 0xc]
jb 0x100106bf
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 0x10]
jb 0x100106c3
xor eax, eax
jmp 0x100106ca
jmp 0x10010679
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x10010890
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10126750]
mov dword [ebp - 4], eax
jmp 0x100108a9
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x100108c6
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x100108a0
mov esp, ebp
pop ebp
ret