joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f0d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x42f0e7
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x42f118
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x42f114
cmp esi, eax
jae 0x42f118
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x42f104
cmp esi, eax
jb 0x42f11e
pop esi
pop edi
xor eax, eax
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x42f1b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x463070]
xor eax, esp
mov dword [esp + 0x210], eax
push 0x208
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esp + 0xc], 0
call fcn.00437380
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 8]
push eax
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsQHSafeMain.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 0x208
mov dword [esp + 0x18], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x42f24c
mov eax, dword [esp + 4]
shr eax, 1
dec eax
cmp eax, 0x104
jae 0x42f24c
cmp word [esp + eax*2 + 8], 0x5c
je 0x42f246
cmp eax, 0x103
jae 0x42f24c
mov ecx, 0x5c
xor edx, edx
mov word [esp + eax*2 + 8], cx
mov word [esp + eax*2 + 0xa], dx
lea ecx, [esp + 8]
jmp 0x42f251
mov ecx, 0x457418
push esi
call fcn.004308e0
mov ecx, dword [esp + 0x210]
xor ecx, esp
mov eax, esi
call fcn.00433af9
add esp, 0x214
ret
Function at 0x42fc70
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x45073d
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x463070]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push esi
mov eax, dword [0x463070]
xor eax, esp
push eax
lea eax, [esp + 0x248]
mov dword fs:[0], eax
mov eax, dword [esp + 0x258]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov ecx, 7
xor edx, edx
mov dword [edi + 0x18], ecx
mov dword [edi + 0x14], ebx
mov dword [esp + 0x1c], edi
mov word [edi + 4], dx
mov dword [esp + 0x38], ecx
xor ecx, ecx
mov dword [esp + 0x18], 1
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], cx
mov ecx, eax
mov dword [esp + 0x250], 1
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x42fcf2
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x24]
call fcn.004053c0
push 0x13
mov eax, esi
call fcn.00421300
mov eax, dword [esp + 0x24]
mov esi, 8
mov dword [esp + 0xc], ebx
cmp dword [esp + 0x38], esi
jae 0x42fd2b
lea eax, [esp + 0x24]
lea edx, [esp + 0xc]
push edx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x42fdae
push 0x206
lea ecx, [esp + 0x42]
push ebx
push ecx
mov dword [esp + 0x1c], ebx
mov word [esp + 0x48], ax
call fcn.00437380
add esp, 0xc
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
push ebx
push edx
mov dword [esp + 0x2c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x42fda3
cmp dword [esp + 0x10], 1
jne 0x42fda3
mov eax, dword [esp + 0x14]
and eax, 0xfffffffe
cmp eax, 0x208
jae 0x42fda3
push edi
lea eax, [esp + 0x40]
call fcn.004306e0
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x38], esi
jb 0x42fdc1
mov edx, dword [esp + 0x24]
push edx
call fcn.00433aee
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x248]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.00433af9
add esp, 0x248
ret
Function at 0x42ff90
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4506e2
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x463070]
xor eax, esp
mov dword [esp + 0x21c], eax
push edi
mov eax, dword [0x463070]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x14], edi
xor eax, eax
mov dword [esp + 8], edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [esp + 0x18], esi
mov word [esi + 4], ax
lea ecx, [esp + 8]
push ecx
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
mov dword [esp + 0x238], edi
push SysReAllocString
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x430083
push 0x206
lea eax, [esp + 0x22]
xor edx, edx
push edi
push eax
mov dword [esp + 0x1c], edi
mov word [esp + 0x28], dx
call fcn.00437380
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x18]
push eax
push edi
push str.Progid
push ecx
mov dword [esp + 0x24], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x430078
cmp dword [esp + 0x10], 1
jne 0x430078
mov edx, dword [esp + 0xc]
and edx, 0xfffffffe
cmp edx, 0x208
jae 0x430078
push esi
lea eax, [esp + 0x20]
call fcn.004306e0
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.00433af9
add esp, 0x22c
ret

