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

Disassembly:
sub esp, 0x88
push esi
xor esi, esi
mov dword [esp + 8], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x38]
push str.push_me_x
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0x34]
push ecx
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
mov dword [esp + 0xc], eax
je 0x43d137
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
push ebx
push ebp
mov eax, dword [edx]
mov edx, dword [ecx]
mov eax, dword [eax - 8]
mov ecx, dword [edx - 8]
lea eax, [ecx + eax + 0x1c]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, eax
test ebx, ebx
je 0x43d122
mov edx, dword [esp + 0xa0]
push edi
test edx, 0x200000
lea esi, [esp + 0x1c]
je 0x43d02b
mov edi, 0x4b03b4
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x10], esi
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
mov eax, ecx
jmp 0x43d047
mov edi, 0x4b03dc
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x10], esi
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test edx, 0x2000000
lea edx, [esp + 0x24]
mov edi, str._ARPWCLOSE1
jne 0x43d069
mov edi, 0x4b03d8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x24]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx]
lea ecx, [esp + 0x1c]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, dword [esp + 0xa8]
push eax
mov eax, dword [edx]
push eax
push str._s_0x_X__s__s__s
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x70]
add esp, 0x1c
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x30]
lea edx, [esp + 0x54]
push ecx
push edx
push eax
push eax
push eax
push 1
push eax
push eax
push ebx
push eax
mov dword [esp + 0x7c], 0x44
mov dword [esp + 0xa8], 0x80
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
mov eax, dword [esp + 0x34]
push eax
call ebp
mov ecx, dword [esp + 0x30]
push ecx
call ebp
test esi, esi
pop edi
je 0x43d122
mov edx, dword [esp + 0x14]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x43d122
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x14]
push eax
call ebp
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
pop esi
add esp, 0x88
ret
mov eax, esi
pop esi
add esp, 0x88
ret
Function at 0x43d150
Capabilities:
Copy file
Delete file
Get common file path
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x491e8c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
push esi
lea eax, [esp + 0x14]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0xc]
call fcn.004822f6
lea edx, [esp + 0x118]
mov dword [esp + 0x224], 0
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.KUIU.EXE
lea ecx, [esp + 0x14]
call fcn.004822f6
mov esi, eax
lea eax, [esp + 0x118]
lea ecx, [esp + 0xc]
push eax
mov byte [esp + 0x228], 1
call fcn.004822f6
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov byte [esp + 0x230], 2
call fcn.0048246b
lea ecx, [esp + 0xc]
mov byte [esp + 0x224], 5
call fcn.00482288
lea ecx, [esp + 0x10]
mov byte [esp + 0x224], 4
call fcn.00482288
mov edx, dword [esp + 4]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x80
push edx
call esi
test eax, eax
je 0x43d22a
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [esp + 4]
push 0x80
push eax
call esi
mov ecx, dword [esp + 0x22c]
lea edx, [esp + 8]
push ecx
lea eax, [esp + 8]
push edx
push eax
call fcn.0043cf80
add esp, 0xc
lea ecx, [esp + 4]
mov esi, eax
mov byte [esp + 0x224], 0
call fcn.00482288
lea ecx, [esp + 8]
mov dword [esp + 0x224], 0xffffffff
call fcn.00482288
mov ecx, dword [esp + 0x21c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x224
ret
Function at 0x43e820
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x5e8
push ebx
push esi
push edi
call fcn.0044bde0
test eax, eax
je 0x43e8c3
push 0
lea eax, [esp + 0x10]
push str.CVistaWaveRT::IsINIWaveRTSectionExist_n
push eax
call fcn.00471c30
mov edi, str.ENTRY:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0044bd70
mov ecx, eax
call fcn.0044be10
lea eax, [esp + 0x10c]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
call fcn.0044bde0
mov esi, dword [esp + 0x5fc]
mov edi, dword [esp + 0x5f8]
test eax, eax
je 0x43e8ff
push esi
push edi
lea ecx, [esp + 0x14]
push str.pszINIFile___s__pszection___s_n
push ecx
call fcn.00471c30
add esp, 0x10
lea edx, [esp + 0xc]
push edx
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
push edi
lea eax, [esp + 0x210]
push 0x3e8
push eax
push esi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
test eax, eax
jle 0x43e91f
mov ebx, 1
call fcn.0044bde0
test eax, eax
je 0x43e9c8
push ebp
push ebx
lea ecx, [esp + 0x14]
push str.CVistaWaveRT::IsINIWaveRTSectionExist_:_bRetVal___d_n
push ecx
call fcn.00471c30
mov edi, str.EXIT:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x110]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x110]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x110]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
call fcn.0044bd70
mov ecx, eax
call fcn.0044be20
pop ebp
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x5e8
ret 8
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x5e8
ret 8
Function at 0x448ab0
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 0x104
push ebx
push ebp
push esi
push edi
call fcn.0046c750
mov ebx, eax
push str.APPWIZ.CPL
neg ebx
sbb bl, bl
and bl, 0x67
add bl, 0x38
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, eax
test ebp, ebp
je 0x401182
movsx ecx, bl
lea eax, [esp + 0x10]
push 0x104
push eax
push ecx
push ebp
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
jne 0x401179
call fcn.0046c750
test eax, eax
lea edx, [esp + 0x10]
mov edi, str.Programs_and_Features
jne 0x40115c
mov edi, str.Add_Or_Remove_Programs
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x4011a8
mov edi, str.Add_Or_Remove_Programs
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push section..text
call dword [sym.imp.USER32.dll_EnumWindows]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
add ecx, 0xe98
jmp 0x401100
Function at 0x44be30
Capabilities:
Delete file
Get common file path
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x492747
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
mov eax, dword [0x4b538c]
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x238]
mov dword [esp + 0x230], 0
test edi, edi
je 0x44bfdb
mov eax, dword [esp + 0x23c]
test eax, eax
je 0x44be8e
lea esi, [ebp + 0x1c]
push edi
mov ecx, esi
call fcn.004823c5
jmp 0x44bf43
lea ecx, [esp + 0x124]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x12c]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov edx, dword [esp + 0x1c]
push edi
lea ecx, [esp + 0x14]
mov byte [edx], 0
call fcn.004822f6
mov esi, eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0x234], 1
call fcn.004822f6
push esi
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x23c], 2
call fcn.0048246b
lea esi, [ebp + 0x1c]
push eax
mov ecx, esi
mov byte [esp + 0x234], 3
call fcn.00482375
lea ecx, [esp + 0x18]
mov byte [esp + 0x230], 2
call fcn.00482288
lea ecx, [esp + 0x14]
mov byte [esp + 0x230], 1
call fcn.00482288
lea ecx, [esp + 0x10]
mov byte [esp + 0x230], 0
call fcn.00482288
mov ecx, ebp
call fcn.0044c010
test eax, eax
jne 0x44bfdb
push esi
lea ecx, [esp + 0x10]
call fcn.00482375
push 0x5c
lea ecx, [esp + 0x10]
call fcn.0048123e
inc eax
lea ecx, [esp + 0xc]
push eax
push 0
call fcn.00480e6b
lea edx, [esp + 0x20]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.00482545
push eax
mov ecx, esi
mov byte [esp + 0x234], 4
call fcn.00482375
lea ecx, [esp + 0x10]
mov byte [esp + 0x230], 0
call fcn.00482288
mov eax, dword [esi]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x44bfd4
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, ebp
call fcn.0044c010
lea ecx, [esp + 0xc]
mov dword [esp + 0x230], 0xffffffff
call fcn.00482288
mov ecx, dword [esp + 0x228]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x228
ret 8
Function at 0x44cce0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4927d8
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x48]
mov ebp, ecx
test edi, edi
jne 0x44cd0a
xor eax, eax
jmp 0x44cd72
mov eax, dword [esp + 0x4c]
push str.IMAGE
and eax, 0xffff
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x44cd72
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x44cd72
push 0
push ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.00489a2c
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], 0
push ecx
mov ecx, ebp
call fcn.0044cd90
lea ecx, [esp + 0x10]
mov esi, eax
mov dword [esp + 0x40], 0xffffffff
call fcn.00489a68
mov eax, esi
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 8
Function at 0x457e10
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
lea eax, [esp + 0xc]
push esi
push eax
mov eax, dword [ecx]
xor esi, esi
push edx
push eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x457e71
push esi
push esi
mov eax, dword [esp + 0x18]
push esi
lea ecx, [esp + 0x14]
push esi
push ecx
push esi
lea edx, [esp + 0x1c]
push esi
push edx
push esi
push esi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 4], esi
jne 0x457e71
mov eax, dword [esp + 8]
cmp eax, esi
mov eax, 1
je 0x457e73
mov eax, esi
pop esi
add esp, 8
ret 4

