joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100067f0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0xffffffff
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x10006860
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x1000684f
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x16
jmp 0x1000687d
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xc
jmp 0x1000687d
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x10006890
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 0x64], ecx
xor eax, eax
mov word [ebp - 0x24], ax
xor ecx, ecx
mov dword [ebp - 0x22], ecx
mov dword [ebp - 0x1e], ecx
mov dword [ebp - 0x1a], ecx
mov word [ebp - 0x16], cx
xor edx, edx
mov word [ebp - 0x14], dx
xor eax, eax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov dword [ebp - 4], 0x10
mov dword [ebp - 0x60], 3
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x60]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x100]
push edx
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov dword [ebp - 0x5c], eax
xor eax, eax
cmp dword [ebp - 0x5c], 0
sete al
movzx ecx, al
test ecx, ecx
je 0x10006986
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x48]
sub ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x44]
sbb edx, dword [ebp - 0x4c]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 0x10]
mov ecx, 0x23c34600
mul ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x2c]
jl 0x10006980
jg 0x1000697a
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x30]
jbe 0x10006980
mov al, 1
jmp 0x10006988
xor al, al
jmp 0x10006988
mov al, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100072c0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1198
call fcn.1000b940
mov dword [ebp - 0x1198], ecx
push str._b:ys__cq
mov ecx, dword [ebp - 0x1198]
add ecx, 0x128
call fcn.10002a50
push str._b:ys__cq
mov ecx, dword [ebp - 0x1198]
add ecx, 0x128
call fcn.10002a50
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ecx, dword [ebp - 0x1198]
mov dword [ecx + 0x19ec], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xb7
je 0x1000732e
cmp dword [ebp - 4], 5
jne 0x10007332
mov al, 1
jmp 0x10007334
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x100077d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 4
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x100]
push eax
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov dword [ebp - 4], eax
xor eax, eax
cmp dword [ebp - 4], 0
sete al
mov esp, ebp
pop ebp
ret 8

Function at 0x10007830
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 4
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp + 0xc]
push ecx
push 4
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x100]
push edx
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10007876
xor al, al
jmp 0x10007878
mov al, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x10007f00
Capabilities:
Encrypt data using rc4 prga
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov dword [ebp - 0x814], ecx
mov dword [ebp - 0x804], 0
mov dword [ebp - 0x808], 0
jmp 0x10007f34
mov eax, dword [ebp - 0x808]
add eax, 1
mov dword [ebp - 0x808], eax
mov ecx, dword [ebp - 0x814]
mov edx, dword [ebp - 0x808]
cmp edx, dword [ecx]
jae 0x10008095
mov eax, dword [ebp - 0x808]
shl eax, 4
mov ecx, dword [ebp - 0x814]
mov edx, dword [ecx + eax + 4]
push edx
mov eax, dword [ebp - 0x804]
lea ecx, [ebp + eax - 0x800]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 0x804]
lea eax, [ebp + edx - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x804]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x804], edx
mov eax, dword [ebp - 0x808]
shl eax, 4
mov ecx, dword [ebp - 0x814]
mov edx, dword [ecx + eax + 8]
push edx
push 0x1000d208
mov eax, dword [ebp - 0x804]
lea ecx, [ebp + eax - 0x800]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edx, dword [ebp - 0x804]
lea eax, [ebp + edx - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x804]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x804], edx
mov eax, dword [ebp - 0x808]
shl eax, 4
mov ecx, dword [ebp - 0x814]
mov edx, dword [ecx + eax + 0xc]
push edx
push 0x1000d208
mov eax, dword [ebp - 0x804]
lea ecx, [ebp + eax - 0x800]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edx, dword [ebp - 0x804]
lea eax, [ebp + edx - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x804]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x804], edx
mov eax, dword [ebp - 0x808]
shl eax, 4
mov ecx, dword [ebp - 0x814]
mov edx, dword [ecx + eax + 0x10]
push edx
push 0x1000d208
mov eax, dword [ebp - 0x804]
lea ecx, [ebp + eax - 0x800]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edx, dword [ebp - 0x804]
lea eax, [ebp + edx - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x804]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x804], edx
jmp 0x10007f25
mov dword [ebp - 0x80c], 0
jmp 0x100080b0
mov eax, dword [ebp - 0x80c]
add eax, 1
mov dword [ebp - 0x80c], eax
mov ecx, dword [ebp - 0x80c]
cmp ecx, dword [ebp - 0x804]
jge 0x100080ef
mov edx, dword [ebp - 0x80c]
add edx, 0xeb
and edx, 0xff
mov eax, dword [ebp - 0x80c]
movsx ecx, byte [ebp + eax - 0x800]
xor ecx, edx
mov edx, dword [ebp - 0x80c]
mov byte [ebp + edx - 0x800], cl
jmp 0x100080a1
mov dword [ebp - 0x810], 0
mov eax, dword [ebp - 0x804]
push eax
lea ecx, [ebp - 0x800]
push ecx
push 3
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x100]
push edx
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov dword [ebp - 0x810], eax
mov esp, ebp
pop ebp
ret 8
Function at 0x10008350
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x100]
push edx
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov dword [ebp - 4], eax
xor eax, eax
cmp dword [ebp - 4], 0
sete al
mov esp, ebp
pop ebp
ret 8