Function at 0x430150
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x451249
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x463070]
xor eax, esp
mov dword [esp + 0x40], eax
push ebp
push esi
mov eax, dword [0x463070]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
xor eax, eax
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], 0
mov dword [esp + 0x10], edi
mov word [edi + 4], ax
mov dword [esp + 0x58], eax
mov ebp, 1
lea esi, [esp + 0x30]
mov dword [esp + 0xc], ebp
call fcn.0042ff90
mov dword [esp + 0x58], ebp
cmp dword [esp + 0x44], 0
mov ebp, 8
je 0x430204
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], ebp
jae 0x4301d4
lea eax, [esp + 0x34]
push eax
lea esi, [esp + 0x18]
call fcn.0042fdf0
add esp, 4
push 0xffffffffffffffff
push 0
mov ecx, edi
mov byte [esp + 0x60], 2
call fcn.00405110
cmp dword [esp + 0x2c], ebp
jb 0x430204
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00433aee
add esp, 4
cmp dword [esp + 0x48], ebp
jb 0x430217
mov edx, dword [esp + 0x34]
push edx
call fcn.00433aee
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00433af9
add esp, 0x50
ret
Function at 0x431ae0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x463070]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
push 0
push eax
call fcn.00437380
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 4], 6
mov ecx, dword [esp + 0x114]
sbb eax, eax
xor ecx, esp
inc eax
call fcn.00433af9
add esp, 0x118
ret
Function at 0x431eb0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x490
mov eax, dword [0x463070]
xor eax, esp
mov dword [esp + 0x488], eax
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp esi, edi
jne 0x431ee9
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x488]
xor ecx, esp
call fcn.00433af9
add esp, 0x490
ret
push 0x208
push esi
call fcn.00436cc0
add esp, 8
cmp eax, 0x208
jge 0x431ecf
push 0x410
lea ecx, [esp + 0x7e]
xor eax, eax
push edi
push ecx
mov word [esp + 0x84], ax
call fcn.00437380
push 0x208
push esi
lea edx, [esp + 0x8c]
push 0x209
push edx
call fcn.00433c46
add esp, 0x1c
lea eax, [esp + 0x14]
push eax
push 0x8b
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esi, eax
cmp esi, edi
je 0x43205d
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xc]
push ecx
push 1
push 2
push edi
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
cmp esi, edi
je 0x432038
lea eax, [esp + 0x10]
push eax
push str.S_1_16_8192
call sub.ADVAPI32.dll_ConvertStringSidToSidW
mov esi, eax
cmp esi, edi
je 0x432038
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], edi
push eax
mov dword [esp + 0x20], 0x20
mov dword [esp + 0x1c], eax
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
mov edx, dword [esp + 0xc]
add eax, 8
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0x19
push edx
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
mov esi, eax
cmp esi, edi
je 0x432038
xor eax, eax
push 0x40
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x38]
push edi
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x3c], edi
call fcn.00437380
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x34]
push edx
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [esp + 0x98]
push eax
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, eax
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x43202d
push eax
call ebx
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x432038
push eax
call ebx
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x432047
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x432052
push eax
call ebx
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x43205d
push eax
call ebx
mov ecx, dword [esp + 0x494]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.00433af9
add esp, 0x490
ret
Function at 0x433809
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x468b80], 0
push esi
jne 0x43377c
call fcn.004336a2
test eax, eax
je 0x4337bf
mov eax, dword [0x468b80]
cmp eax, 1
jne 0x43379d
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4337bf
pop esi
ret
push eax
call dword [0x468b88]
test eax, eax
jne 0x433807
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 0x4337c3
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x468b80]
call dword [0x468b88]
mov edi, eax
test edi, edi
je 0x4337e8
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x433804
mov edi, esi
add esi, 0xff0
push edi
push dword [0x468b80]
call dword [0x468b84]
add edi, 0x10
cmp edi, esi
jb 0x4337f0
mov eax, edi
pop edi
pop esi
ret
jmp 0x433769

