joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423e50
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x581d10]
xor eax, esp
mov dword [esp + 0x1c], eax
cmp dword [0x5afcf8], 0
je 0x423e7e
xor al, al
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret
push 0x20
call fcn.004b1c79
add esp, 4
test eax, eax
je 0x423e9b
push ecx
mov ecx, eax
call fcn.00423d70
mov dword [0x5afcf8], eax
jmp 0x423ea5
mov dword [0x5afcf8], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 8]
call fcn.00417260
lea eax, [esp + 4]
push eax
call fcn.00424890
cmp dword [esp + 0x18], 8
jb 0x423ed2
push dword [esp + 4]
call fcn.004b1ca1
add esp, 4
mov ecx, dword [esp + 0x1c]
mov al, 1
xor ecx, esp
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret

Function at 0x424890
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x581d10]
xor eax, ebp
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov edx, str._t_n_v_f_r
push esi
mov dword [ebp - 0x24], 0
xor eax, eax
push edi
mov edi, dword [0x5afcf8]
lea esi, [edx + 2]
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], 0
mov word [ebp - 0x20], ax
mov edi, edi
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4248d0
sub edx, esi
lea eax, [ebp - 0x20]
sar edx, 1
push edx
push str._t_n_v_f_r
push eax
call fcn.00427b10
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x424928
cmp dword [ebp - 0xc], 8
lea ecx, [ebp - 0x24]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], 0
cmovae eax, dword [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov ecx, edi
push esi
push dword [ebp - 0x24]
call fcn.00423ef0
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0xc], 8
jb 0x424939
push dword [ebp - 0x20]
call fcn.004b1ca1
add esp, 4
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret 4

Function at 0x4260a0
Capabilities:
Enumerate processes

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Process32FirstW]
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xc]
mov edi, edi
push 0x22c
push 0
push edi
call fcn.004f28b0
add esp, 0xc
mov dword [edi], 0x22c
cmp byte [esi + 8], 0
push edi
push dword [esi + 4]
jne 0x4260d8
mov byte [esi + 8], 1
call ebx
jmp 0x4260de
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
setne al
test al, al
je 0x4260fa
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 4]
call edx
test al, al
je 0x4260b0
mov eax, edi
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x42a000
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], 0
cmp byte [esi], 0
je 0x42a01e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x42a021
mov eax, dword [esi + 4]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne bl
test bl, bl
je 0x42a055
cmp byte [ebp + 0xc], 0
je 0x42a055
cmp byte [esi], 0
je 0x42a046
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x42a049
mov eax, dword [esi + 4]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42bda0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, ecx
cmp dword [edi + 0x14], 8
jb 0x42bdb2
mov edi, dword [edi]
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
jne 0x42bdc9
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 1
push ebx
call fcn.004f3379
mov esi, eax
add esp, 8
test esi, esi
je 0x42be42
push esi
push ebx
push dword [ebp - 8]
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x42be39
lea eax, [ebp - 0xc]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 4]
push eax
push str.VarFileInfoTranslation
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x42be39
cmp dword [ebp - 4], 0
je 0x42be39
push 0x10
call fcn.004b1c79
add esp, 4
test eax, eax
je 0x42be42
mov edx, dword [ebp - 4]
movzx ecx, word [edx + 2]
push ecx
movzx ecx, word [edx]
push ecx
push esi
mov ecx, eax
call fcn.0042bc20
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.004f1820
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42c780
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x581d10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push edi
mov edi, ecx
mov dword [ebp - 0x224], eax
movzx eax, word [edi + 8]
mov word [ebp - 0x14], ax
movzx eax, word [edi + 0xa]
mov word [ebp - 0x12], ax
call esi
mov word [ebp - 0x10], ax
movzx eax, word [edi + 0xa]
mov word [ebp - 0xe], ax
movzx eax, word [edi + 8]
mov word [ebp - 0xc], ax
mov eax, 0x4e4
mov word [ebp - 0xa], ax
call esi
mov word [ebp - 8], ax
xor esi, esi
mov eax, 0x4e4
mov word [ebp - 6], ax
lea ebx, [ebx]
movzx eax, word [ebp + esi*2 - 0x12]
movzx ecx, word [ebp + esi*2 - 0x14]
add esi, 2
push ebx
push eax
push ecx
push 0x55a22c
push 0x104
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.004f528e
add esp, 0x1c
mov dword [ebp - 0x220], 0
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
push dword [edi + 4]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x42c854
mov edx, dword [ebp - 0x220]
test edx, edx
jne 0x42c86e
cmp esi, 8
jb 0x42c7f0
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret 8
cmp word [edx], 0
jne 0x42c898
mov ecx, dword [ebp - 0x224]
xor eax, eax
push eax
push edx
call fcn.00417b50
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret 8
mov eax, edx
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42c8a0
mov ecx, dword [ebp - 0x224]
sub eax, esi
sar eax, 1
push eax
push edx
call fcn.00417b50
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret 8
Function at 0x4356e0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40c
mov eax, dword [0x581d10]
xor eax, esp
mov dword [esp + 0x408], eax
mov eax, dword [0x5a8920]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 8], 0
push edi
mov ecx, 0x100
mov dword [esp + 0xc], eax
mov esi, ebx
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
call fcn.004f2acf
add esp, 4
mov edi, 0x100
jmp 0x435740
mov esi, dword [0x5afd80]
xor dl, dl
test esi, esi
jle 0x435778
lea esp, [esp]
mov ecx, dword [esp + esi*4 + 0x10]
test ecx, ecx
je 0x435773
mov eax, dword [esi*4 + 0x5ae980]
test eax, eax
je 0x435773
push ecx
mov dword [esp + esi*4 + 0x14], 0
call eax
add esp, 4
mov dl, 1
dec esi
test esi, esi
jg 0x435750
dec edi
test edi, edi
jle 0x435781
test dl, dl
jne 0x435740
push 0
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [esp + 0x414]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret

Function at 0x4361a8
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x68
mov eax, dword [0x581d10]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [esp + 4]
push edi
mov edi, dword [ebp + 8]
push 0x58
push 0
push eax
call fcn.004f28b0
push dword [ebp + 0x10]
and dword [esp + 0x2c], 0
lea ecx, [esp + 0x18]
and dword [esp + 0x28], 0
mov edx, esi
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
call fcn.00436278
push 8
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x78]
call fcn.00436a11
mov edx, dword [esp + 0x2c]
push 0x38
pop ecx
shr edx, 3
and edx, 0x3f
push 0x78
sub ecx, edx
pop eax
sub eax, edx
cmp edx, 0x38
mov edx, 0x5a8850
cmovb eax, ecx
lea ecx, [esp + 0x1c]
push eax
call fcn.00436278
push 8
lea edx, [esp + 0x80]
lea ecx, [esp + 0x24]
call fcn.00436278
push 0x10
lea edx, [esp + 0x28]
mov ecx, edi
call fcn.00436a11
mov ecx, dword [esp + 0x8c]
add esp, 0x20
pop edi
pop esi
xor ecx, esp
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret
Function at 0x43732e
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
xor esi, esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], edi
test edx, edx
je 0x4373f6
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x4373f5
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4373f5
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4373f5
mov dword [edx], esi
mov dword [ebx], esi
mov dword [eax], esi
lea eax, [ebp - 4]
push eax
push edi
mov dword [ecx], esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4373f5
push eax
call fcn.004f046c
mov edi, eax
pop ecx
test edi, edi
je 0x4373f5
push edi
push dword [ebp - 0x10]
push dword [ebp - 4]
push dword [ebp - 0x14]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4373ee
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x559c0c
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4373ee
cmp dword [ebp - 8], esi
jbe 0x4373eb
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx + 8]
mov dword [edx], eax
mov eax, dword [ecx + 0xc]
mov edx, dword [ebp + 0xc]
mov dword [ebx], eax
mov eax, dword [ecx + 0x10]
mov dword [edx], eax
mov eax, dword [ecx + 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor esi, esi
inc esi
push edi
call fcn.004f2acf
pop ecx
pop ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43791b
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
mov eax, dword [0x581d10]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor eax, eax
mov edi, ecx
push 0x286
push eax
mov word [ebp - 0x28c], ax
lea eax, [ebp - 0x28a]
push eax
call fcn.004f28b0
add esp, 0xc
lea eax, [ebp - 0x28c]
push 0x104
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x28c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.kdumpcfg.dat
lea eax, [ebp - 0x28c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x28c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x437ab5
test al, 0x10
jne 0x437ab5
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea eax, [ebp - 0x28c]
push eax
xor ebx, ebx
inc ebx
push ebx
push str.autorecovery
push 0x55ad58
call esi
mov dword [edi + 0x10], eax
lea eax, [ebp - 0x28c]
push eax
push 0
push str.checkbrowsercrash
push 0x55ad58
call esi
mov dword [edi + 8], eax
lea eax, [ebp - 0x28c]
push eax
push ebx
push str.checkbsod
push 0x55ad58
call esi
mov dword [edi + 0xc], eax
lea eax, [ebp - 0x28c]
push eax
push ebx
push str.checkdriverversion
push 0x55ad58
call esi
mov dword [edi + 0x14], eax
lea eax, [ebp - 0x28c]
push eax
push ebx
push str.deletedump
push 0x55ad58
call esi
mov dword [edi + 0x1c], eax
lea eax, [ebp - 0x28c]
push eax
push ebx
push str.enablereport
push 0x55ad58
call esi
mov dword [edi], eax
lea eax, [ebp - 0x28c]
push eax
push ebx
push str.scanissuefile
push 0x55ad58
call esi
mov dword [edi + 4], eax
lea eax, [ebp - 0x28c]
push eax
push ebx
push str.silentreport
push 0x55ad58
call esi
mov dword [edi + 0x18], eax
lea eax, [ebp - 0x28c]
push eax
push ebx
push str.checkonlinesolution
push 0x55ad58
call esi
mov dword [edi + 0x20], eax
lea eax, [ebp - 0x28c]
push eax
push 6
push str.bsoddelayhour
push 0x55ad58
call esi
mov dword [edi + 0x24], eax
lea eax, [ebp - 0x28c]
push eax
push 0xffff
push 0x55adf4
push 0x55ad58
call esi
mov dword [edi + 0x28], eax
mov eax, ebx
pop esi
jmp 0x437ae3
and dword [edi + 8], 0
xor ebx, ebx
inc ebx
mov dword [edi + 0x24], 6
mov dword [edi + 0x10], ebx
xor eax, eax
mov dword [edi + 0xc], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x28], 0xffff
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret
Function at 0x43827d
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push 0x294
mov eax, 0x5261dd
call fcn.004f1db2
mov ebx, ecx
push 0x559c0c
call fcn.004173e0
push 0x559e30
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.0043ab3d
add esp, 0xc
and dword [ebp - 4], 0
lea ecx, [ebp - 0x294]
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push ecx
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x43839e
xor eax, eax
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x298], eax
mov byte [ebp - 4], 1
test byte [ebp - 0x294], 0x10
jne 0x438321
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00417260
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x2a0]
call fcn.004174e0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00417360
lea eax, [ebp - 0x294]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4382ea
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x29c]
mov edi, dword [ebp - 0x2a0]
sub eax, edi
push 0x18
cdq
pop ecx
idiv ecx
mov esi, eax
cmp esi, 0x1e
jbe 0x43838f
test esi, esi
je 0x43838f
push edi
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.00421980
add esp, 0xc
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00417360
add edi, 0x18
dec esi
jne 0x438359
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0
call fcn.0041ad20
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00417360
call fcn.004f1d61
ret
Function at 0x43b4c2
Capabilities:
Create process on windows
Impersonate user

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x581d10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x80], eax
mov esi, ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x7c], eax
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x74], edi
test eax, eax
je 0x43b649
test edi, edi
je 0x43b649
lea ecx, [ebp - 0x68]
call fcn.0043b214
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x88]
push ecx
push 4
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x6c], eax
push ecx
push 8
push eax
mov dword [ebp - 0x70], 1
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
xor ebx, ebx
test eax, eax
je 0x43b63d
cmp dword [ebp - 0x70], 1
je 0x43b55f
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], ebx
push eax
push 1
push 2
push ebx
push 0xb
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x43b63d
cmp dword [esi + 8], ebx
jne 0x43b5dd
push ecx
push ecx
lea eax, [ebp - 0x68]
mov ecx, esi
push eax
call fcn.0043c47e
test al, al
jne 0x43b58d
cmp dword [ebp - 0x70], 1
je 0x43b63d
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43b63d
push 8
xor eax, eax
lea edi, [ebp - 0xa8]
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xa8], 0x20
cmp dword [eax - 0xc], ebx
jne 0x43b5b7
lea ecx, [ebp - 0x68]
call fcn.0043b36f
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0xa8]
push eax
push dword [ebp - 0x6c]
call dword [sym.imp.USERENV.dll_LoadUserProfileW]
mov edi, dword [ebp - 0x74]
test eax, eax
je 0x43b5dd
mov eax, dword [ebp - 0x8c]
mov dword [esi + 8], eax
push ebx
push dword [ebp - 0x6c]
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x43b63d
push dword [ebp - 0x7c]
push edi
push ebx
push dword [ebp - 0x78]
push dword [ebp + 0x18]
push ebx
push ebx
push ebx
push dword [ebp - 0x80]
push dword [ebp - 0x84]
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x70], 1
mov edi, eax
je 0x43b628
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x78]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
setne bl
lea ecx, [ebp - 0x68]
call fcn.0043b283
mov al, bl
jmp 0x43b64b
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret 0x28
Function at 0x43bb0e
Capabilities:
Acquire debug privileges
Enumerate process modules

