joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d130
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3fb0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5341c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0041d300
mov ecx, eax
test ecx, ecx
je 0x42d211
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push edi
push 0x503744
push eax
mov dword [ebp - 4], 0
call fcn.004072e0
mov esi, dword [ebp - 0x10]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp edi, 0x64
mov dword [ebp - 0x20], vtable.mf_bind_t_1_class_CUninstaller__class_CUninstaller___void__int_.0
mov eax, 0x63
mov dword [ebp - 0x1c], 0x42d230
cmovl eax, edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 1
push eax
call fcn.0041d600
add esp, 4
mov dword [ebp - 0x20], vtable.mf_bind_t_1_class_CUninstaller__class_CUninstaller___void__int_.0
mov dword [ebp - 0x1c], 0
add esi, 0xfffffff0
mov dword [ebp - 0x18], 0
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42d1fd
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 edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00403b30
int3
Function at 0x42eac0
Capabilities:
Delete registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x4f8
mov eax, dword [0x5341c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.0042ce20
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x100
push eax
push str.7D0018B7_A788_9AEF_194C_BF625648C610
push str.CLSID
push SysReAllocString
call fcn.0042be50
push 0x258
lea eax, [ebp - 0x4b8]
push 0
push eax
call fcn.00470cd0
push 0x256
lea eax, [ebp - 0x25e]
push 0
push eax
call fcn.00470cd0
add esp, 0x28
lea esi, [ebp - 0x260]
mov edx, str.0Uninstaller
mov cl, byte [edx]
lea edx, [edx + 1]
movzx eax, cl
lea esi, [esi + 2]
mov word [esi - 2], ax
test cl, cl
jne 0x42eb42
xor edi, edi
nop word [eax + eax]
mov edx, dword [edi + 0x502f4c]
lea esi, [ebp - 0x4b8]
nop dword [eax]
mov cl, byte [edx]
lea edx, [edx + 1]
movzx eax, cl
lea esi, [esi + 2]
mov word [esi - 2], ax
test cl, cl
jne 0x42eb70
cmp dword [0x534038], 0
je 0x42ec6b
push str.GetNativeSystemInfo
push 0x50244c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
test eax, eax
je 0x42ec61
xorps xmm0, xmm0
mov dword [ebp - 0x4d0], 0
lea ecx, [ebp - 0x4f0]
movaps xmmword [ebp - 0x4f0], xmm0
push ecx
movaps xmmword [ebp - 0x4e0], xmm0
call eax
mov ax, word [ebp - 0x4f0]
cmp ax, 9
je 0x42ec57
cmp ax, 6
je 0x42ec57
cmp ax, 0xc
je 0x42ec57
push str.IsWow64Process2
push 0x502898
mov dword [ebp - 0x4c0], 0
mov dword [ebp - 0x4bc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call esi
mov esi, eax
test esi, esi
je 0x42ec4e
lea eax, [ebp - 0x4bc]
push eax
lea eax, [ebp - 0x4c0]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x42ec4e
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x4bc], cx
sete al
mov dword [0x53a604], eax
jmp 0x42ec61
xor eax, eax
mov dword [0x53a604], eax
jmp 0x42ec61
mov dword [0x53a604], 1
mov dword [0x534038], 0
mov eax, dword [0x53a604]
neg eax
sbb eax, eax
and eax, 0x100
push eax
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x4b8]
push eax
push SysReAllocString
call fcn.0042be50
add edi, 4
add esp, 0x10
cmp edi, 0xc
jb 0x42eb60
call fcn.0042ce20
test al, al
mov dword [ebp - 0x4bc], 0
lea eax, [ebp - 0x4bc]
push eax
je 0x42ecc2
push 0x1010b
jmp 0x42ecc7
push 0x1000b
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionShell_ExtensionsApproved
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42ecfb
push str.7D0018B7_A788_9AEF_194C_BF625648C610
push eax
push dword [ebp - 0x4bc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyValueW]
push dword [ebp - 0x4bc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0044666a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x42f9d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5341c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x5340e0]
test ecx, ecx
js 0x42fa04
xor eax, eax
test ecx, ecx
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044666a
mov esp, ebp
pop ebp
ret 4
push 0x118
xorps xmm0, xmm0
mov dword [0x5340e0], 0
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x124], 0
push 0
push eax
movups xmmword [ebp - 0x144], xmm0
movups xmmword [ebp - 0x134], xmm0
call fcn.00470cd0
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x42fa75
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42facb
push str.GetNativeSystemInfo
push 0x50244c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42facb
lea ecx, [ebp - 0x144]
push ecx
call eax
mov ax, word [ebp - 0x144]
cmp ax, 9
je 0x42faac
cmp ax, 6
jne 0x42facb
mov dword [0x5340e0], 1
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044666a
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0044666a
mov esp, ebp
pop ebp
ret 4

Function at 0x42fcd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5341c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 5
jne 0x42fd7f
cmp dword [eax + 0xc], 1
jb 0x42fd7f
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00470cd0
add esp, 0xc
mov dword [ebp - 0x214], 1
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0x208
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push 0x503b4c
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x42fd7f
lea eax, [ebp - 0x20c]
push str.Service_Pack_2
push eax
call fcn.00499b3c
add esp, 8
test eax, eax
js 0x42fd7f
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044666a
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0044666a
mov esp, ebp
pop ebp
ret 4
Function at 0x430a80
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4316
mov eax, dword fs:[0]
push eax
sub esp, 0x880
mov eax, dword [0x5341c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x430abc
xor eax, eax
jmp 0x430cc2
cmp word [ebx], 0
je 0x430ab5
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x430ac7
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
jge 0x430ab5
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00470cd0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x502580
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x430b22
test al, 1
je 0x430b22
and eax, 0xfffffffe
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, 0x5c
mov dword [ebp - 0x428], 0
mov word [ebp - 0x42c], ax
mov dword [ebp - 0x424], 0
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x884]
call fcn.0042c320
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x430c72
cmp dword [ebp - 0x424], 0
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
je 0x430bd1
mov eax, dword [ebp - 0x884]
shr eax, 4
and eax, 1
je 0x430bd1
cmp word [ebp - 0x858], 0x2e
jne 0x430bd1
mov ax, word [ebp - 0x856]
test ax, ax
je 0x430bac
cmp ax, 0x2e
jne 0x430bd1
cmp word [ebp - 0x854], 0
jne 0x430bd1
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x430cde
lea ecx, [ebp - 0x884]
push ecx
push eax
call edi
mov edi, eax
mov dword [ebp - 0x424], edi
jmp 0x430c64
lea eax, [ebp - 0x888]
push eax
lea ecx, [ebp - 0x884]
call fcn.0041f0d0
cmp dword [ebp - 0x424], 0
mov byte [ebp - 4], 1
je 0x430c0c
mov eax, dword [ebp - 0x884]
shr eax, 4
and eax, 1
je 0x430c0c
mov esi, dword [ebp - 0x888]
push esi
call fcn.00430a80
jmp 0x430c18
mov esi, dword [ebp - 0x888]
push esi
call fcn.00430a10
mov eax, dword [ebp - 0x428]
add esp, 4
test eax, eax
jne 0x430c29
xor edi, edi
jmp 0x430c48
cmp dword [ebp - 0x424], 0
jne 0x430c36
xor edi, edi
jmp 0x430c48
lea ecx, [ebp - 0x884]
push ecx
push eax
call edi
mov edi, eax
mov dword [ebp - 0x424], edi
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x430c64
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x430b69
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x428]
mov dword [ebp - 0x424], 0
test eax, eax
je 0x430c98
cmp eax, 0xffffffff
je 0x430c98
push eax
call esi
mov dword [ebp - 0x428], 0
push ebx
call fcn.004303d0
mov eax, dword [ebp - 0x428]
add esp, 4
mov dword [ebp - 0x424], 0
test eax, eax
je 0x430cbd
cmp eax, 0xffffffff
je 0x430cbd
push eax
call esi
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044666a
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x424], 0
jmp 0x430c98
Function at 0x430ec0
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
mov eax, dword [0x5341c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0
jne 0x430f81
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00470cd0
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x430f6b
push edi
push 0x104
lea edi, [ebx + 4]
push 0
push edi
call fcn.00470cd0
add esp, 0xc
lea eax, [ebp - 0x108]
push edi
push 0
push 0x503fd8
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str..bat
push edi
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionA]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x80
push 4
push 0
push 7
push 0xc01200a0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebx], eax
pop edi
cmp dword [ebx], 0
jne 0x430f81
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044666a
mov esp, ebp
pop ebp
ret
push 0x208
lea eax, [ebp - 0x310]
push 0
push eax
call fcn.00470cd0
add esp, 0xc
mov dword [ebp - 0x314], 0
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x310]
push 0x207
push eax
call fcn.00404150
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.0048bf5e
or ecx, 0xffffffff
add esp, 0x1c
test eax, eax
cmovs eax, ecx
test eax, eax
js 0x430fe1
cmp eax, 0x207
ja 0x430fe1
jne 0x430fe8
mov byte [ebp - 0x109], 0
lea ecx, [ebp - 0x310]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x430ff1
push 0
lea eax, [ebp - 0x314]
sub ecx, edx
push eax
push ecx
lea eax, [ebp - 0x310]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0044666a
mov esp, ebp
pop ebp
ret
Function at 0x4311e0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1318
call fcn.00446680
mov eax, dword [0x5341c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x800
mov dword [ebp - 0x1318], eax
lea eax, [ebp - 0x1304]
push 0
push eax
call fcn.00470cd0
push 0x800
lea eax, [ebp - 0xb04]
push 0
push eax
call fcn.00470cd0
add esp, 0x18
lea eax, [ebp - 0x1304]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xfe
lea eax, [ebp - 0x102]
push 0
push eax
call fcn.00470cd0
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor esi, esi
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x104], ax
lea eax, [ebp - 0x1314]
push eax
movups xmmword [ebp - 0x1314], xmm0
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x200
lea eax, [ebp - 0x304]
push 0
push eax
call fcn.00470cd0
movzx eax, byte [ebp - 0x1305]
push eax
movzx eax, byte [ebp - 0x1306]
push eax
movzx eax, byte [ebp - 0x1307]
push eax
movzx eax, byte [ebp - 0x1308]
push eax
movzx eax, byte [ebp - 0x1309]
push eax
movzx eax, byte [ebp - 0x130a]
push eax
movzx eax, byte [ebp - 0x130b]
push eax
movzx eax, byte [ebp - 0x130c]
push eax
movzx eax, word [ebp - 0x130e]
push eax
movzx eax, word [ebp - 0x1310]
push eax
push dword [ebp - 0x1314]
lea eax, [ebp - 0x304]
push str._08X__04X__04x__02X_02X__02X_02X_02X_02X_02X_02X
push eax
call fcn.0042fee0
lea eax, [ebp - 0x304]
add esp, 0x40
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x431310
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x304]
push eax
lea eax, [ebp - 0x104]
push 0x80
push eax
call fcn.00499b31
add esp, 0x10
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x1304]
push eax
lea eax, [ebp - 0xb04]
push eax
call edi
push 0x502f58
lea eax, [ebp - 0xb04]
push 0x400
push eax
call fcn.0049fb14
add esp, 0xc
lea eax, [ebp - 0xb04]
push eax
call ebx
test eax, eax
je 0x431395
inc esi
cmp esi, 0xa
jl 0x431262
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044666a
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0xb04]
lea esi, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4313a0
mov ecx, dword [ebp - 0x1318]
lea eax, [ebp - 0xb04]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.004089d0
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044666a
mov esp, ebp
pop ebp
ret
Function at 0x4346f0
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5270d0
push 0x471f50
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x2a14
call fcn.00446680
mov eax, dword [0x5341c4]
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 0x4348c4
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x434746
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
ja 0x4348c4
mov dword [ebp - 4], 0
call fcn.00433e10
mov dword [ebp - 4], 0xfffffffe
jmp 0x43478c
push 0x800
push 0
lea eax, [ebp - 0xa24]
push eax
call fcn.00470cd0
mov dword [ebp - 0x2a28], 0
push 0x2000
push 0
lea eax, [ebp - 0x2a24]
push eax
call fcn.00470cd0
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 0x4348c4
push 0x104
push esi
lea eax, [ebp - 0x224]
push eax
call fcn.0049a8bd
lea eax, [ebp - 0x224]
push eax
call fcn.00499990
add esp, 0x10
xor edi, edi
cmp dword [ebp - 0x2a28], edi
jbe 0x4348c4
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x400
lea eax, [ebp - 0xa24]
push eax
push dword [ebp + edi*4 - 0x2a24]
call fcn.00433f40
add esp, 0xc
test eax, eax
je 0x4348b7
lea eax, [ebp - 0xa24]
push eax
call fcn.00499990
add esp, 4
lea ecx, [ebp - 0xa24]
lea eax, [ebp - 0x224]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x434878
test dx, dx
je 0x434874
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x434878
add eax, 4
add ecx, 4
test dx, dx
jne 0x434852
xor eax, eax
jmp 0x43487d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4348b7
push dword [ebp + edi*4 - 0x2a24]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4348a3
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.00422f00
add esp, 8
inc edi
cmp edi, dword [ebp - 0x2a28]
jb 0x434814
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.0044666a
mov esp, ebp
pop ebp
ret 4
Function at 0x4348f0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x527110
push 0x471f50
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x5341c4]
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 ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 4], 0
test esi, esi
je 0x434a51
cmp word [esi], 0
je 0x434a51
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x434950
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
ja 0x434a51
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x434a51
push 0x800
push 0
lea eax, [ebp - 0x81c]
push eax
call fcn.00470cd0
push esi
push str.__s_
push 0x3ff
lea eax, [ebp - 0x81c]
push eax
call fcn.00430cf0
push 0x3c
push 0
lea eax, [ebp - 0x858]
push eax
call fcn.00470cd0
add esp, 0x28
mov dword [ebp - 0x858], 0x3c
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x84c], str.open
mov dword [ebp - 0x844], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x83c], eax
mov dword [ebp - 0x854], 0x440
lea eax, [ebp - 0x858]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
test esi, esi
je 0x434a18
cmp dword [ebp + 0x18], 0
je 0x434a18
push dword [ebp + 0x20]
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test edi, edi
je 0x434a2d
test esi, esi
je 0x434a3d
push edi
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test esi, esi
je 0x434a3d
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x434a5a
mov dword [ebp - 4], 0xfffffffe
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.0044666a
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x434b00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 8]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x434b1c
pop edi
pop ebp
ret 4
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop edi
pop ebp
ret 4
Function at 0x44a080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5643
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x5341c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x8c], 0
mov dword [ebx], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
push 0x201
push dword [0x5341f4]
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], 0
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00449f70
mov edi, dword [ebp - 0x8c]
test eax, eax
jne 0x44a261
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.00470cd0
add esp, 0xc
mov dword [ebp - 0x78], 0x64
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0
push 0x509504
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44a261
mov eax, dword [ebp - 0x7c]
cmp eax, 1
je 0x44a155
cmp eax, 2
jne 0x44a261
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x44a176
test cl, 1
jne 0x44a261
mov eax, ecx
shr eax, 1
cmp word [ebp + eax*2 - 0x76], 0
je 0x44a17c
jmp 0x44a261
xor eax, eax
mov word [ebp - 0x74], ax
shr ecx, 1
cmp ecx, 0x2d
jne 0x44a261
call fcn.0041d300
mov ecx, eax
test ecx, ecx
je 0x44a28c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x78]
call fcn.00448170
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0
push eax
lea eax, [ebp - 0x20]
push 0x50950c
push eax
call fcn.004041a0
mov esi, dword [ebp - 0x78]
push 0x2a
push esi
call fcn.00448700
movzx eax, al
add esp, 0x14
cmp dword [ebp - 0x7c], eax
jne 0x44a245
lea edx, [ebp - 0x74]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x44a1e6
sub edx, ecx
lea eax, [ebp - 0x74]
mov ecx, dword [ebp - 0x80]
sar edx, 1
push edx
push eax
call fcn.0044a2e0
push dword [0x5341fc]
lea eax, [ebp - 0x74]
push dword [0x5341f8]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x44a222
mov dword [ebx], 1
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44a23e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x44a263
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44a261
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
test edi, edi
je 0x44a26e
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044666a
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403b30
int3