Function at 0x433af9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x463070]
jne 0x433b03
repz ret
jmp fcn.004381ed

Function at 0x445259
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.00438365
and dword [ebp - 4], 0
cmp dword [0x469690], 0
mov ebx, eax
jne 0x44530a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4453bb
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4453bb
push eax
call fcn.004382f3
mov dword [esp], 0x455c60
push edi
mov dword [0x469690], eax
call esi
push eax
call fcn.004382f3
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x469694], eax
call esi
push eax
call fcn.004382f3
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x469698], eax
call esi
push eax
call fcn.004382f3
pop ecx
mov dword [0x4696a0], eax
test eax, eax
je 0x44530a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004382f3
pop ecx
mov dword [0x46969c], eax
mov eax, dword [0x46969c]
cmp eax, ebx
je 0x445362
cmp dword [0x4696a0], ebx
je 0x445362
push eax
call fcn.0043836e
push dword [0x4696a0]
mov esi, eax
call fcn.0043836e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x445362
test edi, edi
je 0x445362
call esi
test eax, eax
je 0x445359
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x445359
test byte [ebp - 0xc], 1
jne 0x445362
or dword [ebp + 0x10], 0x200000
jmp 0x44539b
mov eax, dword [0x469694]
cmp eax, ebx
je 0x44539b
push eax
call fcn.0043836e
pop ecx
test eax, eax
je 0x44539b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x44539b
mov eax, dword [0x469698]
cmp eax, ebx
je 0x44539b
push eax
call fcn.0043836e
pop ecx
test eax, eax
je 0x44539b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x469690]
call fcn.0043836e
pop ecx
test eax, eax
je 0x4453bb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4453bd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44c390
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2c14
call fcn.004425c0
mov eax, dword [0x463070]
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 0x44c4fb
cmp dword [esp + 0x2c20], edi
je 0x44c4fb
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.0044bdb0
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 0x44c4d4
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.00437380
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 0x44c4c7
push 0x3e8
lea eax, [esp + 0x12c]
push edi
push eax
call fcn.00437380
mov edx, dword [esp + 0x534]
lea ecx, [esp + 0x134]
push ecx
push 1
push edx
lea eax, [esp + 0x528]
push eax
call fcn.0044dab0
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.0044bcb0
test eax, eax
jne 0x44c4c7
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], edi
jne 0x44c4de
inc ebx
cmp ebx, 0x10
jl 0x44c3e0
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x2c10]
xor ecx, esp
call fcn.00433af9
add esp, 0x2c14
ret
mov ecx, dword [esp + 0x2c14]
pop edi
xor ecx, esp
xor eax, eax
call fcn.00433af9
add esp, 0x2c14
ret
Function at 0x44c7a0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x2ec
mov eax, dword [0x463070]
xor eax, esp
mov dword [esp + 0x2e8], eax
push edi
mov edi, dword [esp + 0x2f4]
mov dword [esp + 0x18], edi
test edi, edi
je 0x44c9a1
cmp dword [esp + 0x2f8], 0
je 0x44c9a1
push 0x64
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00437380
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 8
push 0
push 0x455d94
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44c968
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 0x44c95b
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 0x44c929
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 0x44c91e
push 0x64
push eax
lea eax, [esp + 0x90]
push eax
call fcn.00437380
lea ecx, [esp + 0x1fc]
push 0x64
push ecx
lea edi, [esp + 0x9c]
call fcn.0044c690
add esp, 0x14
test eax, eax
je 0x44c91e
cmp byte [esp + 0x24], 0
je 0x44c8e2
lea edx, [esp + 0x24]
push edx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x44c91e
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 0x44c911
mov cl, byte [esi + eax]
test cl, cl
je 0x44c911
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x44c8f6
jmp 0x44c915
test edx, edx
jne 0x44c916
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 0x44c840
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 0x44c9a1
mov edx, dword [esp + 0x2f8]
lea ecx, [esp + 0x1c]
push ecx
push edx
push edi
call fcn.0044bcb0
xor ecx, ecx
test eax, eax
setge cl
pop edi
mov eax, ecx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.00433af9
add esp, 0x2ec
ret
mov ecx, dword [esp + 0x2ec]
pop edi
xor ecx, esp
xor eax, eax
call fcn.00433af9
add esp, 0x2ec
ret
Function at 0x44cc10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x50c
mov eax, dword [0x463070]
xor eax, esp
mov dword [esp + 0x508], eax
push ebp
mov ebp, dword [esp + 0x514]
test edi, edi
je 0x44cd8d
cmp ebp, 0x20
jb 0x44cd8d
push 0x400
lea eax, [esp + 0x110]
push 0
push eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x400
call fcn.00437380
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0x10]
push eax
push 0x455e04
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x44cd8d
lea eax, [esp + 0x10c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44cca0
sub eax, edx
cmp eax, 0x40
jne 0x44cd8d
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 0x44ccde
mov cl, byte [esi + eax]
test cl, cl
je 0x44ccde
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x44ccc6
jmp 0x44cce2
test edx, edx
jne 0x44cce3
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 0x44cd1b
mov cl, byte [edx + eax]
test cl, cl
je 0x44cd1b
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x44cd00
jmp 0x44cd1f
test esi, esi
jne 0x44cd20
dec eax
push 0x400
lea edx, [esp + 0x118]
push 0
push edx
mov byte [eax], 0
call fcn.00437380
push 0x400
lea ebx, [esp + 0x124]
lea ecx, [esp + 0x24]
call fcn.0044be10
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 0x44cd8d
lea edx, [esp + 0xc]
push edx
push ebp
push edi
call fcn.0044bcb0
neg eax
sbb eax, eax
inc eax
pop ebp
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.00433af9
add esp, 0x50c
ret
mov ecx, dword [esp + 0x50c]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.00433af9
add esp, 0x50c
ret

Function at 0x44cdb0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x188
mov eax, dword [0x463070]
xor eax, esp
mov dword [esp + 0x184], eax
push ebx
push esi
push 0x80
lea eax, [esp + 0xc]
push 0
push eax
mov esi, ecx
call fcn.00437380
push 0x80
lea ebx, [esp + 0x18]
mov ecx, esi
call fcn.0044be10
lea eax, [esp + 0x98]
mov ecx, eax
add esp, 0x10
mov edx, 0x104
sub esi, ecx
lea esp, [esp]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x44ce1b
mov cl, byte [esi + eax]
test cl, cl
je 0x44ce1b
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x44ce00
jmp 0x44ce1f
test edx, edx
jne 0x44ce20
dec eax
lea edx, [esp + 8]
push edx
mov byte [eax], 0
push 0x104
lea eax, [esp + 0x90]
push eax
call fcn.0044bd20
lea eax, [esp + 0x88]
pop esi
lea edx, [eax + 1]
pop ebx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44ce46
sub eax, edx
push eax
lea ecx, [esp + 0x84]
push ecx
push 1
push 0x455e04
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.00433af9
add esp, 0x188
ret
Function at 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret

Function at 0x402680
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x409008], 0x8088405
inc edx
mov dword [ebx + 0x409008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x407080
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, dword [0x409214]
mov dword [eax], ecx
mov ebx, edx
test ebx, ebx
jle 0x4070a1
mov eax, 0xff
call fcn.00402680
xor byte [esi], al
inc esi
dec ebx
jne 0x407091
pop esi
pop ebx
ret

Function at 0x415e86
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x421870]
jne 0x415e90
repz ret
jmp fcn.004164aa