joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430850
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x7c]
test eax, eax
jne 0x43087c
mov eax, dword [esi + 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x430879
mov eax, dword [esi + 0x78]
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x7c]
pop esi
ret

Function at 0x4308b0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x4308c0
xor eax, eax
pop ebp
ret 4
mov eax, dword [0x4807b8]
test eax, eax
jne 0x4308db
push ecx
call fcn.00417780
add esp, 4
mov dword [0x4807b8], eax
test eax, eax
je 0x4308ba
cmp dword [0x4807c4], 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jne 0x4308fd
push str.GetMiniUI
push eax
call esi
mov dword [0x4807c4], eax
mov eax, dword [0x4807b8]
cmp dword [0x4807c8], 0
jne 0x430918
push str.GetMiniUI2
push eax
call esi
mov dword [0x4807c8], eax
mov eax, dword [0x4807b8]
cmp dword [0x480fc4], 0
jne 0x430933
push str.GetMiniUI3
push eax
call esi
mov dword [0x480fc4], eax
mov eax, dword [0x4807b8]
cmp dword [0x4807bc], 0
jne 0x43094e
push str.GetMiniUI4
push eax
call esi
mov dword [0x4807bc], eax
mov eax, dword [0x4807b8]
cmp dword [0x480fc8], 0
jne 0x430964
push str.GetMiniUI5
push eax
call esi
mov dword [0x480fc8], eax
xor eax, eax
cmp dword [0x4807c4], eax
pop esi
setne al
pop ebp
ret 4
Function at 0x4335b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
push ebx
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
test ebx, ebx
je 0x433612
push esi
push edi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, dword [ebp + 0xc]
lea esi, [eax + 1]
mov eax, dword [edi]
sub eax, 0x10
mov edx, 1
sub edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
or edx, eax
jge 0x4335f4
push esi
mov ecx, edi
call fcn.0040f370
mov eax, dword [edi]
push esi
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, eax
push esi
mov ecx, edi
call fcn.00416d00
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
call fcn.0040f300
xor eax, eax
pop ebx
pop ebp
ret 8
Function at 0x434f10
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, ecx
mov eax, dword [esi + 4]
push 0xcd
push eax
call edi
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esi + 4]
push 0x3ec
push ecx
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
mov edx, dword [esi + 4]
push 0x3f1
push edx
call edi
push 5
push eax
call ebx
mov eax, dword [esi + 4]
push 0x3f2
push eax
call edi
push 5
push eax
call ebx
mov ecx, dword [esi + 4]
push 0x3ef
push ecx
call edi
push 0
push eax
call ebx
mov edx, dword [esi + 4]
push 0x3f0
push edx
call edi
push 0
push eax
call ebx
mov eax, dword [esi + 0x54]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x434f9b
mov ecx, dword [esi + 0x54]
push 0
push ecx
call ebx
mov edx, dword [esi + 4]
push 0x3ed
push edx
call edi
push 0
push eax
call ebx
mov eax, dword [esi + 4]
push 0x41a
push eax
call edi
push 0
push eax
call ebx
mov ecx, dword [esi + 4]
push 0x3f3
push ecx
call edi
push 5
push eax
call ebx
mov edx, dword [esi + 4]
push 0x3f3
push edx
call edi
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi + 4]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebx
ret
Function at 0x4381b0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2024
call fcn.00447370
mov eax, dword [0x47e4f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
test esi, esi
je 0x4382aa
push 0x2000
mov dword [ebp - 0x2020], eax
push eax
mov dword [ebp - 0x2024], eax
mov dword [ebp - 0x201c], eax
mov dword [ebp - 0x2018], eax
mov dword [ebp - 0x2014], eax
mov dword [ebp - 0x2010], eax
mov dword [ebp - 0x200c], eax
mov word [ebp - 0x2008], ax
lea eax, [ebp - 0x2004]
push eax
mov dword [ebp - 0x2020], 3
call fcn.00446080
push 0x1000
push esi
lea ecx, [ebp - 0x2004]
push 0x1000
push ecx
call fcn.0044bd1e
lea eax, [ebp - 0x2004]
add esp, 0x1c
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x438245
sub eax, edx
sar eax, 1
xor edx, edx
mov word [ebp + eax*2 - 0x2004], dx
lea eax, [ebp - 0x2004]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x438267
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [ebp + eax*2 - 0x2002], cx
lea ecx, [ebp - 0x2024]
lea edx, [ebp - 0x2004]
mov eax, 0x614
push ecx
mov dword [ebp - 0x201c], edx
mov word [ebp - 0x2014], ax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00445a92
mov esp, ebp
pop ebp
ret
Function at 0x43b000
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
je 0x43b041
mov eax, dword [esi + 4]
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 9
push eax
call edi
mov ecx, dword [esi + 4]
push 5
push ecx
call edi
mov edx, dword [esi + 4]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
pop ebp
ret 4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.0043aad0
pop esi
pop ebp
ret 4
Function at 0x43e450
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test esi, esi
jne 0x43e469
lea eax, [esi + 0xd]
pop esi
mov esp, ebp
pop ebp
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
xor edi, edi
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x43e473
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
push edi
push eax
mov eax, dword [edx]
push 7
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x43eac0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x47e4f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx]
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ecx + 4]
push edi
mov dword [ebp - 0x218], ecx
lea ecx, [ebp - 0x214]
push ecx
xor ebx, ebx
or esi, 0x2001f
push esi
push ebx
push edx
push eax
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x208], ebx
mov dword [ebp - 0x214], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x20c]
mov edi, eax
cmp edi, ebx
jne 0x43eb4c
xor eax, eax
cmp ecx, ebx
je 0x43eb2e
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x214]
and esi, 0x300
mov edi, eax
mov dword [ebp - 0x20c], ecx
mov dword [ebp - 0x208], esi
cmp eax, ebx
je 0x43eb6c
cmp ecx, ebx
je 0x43eb57
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445a92
mov esp, ebp
pop ebp
ret 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [ebp - 0x224]
push edx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x210]
push eax
lea edx, [ebp - 0x204]
push edx
push ebx
push ecx
mov dword [ebp - 0x210], 0x100
call esi
test eax, eax
jne 0x43ebec
lea esp, [esp]
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x20c]
call fcn.0043eac0
mov edi, eax
cmp edi, ebx
jne 0x43ec43
lea ecx, [ebp - 0x224]
push ecx
mov ecx, dword [ebp - 0x20c]
push ebx
push ebx
push ebx
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x204]
push eax
push ebx
push ecx
mov dword [ebp - 0x210], 0x100
call esi
test eax, eax
je 0x43eba0
mov eax, dword [ebp - 0x20c]
cmp eax, ebx
je 0x43ec03
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20c], ebx
mov edx, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x218]
push edx
mov dword [ebp - 0x208], ebx
call fcn.0043e320
mov esi, eax
mov eax, dword [ebp - 0x20c]
cmp eax, ebx
je 0x43ec2e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445a92
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x20c]
cmp eax, ebx
je 0x43ec54
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00445a92
mov esp, ebp
pop ebp
ret 4
Function at 0x4400a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4652c6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x47e4f0]
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 + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor edx, edx
mov dword [ebp - 0x428], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], edx
mov dword [ebp - 0x418], edx
push 2
push edx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x44011d
call fcn.00407670
mov edi, eax
jmp 0x440226
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x440136
call fcn.00407670
jmp 0x44021d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x41c], ebx
test ebx, ebx
jne 0x440154
call fcn.00407670
jmp 0x44021d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x420], edi
cmp eax, edi
jae 0x440199
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x440184
lea ecx, [ebp - 0x418]
call fcn.0043ea80
lea ecx, [ebp - 0x428]
call fcn.004166c0
mov eax, 0x8007000e
jmp 0x440242
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0043f170
mov dword [ebp - 4], 1
jmp 0x4401d1
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x4401e2
mov edi, 0x8007000e
jmp 0x44021f
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x4401fb
call fcn.00407670
jmp 0x44021d
mov edx, dword [ebp - 0x418]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x418]
push eax
push ecx
lea ecx, [ebp - 0x430]
call fcn.0043ff40
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp - 0x414]
cmp dword [ebp - 0x418], edx
je 0x440240
lea ecx, [ebp - 0x418]
call fcn.0043ea80
nop
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.00445a92
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44312f
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4813d0], 0
push esi
jne 0x4430a2
call fcn.00442fc8
test eax, eax
je 0x4430e5
mov eax, dword [0x4813d0]
cmp eax, 1
jne 0x4430c3
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4430e5
pop esi
ret
push eax
call dword [0x4813d8]
test eax, eax
jne 0x44312d
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 0x4430e9
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4813d0]
call dword [0x4813d8]
mov edi, eax
test edi, edi
je 0x44310e
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x44312a
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4813d0]
call dword [0x4813d4]
add edi, 0x10
cmp edi, esi
jb 0x443116
mov eax, edi
pop edi
pop esi
ret
jmp 0x44308f

