joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008bb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x10016018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea esi, [ebp - 0x408]
call section..text
mov edi, dword [0x10024cf0]
mov edx, dword [edi]
cmp edx, edi
je 0x10008c5c
lea ecx, [ecx]
mov ecx, dword [edx + 0x14]
mov esi, dword [edx + 0x10]
or eax, 0xffffffff
test ecx, ecx
je 0x10008c11
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 0x10008bf0
mov edi, dword [0x10024cf0]
not eax
cmp dword [edx + 0x18], eax
jne 0x10008c6f
cmp byte [edx + 0x1d], 0
jne 0x10008c58
mov eax, dword [edx + 8]
cmp byte [eax + 0x1d], 0
jne 0x10008c3d
mov edx, eax
mov eax, dword [edx]
cmp byte [eax + 0x1d], 0
jne 0x10008c58
mov edx, eax
mov eax, dword [edx]
cmp byte [eax + 0x1d], 0
je 0x10008c31
jmp 0x10008c58
mov eax, dword [edx + 4]
cmp byte [eax + 0x1d], 0
jne 0x10008c56
cmp edx, dword [eax + 8]
jne 0x10008c56
mov edx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x1d], 0
je 0x10008c46
mov edx, eax
cmp edx, edi
jne 0x10008be0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000d9eb
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.1000d9eb
mov esp, ebp
pop ebp
ret

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

Disassembly:
cmp byte [0x10024d04], 0
push esi
je 0x1000a6db
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x10024d08]
cmp eax, 0x1388
jbe 0x1000a6db
push 0x10024d30
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x1000a6db
call esi
mov dword [0x10024d08], eax
test eax, eax
je 0x1000a6d0
call fcn.1000a5c0
test al, al
jne 0x1000a6d0
push 0x1388
xor ecx, ecx
call fcn.10005970
push eax
push 2
mov eax, 0x1001f700
call fcn.1000ab00
add esp, 0xc
pop esi
ret
push 0x10024d30
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
ret

Function at 0x1000a730
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 0x1000a762
jmp 0x1000a750
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
sub eax, edi
cmp eax, ebx
jb 0x1000a750
pop edi
xor al, al
pop esi
pop ebp
ret
Function at 0x1000a770
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000e716
mov eax, dword fs:[0]
push eax
sub esp, 0x654
mov eax, dword [0x10016018]
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 [0x10013b64]
mov dword [ebp - 0x65c], eax
lea eax, [ebp - 0x620]
mov esi, ecx
mov ecx, dword [0x10013b60]
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 0x1000a998
lea ebx, [ebp - 0x620]
xor edi, edi
jmp 0x1000a7f0
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 0x1000a8a6
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 0x1000a833
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea ecx, [ebp - 0x63c]
call fcn.1000b750
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 0x1000a860
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x63c]
push eax
call fcn.1000afe0
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000a8c5
mov dword [ebp - 4], eax
cmp dword [ebp - 0x628], 8
jb 0x1000a8a6
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 0x1000a8a6
cmp word [ebx], di
je 0x1000a998
mov esi, dword [ebp - 0x660]
jmp 0x1000a7f0
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 0x1000a8e7
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x658]
call fcn.1000b750
mov eax, ebx
mov byte [ebp - 4], 1
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1000a911
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.1000ae50
mov esi, 8
cmp dword [ebp - 0x644], esi
jb 0x1000a952
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 0x1000a966
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 0x1000a994
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 0x1000a99a
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.1000d9eb
mov esp, ebp
pop ebp
ret
Function at 0x1000ab00
Capabilities:
Create thread
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x100
push 0
push 0x10025060
mov esi, eax
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
mov edi, edi
mov cl, byte [eax + 0x10012ef0]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10025060], cl
inc eax
cmp eax, 0x100
jb 0x1000ab20
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
push 1
push eax
push 0x10025060
push 0
mov ecx, 0x1001a440
call fcn.10005210
mov eax, dword [0x1001f4b4]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [sym.imp.USER32.dll_UnregisterClassA]
add esp, 0x14
test eax, eax
je 0x1000ab90
push 0
push 0
push 0x10
push eax
call edi
mov ecx, dword [0x1001fc00]
mov edx, dword [str.SPLASH]
push ecx
push edx
mov dword [0x1001f4b4], 0
call ebx
mov eax, dword [0x1001f5dc]
test eax, eax
je 0x1000abbb
push 0
push 0
push 0x10
push eax
call edi
mov eax, dword [0x1001fc00]
mov ecx, dword [str.SPLASH]
push eax
push ecx
mov dword [0x1001f5dc], 0
call ebx
mov eax, dword [0x1001f704]
test eax, eax
je 0x1000abe6
push 0
push 0
push 0x10
push eax
call edi
mov edx, dword [0x1001fc00]
mov eax, dword [str.SPLASH]
push edx
push eax
mov dword [0x1001f704], 0
call ebx
mov eax, dword [ebp + 8]
sub eax, 0
je 0x1000ac0c
dec eax
je 0x1000ac00
dec eax
jne 0x1000ac18
mov eax, 0x6a
mov ecx, 0x2b2bb9
jmp 0x1000ac1e
mov eax, 0x69
mov ecx, 0x116896
jmp 0x1000ac1e
mov eax, 0x67
mov ecx, 0x804e21
jmp 0x1000ac1e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
push ecx
push eax
mov eax, dword [ebp + 0xc]
call fcn.1000a2a0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push esi
push 0x1000aa60
push 0
push 0
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esi + 8]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x1000ac9f
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 8], 0
je 0x1000ac9f
mov eax, dword [esi + 4]
test eax, eax
je 0x1000ac9a
push 0
push 0
push 0x10
push eax
call edi
mov eax, dword [0x1001fc00]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
mov dword [esi + 4], 0
call ebx
call fcn.1000a6e0
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1000ad70
Capabilities:
Encode data using xor

Disassembly:
push esi
push 0x100
push 0
push 0x10025060
mov esi, eax
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
shl esi, 8
lea ecx, [esi + 0x100104f0]
pop esi
mov dl, byte [ecx + eax]
sub dl, 0x1b
xor dl, 0xc
mov byte [eax + 0x10025060], dl
inc eax
cmp eax, 0x100
jb 0x1000ad93
mov eax, 0x10025060
ret
Function at 0x1000adb0
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 0x1000ade7
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000d9eb
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 0x1000add7
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.1000d9eb
mov esp, ebp
pop ebp
ret

Function at 0x1000b890
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 0x1000b95e
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
nop
cmp byte [esi], 2
jne 0x1000b8ce
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 0x1000b8e3
add esi, 0x105
cmp esi, dword [0x1001a418]
jne 0x1000b8b0
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 0x1000b946
xor edi, edi
cmp byte [edi + esi], 2
jne 0x1000b922
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 0x1000b906
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0
push 6
call fcn.10003010
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000bac0
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.1000bc60
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1000bb84
cmp dword [ebp - 4], 0x50000000
jb 0x1000bb01
cmp dword [ebp - 4], 0x80000000
ja 0x1000bb01
mov dword [ebp - 4], 0x4fff0000
jmp 0x1000bada
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 0x1000bb27
jmp 0x1000bb84
cmp dword [ebp - 0x14], 0x10000
jne 0x1000bb6a
cmp dword [ebp - 0x18], 0x10000
jb 0x1000bb6a
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 0x1000bb5d
mov eax, dword [ebp - 8]
jmp 0x1000bb86
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1000bb7f
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1000bc60
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1000bada
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1000bb90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1000bc90
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1000bc4c
cmp dword [ebp - 4], 0x50000000
jb 0x1000bbcc
cmp dword [ebp - 4], 0x80000000
ja 0x1000bbcc
mov dword [ebp - 4], 0x80010000
jmp 0x1000bba5
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 0x1000bbf2
jmp 0x1000bc4c
cmp dword [ebp - 0x14], 0x10000
jne 0x1000bc35
cmp dword [ebp - 0x18], 0x10000
jb 0x1000bc35
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 0x1000bc28
mov eax, dword [ebp - 8]
jmp 0x1000bc4e
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1000bc47
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1000bc90
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1000bba5
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000c3c0
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 0x1000c3d5
xor eax, eax
jmp 0x1000c44a
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 0x1000c402
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x38d
jae 0x1000c445
mov edx, dword [ebp - 4]
imul edx, edx, 0x48
mov eax, dword [ebp - 8]
cmp dword [eax + edx + 0x40], 0
je 0x1000c443
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 0x1000c43f
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 0x1000c443
xor eax, eax
jmp 0x1000c44a
jmp 0x1000c3f9
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x1000c610
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1001f830]
mov dword [ebp - 4], eax
jmp 0x1000c629
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x1000c646
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 0x1000c620
mov esp, ebp
pop ebp
ret
Function at 0x1000ca90
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1001f840], eax
je 0x1000caae
mov eax, 0x10dd
jmp 0x1000cb8f
mov eax, dword [0x1001f850]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000cb2c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x1000cb0a
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x1000cb0a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.1000c130
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x1000cab6
mov dword [0x1001f850], 0
call fcn.1000c450
mov ecx, dword [0x1001f84c]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x1000cb79
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x1000cb44
mov dword [0x1001f84c], 0
mov dword [0x1001f840], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000d080
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x1001f844], 0
je 0x1000d099
mov eax, dword [0x1001f844]
jmp 0x1000d139
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x1000d0ab
xor eax, eax
jmp 0x1000d139
push 8
call fcn.1000db04
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000d101
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x1000d0ea
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x1001f844], eax
mov dword [0x1001f848], 0
mov eax, dword [ebp - 8]
jmp 0x1000d139
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1000d11b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x1000d0cb
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x1001f84c]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x1001f84c], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x1000d9eb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10016018]
jne 0x1000d9f5
repz ret
jmp fcn.1000ded9
Function at 0x402330
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x41c004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x4023a0
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4023a0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop
push 0x416ab0
lea ecx, [ebp - 0x20c]
push ecx
call edi
test eax, eax
je 0x4023ba
lea edx, [ebp - 0x230]
push edx
push esi
call ebx
test eax, eax
jne 0x402380
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00408bfe
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.00408bfe
mov esp, ebp
pop ebp
ret

