joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4264a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b320
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x55746c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.004363f0
mov esi, eax
push str.SETUPDATA
push 0xd7
push dword [0x55e6c4]
mov ecx, dword [esi]
push esi
call dword [ecx + 0x10]
test eax, eax
jne 0x4265b8
push str.InitPackInfo_failed__exit
call fcn.0042add0
add esp, 4
push 4
push str.InitPackInfo_success
call fcn.0042add0
mov eax, dword [esi]
add esp, 4
push str.Halo.ldsprj
push str.SETUPCONFIG
push 0xd5
push dword [0x55e6c4]
push esi
call dword [eax + 0xc]
test eax, eax
jne 0x4266b9
push str.InitConfig_failed__exit
call fcn.0042add0
add esp, 4
push 4
push 0x51b4a4
push 0
call fcn.00431c50
cmp eax, 6
jne 0x426620
push 1
push 0
push 0
push str.http:__www.conchdesktop.com
push 0x519794
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.00404dc0
mov ecx, eax
test ecx, ecx
je 0x4266e5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0
push str.055EE061_E6A1_4a97_BCA3_B47A227F452A
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 2
push str._sInitConfig:_d
push eax
call fcn.0040ae00
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x14], esp
mov dword [eax + 0x24], 0
mov esi, dword [ebp - 0x10]
push 0
push esi
push str.install_init_fail
mov byte [ebp - 4], 3
call fcn.004111f0
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040db70
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4265a6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push str.InitConfig_success
call fcn.0042add0
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x427ed0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b546
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x55746c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x427f7c
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x427f7c
call fcn.00413130
mov edi, eax
jmp 0x42809b
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x427f9f
call fcn.00413130
jmp 0x42808e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x427fbd
call fcn.00413130
jmp 0x42808e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x427fde
mov edi, 0x8007000e
jmp 0x428090
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x4280d4
jb 0x427ffc
cmp eax, 0xffffffff
ja 0x4280d4
cmp eax, 0x400
jbe 0x428011
push eax
lea ecx, [ebp - 0x418]
call fcn.00425470
jmp 0x428037
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x428037
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x42804e
mov edi, 0x8007000e
jmp 0x428090
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x42806e
call fcn.00413130
jmp 0x42808e
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00427d30
mov edi, eax
test esi, esi
je 0x42809b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x4280b4
lea ecx, [ebp - 0x418]
call fcn.00425da0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00468598
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.00404170
int3
Function at 0x429820
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x55746c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x414]
push 0x208
push 0
push eax
call fcn.00495040
add esp, 0xc
mov dword [ebp - 0x41c], 1
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], 0x104
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x41c]
push eax
push str.Setup_Path
push str.SOFTWAREHaloDesktop
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x429942
push esi
call fcn.00425e70
mov ecx, eax
call fcn.0041b5b0
call fcn.00425e70
mov ecx, eax
call fcn.0041abb0
push eax
call fcn.004111f0
mov ecx, eax
call fcn.0040df10
push str.installpkg
call fcn.004111f0
mov ecx, eax
call fcn.0040df80
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00495040
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [0x55e6c4]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call fcn.004111f0
mov ecx, eax
call fcn.0040de80
sub esp, 0x28
mov eax, esp
push 0
push 0
push str.exist_wp
mov dword [eax + 0x24], 0
call fcn.004111f0
mov ecx, eax
call fcn.0040db70
mov eax, 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00468598
mov esp, ebp
pop ebp
ret 4
cmp dword [0x55e6dc], 0
jne 0x429968
push 1
push esi
push 0
push dword [0x55e6c4]
mov dword [0x55e6dc], 1
call fcn.00426780
add esp, 0x10
mov ecx, dword [ebp - 4]
mov eax, dword [0x5560bc]
xor ecx, ebp
pop esi
call fcn.00468598
mov esp, ebp
pop ebp
ret 4
Function at 0x429bf0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b632
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x55746c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00495040
add esp, 0xc
mov dword [ebp - 0x21c], 1
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
push str.Setup_Path
push str.SOFTWAREHaloDesktop
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x429cad
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x429cad
push str.config.ini
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push str.three_end
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [0x55e75c]
test ecx, ecx
jne 0x429d17
push 0x556178
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x55e75c], 0
jne 0x429d06
push 0x60
call fcn.00432be0
add esp, 4
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x429cf1
mov ecx, eax
call fcn.00417c80
mov ecx, eax
jmp 0x429cf3
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
xchg dword [ebp - 0x21c], eax
mov dword [0x55e75c], ecx
push 0x556178
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x55e75c]
call fcn.0041cfe0
test eax, eax
je 0x429d7d
call fcn.004363f0
push 0x208
mov esi, eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00495040
mov ecx, dword [esi]
lea eax, [ebp - 0x218]
add esp, 0xc
push 0x104
push eax
push esi
call dword [ecx + 0x44]
push str.config.ini
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
push 0x51bbe0
push 0x51bbe4
push str.three_end
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00468598
mov esp, ebp
pop ebp
ret
Function at 0x42e7d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c008
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x55746c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x42e817
push 1
call fcn.0042f600
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 1
jne 0x42e95f
call fcn.00425e70
mov ecx, eax
call fcn.0041cf00
test eax, eax
jne 0x42e83c
cmp dword [esi + 0x184], eax
jne 0x42e8e4
call fcn.00425e70
mov ecx, eax
call fcn.0041cf00
test eax, eax
je 0x42e878
mov eax, dword [esi + 0xa4]
lea ecx, [esi + 0xa4]
call dword [eax]
mov dword [esi + 0x180], 2
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x42e8c6
cmp dword [esi + 0x78], 0
je 0x42e8c6
mov eax, dword [ecx]
push 1
push 0
push ecx
call dword [eax + 0x20]
push 0
lea ecx, [esi + 0xb0]
call fcn.00423330
mov eax, dword [esi + 0x78]
push 1
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [esi + 0x7c]
push 1
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [esi + 0x80]
push 1
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov dword [esi + 0x180], 2
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10
call fcn.00425e70
mov ecx, eax
call fcn.0041cf00
test eax, eax
jne 0x42e941
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x42e941
cmp dword [esi + 0x78], eax
je 0x42e941
mov eax, dword [ecx]
push 1
push 0
push ecx
call dword [eax + 0x20]
push 0
lea ecx, [esi + 0xb0]
call fcn.00423330
mov eax, dword [esi + 0x78]
push 1
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [esi + 0x7c]
push 1
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [esi + 0x80]
push 1
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov dword [esi + 0x180], 3
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 2
jne 0x42e9b7
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
lea ecx, [esi + 0xb0]
call fcn.00423330
sub esp, 0x28
mov eax, esp
mov dword [ebp + 0xc], esp
mov dword [eax + 0x24], 0
push 1
push 0
push str.install_finish
mov dword [ebp - 4], 9
call fcn.004111f0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.0040db70
push 1
mov ecx, esi
call fcn.0042f0b0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x42f010
Capabilities:
Create process on windows

Disassembly:
push 1
push 0
push 0
push str.http:__www.conchdesktop.com_cms_agreement.html
push 0x519794
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret
Function at 0x42f0b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
lea ecx, [esi + 0xb0]
call fcn.00423330
mov ecx, 0x55e71c
call fcn.00407680
push str.quit
call fcn.0042add0
add esp, 4
lea ecx, [esi + 0x94]
call fcn.0042a1f0
xor esi, esi
call fcn.00425e70
mov ecx, eax
call fcn.0041cee0
test eax, eax
mov ecx, 1
cmovne esi, ecx
call fcn.004363f0
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
call fcn.004363f0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
pop esi
pop ebp
jmp dword [sym.imp.USER32.dll_PostQuitMessage]

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c0db
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x55746c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00495040
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push str.PluginCfg
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42f1eb
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push str.lockscreenfix.ini
lea eax, [ebp - 0x218]
push eax
call esi
call fcn.00404dc0
mov ecx, eax
test ecx, ecx
je 0x42f28f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
movzx eax, byte [ebp + 8]
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push 0x51b3ac
push eax
call fcn.0040ae00
mov esi, dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
add esp, 0xc
push eax
push esi
push str.lock_screen_state
push str.General
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42f273
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00468598
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00404170
int3
Function at 0x434730
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.004689c0
mov eax, dword [0x55746c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x4004]
push edi
mov edi, dword [ebp + 0xc]
push 0x4000
push 0
push eax
call fcn.00495040
add esp, 0xc
mov dword [ebp - 0x4008], 0
test esi, esi
je 0x434822
test edi, edi
je 0x434822
lea eax, [ebp - 0x4008]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x434822
cmp eax, 0x3fff
ja 0x434822
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x434822
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x400c]
push eax
push 0x518d4c
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x434822
mov eax, dword [ebp + 0x10]
add eax, eax
push eax
push 0
push edi
call fcn.00495040
mov ecx, dword [ebp - 0x400c]
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 0x518f3c
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x24
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00468598
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00468598
mov esp, ebp
pop ebp
ret
Function at 0x434a50
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c4
mov eax, dword [0x55746c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x4c4], eax
mov dword [ebp - 0x4c0], ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
je 0x434b2b
test ecx, ecx
je 0x434b2b
lea eax, [ebp - 0x4bc]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x434b2b
mov ax, word [ebp - 0x4bc]
xor esi, esi
test ax, ax
je 0x434b2b
xor ecx, ecx
movzx edx, ax
nop dword [eax + eax]
mov ax, word [ebp + ecx - 0x4ba]
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0xd4]
push 0x64
push eax
lea eax, [ebp - 0xc]
mov word [ebp - 0xc], dx
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x434b16
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
lea eax, [ebp - 0xd4]
push ebx
push eax
push dword [ebp - 0x4c4]
call fcn.004c2e9d
add esp, 0xc
test eax, eax
je 0x434b3e
add esi, 4
lea ecx, [esi + esi]
movzx eax, word [ebp + ecx - 0x4bc]
mov edx, eax
test ax, ax
jne 0x434ac0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00468598
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp - 0x4c0]
call fcn.00435870
xor ecx, ecx
test edi, edi
je 0x434b5c
cmp edi, 0x7fffffff
jbe 0x434b61
mov ecx, 0x80070057
test ecx, ecx
js 0x434b97
mov eax, dword [ebp - 0x4c0]
mov esi, edi
test edi, edi
je 0x434b7f
cmp word [eax], 0
je 0x434b7f
add eax, 2
sub esi, 1
jne 0x434b71
xor eax, eax
mov ecx, 0x80070057
test esi, esi
cmovne ecx, eax
mov eax, edi
sub eax, esi
neg esi
sbb esi, esi
and esi, eax
jmp 0x434b99
xor esi, esi
test ecx, ecx
js 0x434bea
mov eax, dword [ebp - 0x4c0]
mov edx, edi
lea ecx, [eax + esi*2]
sub edx, esi
je 0x434bdd
mov eax, edx
sub eax, edi
mov edi, dword [ebp - 0x4c4]
add eax, 0x7fffffff
add esi, eax
lea eax, [ebx + ebx]
sub eax, ecx
add edi, eax
test esi, esi
je 0x434bdd
movzx eax, word [edi + ecx]
test ax, ax
je 0x434bdd
mov word [ecx], ax
dec esi
add ecx, 2
sub edx, 1
jne 0x434bc4
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00468598
mov esp, ebp
pop ebp
ret
Function at 0x434c00
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x55746c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x434c78
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 1
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 2
push eax
push 0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00468598
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00468598
mov esp, ebp
pop ebp
ret

Function at 0x434d30
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.004689c0
mov eax, dword [0x55746c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
test ebx, ebx
je 0x434e6a
mov edi, dword [ebp + 0x10]
cmp edi, 0x64
jl 0x434e6a
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x434e6a
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00495040
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x400
push eax
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
mov dword [ebp - 0x1008], eax
test eax, eax
je 0x434e3f
push 0x800
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.00495040
lea eax, [ebp - 0x804]
push 0x7e
push eax
call fcn.00496482
add esp, 0x14
test eax, eax
je 0x434e04
push 0x400
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
dec eax
cmp eax, 0x3fe
ja 0x434e04
mov ecx, 1
jmp 0x434e06
xor ecx, ecx
test ecx, ecx
lea edx, [ebp - 0x1004]
lea eax, [ebp - 0x804]
cmovne eax, edx
push eax
push edi
push ebx
call fcn.00435870
mov edi, dword [ebp - 0x1008]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00468598
mov esp, ebp
pop ebp
ret
push 0x400
lea eax, [ebp - 0x804]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x434e1f
push edi
lea eax, [ebp - 0x804]
push ebx
push eax
call fcn.00434a50
add esp, 0xc
mov edi, eax
jmp 0x434e25
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00468598
mov esp, ebp
pop ebp
ret
Function at 0x4354e0
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5461a0
push 0x496af0
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x2a14
call fcn.004689c0
mov eax, dword [0x55746c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2a2c], esi
test esi, esi
je 0x4356b4
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x435536
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
ja 0x4356b4
mov dword [ebp - 4], 0
call fcn.00434c00
mov dword [ebp - 4], 0xfffffffe
jmp 0x43557c
push 0x800
push 0
lea eax, [ebp - 0xa24]
push eax
call fcn.00495040
mov dword [ebp - 0x2a28], 0
push 0x2000
push 0
lea eax, [ebp - 0x2a24]
push eax
call fcn.00495040
add esp, 0x18
lea eax, [ebp - 0x2a28]
push eax
push 0x800
lea eax, [ebp - 0x2a24]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x4356b4
push 0x104
push esi
lea eax, [ebp - 0x224]
push eax
call fcn.004b105a
lea eax, [ebp - 0x224]
push eax
call fcn.004b1b8f
add esp, 0x10
xor edi, edi
cmp dword [ebp - 0x2a28], edi
jbe 0x4356b4
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x400
lea eax, [ebp - 0xa24]
push eax
push dword [ebp + edi*4 - 0x2a24]
call fcn.00434d30
add esp, 0xc
test eax, eax
je 0x4356a7
lea eax, [ebp - 0xa24]
push eax
call fcn.004b1b8f
add esp, 4
lea ecx, [ebp - 0xa24]
lea eax, [ebp - 0x224]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x435668
test dx, dx
je 0x435664
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x435668
add eax, 4
add ecx, 4
test dx, dx
jne 0x435642
xor eax, eax
jmp 0x43566d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4356a7
push dword [ebp + edi*4 - 0x2a24]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x435693
push 0
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0xa24]
push eax
push str.Kill_process:__s
call fcn.00438650
add esp, 8
inc edi
cmp edi, dword [ebp - 0x2a28]
jb 0x435604
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00468598
mov esp, ebp
pop ebp
ret 4