joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f0c0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x440f10
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4513e0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4513e0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], edi
mov word [esp + 0x24], di
mov dword [esp + 0x48], edi
mov dword [esp + 0x18], edi
push 0x13
push str.SoftwareIntelIRST
lea esi, [esp + 0x28]
mov byte [esp + 0x50], 1
call fcn.004035b0
mov eax, dword [esp + 0x24]
mov ebp, 8
cmp dword [esp + 0x38], ebp
jae 0x41f135
lea eax, [esp + 0x24]
push eax
push str.Create_IRST_reg
push 0x4524d8
xor eax, eax
call fcn.0041eee0
mov esi, dword [esp + 0x30]
add esp, 0xc
cmp dword [esp + 0x38], ebp
jae 0x41f158
lea esi, [esp + 0x24]
mov eax, dword [esp + 0x18]
cmp eax, edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x41f169
push eax
call ebx
push edi
lea eax, [esp + 0x1c]
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push esi
push 0x80000002
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x41f230
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0xe
push str.install
push 1
push edi
push str.QUIET_RESULT
push ecx
call esi
mov edx, dword [esp + 0x18]
push 0xc
push str.reboot
push 1
push edi
push str.QUIET_REBOOT
push edx
call esi
mov eax, dword [esp + 0x18]
push ebp
push str.user
push 1
push edi
push str.QUIET_USER
push eax
call esi
mov ecx, dword [esp + 0x18]
push 6
push 0x4471b4
push 1
push edi
push str.QUIET_YES_REBOOT
push ecx
call esi
push 1
push str.SUCCESS_IRST
push 0x4524d8
xor eax, eax
call fcn.0041eee0
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp eax, edi
je 0x41f212
push eax
call ebx
cmp dword [esp + 0x38], ebp
mov dword [esp + 0x18], edi
jb 0x41f229
mov edx, dword [esp + 0x24]
push edx
call fcn.00429d64
add esp, 4
mov eax, 1
jmp 0x41f277
cmp dword [esp + 0x38], ebp
mov eax, dword [esp + 0x24]
jae 0x41f23e
lea eax, [esp + 0x24]
push eax
push str.ERROR_IRST
push 0x4524d8
xor eax, eax
call fcn.0041eee0
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp eax, edi
je 0x41f25e
push eax
call ebx
cmp dword [esp + 0x38], ebp
mov dword [esp + 0x18], edi
jb 0x41f275
mov eax, dword [esp + 0x24]
push eax
call fcn.00429d64
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004289ca
add esp, 0x38
ret

Function at 0x41f350
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 8]
push eax
mov eax, dword [edx]
push 4
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
add eax, 1
ret 4
Function at 0x41f370
Capabilities:
Set registry value

Disassembly:
mov eax, edx
push esi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41f376
mov ecx, dword [esp + 0xc]
sub eax, esi
sar eax, 1
add eax, eax
push eax
push edx
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
push 1
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
add eax, 1
pop esi
ret 8

Function at 0x41f3b0
Capabilities:
Set registry value

Disassembly:
mov eax, edx
push esi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41f3b6
mov ecx, dword [esp + 0xc]
sub eax, esi
sar eax, 1
add eax, eax
push eax
push edx
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
push 2
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
add eax, 1
pop esi
ret 8

