joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b109
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x43df08
cmp edx, dword [eax]
je 0x41b12b
add eax, 8
inc ecx
cmp eax, 0x43df98
jl 0x41b11c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x43df08]
jne 0x41b259
mov eax, dword [0x4438a8]
cmp eax, 1
je 0x41b233
test eax, eax
jne 0x41b15c
cmp dword [0x43d7f4], 1
je 0x41b233
cmp edx, 0xfc
je 0x41b259
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41b193
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00417a90
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00418420
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x41b1d6
lea eax, [ebp - 0x1a4]
push eax
call fcn.00418420
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x43c8e8
push edi
call fcn.0041f460
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00417a90
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00417aa0
lea eax, [ebp - 0xa0]
push 0x4347c4
push eax
call fcn.00417aa0
push dword [esi + 0x43df0c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00417aa0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0041f3c9
add esp, 0x2c
pop edi
jmp 0x41b259
lea eax, [ebp + 8]
lea esi, [esi + 0x43df0c]
push 0
push eax
push dword [esi]
call fcn.00418420
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x429108
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x42914a
call fcn.0042da2f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x42914a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x429141
xor eax, eax
jmp 0x429152
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00429158
pop edi
pop esi
pop ebx
ret 4

Function at 0x42dff6
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x42e024
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42e042
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0042df5c
jmp 0x42e042
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42e042
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0042df5c
test edi, edi
mov eax, edi
jne 0x42e02c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10001d6c
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x10039454]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 6
pop ecx
mov esi, str.mplhost.exe
lea edi, [ebp - 0x414]
rep movsd dword es:[edi], dword [esi]
push 0x1f0
xor esi, esi
lea eax, [ebp - 0x3fc]
push esi
push eax
call fcn.1000fb90
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.1000fb90
add esp, 0x18
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x10001e11
push esi
push esi
push esi
push 0x10001d26
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.1000169b
push 1
call fcn.1000ae60
int3
Function at 0x1000329b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10029d1f
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x10039454]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x10039454]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
xor esi, esi
mov ebx, ecx
mov dword [esp + 0x18], esi
cmp dword [ebx + 0x44], esi
je 0x1000349e
cmp byte [ebx + 0x49], 0
je 0x1000349e
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x10003303
xor al, al
jmp 0x100034a0
lea eax, [esp + 0x58]
push eax
call fcn.10002e9f
mov dword [esp + 0x88], esi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.10002fbb
mov edi, eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x90], 1
call fcn.10002fbb
mov dword [esp + 0x24], eax
mov byte [esp + 0x88], 2
call fcn.10003a68
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x20], eax
call fcn.10003a68
add esi, dword [esp + 0x20]
mov ecx, dword [ebx + 0x44]
mov edx, dword [ecx]
lea edi, [esp + 0x1c]
push edi
push esi
push eax
lea eax, [ebx + 0x4c]
push eax
call dword [edx + 0x18]
lea edi, [esp + 0x4c]
mov esi, eax
mov byte [esp + 0x88], 1
call fcn.10001047
lea edi, [esp + 0x28]
mov byte [esp + 0x88], 0
call fcn.10001047
mov eax, esi
sub eax, 0
je 0x100033d2
dec eax
je 0x100033d6
dec eax
dec eax
je 0x10003497
xor bl, bl
or dword [esp + 0x88], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x60]
call fcn.10002ffd
lea ecx, [esp + 0x58]
call fcn.100030a9
mov al, bl
jmp 0x100034a0
mov byte [ebx + 0x49], 0
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.10002fbb
mov edi, eax
mov byte [esp + 0x88], 3
call fcn.10003a68
mov esi, dword [esp + 0x1c]
lea edi, [esp + 0x34]
sub esi, eax
mov byte [esp + 0x88], 0
call fcn.10001047
test esi, esi
je 0x1000344a
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.10002fbb
mov byte [esp + 0x88], 4
or dword [esp + 0x18], 1
mov edi, eax
call fcn.10003a68
push dword [ebx + 0x54]
push esi
push 1
push eax
call fcn.1000a1a0
add esp, 0x10
mov byte [esp + 0x17], 1
cmp esi, eax
jne 0x1000344f
mov byte [esp + 0x17], 0
and dword [esp + 0x88], 0
test byte [esp + 0x18], 1
je 0x1000346c
and dword [esp + 0x18], 0xfffffffe
lea edi, [esp + 0x40]
call fcn.10001047
cmp byte [esp + 0x17], 0
jne 0x100033ab
cmp byte [ebx + 0x49], 0
je 0x10003497
test esi, esi
jne 0x10003314
push esi
push 8
pop edi
lea esi, [esp + 0x5c]
call fcn.10002eff
jmp 0x10003314
mov bl, 1
jmp 0x100033ad
mov al, 1
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.10005dd0
mov esp, ebp
pop ebp
ret