Function at 0x4435c0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x47e4f0]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
mov ebx, dword [esp + 0x214]
test ebx, ebx
jne 0x4435f8
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00445a92
add esp, 0x20c
ret
push esi
push 0x208
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00446080
add esp, 0xc
push 0x104
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x4436c3
mov ecx, ebx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x443630
sub ecx, esi
sar ecx, 1
mov edx, 0x103
sub edx, ecx
cmp eax, edx
jae 0x4436c3
push edi
lea edi, [esp + 0xc]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x443652
mov eax, dword [0x471f8c]
mov dword [edi], eax
mov eax, ebx
mov edx, ebx
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x443670
lea edi, [esp + 0xc]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x443684
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.00445a92
add esp, 0x20c
ret
mov ecx, dword [esp + 0x210]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00445a92
add esp, 0x20c
ret
Function at 0x443d10
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2c14
call fcn.00447370
mov eax, dword [0x47e4f0]
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 0x443e7b
cmp dword [esp + 0x2c20], edi
je 0x443e7b
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 0x472428
lea eax, [esp + 0x30]
push 0x100
push eax
call fcn.00403c40
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 0x443e54
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.00446080
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 0x443e47
push 0x3e8
lea eax, [esp + 0x12c]
push edi
push eax
call fcn.00446080
mov edx, dword [esp + 0x534]
lea ecx, [esp + 0x134]
push ecx
push 1
push edx
lea eax, [esp + 0x528]
push eax
call fcn.00445620
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.00403cf0
test eax, eax
jne 0x443e47
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], edi
jne 0x443e5e
inc ebx
cmp ebx, 0x10
jl 0x443d60
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x2c10]
xor ecx, esp
call fcn.00445a92
add esp, 0x2c14
ret
mov ecx, dword [esp + 0x2c14]
pop edi
xor ecx, esp
xor eax, eax
call fcn.00445a92
add esp, 0x2c14
ret
Function at 0x444120
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x2ec
mov eax, dword [0x47e4f0]
xor eax, esp
mov dword [esp + 0x2e8], eax
push edi
mov edi, dword [esp + 0x2f4]
mov dword [esp + 0x18], edi
test edi, edi
je 0x444321
cmp dword [esp + 0x2f8], 0
je 0x444321
push 0x64
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00446080
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 8
push 0
push 0x46e034
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4442e8
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 0x4442db
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 0x4442a9
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 0x472444
push edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44429e
push 0x64
push eax
lea eax, [esp + 0x90]
push eax
call fcn.00446080
lea ecx, [esp + 0x1fc]
push 0x64
push ecx
lea edi, [esp + 0x9c]
call fcn.00444010
add esp, 0x14
test eax, eax
je 0x44429e
cmp byte [esp + 0x24], 0
je 0x444262
lea edx, [esp + 0x24]
push edx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x44429e
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 0x444291
mov cl, byte [esi + eax]
test cl, cl
je 0x444291
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x444276
jmp 0x444295
test edx, edx
jne 0x444296
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 0x4441c0
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 0x444321
mov edx, dword [esp + 0x2f8]
lea ecx, [esp + 0x1c]
push ecx
push edx
push edi
call fcn.00403cf0
xor ecx, ecx
test eax, eax
setge cl
pop edi
mov eax, ecx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.00445a92
add esp, 0x2ec
ret
mov ecx, dword [esp + 0x2ec]
pop edi
xor ecx, esp
xor eax, eax
call fcn.00445a92
add esp, 0x2ec
ret
Function at 0x4446c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x50c
mov eax, dword [0x47e4f0]
xor eax, esp
mov dword [esp + 0x508], eax
push ebp
mov ebp, dword [esp + 0x514]
test edi, edi
je 0x44483d
cmp ebp, 0x20
jb 0x44483d
push 0x400
lea eax, [esp + 0x110]
push 0
push eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x400
call fcn.00446080
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0x10]
push eax
push 0x46e0a4
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x44483d
lea eax, [esp + 0x10c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x444750
sub eax, edx
cmp eax, 0x40
jne 0x44483d
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 0x44478e
mov cl, byte [esi + eax]
test cl, cl
je 0x44478e
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x444776
jmp 0x444792
test edx, edx
jne 0x444793
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 0x4447cb
mov cl, byte [edx + eax]
test cl, cl
je 0x4447cb
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x4447b0
jmp 0x4447cf
test esi, esi
jne 0x4447d0
dec eax
push 0x400
lea edx, [esp + 0x118]
push 0
push edx
mov byte [eax], 0
call fcn.00446080
push 0x400
lea ebx, [esp + 0x124]
lea ecx, [esp + 0x24]
call fcn.00443790
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 0x44483d
lea edx, [esp + 0xc]
push edx
push ebp
push edi
call fcn.00403cf0
neg eax
sbb eax, eax
inc eax
pop ebp
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.00445a92
add esp, 0x50c
ret
mov ecx, dword [esp + 0x50c]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.00445a92
add esp, 0x50c
ret
Function at 0x444860
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x290
mov eax, dword [0x47e4f0]
xor eax, esp
mov dword [esp + 0x28c], eax
push ebx
push esi
push 0x80
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00446080
push 0x80
lea ebx, [esp + 0x20]
mov ecx, edi
call fcn.00443790
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 0x4448cb
mov cl, byte [edx + eax]
test cl, cl
je 0x4448cb
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x4448b0
jmp 0x4448cf
test esi, esi
jne 0x4448d0
dec eax
lea edx, [esp + 0x10]
push edx
mov byte [eax], 0
push 0x104
lea eax, [esp + 0x198]
push eax
call fcn.00408060
push 0xff
lea ecx, [esp + 0x95]
push 0
push ecx
mov dword [esp + 0x18], 1
mov byte [esp + 0x9c], 0
call fcn.00446080
add esp, 0xc
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x46e0a4
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 0x4449ab
mov ecx, edi
lea eax, [esp + 0x90]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x444973
test dl, dl
je 0x44496f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x444973
add eax, 2
add ecx, 2
test dl, dl
jne 0x444953
xor eax, eax
jmp 0x444978
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4449ab
lea eax, [esp + 0x90]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x444986
sub eax, edx
push eax
lea edx, [esp + 0x94]
push edx
push 1
push 0x46e0a8
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 0x4449b5
sub eax, edx
push eax
lea eax, [esp + 0x194]
push eax
push 1
push 0x46e0a4
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov ecx, dword [esp + 0x294]
pop esi
pop ebx
xor ecx, esp
call fcn.00445a92
add esp, 0x290
ret

Function at 0x445a92
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47e4f0]
jne 0x445a9c
repz ret
jmp fcn.0044e478