Disassembly:
push 0x1c
mov eax, 0x5265f8
call fcn.004f1d7f
mov edi, ecx
xor esi, esi
mov dword [edi + 0x10], esi
call fcn.0043c453
lea ecx, [ebp - 0x28]
call fcn.004c79ea
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], esi
call fcn.004c82a1
push str.SeDebugPrivilege
lea ecx, [ebp - 0x28]
call fcn.004c7cbd
mov eax, 0xc8
push ecx
lea ebx, [eax + 0x14]
mov ecx, edi
push ebx
call fcn.0043c407
movzx eax, al
test eax, eax
je 0x43bbb9
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x10]
push ecx
shl eax, 2
push eax
push dword [edi]
mov dword [ebp - 0x10], esi
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
je 0x43bb8d
mov eax, dword [ebp - 0x10]
shr eax, 2
cmp ebx, eax
jb 0x43bb4b
push ecx
push eax
mov ecx, edi
call fcn.0043c407
jmp 0x43bbc5
mov ecx, edi
call fcn.0043c453
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x43bbb2
call esi
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x43bbc5
mov esi, 0x80004005
jmp 0x43bbc5
mov ecx, edi
call fcn.0043c453
mov esi, 0x8007000e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004c7a45
mov eax, esi
call fcn.004f1d4d
ret

Function at 0x43bc06
Capabilities:
Acquire debug privileges

Disassembly:
push 0x20
mov eax, 0x526623
call fcn.004f1d7f
mov ebx, ecx
lea ecx, [ebp - 0x2c]
call fcn.004c79ea
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004c82a1
push str.SeDebugPrivilege
lea ecx, [ebp - 0x2c]
call fcn.004c7cbd
and dword [ebp - 0x10], 0
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.0043bbf5
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
jne 0x43bc6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x43bcde
mov edi, 0x80004005
jmp 0x43bce5
cmp dword [ebx + 0x18], 0
mov edi, 0x80004005
jne 0x43bcd4
push str.psapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x43bc9e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x43bc9a
call fcn.0043b0ed
jmp 0x43bcaf
mov eax, edi
jmp 0x43bcaf
mov eax, dword [ebx + 0x14]
lea ecx, [ebx + 0x14]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x18], eax
xor eax, eax
test eax, eax
jns 0x43bcd4
mov ecx, dword [ebp + 8]
mov ebx, 0x8000
push ebx
call fcn.0043a522
push ebx
push eax
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
mov ecx, dword [ebp + 8]
push eax
call fcn.0043c298
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x43bce5
call fcn.0043b0ed
mov edi, eax
mov byte [ebp - 4], 0
test esi, esi
je 0x43bcf4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004c7a45
mov eax, edi
call fcn.004f1d4d
ret 4
Function at 0x43bd0a
Capabilities:
Acquire debug privileges

