joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437a00
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x168
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x64]
push ebx
push esi
push edi
mov edi, dword [0x4773bc]
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
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, 0x460e40
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
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
push 4
push eax
and ecx, 3
push 2
lea eax, [esp + 0x84]
push 0x40000000
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [0x460c84], eax
je 0x437bcb
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [0x460c84]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [esp + 0xc]
push 0
push ecx
push 6
push 0x460e38
push edx
call ebx
mov ecx, 0xd
mov esi, 0x460e00
lea edi, [esp + 0x70]
lea eax, [esp + 0xc]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 0
push eax
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x460c84]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x7c]
push ecx
push edx
call ebx
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea edx, [esp + 0x50]
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.0044a3b0
lea edx, [esp + 0x50]
lea eax, [esp + 0x30]
push edx
push eax
lea ecx, [esp + 0x78]
push 0x460de0
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea edi, [esp + 0x80]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
lea edx, [esp + 0xc]
push 0
dec ecx
push edx
push ecx
mov ecx, dword [0x460c84]
lea eax, [esp + 0x7c]
push eax
push ecx
call ebx
mov ecx, 0xd
mov esi, 0x460e00
lea edi, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x70]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
push 0
dec ecx
push edx
push ecx
mov ecx, dword [0x460c84]
lea eax, [esp + 0x7c]
push eax
push ecx
call ebx
push 1
mov dword [0x475eb8], 1
call fcn.004368e0
mov edx, dword [0x460c84]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x460c84], 0xffffffff
mov dword [0x475eb8], 0
pop edi
pop esi
pop ebx
add esp, 0x168
ret
Function at 0x43a5d0
Capabilities:
Get file size
Query or enumerate registry value
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456f70
push 0x44bffc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor esi, esi
mov dword [ebp - 0x50], esi
xor edi, edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x4c], 0xffffffff
mov dword [ebp - 4], esi
mov dword [0x477438], 1
push 0x104
call fcn.0044c0d4
add esp, 4
mov ebx, eax
mov dword [ebp - 0x50], ebx
push 0x104
push ebx
push 0x106f
mov eax, dword [0x477340]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [ebp - 0x3c]
push ecx
push 0x20019
push esi
push ebx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43a761
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x20], 0x104
mov dword [ebp - 0x28], 4
mov ecx, dword [ebp - 0x40]
mov eax, ecx
inc ecx
mov dword [ebp - 0x40], ecx
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x1c]
push ecx
push esi
push esi
lea edx, [ebp - 0x20]
push edx
push ebx
push eax
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [ebp - 0x24], eax
cmp eax, esi
jne 0x43a74b
push 1
push 1
push 3
push 1
push 0x80000000
push ebx
call fcn.0044a650
mov esi, eax
mov dword [ebp - 0x4c], esi
cmp esi, 0xffffffff
je 0x43a737
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x20], eax
push eax
call fcn.0044c0d4
add esp, 4
mov edi, eax
mov dword [ebp - 0x38], edi
push 0
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x20]
push edx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x4c], 0xffffffff
mov dword [ebp - 0x48], edi
lea esi, [edi + 0x155]
mov dword [ebp - 0x2c], esi
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp - 0x48]
cmp ebx, dword [eax + 4]
jae 0x43a734
push 3
mov cl, byte [esi + 0x24]
push ecx
mov edx, dword [esi + 0x20]
push edx
call fcn.00432f00
mov dword [ebp - 0x30], eax
test eax, eax
je 0x43a72b
push 1
push eax
call fcn.00438350
add esi, 0x25
mov dword [ebp - 0x2c], esi
inc ebx
jmp 0x43a702
mov ebx, dword [ebp - 0x50]
test edi, edi
je 0x43a749
push edi
call fcn.0044c186
add esp, 4
xor edi, edi
mov dword [ebp - 0x38], edi
xor esi, esi
cmp dword [ebp - 0x24], esi
je 0x43a661
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x3c], esi
cmp ebx, esi
je 0x43a771
push ebx
call fcn.0044c186
add esp, 4
mov dword [ebp - 0x50], esi
mov dword [0x477438], esi
jmp 0x43a7db
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43ab30
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
push 1
push 1
push 3
push 1
push 0x80000000
push ebp
call fcn.0044a650
mov esi, eax
cmp esi, 0xffffffff
je 0x43acf9
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
call fcn.0044c0d4
add esp, 4
mov ebx, eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], ebx
push 0
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x47740c]
xor edi, edi
cmp eax, edi
jne 0x43abdc
mov ecx, dword [ebx + 4]
mov edx, dword [0x477374]
lea eax, [edx + ecx*2]
cmp eax, 0x3e8
jle 0x43abdc
push 0x34
push 0x22c
push ebp
mov dword [0x47740c], 1
call fcn.00448b60
cmp eax, 7
jne 0x43abdc
push ebx
call fcn.0044c186
add esp, 4
mov eax, 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov dword [esp + 0x1c], edi
mov eax, dword [ebx + 4]
cmp eax, edi
jbe 0x43ac1f
lea esi, [ebx + 0x175]
mov cl, byte [esi + 4]
mov edx, dword [esi]
push 3
push ecx
push edx
call fcn.00432f00
cmp eax, edi
je 0x43ac0c
push 1
push eax
call fcn.00438350
cmp eax, 2
je 0x43ac48
mov eax, dword [esp + 0x1c]
add esi, 0x25
inc eax
mov dword [esp + 0x1c], eax
mov ecx, dword [ebx + 4]
cmp eax, ecx
jb 0x43abed
mov edx, dword [esp + 0x20]
push edx
push ebp
push 0xfa2
call fcn.004409f0
cmp ebx, edi
je 0x43ac3c
push ebx
call fcn.0044c186
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
mov dword [esp + 0x10], edi
add ebx, 0x175
mov al, byte [ebx + 4]
mov ecx, dword [ebx]
push 3
push eax
push ecx
call fcn.00432f00
lea edx, [esp + 0x20]
push 4
push edx
push eax
call fcn.00434e30
mov ebp, eax
xor esi, esi
mov eax, dword [esp + 0x20]
test eax, eax
jbe 0x43acb2
mov edi, ebp
mov eax, dword [edi]
push eax
call fcn.00432ed0
test eax, eax
je 0x43acf3
mov cl, byte [eax + 0x22]
push 1
test cl, 0x10
push eax
je 0x43ac9d
call fcn.004399b0
test eax, eax
je 0x43acf3
jmp 0x43aca6
call fcn.004388e0
test eax, eax
je 0x43acf3
mov eax, dword [esp + 0x20]
inc esi
add edi, 4
cmp esi, eax
jb 0x43ac7b
test ebp, ebp
je 0x43acbf
push ebp
call fcn.0044c186
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
add ebx, 0x25
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jbe 0x43ac52
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0044c186
add esp, 4
mov eax, 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
test ebp, ebp
je 0x43acbf
jmp 0x43acb6
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 8
Function at 0x43b2b0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456fb0
push 0x44bffc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x170
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 0x4109
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0
mov edi, dword [ebp + 8]
push edi
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
call ebx
mov esi, dword [ebp + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [ebp - 0x174]
mov dword [esi + 0x10], ecx
push 0x410b
push 0x160
lea edx, [ebp - 0x178]
push edx
push 0
push edi
call ebx
mov eax, dword [ebp - 0x174]
mov dword [esi + 0x14], eax
jmp 0x43b347
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43c180
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457050
push 0x44bffc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], esi
mov eax, dword [ebp + 0x10]
mov byte [eax], 0
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push 0x104
push eax
call dword [ecx + 0xc]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
je 0x43c291
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jge 0x43c207
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
push ebx
push eax
call dword [edx + 0x14]
jmp 0x43c291
push ebx
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov dword [ebp - 0x1c], eax
cmp eax, esi
je 0x43c239
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [ebp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x28]
push edx
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43cd00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457080
push 0x44bffc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
or ebx, 0xffffffff
mov dword [ebp - 0x30], ebx
xor esi, esi
mov dword [ebp - 4], esi
push esi
push 0x10000082
push 3
push esi
push 1
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [ebp - 0x30], edi
cmp edi, ebx
jne 0x43cd5c
mov dword [ebp - 4], ebx
jmp 0x43ce2f
mov dword [ebp - 0x28], esi
push esi
lea ecx, [ebp - 0x24]
push ecx
push 6
lea edx, [ebp - 0x20]
push edx
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
call ebx
cmp word [ebp - 0x20], 0x180
jne 0x43cdda
mov eax, dword [ebp - 0x1e]
mov ecx, dword [ebp + 0x18]
cmp eax, ecx
jl 0x43cd87
mov eax, ecx
mov dword [ebp - 0x1e], eax
push esi
lea ecx, [ebp - 0x24]
push ecx
push eax
mov esi, dword [ebp + 0x14]
push esi
push edi
call ebx
test eax, eax
je 0x43cdda
mov edx, dword [ebp - 0x1e]
mov byte [edx + esi - 1], 0
push 0x461010
push esi
call fcn.0044c6c0
add esp, 8
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x43cdda
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x43cdda
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jle 0x43cdda
dec ecx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x28], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x43f400
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xdc
push ebp
mov ebp, dword [esp + 0xe4]
test ebp, ebp
mov dword [esp + 8], 1
jne 0x43f429
mov eax, 1
pop ebp
add esp, 0xdc
ret 4
mov eax, dword [0x476e04]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
xor ecx, ecx
lea edx, [esp + 0x60]
mov cx, word [eax + 2]
add ecx, eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [0x476e04]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [esp + 4]
push 0
lea edx, [esp + 0x64]
push ecx
push edx
call sub.WINSPOOL.DRV_OpenPrinterA
test eax, eax
je 0x43f582
xor eax, eax
push edi
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [0x475220]
inc eax
push eax
push 0x4610b0
push ecx
mov dword [0x475220], eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 0x24]
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], 0x4610a8
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x43f577
mov ecx, dword [esp + 8]
lea eax, [esp + 0x14]
push eax
push 1
push ecx
call sub.WINSPOOL.DRV_StartDocPrinterA
test eax, eax
je 0x43f55f
push ebx
push esi
push 0x1000
call fcn.0044c0d4
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 4
lea edx, [esp + 0x18]
mov esi, eax
push 0
push edx
push 0x1000
push esi
push edi
call ebx
test eax, eax
je 0x43f548
mov eax, dword [esp + 0x18]
test eax, eax
je 0x43f548
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x28]
push ecx
push eax
push esi
push edx
call sub.WINSPOOL.DRV_WritePrinter
test eax, eax
je 0x43f540
lea eax, [esp + 0x18]
push 0
push eax
push 0x1000
push esi
push edi
call ebx
test eax, eax
jne 0x43f50d
jmp 0x43f548
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x10]
push ecx
call sub.WINSPOOL.DRV_EndDocPrinter
push esi
call fcn.0044c186
add esp, 4
pop esi
pop ebx
jmp 0x43f567
mov dword [esp + 0xc], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call fcn.0044c687
add esp, 4
mov edx, dword [esp + 8]
push edx
call sub.WINSPOOL.DRV_ClosePrinter
pop edi
mov eax, dword [esp + 8]
pop ebp
add esp, 0xdc
ret 4
Function at 0x440290
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
mov edx, dword [0x477340]
sub esp, 0x318
lea eax, [esp + 0x10]
push ebp
push esi
push 0x100
push eax
push ecx
push edx
xor esi, esi
xor ebp, ebp
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push 0x20019
push ebp
push ecx
push CreateStatusWindowA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x440344
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov ebx, 0x104
lea edx, [esp + 0x10]
lea ecx, [esp + 0x120]
push edx
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x234]
mov eax, esi
push ecx
push edx
push eax
mov eax, dword [esp + 0x34]
push eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
inc esi
call edi
test eax, eax
jne 0x44032a
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
add edx, ecx
add ebp, edx
jmp 0x4402e4
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
mov eax, ebp
pop esi
pop ebp
add esp, 0x318
ret 4
mov eax, ebp
pop esi
pop ebp
add esp, 0x318
ret 4