Function at 0x457f60
Capabilities:
Delete registry key

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x1f4
push ebx
push ebp
push edi
mov edi, dword [esp + 0x204]
mov ebx, ecx
push 0x4a919c
lea ecx, [edi + eax]
xor ebp, ebp
push ecx
call fcn.004724d0
add esp, 8
test eax, eax
je 0x457fb1
push esi
mov esi, eax
sub esi, edi
lea edx, [esp + 0x10]
push esi
push edi
push edx
call fcn.004725c0
add esp, 0xc
mov byte [esp + esi + 0x10], 0
inc esi
mov ecx, ebx
push esi
push edi
call fcn.00457f60
pop esi
lea eax, [esp + 0xc]
mov ecx, ebx
push eax
call fcn.00457e10
test eax, eax
je 0x457fd8
mov edx, dword [ebx]
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
mov eax, 1
je 0x457fda
mov eax, ebp
pop edi
pop ebp
pop ebx
add esp, 0x1f4
ret 8
Function at 0x457ff0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x3f0
push ebx
push ebp
mov ebp, dword [esp + 0x3fc]
push esi
mov ebx, ecx
push ebp
xor esi, esi
call fcn.00457dd0
test eax, eax
je 0x45818f
mov eax, dword [esp + 0x408]
test eax, eax
je 0x458025
push ebp
mov ecx, ebx
call fcn.00457c40
mov ecx, dword [ebx]
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45818f
lea edx, [esp + 0x208]
push 0x1f4
push edx
push eax
mov eax, dword [esp + 0x1c]
mov esi, 1
push eax
mov dword [esp + 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x458144
push edi
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4a919c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x20c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x40c]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
lea ecx, [esp + 0x18]
push esi
push eax
push esi
push ecx
mov ecx, ebx
call fcn.00457ff0
test eax, eax
je 0x458117
mov eax, dword [esp + 0x10]
mov esi, 1
dec eax
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x20c]
mov eax, ecx
push 0x1f4
push edx
push eax
mov eax, dword [esp + 0x20]
inc ecx
push eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x45806e
pop edi
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x45819d
mov edx, dword [ebx]
push ebp
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x45819d
mov eax, dword [esp + 0x404]
mov esi, 1
test eax, eax
je 0x45818f
mov eax, dword [esp + 0x40c]
test eax, eax
je 0x45818f
push ebp
call fcn.00472ac0
add esp, 4
mov ecx, ebx
push 0
push ebp
call fcn.00457f60
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x3f0
ret 0x10
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3f0
ret 0x10
Function at 0x4581b0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x1fc
push ebx
push ebp
mov ebx, ecx
push esi
push edi
push str.CNXT_XYZ_UIU
lea edi, [ebx + 4]
mov dword [esp + 0x14], 0
push edi
call fcn.00473380
mov ebp, dword [esp + 0x218]
add esp, 8
test eax, eax
je 0x458267
push ebp
push edi
call fcn.00473380
add esp, 8
test eax, eax
je 0x458267
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4a919c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
jmp 0x458285
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, dword [ebx]
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push 0xf003f
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4582f5
mov ecx, dword [esp + 0x21c]
mov edx, dword [esp + 0x218]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push 1
push eax
mov eax, dword [esp + 0x224]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
mov esi, 1
je 0x4582db
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fc
ret 0x10
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fc
ret 0x10
Function at 0x458310
Capabilities:
Set registry value