Function at 0x4023e0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x41c004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x402450
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x402450
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop
push 0x416ab0
lea ecx, [ebp - 0x20c]
push ecx
call edi
test eax, eax
je 0x40246a
lea edx, [ebp - 0x230]
push edx
push esi
call ebx
test eax, eax
jne 0x402430
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00408bfe
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
mov eax, dword [ebp - 0x228]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x402496
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.00408bfe
mov esp, ebp
pop ebp
ret
Function at 0x4024b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [0x41c004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x40255c
lea ecx, [ebp - 0x230]
push ecx
push esi
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x40255c
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x402520
mov edx, dword [ebp - 0x234]
cmp dword [ebp - 0x228], edx
je 0x40254e
push 0x416ac4
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
jne 0x40254e
mov ecx, dword [ebp - 0x228]
cmp ecx, dword [ebp - 0x250]
jne 0x402576
lea edx, [ebp - 0x230]
push edx
push esi
call ebx
test eax, eax
jne 0x402520
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00408bfe
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.00408bfe
mov esp, ebp
pop ebp
ret

Function at 0x402810
Capabilities:
Create process on windows

Disassembly:
cmp byte [0x42371d], 0
je 0x40281c
mov al, 1
ret
push 0x44
push 0
push 0x422e60
mov byte [0x42371d], 1
call fcn.0040cc90
mov ecx, dword [0x4236e4]
mov edx, dword [0x41dc1c]
add esp, 0xc
push 0x41dc0c
push 0x422e60
push 0
push 0
push 0x20
push 0
xor eax, eax
push 0
push 0
mov dword [0x41dc0c], eax
mov dword [0x41dc10], eax
mov dword [0x41dc14], eax
mov dword [0x41dc18], eax
mov eax, dword [0x41cefc]
push str.game.exe
push 0
mov dword [0x422e60], 0x44
mov dword [0x422e70], 0x2a
mov dword [0x422e74], 0x94
mov dword [0x422e78], eax
mov dword [0x422e7c], ecx
mov dword [0x422e80], 0xd6
mov dword [0x422e84], 0
mov dword [0x422e88], edx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
setne al
ret