joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422922
Capabilities:
Enumerate gui resources

Disassembly:
push 0xa8
mov eax, 0x448c49
call fcn.004444dc
mov ebx, ecx
mov ecx, dword [ebp + 8]
lea eax, [ebx + 0x98]
mov dword [ebp - 0xb4], eax
cmp dword [eax + 0x18], 0
mov dword [ebp - 0xa0], ecx
je 0x42295b
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0xa0]
mov byte [ebp - 0xb0], 1
and dword [ebp - 4], 0
mov esi, 0x454668
lea edi, [ebx + 0x58]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ecx]
mov dword [ebp - 0xac], edi
test edi, edi
je 0x422b01
mov eax, dword [ecx + 4]
mov dword [ebx + 0x38], eax
mov eax, dword [ecx + 4]
xor ecx, ecx
mov dword [ebx + 0x40], eax
mov dword [ebx], 4
mov dword [ebp - 0xa0], ecx
cmp dword [edi + 4], ecx
jle 0x422a31
lea esi, [ebx + 0x74]
add edi, 8
mov edx, dword [edi]
mov eax, dword [esi]
mov dword [ebp - 0xa4], edx
jmp 0x4229be
cmp dword [eax], edx
je 0x422a18
add eax, 4
cmp eax, dword [esi + 4]
jne 0x4229b7
push edx
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0xa8], eax
test eax, eax
je 0x422a12
lea eax, [ebp - 0xa4]
mov ecx, esi
push eax
call fcn.00406514
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebx + 0x8c]
call fcn.00406514
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
mov eax, dword [edi]
sar ecx, 2
mov dword [ebx + ecx*4 + 0xd4], eax
inc dword [ebx + 0xd4]
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0xac]
inc ecx
add edi, 4
mov dword [ebp - 0xa0], ecx
cmp ecx, dword [eax + 4]
jl 0x4229ab
call fcn.0040421b
cmp dword [eax + 4], 1
jbe 0x422a4f
push ebx
push 0x4209c0
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, ebx
call fcn.00422203
mov eax, dword [ebx + 0x70]
test eax, eax
jne 0x422a6b
push 1
push eax
push eax
call dword [sym.imp.USER32.dll_MonitorFromPoint]
mov dword [ebx + 0x70], eax
test eax, eax
je 0x422b01
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x98], 0x68
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x30]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x30]
call fcn.00406b7b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
push dword [ebx + 0x70]
call fcn.00401473
mov dword [ebx + 0xb8], eax
lea ecx, [ebx + 4]
lea eax, [ebp - 0x70]
push eax
call fcn.004033ff
mov al, byte [ebp - 0x74]
lea edi, [ebx + 0x24]
push dword [ebx + 0x70]
lea esi, [ebp - 0x94]
mov dword [ebx + 0xd0], 0x148
movsd dword es:[edi], dword [esi]
and al, 1
mov byte [ebx + 0x1c], al
mov ecx, ebx
lea eax, [ebx + 0x80]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004206c5
mov eax, dword [ebx + 0x74]
cmp eax, dword [ebx + 0x78]
setne byte [ebp - 0x99]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004012e8
jmp 0x422b08
mov byte [ebp - 0x99], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0x98]
cmp dword [ecx + 0x18], 0
je 0x422b1f
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [ebp - 0x99]
call fcn.00444486
ret 4
Function at 0x4364ed
Capabilities:
Allocate or change rwx memory