Disassembly:
push 0x1c
mov eax, 0x52664e
call fcn.004f1d7f
mov esi, ecx
lea ecx, [ebp - 0x28]
call fcn.004c79ea
xor ebx, ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
call fcn.004c82a1
push str.SeDebugPrivilege
lea ecx, [ebp - 0x28]
call fcn.004c7cbd
mov dword [ebp - 0x10], ebx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0043bbf5
push eax
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
je 0x43bd84
mov ecx, dword [ebp + 8]
mov edi, 0x8000
push edi
call fcn.0043a522
push edi
push eax
push ebx
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
mov ecx, dword [ebp + 8]
mov edi, eax
push edi
call fcn.0043c298
test edi, edi
jne 0x43bd9e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x43bd97
call fcn.0043b0ed
mov edi, eax
jmp 0x43bda9
mov edi, 0x80004005
jmp 0x43bda9
push dword [ebp + 8]
call fcn.004c751f
pop ecx
mov edi, ebx
mov byte [ebp - 4], bl
test esi, esi
je 0x43bdb7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004c7a45
mov eax, edi
call fcn.004f1d4d
ret 4

Function at 0x43bdcd
Capabilities:
Acquire debug privileges

Disassembly:
push 0x20
mov eax, 0x526679
call fcn.004f1d7f
mov ebx, ecx
lea ecx, [ebp - 0x2c]
call fcn.004c79ea
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004c82a1
push str.SeDebugPrivilege
lea ecx, [ebp - 0x2c]
call fcn.004c7cbd
and dword [ebp - 0x10], 0
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.0043bbf5
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
je 0x43bebe
cmp dword [ebx + 0x18], 0
jne 0x43be6d
push str.psapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x43be58
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x43be51
call fcn.0043b0ed
mov edi, eax
jmp 0x43be69
mov edi, 0x80004005
jmp 0x43be69
mov eax, dword [ebx + 0x14]
lea ecx, [ebx + 0x14]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
xor edi, edi
mov dword [ebx + 0x18], eax
test edi, edi
js 0x43beda
mov ecx, dword [ebp + 8]
push 0x8000
call fcn.0043a522
cmp dword [ebx + 0x1c], 0
mov edi, eax
jne 0x43bea5
cmp dword [ebx + 0x18], 0
jne 0x43be8c
xor eax, eax
jmp 0x43be9a
push 0x55b7f8
push dword [ebx + 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 0x1c], eax
test eax, eax
jne 0x43bea5
xor edi, edi
jmp 0x43beb1
push 0x8000
push edi
push esi
call dword [ebx + 0x1c]
mov edi, eax
mov ecx, dword [ebp + 8]
push edi
call fcn.0043c298
test edi, edi
jne 0x43bed8
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x43bed1
call fcn.0043b0ed
mov edi, eax
jmp 0x43beda
mov edi, 0x80004005
jmp 0x43beda
xor edi, edi
mov byte [ebp - 4], 0
test esi, esi
je 0x43bee9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004c7a45
mov eax, edi
call fcn.004f1d4d
ret 4