joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100951a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ebbda
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x10124b64]
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 esi, ecx
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x248], esi
xor eax, eax
mov dword [esi], vtable.ExtractFileImp.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 7
mov word [esi + 0xc], ax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], 7
mov dword [ebp - 4], eax
mov word [esi + 0x24], ax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], 7
mov word [esi + 0x3c], ax
push 0x208
push eax
mov dword [esi + 0x54], eax
mov byte [esi + 0x58], al
lea eax, [ebp - 0x218]
push eax
mov byte [ebp - 4], 2
call fcn.100b5e10
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call ebx
mov edi, dword [ebp + 8]
test edi, edi
je 0x1009527e
nop
lea eax, [ebp - 0x218]
push eax
call ebx
sub edi, 1
jne 0x10095270
push str.Utils7z.dll
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10095394
lea eax, [ebp - 0x218]
push eax
call fcn.100db0d0
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
push eax
call fcn.10093ff0
add esp, 4
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0x10095a10
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x23c], 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x234], eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x244]
push eax
movups xmmword [ebp - 0x230], xmm0
call dword [sym.imp.USER32.dll_RegisterClassW]
push 0
push dword [ebp - 0x234]
push 0
push 0xfffffffffffffffd
push 0
push 0
push 0
push 0
push SysReAllocString
push str.title
push dword [ebp - 0x21c]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 0x54], eax
test eax, eax
jne 0x10095376
mov eax, dword [ebp - 0x21c]
or ecx, 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x10095394
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x10095394
mov edx, dword [ebp - 0x21c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10095394
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
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.1009b46e
mov esp, ebp
pop ebp
ret 4
Function at 0x10095870
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ebc38
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10124b64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov edi, dword [ecx + 4]
test edi, edi
je 0x10095929
cmp dword [edi + 4], 0
je 0x1009593e
push 0x628
call fcn.100922e0
mov esi, eax
add esp, 4
test esi, esi
je 0x100958ed
push 0x618
lea ecx, [esi + 8]
mov dword [esi], 0
push 0
push ecx
mov dword [esi + 4], 0
call fcn.100b5e10
add esp, 0xc
mov byte [esi + 0x620], 0
jmp 0x100958ef
xor esi, esi
lea eax, [edi + 0x3c]
mov dword [esi + 0x624], 0
cmp dword [eax + 0x14], 8
jb 0x10095904
mov eax, dword [eax]
push eax
lea eax, [esi + 0x418]
push 0x104
push eax
call fcn.100bdccd
add esp, 0xc
push esi
push edi
push 0x800
push dword [edi + 0x54]
call dword [sym.imp.USER32.dll_PostMessageW]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
push dword [ebp + 8]
lea ecx, [edi + 0xc]
call fcn.10050120
push dword [ebp + 0xc]
lea ecx, [edi + 0x24]
call fcn.10050120
mov eax, dword [ebp + 0x10]
lea ecx, [edi + 0x3c]
push dword [ebp + 0x14]
mov dword [edi + 8], eax
call fcn.10050120
push 0x38
call fcn.100922e0
mov esi, eax
add esp, 4
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x100959cd
push dword [ebp + 8]
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov ecx, esi
mov word [esi], ax
call fcn.10050120
push dword [ebp + 0xc]
lea ecx, [esi + 0x18]
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], 1
mov word [ecx], ax
call fcn.10050120
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
jmp 0x100959cf
xor esi, esi
push 0
push 0
push esi
push 0x10095560
push 0
push 0
mov byte [edi + 0x58], 0
call fcn.100bbe83
add esp, 0x18
mov dword [edi + 4], eax
test eax, eax
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10099590
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ec338
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10124b64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ecx + 4]
test esi, esi
je 0x10099717
xorps xmm0, xmm0
push 0x100fe59a
push 4
movlpd qword [ebp - 0x20], xmm0
call fcn.1009c3a2
add esp, 8
mov dword [ebp - 0x18], eax
test eax, eax
je 0x100995e7
mov ecx, dword [esi]
mov dword [eax], ecx
jmp 0x100995e9
xor eax, eax
push dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
mov dword [ebp - 0x1c], 0
call fcn.10095ab0
cmp dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
je 0x100996ef
mov eax, dword [esi + 4]
push 0x100fe59a
push 0x18
mov dword [ebp - 0x18], eax
call fcn.1009c3a2
mov edi, eax
add esp, 8
test edi, edi
je 0x100996ef
mov ebx, dword [ebp + 0xc]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
test ebx, ebx
je 0x100996ef
cmp dword [ebx + 0x5c], 0x10
lea eax, [ebx + 0x48]
mov dword [ebp + 0xc], eax
jb 0x10099678
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
cmp dword [ebx + 0x44], 0x10
lea eax, [ebx + 0x30]
mov dword [ebp - 0x10], eax
jb 0x10099689
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 0x14], ebx
jb 0x10099697
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
call fcn.10096200
mov esi, dword [ebp + 8]
mov ecx, eax
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.10095d70
mov ecx, dword [esi + 4]
mov eax, dword [esi]
test ecx, ecx
jne 0x100996bd
test eax, eax
je 0x100996ef
push 0
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x20]
push 0
mov dword [edi + 0x14], ecx
mov ecx, dword [ebp - 0x18]
push edi
mov dword [edi], eax
mov dword [edi + 8], ecx
mov eax, dword [eax]
push 0x10099c00
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x60]
push 0
push 0
mov dword [edi + 0xc], eax
call fcn.100bbe83
add esp, 0x18
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x10099717
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10099717
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x10099717
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10099fa0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c8
mov eax, dword [0x10124b64]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c4], ecx
mov dword [ebp - 0x4c0], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
test ecx, ecx
je 0x1009a081
test eax, eax
je 0x1009a081
lea eax, [ebp - 0x4bc]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x1009a081
mov ax, word [ebp - 0x4bc]
xor esi, esi
test ax, ax
je 0x1009a081
xor ecx, ecx
movzx edx, ax
nop dword [eax + eax]
mov ax, word [ebp + ecx - 0x4ba]
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0xd4]
push 0x64
push eax
lea eax, [ebp - 0xc]
mov word [ebp - 0xc], dx
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x1009a06c
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
lea eax, [ebp - 0xd4]
push ebx
push eax
push dword [ebp - 0x4c4]
mov dword [ebp - 0x4c8], ebx
call fcn.100c9bff
add esp, 0xc
test eax, eax
je 0x1009a094
add esi, 4
lea ecx, [esi + esi]
movzx eax, word [ebp + ecx - 0x4bc]
mov edx, eax
test ax, ax
jne 0x1009a010
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009b46e
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x1009a0e2
cmp edi, 0x7fffffff
ja 0x1009a0e2
mov ecx, dword [ebp - 0x4c0]
lea ebx, [ebp - 0xc]
mov esi, SysReAllocString
mov edx, edi
sub esi, edi
sub ebx, ecx
lea eax, [esi + edx]
test eax, eax
je 0x1009a0cf
movzx eax, word [ebx + ecx]
test ax, ax
je 0x1009a0cf
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x1009a0b4
mov ebx, dword [ebp - 0x4c8]
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
xor ecx, ecx
test edi, edi
je 0x1009a0f0
cmp edi, 0x7fffffff
jbe 0x1009a0f5
mov ecx, 0x80070057
test ecx, ecx
js 0x1009a12b
mov eax, dword [ebp - 0x4c0]
mov esi, edi
test edi, edi
je 0x1009a113
cmp word [eax], 0
je 0x1009a113
add eax, 2
sub esi, 1
jne 0x1009a105
xor eax, eax
mov ecx, 0x80070057
test esi, esi
cmovne ecx, eax
mov eax, edi
sub eax, esi
neg esi
sbb esi, esi
and esi, eax
jmp 0x1009a12d
xor esi, esi
test ecx, ecx
js 0x1009a17e
mov eax, dword [ebp - 0x4c0]
mov edx, edi
lea ecx, [eax + esi*2]
sub edx, esi
je 0x1009a171
mov eax, edx
sub eax, edi
mov edi, dword [ebp - 0x4c4]
add eax, 0x7fffffff
add esi, eax
lea eax, [ebx + ebx]
sub eax, ecx
add edi, eax
test esi, esi
je 0x1009a171
movzx eax, word [edi + ecx]
test ax, ax
je 0x1009a171
mov word [ecx], ax
dec esi
add ecx, 2
sub edx, 1
jne 0x1009a158
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1009b46e
mov esp, ebp
pop ebp
ret
Function at 0x1009a560
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.1009b480
mov eax, dword [0x10124b64]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
test ebx, ebx
je 0x1009a691
mov edi, dword [ebp + 0x10]
cmp edi, 0x64
jl 0x1009a691
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x1009a691
push 0x400
lea eax, [ebp - 0x804]
mov dword [ebp - 0x804], 0
push eax
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
mov dword [ebp - 0x1008], eax
test eax, eax
je 0x1009a666
push 0x800
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.100b5e10
lea eax, [ebp - 0x804]
push 0x7e
push eax
call fcn.100b7b2d
add esp, 0x14
test eax, eax
je 0x1009a628
push 0x400
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
dec eax
cmp eax, 0x3fe
ja 0x1009a628
mov ecx, 1
jmp 0x1009a62a
xor ecx, ecx
test ecx, ecx
lea edx, [ebp - 0x1004]
lea eax, [ebp - 0x804]
push edi
cmovne eax, edx
push eax
push ebx
call fcn.100c9bbc
add esp, 0xc
mov edi, dword [ebp - 0x1008]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009b46e
mov esp, ebp
pop ebp
ret
push 0x400
lea eax, [ebp - 0x804]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x1009a646
push edi
lea eax, [ebp - 0x804]
push ebx
push eax
call fcn.10099fa0
add esp, 0xc
mov edi, eax
jmp 0x1009a64c
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1009b46e
mov esp, ebp
pop ebp
ret
Function at 0x1009a6b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ec488
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x10124b64]
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 edx, dword [ebp + 8]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009a700
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.1000bb00
push 0
push 2
mov dword [ebp - 4], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x270], ebx
cmp ebx, 0xffffffff
je 0x1009a863
push 0x22c
lea eax, [ebp - 0x26c]
push 0
push eax
call fcn.100b5e10
add esp, 0xc
mov dword [ebp - 0x26c], 0x22c
lea eax, [ebp - 0x26c]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1009a85c
nop
xor eax, eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009a790
sub ecx, edx
lea eax, [ebp - 0x248]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.1000bb00
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x40]
mov edi, dword [ebp - 0x40]
lea esi, [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
cmp ebx, 8
cmovae eax, edi
cmp dword [ebp - 0x14], 8
cmovae esi, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x30]
jne 0x1009a80d
mov edx, ecx
test edx, edx
je 0x1009a7f1
sub esi, eax
nop dword [eax]
mov cx, word [esi + eax]
cmp cx, word [eax]
jne 0x1009a80d
add eax, 2
sub edx, 1
jne 0x1009a7e0
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x264]
lea ecx, [ebp - 0x40]
call fcn.10008ee0
jmp 0x1009a865
cmp ebx, 8
jb 0x1009a841
lea ecx, [ebx*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x1009a837
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009a8b9
push ecx
push edi
call fcn.1009b0ef
add esp, 8
mov ebx, dword [ebp - 0x270]
lea eax, [ebp - 0x26c]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1009a770
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x1009a89b
mov edx, dword [ebp - 0x28]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1009a891
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009a8b9
push ecx
push edx
call fcn.1009b0ef
add esp, 8
mov eax, esi
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.1009b46e
mov esp, ebp
pop ebp
ret
call fcn.100b9349
int3
Function at 0x1009ab50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ec526
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x10124b64]
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 edi, dword [ebp + 8]
lea eax, [ebp - 0x2e0]
push 0x2d0
push 0
push eax
call fcn.100b5e10
mov esi, dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
lea eax, [ebp - 0x2e4]
add esp, 0xc
mov dword [ebp - 0x2e4], 0x168
push eax
lea eax, [ebp - 0x2e0]
push eax
push 0x100f1c44
push str.http
push 1
push 0
call esi
xor ebx, ebx
test eax, eax
setns bl
test eax, eax
jns 0x1009abf2
lea eax, [ebp - 0x2e4]
push eax
lea eax, [ebp - 0x2e0]
push eax
push 0
push str.iexplore.exe
push 2
push 2
call esi
xor ebx, ebx
test eax, eax
setns bl
test ebx, ebx
je 0x1009ad36
call fcn.1000a020
mov ecx, eax
test ecx, ecx
je 0x1009ad54
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2e8], eax
lea eax, [ebp - 0x2e0]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x2e8]
call fcn.100306d0
test al, al
jne 0x1009ac62
lea ecx, [ebp - 0x2e0]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009ac40
sub ecx, edx
lea eax, [ebp - 0x2e0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2e8]
call fcn.1000ab90
mov esi, dword [ebp - 0x2e8]
mov dword [ebp - 4], 1
cmp dword [esi - 0xc], 0
jge 0x1009ac7a
or eax, 0xffffffff
jmp 0x1009ac95
push str..exe
push esi
call fcn.100b6107
add esp, 8
test eax, eax
jne 0x1009ac91
or eax, 0xffffffff
jmp 0x1009ac95
sub eax, esi
sar eax, 1
mov ecx, dword [esi - 0xc]
test eax, eax
jle 0x1009acc6
sub ecx, eax
add eax, 4
add ecx, 4
push ecx
push eax
lea ecx, [ebp - 0x2e8]
call fcn.1004f8d0
push 1
push 0
lea ecx, [ebp - 0x2e8]
call fcn.1004f8d0
mov esi, dword [ebp - 0x2e8]
push 1
push 0
push dword [edi]
push esi
push 0x100f1c44
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x1009ad00
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1009ad36
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x1009ad36
push 0xffffffffffffffff
push 0
push 0
push 0
push 0
push 1
push dword [edi]
push esi
call fcn.1009ae10
add esp, 0x20
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1009ad36
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
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.1009b46e
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10009e10
int3
Function at 0x1009ad60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ec558
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10124b64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push esi
mov dword [ebp - 0x10], 0
call fcn.10073e00
push 0x100fe458
push 0x100fe45c
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.10056cd0
push 0xa
push 0
push dword [esi]
push 0x100fe460
push 0x100f1c44
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, 0x20
mov dword [ebp - 4], 0xffffffff
cmp ecx, eax
mov eax, dword [ebp - 0x10]
sbb esi, esi
add eax, 0xfffffff0
neg esi
or ecx, 0xffffffff
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1009adf5
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 esi
mov esp, ebp
pop ebp
ret
Function at 0x1009ae10
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ec588
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10124b64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], eax
test edi, edi
jne 0x1009ae54
xor eax, eax
jmp 0x1009afd6
cmp word [edi], 0
je 0x1009ae4d
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009ae60
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
ja 0x1009ae4d
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1009ae4d
cmp dword [ebp + 0x14], 0
je 0x1009ae98
push dword [ebp - 0x6c]
push edi
call fcn.1008f1c0
add esp, 8
test eax, eax
je 0x1009ae4d
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], 0
call fcn.1002f9e0
push esi
push edi
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 0
push str.__s___s
push eax
call fcn.100149e0
mov esi, dword [ebp - 0x68]
add esp, 0x10
cmp dword [esi - 4], 1
jle 0x1009aed8
push dword [esi - 0xc]
lea ecx, [ebp - 0x68]
call fcn.10009f70
mov esi, dword [ebp - 0x68]
xorps xmm0, xmm0
mov dword [ebp - 0x6c], 0
xor eax, eax
movlpd qword [ebp - 0x60], xmm0
mov word [ebp - 0x22], ax
mov eax, 0xa
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x32], xmm0
movlpd qword [ebp - 0x2a], xmm0
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x64], 0x44
mov dword [ebp - 0x38], 0x81
mov word [ebp - 0x34], ax
call fcn.1004fa80
mov dword [ebp - 0x74], eax
test eax, eax
je 0x1009afad
push 0x100eff94
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x1009af50
push 0x100eff94
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x1009af95
push str.CreateProcessWithTokenW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1009af95
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x64]
push ecx
push 0
push 0
push 0
push esi
push 0
push 0
push dword [ebp - 0x74]
call eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1009af9b
push dword [ebp - 0x1c]
call esi
push dword [ebp - 0x20]
call esi
mov dword [ebp - 0x6c], 1
jmp 0x1009af9b
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x74]
call esi
cmp dword [ebp - 0x6c], 0
je 0x1009afad
mov esi, 1
jmp 0x1009afcc
push 0xa
push 0
push dword [ebp - 0x70]
push edi
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
setg cl
mov dword [ebp - 0x70], ecx
mov esi, ecx
lea ecx, [ebp - 0x68]
call fcn.10008cd0
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.1009b46e
mov esp, ebp
pop ebp
ret

Function at 0x1009c760
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx]
test ecx, ecx
je 0x1009c76f
pop ebp
jmp fcn.1009ceb0
xor eax, eax
pop ebp
ret 0xc