Function at 0x41f3f0
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
push edi
mov esi, eax
xor edi, edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41f400
sub eax, edx
sar eax, 1
add eax, 1
push eax
call fcn.004287d1
mov ebx, eax
movzx eax, word [esi]
add esp, 4
test ax, ax
je 0x41f497
cmp ax, 0x61
jb 0x41f437
cmp ax, 0x66
ja 0x41f437
mov al, byte [esi]
sub al, 0x57
jmp 0x41f44d
cmp ax, 0x41
jb 0x41f449
cmp ax, 0x46
ja 0x41f449
mov al, byte [esi]
sub al, 0x37
jmp 0x41f44d
mov al, byte [esi]
sub al, 0x30
movzx ecx, word [esi + 2]
add esi, 2
shl al, 4
cmp cx, 0x61
jb 0x41f46a
cmp cx, 0x66
ja 0x41f46a
mov cl, byte [esi]
sub cl, 0x57
jmp 0x41f484
cmp cx, 0x41
jb 0x41f47f
cmp cx, 0x46
ja 0x41f47f
mov dl, byte [esi]
sub dl, 0x37
or al, dl
jmp 0x41f486
mov cl, byte [esi]
sub cl, 0x30
or al, cl
add esi, 2
mov byte [ebx + edi], al
movzx eax, word [esi]
add edi, 1
test ax, ax
jne 0x41f425
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push edi
push ebx
push 3
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
mov esi, eax
call fcn.0042a4d6
add esp, 4
xor eax, eax
pop edi
test esi, esi
pop esi
sete al
pop ebx
ret 8

Function at 0x41f4d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push ebp
mov ebp, dword [esp + 0xc]
mov ecx, dword [ebp]
push esi
mov esi, eax
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0
push esi
push ecx
mov dword [esp + 0x28], 0
call ebx
test eax, eax
je 0x41f505
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
mov eax, dword [esp + 0x10]
xor ecx, ecx
add eax, 1
mov edx, 2
mul edx
seto cl
push edi
neg ecx
or ecx, eax
push ecx
call fcn.004287d1
mov ecx, dword [ebp]
add esp, 4
mov edi, eax
lea eax, [esp + 0x14]
push eax
push edi
push 0
push 0
push esi
push ecx
call ebx
mov ebx, eax
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41f540
mov esi, dword [esp + 0x18]
sub eax, edx
sar eax, 1
push eax
push edi
call fcn.004035b0
push edi
call fcn.0042a4d6
add esp, 4
pop edi
pop esi
xor eax, eax
test ebx, ebx
pop ebp
sete al
pop ebx
ret 8
Function at 0x41f580
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
push edi
mov edi, eax
mov ecx, dword [edi]
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
push str.InstallConfig
push ecx
mov dword [esp + 0x24], 0
call ebp
test eax, eax
je 0x41f5b6
xor eax, eax
pop edi
pop esi
pop ebp
pop ecx
ret 4
mov eax, dword [esp + 0xc]
xor ecx, ecx
add eax, 1
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004287d1
mov ecx, dword [edi]
add esp, 4
mov esi, eax
lea eax, [esp + 0xc]
push eax
push esi
push 0
push 0
push str.InstallConfig
push ecx
call ebp
mov edx, dword [esp + 0x14]
push edx
mov ecx, esi
mov edi, eax
call fcn.004272c0
add esp, 4
push esi
call fcn.0042a4d6
add esp, 4
xor eax, eax
test edi, edi
pop edi
pop esi
sete al
pop ebp
pop ecx
ret 4