Disassembly:
mov edx, dword [0x49490c]
push esi
xor esi, esi
jmp 0x4364ff
cmp dword [edx + 4], esi
jne 0x436558
mov edx, dword [edx]
test edx, edx
jne 0x4364f8
push 0x40
push 0x3000
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
test edx, edx
je 0x43655c
push 0x20
mov dword [edx + 4], esi
lea ecx, [edx + 0x20]
mov dword [edx + 8], esi
pop esi
mov eax, dword [edx + 4]
add esi, 0x20
mov dword [ecx], eax
mov dword [edx + 4], ecx
add ecx, 0x20
cmp esi, 0xfe0
jbe 0x436528
mov eax, dword [0x49490c]
mov dword [edx], eax
mov dword [0x49490c], edx
mov eax, dword [edx + 4]
pop esi
mov ecx, dword [eax]
inc dword [edx + 8]
mov dword [edx + 4], ecx
ret
test edx, edx
jne 0x43654b
xor eax, eax
pop esi
ret

Function at 0x436df7
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x492890]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
imul esi, eax, 0x28
push edi
push 7
pop edi
push 5
add esi, dword [0x494900]
mov dword [ebp - 0xc], esi
mov eax, dword [esi]
mov ecx, dword [esi + 0x14]
shl ecx, 0x1f
sar ecx, 0x1f
lea ebx, [eax - 5]
test ecx, ecx
cmove ebx, eax
pop eax
cmove edi, eax
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push ebx
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x436e52
push 0xa
pop eax
jmp 0x436ed3
cmp dword [ebp + 0xc], 0
je 0x436e75
mov byte [ebx], 0xe9
mov eax, dword [esi + 4]
sub eax, ebx
sub eax, 5
mov dword [ebx + 1], eax
test byte [esi + 0x14], 1
je 0x436e97
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x436e97
test byte [esi + 0x14], 1
je 0x436e8c
lea esi, [esi + 0xc]
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
jmp 0x436e97
mov eax, dword [esi + 0xc]
mov dword [ebx], eax
mov al, byte [esi + 0x10]
mov byte [ebx + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov eax, dword [ebp + 0xc]
and eax, 1
mov ecx, eax
add eax, eax
and ecx, 0xfffffffd
or ecx, eax
mov eax, dword [esi + 0x14]
add ecx, ecx
and eax, 0xfffffff9
or ecx, eax
xor eax, eax
mov dword [esi + 0x14], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00444460
leave
ret
Function at 0x436f0f
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x492890]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x436fe5
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
jmp 0x436fd6
cmp dword [ebp - 0x20], 0x10
jb 0x436fc5
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x436fc5
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x436fc5
mov edx, dword [esi]
test edx, edx
jne 0x436f93
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0x493d70]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x436fde
jmp 0x436fb9
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x436fb9
shl eax, 3
push eax
push edx
push 0
push dword [0x493d70]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x436fde
shl dword [esi + 4], 1
mov dword [esi], edx
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x436f4e
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00444460
leave
ret

Function at 0x437061
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call fcn.00436f0f
pop ecx
cmp dword [esi], ebx
je 0x4370c1
push edi
mov edi, ebx
cmp dword [esi + 8], ebx
jbe 0x4370c0
mov eax, dword [esi]
push dword [eax + edi*4]
push ebx
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x4370b7
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0043736f
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
push 0
pop ebx
cmp edi, dword [esi + 8]
jb 0x437086
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x437486
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
test eax, eax
je 0x4374d8
push edi
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x4374c8
push ebx
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x4374bf
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x43749c
mov eax, dword [esi]
pop ebx
push eax
push 0
push dword [0x493d70]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebp
ret
Function at 0x439554
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x449340
call fcn.0044454a
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x424], eax
xor ebx, ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ebx
push 0x404
push ebx
lea eax, [ebp - 0x420]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x420], ebx
mov byte [ebp - 4], 1
push 0x60
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x42c], edi
test edi, edi
jne 0x4395e6
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x42c], eax
test edi, edi
jne 0x4395e6
call fcn.004385f1
mov esi, eax
jmp 0x4396c1
push dword [ebp - 0x424]
push dword [ebp - 0x428]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x439609
call fcn.004385f1
jmp 0x4396b4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x424], eax
test eax, eax
je 0x4395ff
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x428], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x439639
mov esi, 0x8007000e
jmp 0x4396b6
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x420]
call fcn.004384b1
mov dword [ebp - 4], 1
jmp 0x43966d
cmp dword [ebp - 0x420], 0
je 0x439632
push esi
push dword [ebp - 0x420]
push esi
push dword [ebp - 0x424]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x4395ff
xor edx, edx
mov eax, dword [ebp - 0x420]
mov word [eax + ecx*2], dx
push dword [ebp + 0x14]
push dword [ebp - 0x420]
lea ecx, [ebp - 0x1c]
call fcn.0043940d
mov esi, eax
test edi, edi
je 0x4396c1
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], bl
lea eax, [ebp - 0x41c]
cmp dword [ebp - 0x420], eax
je 0x4396dd
lea ecx, [ebp - 0x420]
call fcn.00438895
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00444497
ret 0x10
Function at 0x439f73
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
test edx, edx
jne 0x439f87
push 0xd
pop eax
jmp 0x439fcb
push esi
xor eax, eax
push edi
mov dword [ebp - 4], eax
mov esi, eax
mov edi, edx
mov ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 8], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 4]
jne 0x439f9a
sub ecx, dword [ebp - 8]
sar ecx, 1
inc ecx
lea edi, [edi + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x439f92
push esi
push edx
push 7
xor eax, eax
push eax
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x439fd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x439fe2
push 0xd
pop eax
jmp 0x43a014
mov ecx, edx
push ebx
push edi
xor ebx, ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x439feb
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc

Function at 0x43abb2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x492890]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x43ac06
cmp dword [ebp + 0xc], 0
jle 0x43ac06
push 0
push 0x1a
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x43ac06
push str.ZoomdataZoom.us.ini
push dword [ebp + 0xc]
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea eax, [ebp - 0x34]
push eax
push esi
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wstat64i32]
add esp, 0x14
neg eax
sbb al, al
inc al
jmp 0x43ac08
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00444460
leave
ret

Function at 0x43ad37
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x492890]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x43add1
cmp dword [ebp + 0xc], 0
jle 0x43add1
xor ebx, ebx
push ebx
push 0x1a
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x43add1
push str.Zoom
push dword [ebp + 0xc]
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
push str.logs
push dword [ebp + 0xc]
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0x18
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push ebx
push str.zoomtest
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x43add1
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, 1
jmp 0x43add3
xor al, al
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00444460
leave
ret
Function at 0x43b3b1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x492890]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x20c]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
mov esi, 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x43b447
push str._vdp_rdpvcbridge.dll
lea eax, [ebp - 0x20c]
push esi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x43b447
push edi
push str.VDP_IsViewSession
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x43b43f
push 0xffffffffffffffff
mov ecx, edi
call dword [0x44b788]
call edi
pop ecx
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.00444460
leave
ret
Function at 0x43b894
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x492890]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x9c], eax
test esi, esi
je 0x43baad
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x43baad
xor eax, eax
mov byte [ebp - 0x95], al
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x88]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x94], eax
test eax, eax
je 0x43baad
push edi
push eax
call fcn.004441f3
pop ecx
mov edi, eax
push edi
push dword [ebp - 0x94]
push dword [ebp - 0x88]
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x43ba9d
test bl, 1
je 0x43b98e
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
push eax
push 0x486620
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43b98e
cmp dword [ebp - 0x8c], 0
mov esi, dword [ebp - 0x9c]
je 0x43b994
mov ecx, dword [ebp - 0x90]
cmp dword [ecx], 0xfeef04bd
jne 0x43b994
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._04d
push 0x40
push esi
call fcn.00402050
add esp, 0x1c
mov byte [ebp - 0x95], 1
jmp 0x43b994
mov esi, dword [ebp - 0x9c]
test bl, 2
je 0x43ba9d
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x94]
push eax
push str.VarFileInfoTranslation
lea ebx, [esi + 0x40]
push edi
mov byte [ebx], 0
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x43ba9d
cmp dword [ebp - 0x8c], 4
jb 0x43ba9d
mov esi, 0x80
lea eax, [ebp - 0x84]
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x94]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push str.StringFileInfo_04x_04xFileDescription
lea eax, [ebp - 0x84]
push esi
push eax
call fcn.00402050
add esp, 0x20
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x84]
push eax
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x43ba9d
mov esi, dword [ebp - 0x8c]
test esi, esi
je 0x43ba9d
cmp dword [ebp - 0x90], 0
je 0x43ba9d
mov eax, 0xff
lea ecx, [eax + 1]
cmp esi, ecx
cmovae esi, eax
mov dword [ebp - 0x8c], esi
test esi, esi
je 0x43ba92
test ebx, ebx
jne 0x43ba70
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], 0x16
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
mov esi, dword [ebp - 0x8c]
jmp 0x43ba92
cmp esi, ecx
jbe 0x43ba82
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], 0x22
jmp 0x43ba62
push esi
push dword [ebp - 0x90]
push ebx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov ecx, dword [ebp - 0x9c]
mov byte [ecx + esi + 0x40], 0
push edi
call fcn.004441fc
mov al, byte [ebp - 0x95]
pop ecx
pop edi
jmp 0x43baaf
xor al, al
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00444460
leave
ret
Function at 0x43c170
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x492890]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], edi
test edi, edi
jne 0x43c198
xor al, al
jmp 0x43c246
push ebx
xor bl, bl
mov byte [ebp - 9], bl
test eax, eax
je 0x43c243
push esi
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x43c1d0
push dword [ebp - 0x10]
push eax
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x43c242
and dword [ebp - 0x14], 0
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 9]
push eax
push str.QueryFullProcessImageNameW
push 0x4865e8
call fcn.0043b001
mov bl, byte [ebp - 9]
add esp, 0x1c
test bl, bl
jne 0x43c23b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x10]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push dword [ebp + 0x10]
mov esi, eax
push edi
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
setne bl
test eax, eax
jne 0x43c23b
push dword [ebp + 0x10]
push edi
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
setne bl
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00444460
leave
ret

Function at 0x43c4df
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x492890]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x43c598
xor eax, eax
cmp ax, word [esi]
je 0x43c598
push 0x410
push eax
lea eax, [ebp - 0x414]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x414]
push 0
push 0x25
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x43c598
push esi
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43c594
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.downlevel
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push esi
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43c598
mov al, 1
jmp 0x43c59a
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00444460
leave
ret
Function at 0x43c6d0
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x492890]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x60]
mov word [ebp - 0x54], 0x500
push eax
xor ebx, ebx
push 8
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x58], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x43c728
lea eax, [ebp - 0x5c]
push eax
push 0x4c
lea eax, [ebp - 0x50]
push eax
push 1
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push dword [ebp - 0x60]
test eax, eax
jne 0x43c737
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00444460
leave
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x64]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x43c728
push esi
push dword [ebp - 0x64]
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
push dword [ebp - 0x64]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, esi
pop esi
jmp 0x43c72a

Function at 0x43c98c
Capabilities:
Enumerate processes
Get process image filename
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x33c
mov eax, dword [0x492890]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
push 2
mov dword [ebp - 0x33c], edi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x43c9c3
xor al, al
jmp 0x43cab0
lea eax, [ebp - 0x338]
mov dword [ebp - 0x338], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x43caa7
lea eax, [ebp - 0x314]
push edi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x43ca90
push dword [ebp - 0x330]
push ebx
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x43caa5
cmp dword [ebp + 0xc], ebx
jl 0x43ca44
or dword [ebp - 0x10c], 0xffffffff
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 0x330]
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x43ca44
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x10c], eax
jne 0x43ca8a
push 0x104
lea eax, [ebp - 0x108]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x108]
push 0x104
push eax
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameA
push 0x3e7
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x1388
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x33c]
lea eax, [ebp - 0x338]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x43c9e2
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00444460
leave
ret