joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10015c90
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100d2008
push 0x10076910
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x2a18
call fcn.1006ad60
mov eax, dword [0x100db55c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2a30], esi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x2a2c], edi
test esi, esi
je 0x10015e29
mov dword [ebp - 4], 0
call fcn.10014850
mov dword [ebp - 4], 0xfffffffe
jmp 0x10015d1b
push 0x800
push 0
lea eax, [ebp - 0xa24]
push eax
call fcn.10076710
mov dword [ebp - 0x2a28], 0
push 0x2000
push 0
lea eax, [ebp - 0x2a24]
push eax
call fcn.10076710
add esp, 0x18
lea eax, [ebp - 0x2a28]
push eax
push 0x800
lea eax, [ebp - 0x2a24]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x10015e29
push 0x104
push esi
lea eax, [ebp - 0x224]
push eax
call fcn.1008706a
lea eax, [ebp - 0x224]
push eax
call fcn.1007e22e
add esp, 0x10
xor esi, esi
cmp dword [ebp - 0x2a28], esi
jbe 0x10015e29
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x400
lea eax, [ebp - 0xa24]
push eax
push dword [ebp + esi*4 - 0x2a24]
call fcn.10015050
add esp, 0xc
test eax, eax
je 0x10015e1c
lea eax, [ebp - 0xa24]
push eax
call fcn.1007e22e
add esp, 4
lea eax, [ebp - 0xa24]
push eax
call ebx
lea ecx, [ebp - 0x224]
push ecx
push eax
call fcn.10086e0a
add esp, 8
test eax, eax
jne 0x10015e1c
test edi, edi
je 0x10015e47
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10015df7
sub eax, edx
sar eax, 1
je 0x10015e47
push edi
lea eax, [ebp - 0xa24]
push eax
call fcn.1005e300
add esp, 8
test eax, eax
jne 0x10015e47
inc esi
cmp esi, dword [ebp - 0x2a28]
jb 0x10015da3
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1006a7ac
mov esp, ebp
pop ebp
ret
mov eax, 1
jmp 0x10015e2b
Function at 0x10015e50
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x100db55c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
xor esi, esi
push edi
cmp dword [0x100da118], esi
je 0x10015f1c
push 0x100b0238
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x12c], esi
call ecx
mov edi, eax
test edi, edi
je 0x10015f10
push 0x100b024c
push edi
call ebx
test eax, eax
je 0x10015edf
lea ecx, [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x124]
push ecx
lea ecx, [ebp - 0x130]
push ecx
call eax
movzx eax, word [ebp - 0x128]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x12c], 1
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x12c], esi
je 0x10015f10
cmp dword [ebp - 0x130], 6
jne 0x10015f10
mov eax, dword [0x100dd78c]
mov ecx, 1
cmp dword [ebp - 0x124], 1
cmove eax, ecx
mov dword [0x100dd78c], eax
mov ecx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x100da118], esi
cmp dword [0x100dd78c], esi
je 0x10015fae
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.10076710
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push str.GetProductInfo
push str.kernel32.dll
mov dword [ebp - 0x124], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call ebx
test eax, eax
je 0x10015f8b
lea ecx, [ebp - 0x124]
push ecx
push 0
push 0
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
call eax
cmp dword [ebp - 0x124], 2
je 0x1001605c
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006a7ac
mov esp, ebp
pop ebp
ret
cmp dword [0x100da11c], esi
je 0x1001604e
push 0x100b0238
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x124], esi
call ecx
mov edi, eax
test edi, edi
je 0x10016048
push 0x100b024c
push edi
call ebx
test eax, eax
je 0x10016019
lea ecx, [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x12c]
push ecx
lea ecx, [ebp - 0x130]
push ecx
call eax
movzx eax, word [ebp - 0x128]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], 1
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x124], esi
je 0x10016048
cmp dword [ebp - 0x130], 6
jne 0x1001603c
cmp dword [ebp - 0x12c], 2
jae 0x1001603e
jmp 0x10016048
jbe 0x10016048
mov dword [0x100dd790], 1
mov dword [0x100da11c], esi
cmp dword [0x100dd790], esi
mov eax, 1
cmovne esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006a7ac
mov esp, ebp
pop ebp
ret
Function at 0x100163e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100d21d0
push 0x10076910
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x100db55c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
push 0x200
push 0
lea eax, [ebp - 0x42c]
push eax
call fcn.10076710
push edi
push str.SYSTEMCurrentControlSetServices_sParameters
push 0xff
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x1c
lea eax, [ebp - 0x430]
push eax
push 0x20219
push 0
lea eax, [ebp - 0x42c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100164f9
mov dword [ebp - 0x438], eax
push 0x210
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.10076710
add esp, 0xc
mov dword [ebp - 0x434], 0x210
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
push 0
push str.ServiceDll
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100164f9
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp + 0x10]
cmp ecx, eax
jle 0x100164f9
push ecx
lea eax, [ebp - 0x22c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [ebp - 4], 0xfffffffe
call fcn.1001652b
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1006a7ac
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10016880
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a9628
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x100db55c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100168cb
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
je 0x100168e9
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
lea ecx, [ebp - 0x10]
call fcn.10003790
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0
mov edi, dword [eax - 0xc]
lea esi, [edi + 1]
test esi, esi
js 0x100169aa
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x10016927
push esi
lea ecx, [ebp - 0x10]
call fcn.10002730
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov word [eax + edi*2], cx
mov eax, dword [ebp - 0x10]
cmp esi, dword [eax - 8]
jg 0x100169aa
mov dword [eax - 0xc], esi
xorps xmm0, xmm0
mov eax, dword [ebp - 0x10]
mov word [eax + esi*2], cx
mov eax, 0x614
mov word [ebp - 0x20], ax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], ecx
movlpd qword [ebp - 0x1e], xmm0
mov dword [ebp - 0x16], ecx
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x24], ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov edi, dword [ebp - 0x10]
neg eax
mov dword [ebp - 4], 0xffffffff
sbb esi, esi
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10016996
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [esi + 1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.10001810
int3
Function at 0x10017400
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a9710
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100db55c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
test esi, esi
je 0x10017566
cmp dword [ebp + 0xc], 0
je 0x10017566
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x10017566
call fcn.10002b70
mov ecx, eax
test ecx, ecx
je 0x10017587
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
or ebx, 0xffffffff
test eax, eax
je 0x100174b9
push ecx
mov ecx, esp
push esi
call fcn.10003790
lea eax, [ebp - 0x10]
push eax
call fcn.10014ef0
add esp, 8
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.100024a0
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100174c2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x100174c2
push esi
lea ecx, [ebp + 8]
call fcn.10003740
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100174d7
push str.file_not_found
jmp 0x1001752c
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100174e0
sub ecx, edx
sar ecx, 1
je 0x100174fd
push edi
push esi
call fcn.1005e300
add esp, 8
jmp 0x10017506
push esi
call fcn.1005e7a0
add esp, 4
test eax, eax
je 0x10017527
push 0
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 0
push dword [ebp + 0xc]
push esi
call fcn.10013ab0
add esp, 0x1c
mov edi, eax
jmp 0x10017536
push str.file_sign_error
call fcn.1001f0d0
add esp, 4
xor edi, edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10017552
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.invalid_param
call fcn.1001f0d0
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10001810
int3
Function at 0x100175a0
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a9740
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100db55c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call esi
test eax, eax
jne 0x10017698
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10017698
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x10017606
push edi
call esi
test eax, eax
jne 0x10017698
call fcn.10002b70
mov ecx, eax
test ecx, ecx
je 0x100176af
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.10003790
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10013ea0
mov edx, dword [ebp - 0x10]
or ebx, 0xffffffff
add esp, 8
mov byte [ebp - 4], 0
mov esi, eax
add edx, 0xfffffff0
mov ecx, ebx
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x10017667
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 4
test esi, esi
mov esi, dword [ebp - 0x14]
push 0
je 0x10017675
push esi
jmp 0x10017676
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10017698
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10001810
int3

Function at 0x10017920
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 8]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x1001793a
pop edi
pop ebp
ret
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop edi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov esi, dword [ebp + 0x10]
mov ebx, eax
test esi, esi
je 0x10017fec
cmp dword [esi], 0
jne 0x10018009
call edi
sub eax, ebx
cmp eax, dword [ebp + 0xc]
jae 0x10018009
push 0xa
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10018010
cmp eax, 0xffffffff
jne 0x10017fe3
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
Function at 0x1001d7e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x100db55c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov edi, ecx
push 0
push eax
call fcn.10076710
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
call ebx
mov esi, dword [ebp + 8]
test esi, esi
je 0x1001d84e
nop dword [eax + eax]
lea eax, [ebp - 0x20c]
push eax
call ebx
sub esi, 1
jne 0x1001d840
push str.netcurl.dll
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001d8dc
cmp dword [edi], 0
jne 0x1001d8b2
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x1001d8dc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpInit
push eax
call esi
push str.HttpUninit
push dword [edi]
mov dword [edi + 4], eax
call esi
mov dword [edi + 8], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x1001d8b2
call eax
mov dword [edi + 0xc], eax
cmp dword [edi + 8], 0
je 0x1001d8dc
cmp dword [edi + 4], 0
je 0x1001d8dc
cmp dword [edi + 0xc], 0
je 0x1001d8dc
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006a7ac
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006a7ac
mov esp, ebp
pop ebp
ret 4
Function at 0x1001e370
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aa158
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x100db55c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [ebp + 8]
mov dword [ebp - 4], 2
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001e41c
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x1001e41c
lea eax, [ebp + 0x10]
push eax
lea ecx, [edi + 0xc]
call fcn.100024a0
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x100cc394
call fcn.10003790
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x14], esp
mov esi, esp
mov byte [ebp - 4], 3
push eax
mov dword [ebp - 0x18], esi
call fcn.100025a0
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov esi, esp
add eax, 0xfffffff0
mov byte [ebp - 4], 4
push eax
mov dword [ebp - 0x18], esi
call fcn.100025a0
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.1001e490
mov edx, dword [ebp + 8]
or esi, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001e43d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001e45b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x1001e47a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1001f440
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aa333
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push esi
push edi
mov eax, dword [0x100db55c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], 2
cmp dword [eax - 0xc], 0
je 0x1001f489
push eax
push dword [ebp + 8]
call fcn.1005e300
add esp, 8
jmp 0x1001f494
push dword [ebp + 8]
call fcn.1005e7a0
add esp, 4
mov ebx, eax
test ebx, ebx
je 0x1001f563
mov ecx, dword [ebp + 0x14]
cmp ecx, 1
je 0x1001f542
cmp ecx, 2
je 0x1001f542
cmp ecx, 3
jne 0x1001f563
push 5
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x100b01c8
call fcn.10020840
add esp, 0x14
test eax, eax
jne 0x1001f4ec
push 5
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x100b01c8
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.1005d6c0
test eax, eax
je 0x1001f563
call fcn.1005d6c0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1001f563
call fcn.1005d6c0
lea ecx, [ebp - 0xa4]
mov edi, eax
call fcn.10006650
mov esi, eax
push str.desk
push esi
mov byte [ebp - 4], 3
call fcn.100072a0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x14]
lea ecx, [ebp - 0xa4]
call fcn.10007360
jmp 0x1001f563
xor eax, eax
cmp ecx, 2
sete al
push eax
push 0
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10013ab0
add esp, 0x1c
mov ebx, eax
mov edx, dword [ebp + 8]
or esi, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001f584
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001f5a2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x1001f5c1
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1001f5e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aa383
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x100db55c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x42
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 2
push 0
push eax
call fcn.10076710
push 0x21
lea eax, [ebp - 0x54]
push eax
push dword [ebp + 8]
call fcn.1005ee00
lea eax, [ebp - 0x54]
push eax
push dword [ebp + 0x10]
call fcn.10086e0a
add esp, 0x20
test eax, eax
je 0x1001f649
xor esi, esi
jmp 0x1001f713
mov ecx, dword [ebp + 0x14]
cmp ecx, 1
je 0x1001f6f2
cmp ecx, 2
je 0x1001f6f2
cmp ecx, 3
jne 0x1001f6eb
push 5
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x100b01c8
call fcn.10020840
add esp, 0x14
test eax, eax
jne 0x1001f697
push 5
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x100b01c8
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.1005d6c0
test eax, eax
je 0x1001f6eb
call fcn.1005d6c0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1001f6eb
call fcn.1005d6c0
lea ecx, [ebp - 0xec]
mov edi, eax
call fcn.10006650
mov esi, eax
push str.desk
push esi
mov byte [ebp - 4], 3
call fcn.100072a0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x14]
lea ecx, [ebp - 0xec]
call fcn.10007360
mov esi, 1
jmp 0x1001f713
xor eax, eax
cmp ecx, 2
sete al
push eax
push 0
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10013ab0
add esp, 0x1c
mov esi, eax
mov edx, dword [ebp + 8]
or edi, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001f734
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001f752
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x1001f771
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006a7ac
mov esp, ebp
pop ebp
ret 0x10