Function at 0x41f700
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x214
mov eax, dword [0x4513e0]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
mov esi, dword [esp + 0x224]
push edi
mov edi, dword [esp + 0x230]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0
push esi
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x41f7ef
lea edx, [esp + 0x10]
push edx
mov eax, edi
or eax, 0xf003f
push eax
push 0
lea ecx, [esp + 0x24]
push ecx
push esi
call ebx
test eax, eax
jne 0x41f7ef
mov eax, dword [esp + 0x10]
push edi
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.0041f700
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, 0x100
jne 0x41f7db
mov eax, dword [0x453d14]
test eax, eax
jne 0x41f7c3
push str.RegDeleteKeyExW
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call ebp
test eax, eax
mov dword [0x453d14], eax
je 0x41f7d4
push 0
push 0x100
lea edx, [esp + 0x20]
push edx
push esi
call eax
jmp 0x41f7e7
mov eax, 0x32
jmp 0x41f7e7
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x41f732
cmp eax, 0x103
pop edi
pop esi
pop ebp
pop ebx
jne 0x41f7fc
xor eax, eax
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.004289ca
add esp, 0x214
ret
Function at 0x41fdf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [0x453c70]
push edi
push str.LRCDATA
push str.LICENSE
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x41fe13
xor al, al
pop edi
ret 4
mov ecx, dword [0x453c70]
push ebx
push ebp
push esi
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [0x453c70]
push edi
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
lea ebx, [esi + 2]
push ebx
mov ebp, eax
call fcn.004287d1
push ebx
mov edi, eax
push 0
push edi
call fcn.00433cc0
push esi
push ebp
push edi
call fcn.0042e380
mov eax, edi
add esp, 0x1c
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41fe61
mov esi, dword [esp + 0x14]
sub eax, edx
sar eax, 1
push eax
push edi
call fcn.004035b0
push edi
call fcn.0042a4d6
add esp, 4
pop esi
pop ebp
pop ebx
mov al, 1
pop edi
ret 4
Function at 0x422860
Capabilities:
Check for peb beingdebugged flag
Create service
Modify service
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x442028
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4513e0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov edi, ecx
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov eax, edi
xor ebx, ebx
mov dword [esp + 0x44], ebp
xor esi, esi
lea edx, [eax + 2]
jmp 0x4228b0
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4228b0
sub eax, edx
sar eax, 1
je 0x422963
push 0x2c
lea ecx, [esp + 0x2c]
call fcn.00427a70
add esp, 4
lea ecx, [esp + 0x28]
xor esi, esi
call fcn.00415980
test eax, eax
jbe 0x42292d
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x422907
mov ecx, dword [esp + 0x30]
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x422910
call fcn.00429e93
mov edi, dword [esp + 0x2c]
mov eax, dword [edi + ebp + 0x14]
lea ecx, [esp + 0x28]
lea ebx, [ebx + eax + 1]
add esi, 1
add ebp, 0x1c
call fcn.00415980
cmp esi, eax
jb 0x4228e6
xor ebp, ebp
add ebx, 1
xor ecx, ecx
mov eax, ebx
mov edx, 2
mul edx
seto cl
mov dword [esp + 0x1c], ebx
neg ecx
or ecx, eax
push ecx
call fcn.004287d1
mov esi, eax
add esp, 4
lea eax, [esp + 0x1c]
push eax
push esi
lea eax, [esp + 0x30]
call fcn.00427390
add esp, 8
mov edi, dword [esp + 0x4c]
mov eax, dword [edi + 4]
cmp eax, ebp
je 0x422975
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [esp + 0x5c]
push ebp
push ebp
push esi
push ebp
mov ecx, eax
push ebp
and ecx, 0x10000000
xor edx, edx
cmp edx, ecx
mov edx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x68]
push 1
sbb ecx, ecx
and eax, 0xefffffff
push eax
mov eax, dword [esp + 0x78]
push eax
mov eax, dword [edi]
neg ecx
push 0xf003f
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x7c]
push ecx
push edx
push eax
mov dword [edi + 4], ebp
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
cmp eax, ebp
mov dword [edi + 4], eax
je 0x422a12
mov ecx, dword [esp + 0x64]
mov ebx, dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
lea edx, [esp + 0x20]
push edx
push 1
push eax
mov dword [esp + 0x2c], ecx
call ebx
test eax, eax
jne 0x4229f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebp
mov dword [esp + 0x18], eax
jne 0x422a1c
call fcn.00423020
cmp eax, 0x6000100
jb 0x422a1c
cmp eax, 0xffffffff
ja 0x422a1c
mov ecx, dword [edi + 4]
lea eax, [esp + 0x24]
push eax
push 3
push ecx
call ebx
test eax, eax
jne 0x422a1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x18], eax
cmp esi, ebp
je 0x422a29
push esi
call fcn.0042a4d6
add esp, 4
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x422a4f
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x30]
push edx
call fcn.0041b220
mov eax, dword [esp + 0x30]
add esp, 4
push eax
call fcn.00429d64
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x1c
Function at 0x422a70
Capabilities:
Modify service