Function at 0x440360
Capabilities:
Set registry value

Disassembly:
push ecx
mov ecx, dword [0x4773f8]
lea eax, [esp]
push esi
push eax
push 2
push 0
push ecx
push CreateStatusWindowA
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4403d6
mov eax, dword [0x477368]
mov edx, dword [esp + 0x10]
push edi
mov edi, edx
test eax, eax
jne 0x4403a1
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
jmp 0x4403ab
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, dword [esp + 8]
push ecx
push edx
mov edx, dword [esp + 0x18]
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ecx
ret 8
mov eax, esi
pop esi
pop ecx
ret 8

Function at 0x4403e0
Capabilities:
Delete registry value

Disassembly:
push ecx
mov ecx, dword [0x4773f8]
lea eax, [esp]
push eax
push 2
push 0
push ecx
push CreateStatusWindowA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x440425
mov edx, dword [esp + 8]
mov eax, dword [esp]
push esi
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, eax
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret 4
mov eax, dword [esp + 8]
pop ecx
ret 4
Function at 0x440750
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [0x477340]
sub esp, 0x10c
lea eax, [esp + 8]
push esi
mov esi, dword [esp + 0x114]
push 0x104
push eax
push esi
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
jne 0x440784
pop esi
add esp, 0x10c
ret 0x14
xor ecx, ecx
push ebx
mov ebx, dword [esp + 0x124]
lea edx, [esp + 8]
cmp esi, 0x1067
push edi
push edx
push 1
setle cl
lea eax, [esp + 0x1c]
push 0
add ecx, 0x80000001
push eax
push ecx
mov byte [ebx], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x440817
mov edx, dword [esp + 0x12c]
mov ecx, dword [esp + 0x120]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xc]
push eax
push ebx
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x44080a
mov edi, dword [esp + 0x124]
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, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x44083b
mov edi, dword [esp + 0x124]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
pop ebx
mov eax, ecx
pop esi
add esp, 0x10c
ret 0x14

Function at 0x440860
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov ecx, dword [0x477340]
sub esp, 0x108
lea eax, [esp + 4]
push esi
mov esi, dword [esp + 0x110]
push 0x104
push eax
push esi
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
jne 0x440894
pop esi
add esp, 0x108
ret 0xc
xor ecx, ecx
lea edx, [esp + 4]
cmp esi, 0x1067
push edx
setle cl
push 0xf003f
lea eax, [esp + 0x10]
push 0
add ecx, 0x80000001
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x440915
mov edx, dword [esp + 0x118]
test edx, edx
je 0x4408f5
push edi
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [esp + 0x120]
push 1
push eax
mov eax, dword [esp + 0x18]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
pop edi
jmp 0x44090a
mov ecx, dword [esp + 0x114]
mov edx, dword [esp + 4]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
add esp, 0x108
ret 0xc
Function at 0x440930
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [0x477340]
sub esp, 0x110
lea eax, [esp + 0xc]
push esi
mov esi, dword [esp + 0x118]
push 0x104
push eax
push esi
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
je 0x4409d5
xor ecx, ecx
lea edx, [esp + 8]
cmp esi, 0x1067
push edx
setle cl
push 1
lea eax, [esp + 0x18]
push 0
add ecx, 0x80000001
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4409d5
mov ecx, dword [esp + 0x11c]
lea edx, [esp + 0xc]
lea eax, [esp + 4]
push edx
mov edx, dword [esp + 0xc]
push eax
push 0
push 0
push ecx
push edx
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4409bc
mov eax, dword [esp + 0x120]
mov dword [esp + 4], eax
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, dword [esp]
add esp, 0x110
ret 0xc
mov eax, dword [esp + 0x120]
pop esi
add esp, 0x110
ret 0xc