Disassembly:
sub esp, 0x1fc
push ebx
push ebp
mov ebx, ecx
push esi
push edi
push str.CNXT_XYZ_UIU
lea edi, [ebx + 4]
mov dword [esp + 0x14], 0
push edi
call fcn.00473380
mov ebp, dword [esp + 0x218]
add esp, 8
test eax, eax
je 0x4583c7
push ebp
push edi
call fcn.00473380
add esp, 8
test eax, eax
je 0x4583c7
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4a919c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
jmp 0x4583e5
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, dword [ebx]
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push 0xf003f
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x458455
mov ecx, dword [esp + 0x21c]
mov edx, dword [esp + 0x218]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push 3
push eax
mov eax, dword [esp + 0x224]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
mov esi, 1
je 0x45843b
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fc
ret 0x10
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fc
ret 0x10
Function at 0x458470
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x1fc
push ebx
push ebp
mov ebx, ecx
push esi
push edi
push str.CNXT_XYZ_UIU
lea edi, [ebx + 4]
mov dword [esp + 0x18], 0
push edi
call fcn.00473380
mov ebp, dword [esp + 0x218]
add esp, 8
test eax, eax
je 0x458527
push ebp
push edi
call fcn.00473380
add esp, 8
test eax, eax
je 0x458527
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4a919c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
jmp 0x458545
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, dword [ebx]
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4585b8
mov edi, dword [esp + 0x21c]
mov ecx, dword [esp + 0x218]
mov edx, dword [esp + 0x214]
push edi
push ecx
push eax
push eax
mov eax, dword [esp + 0x20]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov esi, 1
je 0x45859a
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4585b8
mov eax, dword [edi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fc
ret 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1fc
ret 0x10