joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401839
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401878
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401878
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401878
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401878
cmp dword [ecx + 0x74], 0xe
jbe 0x401878
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x407d96
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x416960
push 0x416958
push str.FlsAlloc
push 0x1f
call fcn.00407c55
mov esi, eax
add esp, 0x10
test esi, esi
je 0x407dca
push dword [ebp + 8]
mov ecx, esi
call dword [0x41512c]
call esi
jmp 0x407dd0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x407e14
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x416970
push 0x416968
push str.FlsGetValue
push 0x21
call fcn.00407c55
mov esi, eax
add esp, 0x10
test esi, esi
je 0x407e4b
push dword [ebp + 8]
mov ecx, esi
call dword [0x41512c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x407e53
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x416978
push 0x416970
push str.FlsSetValue
push 0x22
call fcn.00407c55
mov esi, eax
add esp, 0x10
test esi, esi
je 0x407e8d
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x41512c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40c06e
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40c10b
push ebx
push esi
call fcn.0040c037
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040adec
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40c0b8
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40c10a
push edi
push eax
call fcn.00408545
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40c0d8
call fcn.00407ae8
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40c109
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040adec
add esp, 0x20
test eax, eax
jne 0x40c0f7
push edi
call fcn.00407ae8
jmp 0x40c0ff
push ebx
call fcn.00407ae8
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x4146f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41471d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41471d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x101be18
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
je 0x101be2b
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x101be27
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
pop ebp
ret

Function at 0x101be58
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x101be97
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x101be8d
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x101be99
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x101be7d
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1098906
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], 0xd
call fcn.0109878e
push dword [ebp + 0xc]
mov ebx, eax
call fcn.0109878e
push 2
push dword [ebp + 0x1c]
mov dword [ebp + 8], eax
call dword [0x1001124]
cmp dword [ebp + 0x24], edi
pop ecx
pop ecx
mov dword [ebp + 0xc], eax
jne 0x1098991
push edi
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, dword [0x1001028]
mov edi, eax
call esi
test edi, edi
mov dword [ebp - 4], eax
je 0x1098991
xor eax, eax
push eax
push eax
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push 0xffffffffffffffff
push dword [ebp + 0xc]
push eax
push 0xfde9
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov edi, eax
test edi, edi
jne 0x1098991
call esi
mov dword [ebp - 4], eax
test ebx, ebx
mov esi, dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
je 0x109899f
push ebx
call esi
pop ecx
cmp dword [ebp + 8], 0
je 0x10989ab
push dword [ebp + 8]
call esi
pop ecx
cmp dword [ebp + 0xc], 0
je 0x10989b7
push dword [ebp + 0xc]
call esi
pop ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_ConvertStringSidToSidA]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x20
Function at 0x1098d44
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
mov eax, ebx
dec eax
dec eax
push edi
mov dword [ebp - 0xc], 0x10013a4
mov dword [ebp - 8], 0x1001398
mov dword [ebp - 4], 0x100138c
je 0x1098d8c
dec eax
je 0x1098d85
dec eax
je 0x1098d7e
push 0x100136c
call fcn.01098bbe
jmp 0x1098ddb
mov edi, 0x1006540
jmp 0x1098d91
mov edi, 0x1006740
jmp 0x1098d91
mov edi, 0x1006340
push esi
mov esi, 0x200
push esi
push 0
push edi
call sub.SHELL32.dll_ShellExecuteExW
add esp, 0xc
push esi
push edi
push ebx
call fcn.01098c2e
test eax, eax
pop esi
jle 0x1098dcc
push edi
push dword [ebp + ebx*4 - 0x14]
push 0x100135c
call fcn.01098bbe
mov al, byte [edi]
add esp, 0xc
neg al
sbb eax, eax
and eax, edi
jmp 0x1098dde
push dword [ebp + ebx*4 - 0x14]
push 0x1001348
call fcn.01098bbe
pop ecx
xor eax, eax
pop ecx
pop edi
pop ebx
leave
ret 4

Function at 0x1098e70
Capabilities:
Create directory
Create process on windows
Create process suspended
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x140
mov eax, dword [0x1006010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push 4
xor edi, edi
push edi
push 0x10014f4
push edi
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x124], edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1099014
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [ebp - 0x120]
push eax
push edi
push esi
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x120], 0x1c
call ebx
test eax, eax
je 0x1099013
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0x130]
push eax
push 0x100
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x134]
push eax
push 1
lea eax, [ebp - 0x120]
push eax
push esi
call edi
test eax, eax
je 0x1098fd1
mov eax, dword [ebp - 0x138]
test eax, eax
jne 0x1098f1f
mov eax, 0x10014ec
push 0x100
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
add esp, 0xc
test eax, eax
jne 0x1098fd1
push eax
push dword [ebp - 0x10c]
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x13c]
push eax
call dword [0x1006948]
cmp eax, 0xd
jne 0x1098fd1
lea eax, [ebp - 0x130]
push eax
push 4
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x134]
push eax
push 0xa
lea eax, [ebp - 0x120]
push eax
push esi
call edi
test eax, eax
jne 0x1098f99
lea eax, [ebp - 0x104]
push eax
push 0x10014b4
call fcn.01098bbe
pop ecx
pop ecx
jmp 0x1098fd1
or dword [ebp - 0x12c], 0x20
push 4
lea eax, [ebp - 0x12c]
push eax
push 0xa
lea eax, [ebp - 0x120]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1098fcb
lea eax, [ebp - 0x104]
push eax
push 0x100147c
jmp 0x1098f90
inc dword [ebp - 0x124]
inc dword [ebp - 0x128]
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x128]
mov dword [ebp - 0x120], 0x1c
push esi
call ebx
test eax, eax
jne 0x1098ee2
cmp dword [ebp - 0x124], eax
je 0x1099013
push dword [ebp - 0x124]
push 0x100144c
call fcn.01098bbe
pop ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0109a207
leave
ret 4
Function at 0x109a207
Capabilities:
Create pipe
Write file on windows
Write pipe

Disassembly:
cmp ecx, dword [0x1006010]
jne 0x109a211
repz ret
jmp fcn.0109a9f0

Function at 0x109a708
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
je 0x109a71b
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x109a717
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
pop ebp
ret

Function at 0x109a748
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x109a787
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x109a77d
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x109a789
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x109a76d
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x109a966
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1006010]
and dword [ebp - 8], 0
and dword [ebp - 4], 0
push edi
mov edi, 0xbb40e64e
cmp eax, edi
je 0x109a995
test eax, 0xffff0000
je 0x109a995
not eax
mov dword [0x1006014], eax
jmp 0x109a9e8
push esi
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov esi, dword [ebp - 4]
xor esi, dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor esi, eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
xor esi, eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
xor esi, eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 0x10]
xor esi, eax
cmp esi, edi
jne 0x109a9d9
mov esi, 0xbb40e64f
mov dword [0x1006010], esi
not esi
mov dword [0x1006014], esi
pop esi
pop edi
leave
ret

Function at 0x109a9f0
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x1006a88], eax
mov dword [0x1006a84], ecx
mov dword [0x1006a80], edx
mov dword [0x1006a7c], ebx
mov dword [0x1006a78], esi
mov dword [0x1006a74], edi
mov word [0x1006aa0], ss
mov word [0x1006a94], cs
mov word [0x1006a70], ds
mov word [0x1006a6c], es
mov word [0x1006a68], fs
mov word [0x1006a64], gs
pushfd
pop dword [0x1006a98]
mov eax, dword [ebp]
mov dword [0x1006a8c], eax
mov eax, dword [ebp + 4]
mov dword [0x1006a90], eax
lea eax, [ebp + 8]
mov dword [0x1006a9c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x10069d8], 0x10001
mov eax, dword [0x1006a90]
mov dword [0x1006994], eax
mov dword [0x1006988], 0xc0000409
mov dword [0x100698c], 1
mov eax, dword [0x1006010]
mov dword [ebp - 0x328], eax
mov eax, dword [0x1006014]
mov dword [ebp - 0x324], eax
push 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x1001e0c
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
leave
ret
Function at 0x109acde
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1006010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
cmp edi, ebx
jne 0x109ad13
cmp dword [ebp + 0x10], ebx
jbe 0x109ad13
cmp esi, ebx
je 0x109adb6
mov dword [esi], ebx
jmp 0x109adb6
cmp esi, ebx
je 0x109ad1a
or dword [esi], 0xffffffff
cmp dword [ebp + 0x10], 0x7fffffff
jbe 0x109ad41
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x16
pop ecx
push ebx
push ebx
push ebx
push ebx
push ebx
mov esi, ecx
mov dword [eax], ecx
call fcn.0109a2de
add esp, 0x14
mov eax, esi
jmp 0x109adb8
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
cmp eax, ebx
pop ecx
pop ecx
jge 0x109ad79
cmp edi, ebx
je 0x109ad6a
cmp dword [ebp + 0x10], ebx
jbe 0x109ad6a
push dword [ebp + 0x10]
push ebx
push edi
call sub.SHELL32.dll_ShellExecuteExW
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x2a
pop ecx
mov dword [eax], ecx
mov eax, ecx
jmp 0x109adb8
cmp esi, ebx
je 0x109ad7f
mov dword [esi], eax
cmp dword [ebp + 0x10], eax
jge 0x109ada4
cmp edi, ebx
je 0x109ad9a
cmp dword [ebp + 0x10], ebx
jbe 0x109ad9a
push dword [ebp + 0x10]
push ebx
push edi
call sub.SHELL32.dll_ShellExecuteExW
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x22
jmp 0x109ad2b
cmp edi, ebx
je 0x109adb6
push eax
lea eax, [ebp - 0xc]
push eax
push edi
call sub.USER32.dll_SetWindowTextA
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0109a207
leave
ret