Function at 0x10005dd0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10039454]
jne 0x10005dda
repz ret
jmp fcn.1000eaf0
Function at 0x403a74
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x390
mov eax, dword [0x44608c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, 0x101
push 0
push eax
mov ecx, esi
mov dword [ebp - 0x390], eax
call fcn.004046c1
cmp dword [esi + 0x14], 8
jb 0x403aaa
mov eax, dword [esi]
jmp 0x403aac
mov eax, esi
lea ecx, [ebp - 0x390]
push ecx
push eax
push 2
call sub.Secur32.dll_GetUserNameExW
test al, al
je 0x403adf
push 0
push dword [ebp - 0x390]
mov ecx, esi
call fcn.004046c1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004065bb
mov esp, ebp
pop ebp
ret 4
push 0x4243c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x38c]
call fcn.004018f5
push 0x442bc0
lea eax, [ebp - 0x38c]
push eax
call fcn.004073d4
int3

Function at 0x402000
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [0x403010], 0x400000
push 0x7f02
push 0
call dword [sym.imp.user32.dll_LoadIconA]
sub esp, 8
mov dword [0x403014], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
sub esp, 8
mov dword [0x403018], eax
mov eax, section..data_1
mov dword [esp], eax
call dword [sym.imp.user32.dll_RegisterClassA]
sub esp, 4
test eax, eax
je 0x402111
mov dword [esp], 0
mov dword [esp + 4], 0x403059
mov dword [esp + 8], 0x40305e
mov dword [esp + 0xc], 0x10080000
mov dword [esp + 0x10], pe_nt_image_headers32
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x18], 0x100
mov dword [esp + 0x1c], 0xc0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov eax, dword [0x403010]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.user32.dll_CreateWindowExA]
sub esp, 0x30
test eax, eax
je 0x402111
mov dword [esp], 0x403028
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call dword [sym.imp.user32.dll_GetMessageA]
sub esp, 0x10
cmp eax, 1
jb 0x402111
jne 0x4020c0
mov dword [esp], 0x403028
call dword [sym.imp.user32.dll_TranslateMessage]
sub esp, 4
mov dword [esp], 0x403028
call dword [sym.imp.user32.dll_DispatchMessageA]
sub esp, 4
jmp 0x4020c0
leave
mov eax, dword [0x403030]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ExitProcess]

Function at 0x40215d
Capabilities:
Query environment variable
Set environment variable
Terminate process

Disassembly:
mov byte [0x403063], al
push 0x403063
push 0x40305e
call dword [sym.imp.kernel32.dll_SetEnvironmentVariableA]
call fcn.004026a6
push 0
push 2
push 0x403080
push 0x403044
call dword [0x40568e]
cmp eax, 0x122
jne 0x4021b8
call fcn.00402120
pop eax
xor ebx, ebx
push edx
push 2
push 0x403065
push 0x40305e
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
mov bl, byte [0x403065]
pop edx
add edx, ebx
call edx
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]

Function at 0x402689
Capabilities:
Allocate or change rwx memory

Disassembly:
push esi
push 0x40
push ebx
push eax
call dword [sym.imp.kernel32.dll_VirtualProtect]
ret
Function at 0x10003870
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.10003a20
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1000393d
mov edx, dword [ebp - 4]
cmp edx, dword [0x10025040]
jb 0x100038ba
mov eax, dword [ebp - 4]
cmp eax, dword [0x10025044]
ja 0x100038ba
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1000388a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.1000aa60
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 0x100038e0
jmp 0x1000393d
cmp dword [ebp - 0x14], 0x10000
jne 0x10003923
cmp dword [ebp - 0x18], 0x10000
jb 0x10003923
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 0x10003916
mov eax, dword [ebp - 8]
jmp 0x1000393f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10003938
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10003a20
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1000388a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10003950
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10003a50
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10003a15
mov edx, dword [ebp - 4]
cmp edx, dword [0x10025040]
jb 0x10003995
mov eax, dword [ebp - 4]
cmp eax, dword [0x10025044]
ja 0x10003995
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10003965
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.1000aa60
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 0x100039bb
jmp 0x10003a15
cmp dword [ebp - 0x14], 0x10000
jne 0x100039fe
cmp dword [ebp - 0x18], 0x10000
jb 0x100039fe
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 0x100039f1
mov eax, dword [ebp - 8]
jmp 0x10003a17
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10003a10
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10003a50
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10003965
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10003a80
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10003e70
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x10025aec], 0
jne 0x10003abd
cmp dword [0x10025ae8], 0
je 0x10003abd
mov eax, dword [0x10025ae8]
mov dword [0x10025aec], eax
cmp dword [0x10025aec], 0
je 0x10003b3a
mov ecx, dword [0x10025aec]
cmp dword [ecx + 8], 0
je 0x10003b3a
mov edx, dword [0x10025aec]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x10003b3a
mov ecx, dword [0x10025aec]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x10003b3a
mov eax, dword [0x10025aec]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x10003b09
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x10003b10
xor eax, eax
jmp 0x10003c59
mov ecx, dword [0x10025aec]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call fcn.1000aa60
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x10003c59
mov edx, dword [0x10025ae8]
mov dword [0x10025aec], edx
jmp 0x10003b56
mov eax, dword [0x10025aec]
mov ecx, dword [eax + 4]
mov dword [0x10025aec], ecx
cmp dword [0x10025aec], 0
je 0x10003b96
cmp dword [0x10025aec], 0
je 0x10003b94
mov edx, dword [0x10025aec]
cmp dword [edx + 8], 0
je 0x10003b94
mov eax, dword [0x10025aec]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x10003b94
mov edx, dword [0x10025aec]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x10003b94
jmp 0x10003aee
jmp 0x10003b48
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10003c60
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10003c57
mov eax, dword [ebp - 0x18]
mov dword [0x10025aec], eax
mov ecx, dword [0x10025aec]
mov dword [ecx], 0x52727464
mov edx, dword [0x10025aec]
mov dword [edx + 8], 0
mov eax, dword [0x10025aec]
mov ecx, dword [0x10025ae8]
mov dword [eax + 4], ecx
mov edx, dword [0x10025aec]
mov dword [0x10025ae8], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x10025aec]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x10003c27
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x10003c47
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x10003c1e
mov eax, dword [0x10025aec]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x10003aee
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10007a70
Capabilities:
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0x34], 0
jne 0x10007a84
mov eax, dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp + 0x34], eax
cmp dword [ebp + 0x2c], 0
jne 0x10007aa0
lea ecx, [ebp - 0x14]
mov dword [ebp + 0x2c], ecx
push 0x10
push 0
lea edx, [ebp - 0x14]
push edx
call fcn.1000aa60
add esp, 0xc
mov eax, dword [ebp + 0x2c]
push eax
mov ecx, dword [ebp + 0x28]
push ecx
mov edx, dword [ebp + 0x24]
push edx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
or ecx, 4
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp + 0x34]
test eax, eax
jne 0x10007ad9
xor eax, eax
jmp 0x10007b72
mov ecx, dword [ebp + 0x30]
mov dword [ebp - 4], ecx
push 1
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 0x2c]
mov ecx, dword [eax]
push ecx
call fcn.100083c0
test eax, eax
jne 0x10007b37
mov edx, dword [ebp + 0x34]
push edx
mov eax, dword [ebp + 0x30]
push eax
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ecx + 8]
push edx
call fcn.10007eb0
test eax, eax
jne 0x10007b37
push 0xffffffffffffffff
mov eax, dword [ebp + 0x2c]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [ebp + 0x2c]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x10007b72
mov eax, dword [ebp + 0x1c]
and eax, 4
jne 0x10007b4c
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
lea eax, [ebp - 0x14]
cmp dword [ebp + 0x2c], eax
jne 0x10007b6d
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x2c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret 0x30
Function at 0x10007b80
Capabilities:
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0x34], 0
jne 0x10007b94
mov eax, dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp + 0x34], eax
cmp dword [ebp + 0x2c], 0
jne 0x10007bb0
lea ecx, [ebp - 0x14]
mov dword [ebp + 0x2c], ecx
push 0x10
push 0
lea edx, [ebp - 0x14]
push edx
call fcn.1000aa60
add esp, 0xc
mov eax, dword [ebp + 0x2c]
push eax
mov ecx, dword [ebp + 0x28]
push ecx
mov edx, dword [ebp + 0x24]
push edx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
or ecx, 4
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp + 0x34]
test eax, eax
jne 0x10007be9
xor eax, eax
jmp 0x10007c82
mov ecx, dword [ebp + 0x30]
mov dword [ebp - 4], ecx
push 1
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 0x2c]
mov ecx, dword [eax]
push ecx
call fcn.100083c0
test eax, eax
jne 0x10007c47
mov edx, dword [ebp + 0x34]
push edx
mov eax, dword [ebp + 0x30]
push eax
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ecx + 8]
push edx
call fcn.100083a0
test eax, eax
jne 0x10007c47
push 0xffffffffffffffff
mov eax, dword [ebp + 0x2c]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [ebp + 0x2c]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x10007c82
mov eax, dword [ebp + 0x1c]
and eax, 4
jne 0x10007c5c
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
lea eax, [ebp - 0x14]
cmp dword [ebp + 0x2c], eax
jne 0x10007c7d
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x2c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret 0x30
Function at 0x10007c90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0x26ac
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
cmp dword [0x10025b1c], 0
jne 0x10007cd3
mov dword [ebp - 8], 0x26b1
jmp 0x10007de5
mov eax, dword [0x10025b1c]
mov ecx, dword [eax + 4]
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x10007d03
mov dword [ebp - 8], 0x26ad
jmp 0x10007de5
xor ecx, ecx
mov edx, dword [0x10025b1c]
mov eax, dword [edx + 8]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10009dee
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov ecx, dword [0x10025b1c]
mov edx, dword [ecx]
sub edx, 0x10
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], 0
jmp 0x10007d4e
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [0x10025b1c]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ecx + 8]
jae 0x10007db8
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [0x10025b1c]
lea ecx, [eax + edx + 0xc]
push ecx
call fcn.10006b90
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jge 0x10007d94
mov dword [ebp - 8], 0x26ae
jmp 0x10007de5
mov edx, dword [ebp - 0xc]
mov eax, dword [0x10025b1c]
lea ecx, [eax + edx + 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov dword [eax + edx*4], ecx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
lea eax, [edx + ecx + 1]
mov dword [ebp - 0xc], eax
jmp 0x10007d45
mov ecx, dword [0x10025b1c]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.100083c0
test eax, eax
jne 0x10007dde
mov dword [ebp - 8], 0x26af
jmp 0x10007de5
mov dword [ebp - 8], 0
cmp dword [ebp - 4], 0
je 0x10007e04
mov edx, dword [ebp - 4]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.10009df7
add esp, 4
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ExitProcess]