Disassembly:
push ecx
push esi
mov ecx, eax
and ecx, 0x10000000
xor esi, esi
xor edx, edx
cmp edx, ecx
mov edx, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0x18]
push esi
sbb ecx, ecx
push esi
neg ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [edi + 4]
push esi
push esi
push edx
push 0xffffffffffffffff
and eax, 0xefffffff
push eax
mov eax, dword [esp + 0x34]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
je 0x422b10
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x1c]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push ebp
lea eax, [esp + 0x14]
push eax
push 1
push ecx
mov dword [esp + 0x20], edx
call ebx
test eax, eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x422ae5
call ebp
mov esi, eax
test esi, esi
jne 0x422b1d
call fcn.00423020
cmp eax, 0x6000100
jb 0x422b1b
cmp eax, 0xffffffff
ja 0x422b1b
mov eax, dword [edi + 4]
lea edx, [esp + 0xc]
push edx
push 3
push eax
call ebx
test eax, eax
jne 0x422b1b
call ebp
pop ebp
pop ebx
pop esi
pop ecx
ret 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
pop ecx
ret 0x14
mov eax, esi
pop ebp
pop ebx
pop esi
pop ecx
ret 0x14

Function at 0x422b50
Capabilities:
Check for time delay via gettickcount
Query service status
Start service

Disassembly:
mov eax, dword [ebx + 4]
sub esp, 0x1c
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov edx, dword [ebx + 4]
lea ecx, [esp]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x422c27
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
cmp dword [esp + 0x10], 4
mov ebp, dword [esp + 0x20]
mov esi, eax
je 0x422c03
nop
mov eax, 0xcccccccd
mul dword [esp + 0x24]
shr edx, 3
cmp edx, 0x3e8
jae 0x422bab
mov edx, 0x3e8
jmp 0x422bb8
cmp edx, 0x2710
jbe 0x422bb8
mov edx, 0x2710
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebx + 4]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x422bfc
cmp dword [esp + 0x20], ebp
jbe 0x422be2
call edi
mov ebp, dword [esp + 0x20]
mov esi, eax
jmp 0x422bec
call edi
sub eax, esi
cmp eax, dword [esp + 0x24]
ja 0x422bfc
cmp dword [esp + 0x10], 4
jne 0x422b90
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x1c
ret
cmp dword [esp + 0x10], 4
jne 0x422c0c
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x1c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], ecx
pop ebp
add esp, 0x1c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x1c
ret
Function at 0x422c40
Capabilities:
Check for time delay via gettickcount
Query service status
Stop service

Disassembly:
mov ecx, dword [ebx + 4]
sub esp, 0x1c
lea eax, [esp]
push eax
push 1
push ecx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x422c5d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebx + 4]
lea edx, [esp]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x422d27
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
cmp dword [esp + 0x10], 1
mov ebp, dword [esp + 0x20]
mov esi, eax
je 0x422d03
jmp 0x422c90
mov eax, 0xcccccccd
mul dword [esp + 0x24]
shr edx, 3
cmp edx, 0x3e8
jae 0x422cab
mov edx, 0x3e8
jmp 0x422cb8
cmp edx, 0x2710
jbe 0x422cb8
mov edx, 0x2710
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebx + 4]
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x422cfc
cmp dword [esp + 0x20], ebp
jbe 0x422ce2
call edi
mov ebp, dword [esp + 0x20]
mov esi, eax
jmp 0x422cec
call edi
sub eax, esi
cmp eax, dword [esp + 0x24]
ja 0x422cfc
cmp dword [esp + 0x10], 1
jne 0x422c90
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x1c
ret
cmp dword [esp + 0x10], 1
jne 0x422d0c
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x1c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
pop edi
pop esi
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
pop ebp
add esp, 0x1c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x1c
ret

Function at 0x4232f0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x423322
lea ecx, [esp]
push ecx
call eax
xor eax, eax
cmp word [esp], 6
sete al
add esp, 0x24
ret
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor eax, eax
cmp word [esp], 6
sete al
add esp, 0x24
ret

Function at 0x423450
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 0x10
xor eax, eax
lea ecx, [esp]
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
push ecx
push 0x423360
mov dword [esp + 8], 0x12
mov dword [esp + 0x14], eax
call dword [sym.imp.USER32.dll_EnumWindows]
xor eax, eax
add esp, 0x10
ret
Function at 0x423490
Capabilities:
Enumerate processes

Disassembly:
push ebp
push esi
xor ebp, ebp
push ebp
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x4234bb
push edi
push esi
mov dword [edi], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x4234c3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, 2
pop ebp
ret
push ebx
lea ebx, [edi + 0x24]
mov eax, dword [esp + 0x10]
push ebx
push eax
call fcn.0042a42f
add esp, 8
test eax, eax
je 0x4234f1
push edi
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4234c7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop esi
mov eax, ebp
pop ebp
ret
push esi
mov ebp, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop esi
mov eax, ebp
pop ebp
ret

Function at 0x423550
Capabilities:
Terminate process

Disassembly:
sub esp, 0x230
mov eax, dword [0x4513e0]
xor eax, esp
mov dword [esp + 0x22c], eax
mov eax, dword [esp + 0x234]
push edi
push eax
lea edi, [esp + 8]
call fcn.00423490
add esp, 4
cmp eax, 2
jne 0x423596
xor eax, eax
pop edi
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.004289ca
add esp, 0x230
ret
mov eax, dword [esp + 0xc]
push esi
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x4235c5
pop esi
xor eax, eax
pop edi
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.004289ca
add esp, 0x230
ret
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x4235ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x234]
pop esi
pop edi
xor ecx, esp
call fcn.004289ca
add esp, 0x230
ret
Function at 0x423600
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x868
mov eax, dword [0x4513e0]
xor eax, esp
mov dword [esp + 0x860], eax
mov eax, dword [esp + 0x86c]
push ebp
mov ebp, dword [esp + 0x87c]
push esi
push edi
push eax
lea eax, [esp + 0x6c]
push 0x400
push eax
mov esi, ecx
xor edi, edi
call fcn.00429cf8
push 0x446d74
lea ecx, [esp + 0x78]
push 0x400
push ecx
call fcn.0042bdf6
push esi
lea edx, [esp + 0x84]
push 0x400
push edx
call fcn.0042bdf6
push 0x44
lea eax, [esp + 0x48]
push edi
push eax
call fcn.00433cc0
xor eax, eax
add esp, 0x30
cmp byte [esp + 0x87c], al
mov dword [esp + 0x20], 0x44
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
je 0x42369d
or dword [esp + 0x4c], 1
mov word [esp + 0x50], ax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
push ebx
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x88]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4236df
cmp byte [esp + 0x880], 0
je 0x4236e7
mov ecx, dword [esp + 0x10]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x4236e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov edx, dword [esp + 0x10]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
call esi
mov ecx, dword [esp + 0x86c]
mov eax, edi
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004289ca
add esp, 0x868
ret

Function at 0x423730
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x18
push esi
lea eax, [esp + 4]
push eax
push 0x28
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4237aa
lea ecx, [esp + 0xc]
push ecx
push str.SeShutdownPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [esp + 4]
push esi
push esi
push esi
lea edx, [esp + 0x14]
push edx
push esi
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x80040002
push 0x12
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x4237aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
add esp, 0x18
ret
mov eax, esi
pop esi
add esp, 0x18
ret
Function at 0x4237c0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x4513e0]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
push edi
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov esi, eax
test esi, esi
je 0x423860
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [esp + 8], 0
setne al
test al, al
je 0x423860
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 0x24
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.SysWOW64Kernel32.dll
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x423860
push str.Wow64EnableWow64FsRedirection
push esi
call edi
test eax, eax
je 0x423859
mov ecx, dword [esp + 0x21c]
push ecx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x214]
pop edi
pop esi
xor ecx, esp
call fcn.004289ca
add esp, 0x210
ret