Function at 0x10a6f3b
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 2
push dword [ebp + 0x10]
call dword [sym.imp.msvcrt.dll_calloc]
pop ecx
pop ecx
push dword [ebp + 0x10]
mov ebx, eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call esi
mov dword [ebp - 4], eax
xor eax, eax
cmp edi, eax
je 0x10a6f95
push eax
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xffffffffffffffff
push ebx
push eax
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
jne 0x10a6f95
call esi
mov dword [ebp - 4], eax
test ebx, ebx
je 0x10a6fa1
push ebx
call dword [sym.imp.msvcrt.dll_free]
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10a96f0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
je 0x10a9703
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x10a96ff
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
pop ebp
ret
Function at 0x10a9730
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x10a976f
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x10a9765
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x10a9771
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x10a9755
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10aac4e
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 2
push dword [ebp + 8]
call dword [sym.imp.msvcrt.dll_calloc]
pop ecx
pop ecx
mov ebx, eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call esi
mov dword [ebp - 4], eax
xor eax, eax
cmp edi, eax
je 0x10aaca5
push eax
push eax
push dword [ebp + 8]
push dword [ebp + 0xc]
push 0xffffffffffffffff
push ebx
push eax
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
jne 0x10aaca5
call esi
mov dword [ebp - 4], eax
test ebx, ebx
je 0x10aacb1
push ebx
call dword [sym.imp.msvcrt.dll_free]
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x10aacc8
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.010aabe5
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
mov ebx, eax
je 0x10aacf7
push esi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x10aad56
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
push esi
mov esi, eax
cmp dword [esi], 0x3c
je 0x10aad75
push 0x18
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10aae44
push ebx
push edi
push 0x3c
lea eax, [ebp - 0x40]
push esi
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push dword [esi + 0xc]
call fcn.010aabe5
push dword [esi + 0x10]
mov dword [ebp - 0x34], eax
call fcn.010aabe5
push dword [esi + 0x14]
mov dword [ebp - 0x30], eax
call fcn.010aabe5
push dword [esi + 0x18]
mov dword [ebp - 0x2c], eax
call fcn.010aabe5
xor edi, edi
test byte [ebp - 0x3c], 1
mov dword [ebp - 0x28], eax
je 0x10aadc7
push dword [esi + 0x28]
call fcn.010aabe5
mov dword [ebp - 0x18], eax
jmp 0x10aadca
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x34], edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x38], eax
mov esi, dword [sym.imp.msvcrt.dll_free]
je 0x10aadff
push dword [ebp - 0x34]
call esi
pop ecx
mov dword [ebp - 0x34], edi
cmp dword [ebp - 0x30], edi
je 0x10aae0d
push dword [ebp - 0x30]
call esi
pop ecx
mov dword [ebp - 0x30], edi
cmp dword [ebp - 0x2c], edi
je 0x10aae1b
push dword [ebp - 0x2c]
call esi
pop ecx
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x28], edi
je 0x10aae29
push dword [ebp - 0x28]
call esi
pop ecx
mov dword [ebp - 0x28], edi
cmp dword [ebp - 0x18], edi
je 0x10aae37
push dword [ebp - 0x18]
call esi
pop ecx
mov dword [ebp - 0x18], edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret
Function at 0x10aae4c
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x48
and dword [ebp - 4], 0
push ebx
push esi
push edi
push dword [ebp + 8]
mov esi, eax
call fcn.010aabe5
push dword [ebp + 0xc]
mov edi, eax
call fcn.010aabe5
push dword [ebp + 0x24]
mov dword [ebp + 8], eax
call fcn.010aabe5
cmp dword [esi], 0x44
mov ebx, dword [sym.imp.msvcrt.dll_free]
mov dword [ebp + 0xc], eax
jne 0x10aaef9
push 0x44
lea eax, [ebp - 0x48]
push esi
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push dword [esi + 8]
call fcn.010aabe5
push dword [esi + 0xc]
mov dword [ebp - 0x40], eax
call fcn.010aabe5
push dword [ebp + 0x28]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp dword [ebp - 0x40], esi
je 0x10aaee9
push dword [ebp - 0x40]
call ebx
pop ecx
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x3c], esi
je 0x10aaefb
push dword [ebp - 0x3c]
call ebx
pop ecx
mov dword [ebp - 0x3c], esi
jmp 0x10aaefb
xor esi, esi
cmp edi, esi
je 0x10aaf03
push edi
call ebx
pop ecx
cmp dword [ebp + 8], esi
je 0x10aaf0e
push dword [ebp + 8]
call ebx
pop ecx
cmp dword [ebp + 0xc], esi
je 0x10aaf19
push dword [ebp + 0xc]
call ebx
pop ecx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x24

Function at 0x10aaf50
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x10b1058]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x94
push esi
lea eax, [ebp - 0x98]
push 0
push eax
call sub.msvcrt.dll_memset
mov dword [ebp - 0x98], esi
add esp, 0xc
xor esi, esi
lea eax, [ebp - 0x98]
inc esi
push eax
mov dword [0x10b92fc], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x10aafff
push 2
pop eax
cmp dword [ebp - 0x88], eax
jne 0x10aafff
cmp dword [ebp - 0x94], 5
jne 0x10aafe2
cmp dword [ebp - 0x90], 0
je 0x10aaffa
cmp dword [ebp - 0x90], esi
jne 0x10aafce
mov dword [0x10b92fc], 3
jmp 0x10aafff
cmp dword [ebp - 0x90], eax
jne 0x10aafff
mov dword [0x10b92fc], 4
jmp 0x10aafff
cmp dword [ebp - 0x94], 6
jb 0x10aafff
cmp dword [ebp - 0x8c], 0x1b58
sbb eax, eax
add eax, 6
mov dword [0x10b92fc], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.010a919f
leave
ret
Function at 0x10abbcf
Capabilities:
Check mutex on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10b1058]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
push 0x10a6200
push 0x10a61f4
push 0xffffffffffffffff
lea eax, [ebp - 0x20]
push 0x1b
push eax
call fcn.010a937f
add esp, 0x14
lea eax, [ebp - 0x20]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebx, eax
test ebx, ebx
je 0x10abc3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x10abc3f
test edi, edi
je 0x10abc34
push esi
mov esi, edi
mov edi, dword [edi]
call fcn.010ab9bb
test edi, edi
jne 0x10abc26
pop esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x10abc42
push 0xfffffffffffffffa
pop eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.010a919f
leave
ret 4
Function at 0x10acbbb
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor ebx, ebx
cmp esi, ebx
ja 0x10acbd3
push 0xfffffffffffffffe
jmp 0x10acd09
mov eax, dword [0x10b9250]
cmp eax, ebx
je case.default.0x10acbec
movsx edx, byte [ecx]
cmp edx, 8
ja case.default.0x10acbec
jmp dword [edx*4 + 0x10acd0f]
cmp dword [eax + 0x18], ebx
je 0x10acceb
mov eax, dword [eax + 0x18]
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x10acc04
push ebx
lea edx, [ebp - 4]
push edx
sub ecx, esi
push ecx
push eax
jmp 0x10accf7
cmp dword [eax + 0x1c], ebx
je 0x10acceb
mov eax, dword [eax + 0x1c]
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x10acc2a
jmp 0x10acc0b
cmp esi, 2
jb case.default.0x10acbec
inc ecx
push ecx
push 0x10016fc
push 0x10a62dc
push ebx
call fcn.010af607
add esp, 0x10
jmp 0x10acd03
cmp esi, 2
jb case.default.0x10acbec
inc ecx
push ecx
push 0x10016fc
push 0x10a62d4
jmp 0x10acc48
cmp esi, 2
jb case.default.0x10acbec
movsx eax, byte [ecx + 1]
jmp 0x10acd0a
or dword [0x10b8c9c], 0xffffffff
jmp 0x10acd03
mov dword [0x10b8c9c], 0x2710
jmp 0x10acd03
mov dword [0x10b9258], 1
jmp 0x10acd03
lea eax, [ebp - 8]
push eax
call fcn.010ab011
push eax
call sub.ADVAPI32.dll_ConvertSidToStringSidA
test eax, eax
je 0x10acceb
cmp dword [ebp - 8], ebx
jne 0x10accbc
xor eax, eax
jmp 0x10acccb
mov eax, dword [ebp - 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10accc2
sub eax, edx
push ebx
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp - 8]
push dword [0x10b8ca0]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x10acd03
push ebx
lea eax, [ebp - 4]
push eax
push 1
push 0x10a62d0
push dword [0x10b8ca0]
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor eax, eax
jmp 0x10acd0a
push 0xfffffffffffffffb
pop eax
pop esi
pop ebx
leave
ret