joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2e027055
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
cmp edi, ebx
jne 0x2e027077
xor esi, esi
jmp 0x2e0270fd
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
je 0x2e027070
push esi
call fcn.2e035a5b
pop ecx
mov dword [ebp + 0xc], eax
cmp eax, ebx
jne 0x2e02709f
push ebx
push 0x33753468
jmp 0x2e0270e8
push eax
push esi
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x2e0270b6
push ebx
push 0x33753469
jmp 0x2e0270e8
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x2e002090
push dword [ebp + 0xc]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x2e0270e2
cmp dword [ebp - 4], 0x34
jne 0x2e0270e2
mov esi, dword [ebp - 8]
push 0xd
pop ecx
rep movsd dword es:[edi], dword [esi]
xor esi, esi
inc esi
jmp 0x2e0270ef
push ebx
push 0x3375346a
call fcn.2e01f1d1
xor esi, esi
cmp dword [ebp + 0xc], ebx
je 0x2e0270fd
push dword [ebp + 0xc]
call fcn.2e035a66
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x2e027781
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
lea eax, [ebp - 0x30]
push eax
call fcn.2e02657d
test eax, eax
jne 0x2e02779e
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0x30]
push edi
push eax
push 0x11
call fcn.2e024e5c
push dword [ebp - 0x1c]
push 0x12
call fcn.2e024e5c
push 0x2e00c3a0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor edi, edi
cmp eax, edi
je 0x2e02789f
push esi
push 0x2e00c380
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, edi
je 0x2e02789e
lea eax, [ebp - 4]
push eax
push edi
mov dword [ebp - 4], edi
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x2e02789e
push dword [ebp - 4]
call fcn.2e01e9aa
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x2e027896
lea ecx, [ebp - 4]
push ecx
push eax
call esi
test eax, eax
je 0x2e027896
mov eax, dword [ebp - 4]
push 0x18
xor edx, edx
pop ecx
div ecx
xor esi, esi
mov dword [ebp - 8], edi
cmp eax, edi
jbe 0x2e027896
mov edx, dword [ebp - 0xc]
push ebx
mov ebx, eax
mov eax, dword [edx + 4]
sub eax, 0
je 0x2e02784d
dec eax
dec eax
jne 0x2e02785e
push dword [edx]
call fcn.2e026cce
pop ecx
cmp edi, eax
ja 0x2e02785e
mov edi, eax
jmp 0x2e02785e
push dword [edx]
inc dword [ebp - 8]
call fcn.2e026cce
pop ecx
cmp esi, eax
ja 0x2e02785e
mov esi, eax
add edx, 0x18
dec ebx
jne 0x2e027831
pop ebx
test esi, esi
je 0x2e027874
push esi
push 0x19e1
call fcn.2e024e5c
test edi, edi
je 0x2e027883
push edi
push 0x19e2
call fcn.2e024e5c
cmp dword [ebp - 8], 0
je 0x2e027896
push dword [ebp - 8]
push 0x19e0
call fcn.2e024e5c
push dword [ebp - 0xc]
call fcn.2e01e9de
pop esi
call fcn.2e02106b
pop edi
test eax, eax
jne 0x2e0278b2
push dword [ebp - 0x1c]
call fcn.2e02766e
pop ecx
leave
ret
Function at 0x2e0278b4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x2e079ee0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 6
pop ecx
mov esi, 0x2e00c408
lea edi, [ebp - 0x20]
rep movsd dword es:[edi], dword [esi]
xor ebx, ebx
push 0x118
lea eax, [ebp - 0x138]
push ebx
push eax
mov dword [ebp - 0x140], ebx
movsw word es:[edi], word [esi]
mov dword [ebp - 0x13c], ebx
call fcn.2e0351ac
add esp, 0xc
lea eax, [ebp - 0x144]
push eax
push 1
push ebx
push 0x2e00c3dc
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x2e02796d
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x150]
push eax
push ebx
push 0x2e00c3cc
push dword [ebp - 0x144]
mov dword [ebp - 0x14c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e02795f
push dword [ebp - 0x148]
push 0x22df
call fcn.2e024e5c
push dword [ebp - 0x144]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x2e027978
push ebx
push 0x66397234
call fcn.2e01f1d1
lea eax, [ebp - 0x13c]
push eax
mov dword [ebp - 0x13c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x2e027a02
push dword [ebp - 0x130]
push 0x1a
call fcn.2e024e5c
movzx eax, word [ebp - 0x28]
movzx ecx, word [ebp - 0x26]
shl eax, 0x10
or eax, ecx
push eax
push 0x43
call fcn.2e024e5c
movzx eax, word [ebp - 0x24]
push eax
push 0x3a5
call fcn.2e024e5c
push dword [ebp - 0x138]
push 0x22e1
call fcn.2e024e5c
push dword [ebp - 0x134]
push 0x22e2
call fcn.2e024e5c
movzx eax, word [ebp - 0x28]
push eax
push 0x22e4
call fcn.2e024e5c
movzx eax, word [ebp - 0x26]
push eax
push 0x22e5
call fcn.2e024e5c
call fcn.2e028fbe
test eax, eax
je 0x2e027a95
lea eax, [ebp - 0x20]
push eax
call fcn.2e0275e6
mov esi, eax
cmp esi, ebx
jne 0x2e027a26
push ebx
push 0x38317137
jmp 0x2e027a73
push 0x2e00c3bc
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
jne 0x2e027a3e
push ebx
push 0x38317138
jmp 0x2e027a73
lea ecx, [ebp - 0x140]
push ecx
movzx ecx, word [ebp - 0x26]
push ecx
movzx ecx, word [ebp - 0x28]
push ecx
push dword [ebp - 0x134]
push dword [ebp - 0x138]
call eax
test eax, eax
jne 0x2e027a7a
push 0xffffffffffffffff
push 0x1af7
call fcn.2e024e5c
push ebx
push 0x38317139
call fcn.2e01f1d1
jmp 0x2e027a8a
push dword [ebp - 0x140]
push 0x1af7
call fcn.2e024e5c
cmp esi, ebx
je 0x2e027a95
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.2e035180
leave
ret
Function at 0x2e027cfd
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
xor ebx, ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
je 0x2e027d6d
push esi
lea eax, [ebp - 4]
push eax
call fcn.2e01eb0f
test eax, eax
je 0x2e027d6d
push dword [ebp - 4]
push esi
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x2e027d65
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x2e002090
push dword [ebp - 4]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x2e027d65
cmp dword [ebp - 8], ebx
je 0x2e027d65
mov esi, dword [ebp - 0xc]
push edi
mov edi, dword [ebp + 0xc]
push 0xd
pop ecx
rep movsd dword es:[edi], dword [esi]
mov bl, 1
pop edi
push dword [ebp - 4]
call fcn.2e01ec16
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x2e028fcb
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x2e079ee0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x2e02909e
cmp dword [ebp - 0x90], 2
mov ecx, dword [ebp - 0x98]
mov al, byte [ebp - 6]
push esi
mov dword [0x2e07f73c], ecx
mov byte [0x2e07f742], al
jne 0x2e02908a
mov eax, dword [ebp - 0x9c]
mov dx, word [ebp - 0xc]
mov dword [0x2e07f738], eax
mov word [0x2e07f740], dx
cmp eax, 5
jne 0x2e02906c
mov esi, 0x2e001c3c
cmp ecx, 1
jae 0x2e02904e
push 0
push esi
push 0x3535796e
push esi
call fcn.2e02647a
cmp dword [ebp - 0x98], 1
jne 0x2e02906c
cmp word [ebp - 0xc], 1
ja 0x2e02906c
push 0
push esi
push 0x3535796f
push esi
call fcn.2e02647a
movzx eax, word [ebp - 8]
mov ecx, eax
and ecx, 0x110
and eax, 0x100
mov dword [0x2e07f748], ecx
mov dword [0x2e07f74c], eax
jmp 0x2e02909d
push 0
mov esi, 0x2e001c3c
push esi
push 0x31343461
push esi
call fcn.2e02647a
pop esi
push 0x56
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
neg eax
xor ecx, ebp
mov dword [0x2e07f744], eax
call fcn.2e035180
leave
ret

Function at 0x2e029198
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x2e0291b2
test al, 0x10
je 0x2e0291b2
xor eax, eax
inc eax
jmp 0x2e0291b4
xor eax, eax
pop ebp
ret 4
Function at 0x2e0292d1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x2e00c5e8
push reloc.OLEAUT32.dll_SysReAllocString
xor edi, edi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x2e029347
push esi
push esi
lea eax, [ebp - 8]
push eax
push esi
push 0x2e00c5cc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x2e02933e
cmp dword [ebp - 8], 1
jne 0x2e02933e
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x2e001e38
call esi
test eax, eax
jne 0x2e02933b
push 0x2e001e24
call esi
test eax, eax
je 0x2e02933e
xor edi, edi
inc edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x2e02934d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x2e079ee0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
mov dword [ebp - 0x224], esi
call fcn.2e0290c9
test eax, eax
je 0x2e029468
push ebx
push edi
lea eax, [ebp - 0x218]
push eax
push 0x20019
push esi
mov ebx, 0x2e00c668
push ebx
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x214], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
call esi
test eax, eax
jne 0x2e029466
lea eax, [ebp - 0x214]
push eax
push 0x20119
push 0
push ebx
push edi
call esi
test eax, eax
jne 0x2e02945a
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
mov edi, 0x2e00c654
push edi
push dword [ebp - 0x218]
mov ebx, 0x20a
mov dword [ebp - 0x220], ebx
call esi
test eax, eax
jne 0x2e02944e
cmp dword [ebp - 0x21c], 1
jne 0x2e02944e
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push edi
push dword [ebp - 0x214]
mov dword [ebp - 0x220], ebx
call esi
test eax, eax
jne 0x2e02944e
xor esi, esi
inc esi
cmp dword [ebp - 0x21c], esi
jne 0x2e02944e
call fcn.2e0292d1
test eax, eax
jne 0x2e02944e
mov dword [ebp - 0x224], esi
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x224]
xor ecx, ebp
pop esi
call fcn.2e035180
leave
ret
Function at 0x2e02e775
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x2e046bc8
call fcn.2e035799
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
movzx edx, word [eax]
mov ecx, 0x5a4d
cmp dx, cx
jne 0x2e02e7b3
mov ecx, dword [eax + 0x3c]
add ecx, eax
mov esi, 0xe0
cmp word [ecx + 0x14], si
jne 0x2e02e7b3
add esi, 0x2b
cmp word [ecx + 0x18], si
jne 0x2e02e7b3
mov eax, dword [ecx + 0x50]
jmp 0x2e02e7d4
mov ecx, 0x4550
cmp dx, cx
jne 0x2e02e7e0
mov ecx, 0xe0
cmp word [eax + 0x14], cx
jne 0x2e02e7e0
add ecx, 0x2b
cmp word [eax + 0x18], cx
jne 0x2e02e7e0
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x1c], eax
jmp 0x2e02e7e4
and dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
call fcn.2e0357de
ret 4
Function at 0x2e03064e
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x2e079ee0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x804]
push 0x7ff
push eax
call fcn.2e036d60
add esp, 0x10
lea eax, [ebp - 0x804]
push eax
mov byte [ebp - 5], 0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.2e035180
leave
ret

Function at 0x2e033dc9
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
mov esi, ecx
xor ecx, ecx
mov eax, 0x2e080904
inc ecx
lock xadd dword [eax], ecx
inc ecx
cmp ecx, 1
jne 0x2e033e1a
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x28]
mov dword [0x2e080908], eax
mov ax, word [ebp - 0x30]
mov word [0x2e08090c], ax
mov eax, dword [ebp - 0x18]
mov dword [0x2e080910], eax
mov eax, dword [ebp - 0x40]
mov dword [0x2e080914], eax
mov eax, esi
pop esi
leave
ret

Function at 0x2e035180
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x2e079ee0]
jne 0x2e03864c
repz ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x2e080fb0], eax
mov dword [0x2e080fac], ecx
mov dword [0x2e080fa8], edx
mov dword [0x2e080fa4], ebx
mov dword [0x2e080fa0], esi
mov dword [0x2e080f9c], edi
mov word [0x2e080fc8], ss
mov word [0x2e080fbc], cs
mov word [0x2e080f98], ds
mov word [0x2e080f94], es
mov word [0x2e080f90], fs
mov word [0x2e080f8c], gs
pushfd
pop dword [0x2e080fc0]
mov eax, dword [ebp]
mov dword [0x2e080fb4], eax
mov eax, dword [ebp + 4]
mov dword [0x2e080fb8], eax
lea eax, [ebp + 8]
mov dword [0x2e080fc4], eax
mov eax, dword [ebp - 0x320]
mov dword [0x2e080f00], 0x10001
mov eax, dword [0x2e080fb8]
mov dword [0x2e080eb4], eax
mov dword [0x2e080ea8], 0xc0000409
mov dword [0x2e080eac], 1
mov eax, dword [0x2e079ee0]
mov dword [ebp - 0x328], eax
mov eax, dword [0x2e079ee4]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x2e080ef8], eax
push 1
call fcn.2e03f9b6
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x2e01c4c4
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x2e080ef8], 0
jne 0x2e038738
push 1
call fcn.2e03f9b6
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret
Function at 0x2e03f68b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.2e037f60
and dword [ebp - 4], 0
cmp dword [0x2e08137c], 0
mov ebx, eax
jne 0x2e03f73c
push 0x2e01c670
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x2e03f7ed
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x2e01c664
push edi
call esi
test eax, eax
je 0x2e03f7ed
push eax
call fcn.2e037eee
mov dword [esp], 0x2e01c654
push edi
mov dword [0x2e08137c], eax
call esi
push eax
call fcn.2e037eee
mov dword [esp], 0x2e01c640
push edi
mov dword [0x2e081380], eax
call esi
push eax
call fcn.2e037eee
mov dword [esp], 0x2e01c624
push edi
mov dword [0x2e081384], eax
call esi
push eax
call fcn.2e037eee
pop ecx
mov dword [0x2e08138c], eax
test eax, eax
je 0x2e03f73c
push 0x2e01c60c
push edi
call esi
push eax
call fcn.2e037eee
pop ecx
mov dword [0x2e081388], eax
mov eax, dword [0x2e081388]
cmp eax, ebx
je 0x2e03f794
cmp dword [0x2e08138c], ebx
je 0x2e03f794
push eax
call fcn.2e037f69
push dword [0x2e08138c]
mov esi, eax
call fcn.2e037f69
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x2e03f794
test edi, edi
je 0x2e03f794
call esi
test eax, eax
je 0x2e03f78b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x2e03f78b
test byte [ebp - 0xc], 1
jne 0x2e03f794
or dword [ebp + 0x10], 0x200000
jmp 0x2e03f7cd
mov eax, dword [0x2e081380]
cmp eax, ebx
je 0x2e03f7cd
push eax
call fcn.2e037f69
pop ecx
test eax, eax
je 0x2e03f7cd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x2e03f7cd
mov eax, dword [0x2e081384]
cmp eax, ebx
je 0x2e03f7cd
push eax
call fcn.2e037f69
pop ecx
test eax, eax
je 0x2e03f7cd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x2e08137c]
call fcn.2e037f69
pop ecx
test eax, eax
je 0x2e03f7ed
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x2e03f7ef
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x2e044cc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp + 0xc]
push eax
push 0x20019
push 0
push dword [ebp + 0xc]
xor esi, esi
push dword [ebp + 8]
inc esi
mov dword [ebp - 4], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x2e044cee
xor eax, eax
jmp 0x2e044d16
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x14]
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x2e044d0b
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 0x10

Function at 0x2e044d1b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebp
ret 4
Function at 0x2e044dd1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x2e079ee0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
mov esi, 0x104
lea eax, [ebp - 0x20c]
cmp dword [ebp + 8], edi
je 0x2e044e1d
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
cmp eax, edi
je 0x2e044e08
cmp eax, esi
jbe 0x2e044e2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push 0x30303030
call fcn.2e01f1d1
xor eax, eax
jmp 0x2e044e8e
push 1
push 0x1c
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x2e044e0e
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x2e01d0d0
call fcn.2e02b0d3
cmp dword [ebp + 8], edi
jne 0x2e044e5c
push 0x2e01d0f8
lea eax, [ebp - 0x20c]
push eax
call fcn.2e044d35
test eax, eax
je 0x2e044e5c
xor edi, edi
inc edi
push 0x2e01d10c
lea eax, [ebp - 0x20c]
push eax
call fcn.2e044d35
test eax, eax
je 0x2e044e74
or edi, 2
push 0x2e01d120
lea eax, [ebp - 0x20c]
push eax
call fcn.2e044d35
test eax, eax
je 0x2e044e8c
or edi, 4
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.2e035180
leave
ret 4

Function at 0x2e044ec2
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x2e079ee0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x2e044f2a
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x2e044f21
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
xor ecx, ebp
pop ebx
call fcn.2e035180
leave
ret
Function at 0x2e0453c6
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x674
mov eax, dword [0x2e079ee0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
lea eax, [ebp - 0x670]
push ebx
push eax
mov dword [ebp - 0x674], 0x44
call fcn.2e0351ac
mov esi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x630], ebx
lea edi, [ebp - 0x62c]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
neg esi
sbb esi, esi
push 0x2e01d1ec
stosd dword es:[edi], eax
and esi, 0x3a980
call fcn.2e045387
test eax, eax
je 0x2e0454f2
cmp esi, ebx
jbe 0x2e04543a
cmp dword [ebp + 0xc], ebx
je 0x2e04543a
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.2e045093
test eax, eax
je 0x2e0454f2
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x71
push eax
push 0x2e01d1d4
lea eax, [ebp - 0x61c]
push 0x208
push eax
call fcn.2e03518e
add esp, 0x18
push ebx
lea eax, [ebp - 0x620]
push eax
push ebx
push 0x72
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test eax, eax
je 0x2e045496
cmp dword [ebp - 0x620], ebx
jne 0x2e0454f2
xor edi, edi
inc edi
cmp dword [ebp + 0xc], ebx
je 0x2e0454ae
push 7
pop eax
mov dword [ebp - 0x648], edi
mov word [ebp - 0x644], ax
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x674]
push eax
push ebx
push ebx
push 0x4000020
push ebx
push ebx
push ebx
lea eax, [ebp - 0x61c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x2e0454f2
push dword [ebp - 0x630]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x62c]
call esi
mov eax, edi
jmp 0x2e0454f4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.2e035180
leave
ret 8

Function at 0x2e045505
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x2e079ee0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x40
xor esi, esi
lea eax, [ebp - 0x464]
push esi
push eax
mov dword [ebp - 0x468], 0x44
call fcn.2e0351ac
xor eax, eax
mov dword [ebp - 0x424], esi
lea edi, [ebp - 0x420]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
push ebx
stosd dword es:[edi], eax
call fcn.2e029250
cmp eax, 0x104
jg 0x2e0455bb
push dword [ebp + 0xc]
lea eax, [ebp - 0x414]
push 0x6b
push ebx
push 0x2e01d1d4
push 0x208
push eax
call fcn.2e03518e
add esp, 0x18
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x468]
push eax
push esi
push esi
push 0x4000020
push esi
push esi
push esi
lea eax, [ebp - 0x414]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x2e0455bb
push dword [ebp - 0x424]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x420]
call esi
jmp 0x2e0455c6
push esi
push 0x30303030
call fcn.2e01f1d1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.2e035180
leave
ret 8
Function at 0x2e045d35
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.2e045c43
test eax, eax
je 0x2e045da6
lea eax, [ebp + 8]
push eax
push 0x20019
push 0
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x2e045da6
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
add eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push 0
push 0x2e01d304
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x2e045d9c
cmp dword [ebp - 0x10], 1
je 0x2e045d9c
mov word [esi], ax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret 0xc