Function at 0x4409f0
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [0x477340]
sub esp, 0x108
lea eax, [esp + 4]
push esi
mov esi, dword [esp + 0x110]
push 0x104
push eax
push esi
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
jne 0x440a24
pop esi
add esp, 0x108
ret 0xc
xor ecx, ecx
lea edx, [esp + 4]
cmp esi, 0x1067
push edx
setle cl
push 0xf003f
lea eax, [esp + 0x10]
push 0
add ecx, 0x80000001
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x440a80
mov ecx, dword [esp + 4]
lea edx, [esp + 0x118]
push 4
push edx
push 4
push eax
mov eax, dword [esp + 0x124]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
add esp, 0x108
ret 0xc

Function at 0x440aa0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [0x477340]
sub esp, 0x10c
lea eax, [esp + 8]
push esi
mov esi, dword [esp + 0x114]
push 0x104
push eax
push esi
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
je 0x440b48
xor ecx, ecx
lea edx, [esp + 8]
cmp esi, 0x1067
push edx
setle cl
push 1
lea eax, [esp + 0x14]
push 0
add ecx, 0x80000001
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x440b48
mov edx, dword [esp + 0x120]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 4]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x118]
push eax
mov eax, dword [esp + 0xc]
push ecx
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x440b2f
mov dword [esp + 4], 0
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, dword [esp]
add esp, 0x10c
ret 0x10
xor eax, eax
pop esi
add esp, 0x10c
ret 0x10