Function at 0x100083a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 4
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x100]
push ecx
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov dword [ebp - 8], eax
xor edx, edx
cmp dword [ebp - 8], 0
sete dl
movzx eax, dl
test eax, eax
jne 0x10008434
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 4
mov edx, dword [ebp - 0x18]
push edx
lea eax, [ebp - 0x1c]
push eax
push 4
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x100]
push ecx
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x10009560
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0
je 0x10009587
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
push edx
push 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [ebp - 0x14]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x7d4], 0
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0x10], 1
jmp 0x100095b7
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0xa
jge 0x10009606
cmp dword [ebp - 8], 0xffffffff
jne 0x10009606
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov edx, dword [ebp - 0x14]
add edx, 0x4dc
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x10009604
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0x10]
imul eax, eax, 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100095ae
cmp dword [ebp - 8], 0xffffffff
jne 0x10009616
mov eax, 0xc
jmp 0x100096aa
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
ja 0x10009632
mov eax, 0x12
jmp 0x100096aa
mov edx, dword [ebp - 4]
and edx, 0xfffff
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 1
push eax
push 8
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 4], eax
push 0
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10009685
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0xd
jmp 0x100096aa
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0xc]
mov byte [edx + eax], 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov dword [edx + 0x7d4], eax
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000a240
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x118]
add eax, 0x4dc
push eax
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 0x118]
add edx, 0x4dc
push edx
mov ecx, dword [ebp - 0x118]
call fcn.10009f30
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x1000a2a4
mov eax, dword [ebp - 0x110]
jmp 0x1000a340
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov eax, dword [ebp - 0x118]
add eax, 0x4dc
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0xffffffff
jne 0x1000a2de
mov eax, 0xc
jmp 0x1000a340
mov dword [ebp - 0x114], 0
push 0
lea ecx, [ebp - 0x114]
push ecx
mov edx, dword [ebp - 0x118]
mov eax, dword [edx + 0x7d4]
push eax
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1000a320
mov eax, 0x1b
jmp 0x1000a340
mov ecx, dword [ebp - 0x10c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x110]
mov esp, ebp
pop ebp
ret
Function at 0x1000a5a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x78]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1c]
sub eax, 1
mov dword [ebp - 0x20], eax
jmp 0x1000a5fb
mov ecx, dword [ebp - 0x20]
sub ecx, 1
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
jb 0x1000a6a4
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x20], 0x225
jae 0x1000a62d
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x28]
movsx ecx, byte [eax]
test ecx, ecx
je 0x1000a65f
push 0xd
mov edx, dword [ebp - 0x24]
push edx
call fcn.1000a560
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
movsx ecx, byte [eax]
add ecx, dword [ebp - 0x24]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
jmp 0x1000a62d
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp + 0xc]
jne 0x1000a69f
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
mov dx, word [ecx + eax*2]
mov word [ebp - 0x30], dx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x34], ecx
movzx edx, word [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x10], ecx
jmp 0x1000a6a4
jmp 0x1000a5f2
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x1000a6b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20d4
call fcn.1000b940
mov dword [ebp - 0x20cc], ecx
push 0x10
lea eax, [ebp - 0x18]
push eax
call fcn.1000ac30
add esp, 8
push 0x44
lea ecx, [ebp - 0x360]
push ecx
call fcn.1000ac30
add esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x360], 0x44
mov dword [ebp - 8], 0
push 0
push 0x1000e01c
lea ecx, [ebp - 0x318]
call fcn.10002a50
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0x364], eax
cmp dword [ebp - 0x364], 0
je 0x1000a833
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x364]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 4]
push ecx
push 1
push 0x2000000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x36c], eax
lea edx, [ebp - 0x368]
push edx
push 0x2000000
mov eax, dword [ebp - 0x36c]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1000a7ca
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x360]
push edx
push 0
push 0
push 0x4000000
push 0
push 0
push 0
push str._4fy7r2___:x17_0.lc___4_7_
lea ecx, [ebp - 0x670]
call fcn.10002a50
push eax
push 0
mov eax, dword [ebp - 0x368]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 8], 0
je 0x1000a7c0
mov dword [ebp - 0x20d0], str.succeed
jmp 0x1000a7ca
mov dword [ebp - 0x20d0], str.failed
cmp dword [ebp - 8], 0
jne 0x1000a806
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x360]
push edx
push 0
push 0
push 0x4000000
push 0
push 0
push 0
push str._4fy7r2___:x17_0.lc___4_7_
lea ecx, [ebp - 0x670]
call fcn.10002a50
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 8], 0
je 0x1000a81e
mov dword [ebp - 0x20d4], str.succeed
jmp 0x1000a828
mov dword [ebp - 0x20d4], str.failed
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x20cc]
call fcn.10009f90
mov esp, ebp
pop ebp
ret
Function at 0x1000b420
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1520
call fcn.1000b940
push 0x44
lea eax, [ebp - 0x60]
push eax
call fcn.1000ac30
add esp, 8
push 0x10
lea ecx, [ebp - 0x18]
push ecx
call fcn.1000ac30
add esp, 8
mov dword [ebp - 0x60], 0x44
cmp dword [ebp + 0x24], 0
je 0x1000b482
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
mov edx, dword [ebp + 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
mov dword [ebp - 0x1520], eax
jmp 0x1000b4a8
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x60]
push ecx
push 0
push 0
push 4
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x1520], eax
mov eax, dword [ebp - 0x1520]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000b599
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x10007
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
push str._f___38asx___
lea ecx, [ebp - 0x388]
call fcn.10002a50
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x38c], eax
push 0x1000e1e0
lea ecx, [ebp - 0x388]
call fcn.10002a50
push eax
mov edx, dword [ebp - 0x38c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 4]
push eax
push 4
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xa4]
add eax, 8
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call dword [ebp - 0x84]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x80], ecx
push 0x1c
lea edx, [ebp - 0x7c]
push edx
mov eax, dword [ebp - 0x80]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
je 0x1000b58c
mov dword [ebp - 0x6c], 0x10000
cmp dword [ebp - 0x6c], 0
je 0x1000b581
jmp 0x1000b58c
mov eax, dword [ebp - 0x80]
add eax, dword [ebp - 0x70]
mov dword [ebp - 0x80], eax
jmp 0x1000b558
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x80]
sub edx, dword [ecx]
mov eax, dword [ebp + 0x20]
mov dword [eax], edx
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x1000c15d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000e5f0]
jne 0x1000c167
repz ret
jmp fcn.1000c2fc
Function at 0x4022c0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f9cb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x43efc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0041b4f4
push 4
mov dword [ebp - 4], 0
call fcn.0041c50f
mov edi, eax
add esp, 4
test edi, edi
je 0x402340
call fcn.0041ae4e
mov dword [edi], eax
call fcn.0041ac0d
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0041ab42
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x402336
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0041ab6a
jmp 0x402342
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x407010
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f9cb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x43efc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0041b4f4
push 4
mov dword [ebp - 4], 0
call fcn.0041c50f
mov edi, eax
add esp, 4
test edi, edi
je 0x407090
call fcn.0041ae4e
mov dword [edi], eax
call fcn.0041ac0d
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0041ab42
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x407086
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0041ab6a
jmp 0x407092
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret