joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a410
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
push eax
push 1
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41a451
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x41a447
mov eax, 1
jmp 0x41a453
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41a460
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [0x458320]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x238], 0
push 0x228
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.004263e0
add esp, 0xc
mov dword [ebp - 0x238], 0x22c
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x41a508
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41a4fe
mov eax, dword [ebp - 0x230]
cmp eax, dword [ebp + 8]
jne 0x41a4ea
mov eax, dword [ebp - 0x220]
mov dword [ebp - 8], eax
jmp 0x41a4fe
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41a4d4
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004263ce
mov esp, ebp
pop ebp
ret

Function at 0x41a520
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41a5bb
cmp dword [ebp - 4], 2
jne 0x41a5bb
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0xc]
call fcn.00401860
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00401860
lea ecx, [ebp - 0x10]
call fcn.00419230
movzx eax, al
test eax, eax
jne 0x41a5ab
push 0
push 0x44e550
lea ecx, [ebp - 0x10]
call fcn.00418f70
test eax, eax
jl 0x41a5ab
mov dword [ebp - 0x54], 1
lea ecx, [ebp - 0x10]
call fcn.00401910
lea ecx, [ebp - 0xc]
call fcn.00401910
mov eax, dword [ebp - 0x54]
jmp 0x41a5bd
lea ecx, [ebp - 0x10]
call fcn.00401910
lea ecx, [ebp - 0xc]
call fcn.00401910
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41a710
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 8
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xb7
je 0x41a753
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 5
jne 0x41a774
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x41a770
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov dword [eax], 0
xor al, al
jmp 0x41a776
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41cb60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x490
mov eax, dword [0x458320]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
call fcn.00402500
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x1c]
call fcn.0041f560
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.0041ce30
lea ecx, [ebp - 0x440]
call fcn.0041f9d0
push 0x400
mov eax, dword [ebp + 8]
push eax
call fcn.0041c910
add esp, 8
mov dword [ebp - 0x444], eax
push 2
push 0
mov eax, dword [ebp - 0x444]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x41cbde
call fcn.0040d2e0
mov dword [ebp - 0x20], eax
jmp 0x41cd0f
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x41cc06
call fcn.0040d2e0
mov dword [ebp - 0x20], eax
jmp 0x41cd0f
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x41cc2a
call fcn.0040d2e0
mov dword [ebp - 0x20], eax
jmp 0x41cd0f
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
add eax, 1
cmp eax, dword [ebp - 0x38]
jae 0x41cc74
mov dword [ebp - 0x490], 0x8007000e
lea ecx, [ebp - 0x440]
call fcn.0041f9f0
lea ecx, [ebp - 0x1c]
call fcn.0041f580
mov eax, dword [ebp - 0x490]
jmp 0x41cd41
mov eax, dword [ebp - 0x38]
add eax, 1
push eax
lea ecx, [ebp - 0x440]
call fcn.0041fa40
lea ecx, [ebp - 0x440]
call fcn.0041fa20
test eax, eax
jne 0x41cc9e
mov dword [ebp - 0x20], 0x8007000e
jmp 0x41cd0f
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x440]
call fcn.0041fa20
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
push 0
call fcn.00402500
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
jne 0x41ccdd
call fcn.0040d2e0
mov dword [ebp - 0x20], eax
jmp 0x41cd0f
lea ecx, [ebp - 0x440]
call fcn.0041fa20
xor ecx, ecx
mov edx, dword [ebp - 0x448]
mov word [eax + edx*2], cx
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x440]
call fcn.0041fa20
push eax
lea ecx, [ebp - 0x28]
call fcn.0041ce60
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x2c], 0
je 0x41cd1f
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x48c], eax
lea ecx, [ebp - 0x440]
call fcn.0041f9f0
lea ecx, [ebp - 0x1c]
call fcn.0041f580
mov eax, dword [ebp - 0x48c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004263ce
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41e680
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x458320]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x10]
call fcn.004095d0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0041e610
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41e6e5
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x26c], eax
lea ecx, [ebp - 0x10]
call fcn.004095b0
mov eax, dword [ebp - 0x26c]
jmp 0x41e773
mov dword [ebp - 0x20], 0x100
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x41e74b
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041e680
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41e742
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x268], eax
lea ecx, [ebp - 0x10]
call fcn.004095b0
mov eax, dword [ebp - 0x268]
jmp 0x41e773
mov dword [ebp - 0x20], 0x100
jmp 0x41e6ec
lea ecx, [ebp - 0x10]
call fcn.00409580
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.0041e4d0
mov dword [ebp - 0x264], eax
lea ecx, [ebp - 0x10]
call fcn.004095b0
mov eax, dword [ebp - 0x264]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004263ce
mov esp, ebp
pop ebp
ret 4
Function at 0x41ed10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor eax, eax
jne 0x41ed1c
xor eax, eax
jne 0x41ed1c
xor eax, eax
cmp dword [ebp + 0xc], 0
setne al
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x41ed3d
mov eax, 0xd
jmp 0x41ed98
xor eax, eax
jne 0x41ed24
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
lea edx, [ecx + eax*2]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0x10], 1
jne 0x41ed4e
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x421a60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.00421a30
test eax, eax
je 0x421a7c
xor eax, eax
jmp 0x421aba
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
jne 0x421a89
xor eax, eax
jmp 0x421aba
mov eax, dword [ebp - 4]
add eax, 8
push eax
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
push ecx
push 0
push 0
call fcn.00428091
add esp, 0x18
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
call fcn.00421a30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x423576
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x45a9b4], 0
push esi
jne 0x4234e4
call fcn.004233f8
test eax, eax
je 0x423527
mov eax, dword [0x45a9b4]
cmp eax, 1
jne 0x423505
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x423527
pop esi
ret
push eax
call dword [0x45a9bc]
test eax, eax
jne 0x42356f
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x42352b
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x45a9b4]
call dword [0x45a9bc]
mov edi, eax
test edi, edi
je 0x423550
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x42356c
mov edi, esi
add esi, 0xff0
push edi
push dword [0x45a9b4]
call dword [0x45a9b8]
add edi, 0x10
cmp edi, esi
jb 0x423558
mov eax, edi
pop edi
pop esi
ret
jmp 0x4234d1
Function at 0x4239b0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x458320]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
mov ebx, dword [esp + 0x214]
test ebx, ebx
jne 0x4239e8
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004263ce
add esp, 0x20c
ret
push esi
push 0x208
lea eax, [esp + 0xc]
push 0
push eax
call fcn.004263e0
add esp, 0xc
push 0x104
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x423ab3
mov ecx, ebx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x423a20
sub ecx, esi
sar ecx, 1
mov edx, 0x103
sub edx, ecx
cmp eax, edx
jae 0x423ab3
push edi
lea edi, [esp + 0xc]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x423a42
mov eax, dword [0x453aac]
mov dword [edi], eax
mov eax, ebx
mov edx, ebx
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423a60
lea edi, [esp + 0xc]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x423a74
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004263ce
add esp, 0x20c
ret
mov ecx, dword [esp + 0x210]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004263ce
add esp, 0x20c
ret
Function at 0x424300
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2c14
call fcn.00426b60
mov eax, dword [0x458320]
xor eax, esp
mov dword [esp + 0x2c10], eax
mov eax, dword [esp + 0x2c18]
push edi
xor edi, edi
mov dword [esp + 0xc], eax
cmp eax, edi
je 0x42446b
cmp dword [esp + 0x2c20], edi
je 0x42446b
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
mov dword [esp + 0x10], edi
xor ebx, ebx
lea ebx, [ebx]
push ebx
push str..PhysicalDrive_d
lea eax, [esp + 0x30]
push 0x100
push eax
call fcn.00409610
add esp, 0x10
push edi
push edi
push 3
push edi
push 3
push edi
lea ecx, [esp + 0x40]
push ecx
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x424444
xor eax, eax
push 0x2710
lea edx, [esp + 0x514]
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.004263e0
add esp, 0xc
push edi
lea eax, [esp + 0x18]
push eax
push 0x2710
lea ecx, [esp + 0x51c]
push ecx
push 0xc
lea edx, [esp + 0x30]
push edx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x424437
push 0x3e8
lea eax, [esp + 0x12c]
push edi
push eax
call fcn.004263e0
mov edx, dword [esp + 0x534]
lea ecx, [esp + 0x134]
push ecx
push 1
push edx
lea eax, [esp + 0x528]
push eax
call fcn.004260d0
mov edx, dword [esp + 0x2c48]
mov eax, dword [esp + 0x34]
add esp, 0x1c
lea ecx, [esp + 0x128]
push ecx
push edx
push eax
call fcn.00409700
test eax, eax
jne 0x424437
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], edi
jne 0x42444e
inc ebx
cmp ebx, 0x10
jl 0x424350
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x2c10]
xor ecx, esp
call fcn.004263ce
add esp, 0x2c14
ret
mov ecx, dword [esp + 0x2c14]
pop edi
xor ecx, esp
xor eax, eax
call fcn.004263ce
add esp, 0x2c14
ret
Function at 0x424750
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x2ec
mov eax, dword [0x458320]
xor eax, esp
mov dword [esp + 0x2e8], eax
push edi
mov edi, dword [esp + 0x2f4]
mov dword [esp + 0x18], edi
test edi, edi
je 0x424951
cmp dword [esp + 0x2f8], 0
je 0x424951
push 0x64
lea eax, [esp + 0x20]
push 0
push eax
call fcn.004263e0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 8
push 0
push 0x44f96c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x424918
mov ecx, dword [esp + 4]
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x100]
push eax
push ebx
mov esi, 0x104
push ecx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x42490b
lea ebx, [ebx]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 1
push 0
lea eax, [esp + 0xf8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4248d9
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1f4]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4248ce
push 0x64
push eax
lea eax, [esp + 0x90]
push eax
call fcn.004263e0
lea ecx, [esp + 0x1fc]
push 0x64
push ecx
lea edi, [esp + 0x9c]
call fcn.00424640
add esp, 0x14
test eax, eax
je 0x4248ce
cmp byte [esp + 0x24], 0
je 0x424892
lea edx, [esp + 0x24]
push edx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x4248ce
lea eax, [esp + 0x24]
lea esi, [esp + 0x88]
mov ecx, eax
mov edx, 0x64
sub esi, ecx
lea ecx, [edx + 0x7fffff9a]
test ecx, ecx
je 0x4248c1
mov cl, byte [esi + eax]
test cl, cl
je 0x4248c1
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x4248a6
jmp 0x4248c5
test edx, edx
jne 0x4248c6
dec eax
mov byte [eax], 0
mov esi, 0x104
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0xc]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x100]
push ecx
inc ebx
push ebx
push edx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x4247f0
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
cmp byte [esp + 0x1c], 0
je 0x424951
mov edx, dword [esp + 0x2f8]
lea ecx, [esp + 0x1c]
push ecx
push edx
push edi
call fcn.00409700
xor ecx, ecx
test eax, eax
setge cl
pop edi
mov eax, ecx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.004263ce
add esp, 0x2ec
ret
mov ecx, dword [esp + 0x2ec]
pop edi
xor ecx, esp
xor eax, eax
call fcn.004263ce
add esp, 0x2ec
ret
Function at 0x424cf0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x50c
mov eax, dword [0x458320]
xor eax, esp
mov dword [esp + 0x508], eax
push ebp
mov ebp, dword [esp + 0x514]
test edi, edi
je 0x424e6d
cmp ebp, 0x20
jb 0x424e6d
push 0x400
lea eax, [esp + 0x110]
push 0
push eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x400
call fcn.004263e0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0x10]
push eax
push 0x44f9dc
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x424e6d
lea eax, [esp + 0x10c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424d80
sub eax, edx
cmp eax, 0x40
jne 0x424e6d
push ebx
lea edx, [eax + 0x40]
push esi
lea eax, [esp + 0x14]
lea esi, [esp + 0x114]
mov ecx, eax
sub esi, ecx
lea ecx, [edx - 0x60]
test ecx, ecx
je 0x424dbe
mov cl, byte [esi + eax]
test cl, cl
je 0x424dbe
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x424da6
jmp 0x424dc2
test edx, edx
jne 0x424dc3
dec eax
mov byte [eax], 0
lea eax, [esp + 0x94]
lea edx, [esp + 0x134]
mov ecx, eax
mov esi, 0x80
sub edx, ecx
lea ecx, [ecx]
lea ecx, [esi + 0x7fffff7e]
test ecx, ecx
je 0x424dfb
mov cl, byte [edx + eax]
test cl, cl
je 0x424dfb
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x424de0
jmp 0x424dff
test esi, esi
jne 0x424e00
dec eax
push 0x400
lea edx, [esp + 0x118]
push 0
push edx
mov byte [eax], 0
call fcn.004263e0
push 0x400
lea ebx, [esp + 0x124]
lea ecx, [esp + 0x24]
call fcn.00423d70
add esp, 0x10
lea eax, [esp + 0x94]
push eax
mov ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
pop esi
pop ebx
test eax, eax
jne 0x424e6d
lea edx, [esp + 0xc]
push edx
push ebp
push edi
call fcn.00409700
neg eax
sbb eax, eax
inc eax
pop ebp
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.004263ce
add esp, 0x50c
ret
mov ecx, dword [esp + 0x50c]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.004263ce
add esp, 0x50c
ret
Function at 0x424ea0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x290
mov eax, dword [0x458320]
xor eax, esp
mov dword [esp + 0x28c], eax
push ebx
push esi
push 0x80
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004263e0
push 0x80
lea ebx, [esp + 0x20]
mov ecx, edi
call fcn.00423d70
lea eax, [esp + 0x1a0]
mov edx, edi
mov ecx, eax
add esp, 0x10
mov esi, 0x104
sub edx, ecx
lea esp, [esp]
lea ecx, [esi + 0x7ffffefa]
test ecx, ecx
je 0x424f0b
mov cl, byte [edx + eax]
test cl, cl
je 0x424f0b
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x424ef0
jmp 0x424f0f
test esi, esi
jne 0x424f10
dec eax
lea edx, [esp + 0x10]
push edx
mov byte [eax], 0
push 0x104
lea eax, [esp + 0x198]
push eax
call fcn.0040dfd0
push 0xff
lea ecx, [esp + 0x95]
push 0
push ecx
mov dword [esp + 0x18], 1
mov byte [esp + 0x9c], 0
call fcn.004263e0
add esp, 0xc
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x44f9dc
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 0x100
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
jne 0x424feb
mov ecx, edi
lea eax, [esp + 0x90]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x424fb3
test dl, dl
je 0x424faf
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x424fb3
add eax, 2
add ecx, 2
test dl, dl
jne 0x424f93
xor eax, eax
jmp 0x424fb8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x424feb
lea eax, [esp + 0x90]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424fc6
sub eax, edx
push eax
lea edx, [esp + 0x94]
push edx
push 1
push str.mid_old
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea eax, [esp + 0x190]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424ff5
sub eax, edx
push eax
lea eax, [esp + 0x194]
push eax
push 1
push 0x44f9dc
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov ecx, dword [esp + 0x294]
pop esi
pop ebx
xor ecx, esp
call fcn.004263ce
add esp, 0x290
ret

Function at 0x4263ce
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x458320]
jne 0x4263d8
repz ret
jmp fcn.0042d275
Function at 0x4475af
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0042ef9a
and dword [ebp - 4], 0
cmp dword [0x45bddc], 0
mov ebx, eax
jne 0x447660
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x447711
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x447711
push eax
call fcn.0042ef28
mov dword [esp], 0x45205c
push edi
mov dword [0x45bddc], eax
call esi
push eax
call fcn.0042ef28
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45bde0], eax
call esi
push eax
call fcn.0042ef28
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45bde4], eax
call esi
push eax
call fcn.0042ef28
pop ecx
mov dword [0x45bdec], eax
test eax, eax
je 0x447660
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042ef28
pop ecx
mov dword [0x45bde8], eax
mov eax, dword [0x45bde8]
cmp eax, ebx
je 0x4476b8
cmp dword [0x45bdec], ebx
je 0x4476b8
push eax
call fcn.0042efa4
push dword [0x45bdec]
mov esi, eax
call fcn.0042efa4
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4476b8
test edi, edi
je 0x4476b8
call esi
test eax, eax
je 0x4476af
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4476af
test byte [ebp - 0xc], 1
jne 0x4476b8
or dword [ebp + 0x10], 0x200000
jmp 0x4476f1
mov eax, dword [0x45bde0]
cmp eax, ebx
je 0x4476f1
push eax
call fcn.0042efa4
pop ecx
test eax, eax
je 0x4476f1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4476f1
mov eax, dword [0x45bde4]
cmp eax, ebx
je 0x4476f1
push eax
call fcn.0042efa4
pop ecx
test eax, eax
je 0x4476f1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45bddc]
call fcn.0042efa4
pop ecx
test eax, eax
je 0x447711
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x447713
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret