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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485e88
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4a86f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebp + 8]
cmp ecx, 0xffffffff
jne 0x44495c
xor eax, eax
jmp 0x444aec
mov eax, dword [ebx + 0x20]
mov edx, dword [eax]
test edx, edx
je 0x44498a
mov esi, dword [ebx + 0x30]
mov edi, dword [esi]
lea eax, [edi + edx]
cmp edx, eax
jae 0x44498a
lea eax, [edi - 1]
mov dword [esi], eax
mov ecx, dword [ebx + 0x20]
mov edx, dword [ecx]
lea eax, [edx + 1]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov byte [edx], al
jmp 0x444aec
cmp dword [ebx + 0x50], 0
jne 0x444998
or eax, 0xffffffff
jmp 0x444aec
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x44]
cmp dword [esi], eax
jne 0x4449b9
mov ecx, dword [ebx + 0x38]
mov edx, dword [ebx + 0x3c]
mov dword [esi], ecx
sub edx, ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebp + 8]
mov dword [eax], edx
cmp dword [ebx + 0x40], 0
jne 0x4449de
push dword [ebx + 0x50]
movsx eax, cl
push eax
call fcn.0046e348
or ecx, 0xffffffff
add esp, 8
cmp eax, ecx
cmovne ecx, dword [ebp + 8]
mov eax, ecx
jmp 0x444aec
mov byte [ebp - 0x2c], cl
lea eax, [ebp - 0x28]
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x30]
mov esi, dword [ebx + 0x40]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edi, dword [esi]
add eax, ecx
push eax
push edx
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
lea eax, [ebp - 0x2b]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebx + 0x48]
push eax
call dword [edi + 0x1c]
test eax, eax
js 0x444ad6
cmp eax, 1
jg 0x444ab6
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp edi, 0x10
mov esi, dword [ebp - 0x30]
cmovae eax, ecx
sub esi, eax
je 0x444a87
push dword [ebx + 0x50]
cmp edi, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, ecx
push 1
push eax
call fcn.0046e712
add esp, 0x10
cmp esi, eax
jne 0x444ad6
lea eax, [ebp - 0x2c]
mov byte [ebx + 0x45], 1
cmp dword [ebp - 0x34], eax
jne 0x444ab1
test esi, esi
jne 0x444a11
cmp dword [ebp - 0x18], 0x20
jae 0x444ad6
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00440e40
jmp 0x444a11
mov ebx, dword [ebp + 8]
jmp 0x444ad9
cmp eax, 3
jne 0x444ad6
push dword [ebx + 0x50]
push dword [ebp - 0x2c]
call fcn.0043a0f0
or ecx, 0xffffffff
add esp, 8
test al, al
cmovne ecx, dword [ebp + 8]
mov ebx, ecx
jmp 0x444ad9
or ebx, 0xffffffff
cmp dword [ebp - 0x14], 0x10
jb 0x444aea
push dword [ebp - 0x28]
call fcn.00429520
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046984a
mov esp, ebp
pop ebp
ret 4
Function at 0x446440
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test ax, ax
jne 0x446454
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
movzx ecx, ax
mov eax, ecx
and ecx, 0x3ff
shr eax, 0xa
push eax
push ecx
push str._02X_02X
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0046982e
add esp, 0x14
pop ebp
ret
Function at 0x446480
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x4a86f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x620], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.0046a330
add esp, 0xc
test edi, edi
je 0x4466a9
push esi
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0046befa
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push esi
push str.OLRDisplay__s_
call fcn.0045f4c0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
call fcn.0046a330
add esp, 0x14
lea eax, [ebp - 0x61c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x4abf44], eax
test eax, eax
je 0x446695
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0046a330
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.OLRegist.ini
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
push str.OLRDisplay____OLRegistIni_s
call fcn.0045f4c0
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x20c]
add esp, 8
push eax
lea eax, [edi + 0x4f1]
push eax
push 0x48d88c
push 0x48d8a4
call esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [edi + 0x531]
push eax
push str.NameProduct
push 0x48d8a4
call esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [edi + 0x491]
push eax
push 0x48d8c4
push 0x48d8a4
call esi
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0
call esi
push edi
push dword [0x4abf44]
call fcn.00446b60
mov esi, eax
add esp, 8
test esi, esi
jne 0x44666c
cmp dword [ebp + 0x14], eax
je 0x44666c
mov cl, byte [edi + 0x208]
cmp cl, 1
jne 0x446632
lea eax, [esi + 0x69]
jmp 0x44664e
cmp cl, 2
jne 0x44663e
mov eax, 0x6d
jmp 0x44664e
cmp cl, 3
mov eax, 0x89
mov edx, 0x86
cmove eax, edx
push edi
push 0x4466d0
push dword [ebp - 0x620]
movzx eax, ax
push eax
push dword [0x4abf44]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov esi, eax
push dword [0x4abf44]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push eax
push str.OLRDisplay____FreeLibrary_____d
call fcn.0045f4c0
add esp, 8
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp 0x4466ae
lea eax, [ebp - 0x61c]
mov esi, 0x6e
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp 0x4466ae
mov esi, 0x57
push esi
push str.OLRDisplay_____d
call fcn.0045f4c0
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, esi
xor ecx, ebp
pop edi
pop esi
call fcn.0046984a
mov esp, ebp
pop ebp
ret
Function at 0x446f90
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4a86f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
mov dword [ebp - 0x18], esi
lea eax, [esi*2 + 2]
call fcn.0046db50
mov eax, esp
lea ecx, [esi + 1]
push ecx
push eax
push edi
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0
push 0
push 0x31
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x446ffc
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xfffffffffffffff0
push edi
xor esi, esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x1f
cmp eax, 0xc
ja case.0x447016.3
movzx eax, byte [eax + 0x44708c]
jmp dword [eax*4 + 0x44707c]
mov esi, 0x10
jmp case.0x447016.3
mov esi, 0x20
jmp case.0x447016.3
xor esi, esi
push 1
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
push edi
push ebx
push 0x138
push edi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x20]
add eax, 4
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push ebx
call fcn.004470a0
add esp, 0x18
lea esp, [ebp - 0x2c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046984a
mov esp, ebp
pop ebp
ret
Function at 0x447670
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.00469cb0
mov eax, dword [0x4a86f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
test esi, esi
js 0x44777e
cmp esi, dword [ecx + 0x1c0]
jge 0x44777e
lea eax, [esi*8]
sub eax, esi
push 0x800
lea edi, [ecx + eax*4]
lea eax, [ebp - 0x1004]
push eax
movzx eax, word [edi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetAtomNameW]
push ebx
mov dword [ebp - 0x1020], ebx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
lea ecx, [esi + 1]
mov dword [ebp - 0x101c], eax
mov dword [ebp - 0x1010], ecx
lea ecx, [ebp - 0x1004]
mov dword [ebp - 0x1014], ecx
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x100c], ecx
lea ecx, [ebp - 0x1020]
push ecx
push eax
push 0x4e
push ebx
mov dword [ebp - 0x1018], 1
mov dword [ebp - 0x1008], 0
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x1008]
test eax, eax
jne 0x447779
push 0x7f8a
push eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push 5
push 0
push 0
lea eax, [ebp - 0x1004]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jbe 0x44777e
mov byte [edi + 0x18], 1
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046984a
mov esp, ebp
pop ebp
ret 8
cmp eax, 1
je 0x447760
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046984a
mov esp, ebp
pop ebp
ret 8

Function at 0x447f90
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
push str.Kernel32
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 4], eax
test eax, eax
je 0x447fd1
push 0x48db70
push eax
call edi
push str.Process32First
push dword [esi + 4]
mov dword [esi + 8], eax
call edi
push str.Process32Next
push dword [esi + 4]
mov dword [esi + 0xc], eax
call edi
mov dword [esi + 0x10], eax
cmp dword [esi + 8], 0
je 0x447fe3
cmp dword [esi + 0xc], 0
je 0x447fe3
cmp dword [esi + 0x10], 0
jne 0x44802c
cmp dword [esi + 4], 0
je 0x44802c
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
test eax, eax
je 0x44802c
push str.ZwQuerySystemInformation
push eax
call edi
push 0x48dbdc
push dword [esi + 4]
mov dword [esi + 0x14], eax
call edi
push 0x48dbec
push dword [esi + 4]
mov dword [esi + 0x18], eax
call edi
push 0x48dbf8
push dword [esi + 4]
mov dword [esi + 0x1c], eax
call edi
mov dword [esi + 0x20], eax
pop edi
mov eax, esi
pop esi
ret
Function at 0x448160
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x4a86f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0x430], eax
push 0x424
lea eax, [ebp - 0x428]
mov dword [ebp - 0x42c], edi
push edi
push eax
call fcn.0046a330
add esp, 0xc
push esi
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x4481bf
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046984a
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x42c], 0x428
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x448236
push ebx
mov ebx, dword [ebp + 0x14]
mov edi, edi
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x428], eax
je 0x4481f1
cmp dword [ebp + 0x18], 0
jne 0x448216
mov eax, 0x428
cmp ebx, eax
cmovb eax, ebx
push eax
lea eax, [ebp - 0x42c]
push eax
push dword [ebp - 0x430]
call fcn.00469ce0
add esp, 0xc
mov edi, 1
mov dword [ebp - 0x42c], 0x428
test edi, edi
jne 0x448235
lea eax, [ebp - 0x42c]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x4481e0
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0046984a
mov esp, ebp
pop ebp
ret

Function at 0x4483d0
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ecx + 4], 0
push esi
je 0x448471
cmp dword [ecx + 8], 0
je 0x4483ff
cmp dword [ecx + 0xc], 0
je 0x4483ff
cmp dword [ecx + 0x10], 0
je 0x4483ff
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.00448640
jmp 0x448423
cmp dword [ecx + 0x14], 0
je 0x448471
cmp dword [ecx + 0x1c], 0
je 0x448471
cmp dword [ecx + 0x18], 0
je 0x448471
cmp dword [ecx + 0x20], 0
je 0x448471
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.00448480
mov esi, eax
test esi, esi
je 0x448471
push edi
push dword [ebp - 4]
push 0x448820
call dword [sym.imp.USER32.dll_EnumWindows]
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x448455
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, eax
jmp 0x44845a
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp edi, 1
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret 4
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x448860
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x4a86f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
push 0x1fe
push eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push eax
call fcn.0046a330
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea eax, [ebp - 0x208]
add esp, 0xc
mov dword [ebp - 0x208], 0x100
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x204]
push eax
push 0
push esi
call ebx
cmp eax, 0x103
je 0x44890a
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop
test eax, eax
jne 0x44890c
lea eax, [ebp - 0x204]
push eax
push esi
call edi
test eax, eax
jne 0x44890c
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x208]
mov dword [ebp - 0x208], 0x100
push eax
lea eax, [ebp - 0x204]
push eax
push 0
push esi
call ebx
cmp eax, 0x103
jne 0x4488d0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046984a
mov esp, ebp
pop ebp
ret
Function at 0x448920
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4a86f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
push 0x1fe
push eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push eax
mov dword [ebp - 0x41c], esi
mov dword [ebp - 0x414], 0
call fcn.0046a330
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x404], ax
lea eax, [ebp - 0x402]
push eax
call fcn.0046a330
add esp, 0x18
mov dword [ebp - 0x40c], 0x100
lea eax, [ebp - 0x410]
mov dword [ebp - 0x410], 0x100
push 0
push eax
lea eax, [ebp - 0x404]
push eax
push 0
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x204]
push eax
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x448ada
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x448adc
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x408]
push eax
push 0
push 0xf003f
push 0
lea eax, [ebp - 0x404]
push eax
push 0
lea eax, [ebp - 0x204]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x448adc
push dword [ebp - 0x408]
lea eax, [ebp - 0x204]
push eax
push edi
call fcn.00448b10
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x448aed
lea eax, [ebp - 0x418]
push eax
push 0xf003f
push esi
lea eax, [ebp - 0x204]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x448aed
push dword [ebp - 0x418]
push dword [ebp - 0x408]
call fcn.00448920
add esp, 8
mov esi, eax
push dword [ebp - 0x418]
call ebx
push dword [ebp - 0x408]
call ebx
test esi, esi
jne 0x448af5
mov esi, dword [ebp - 0x414]
lea eax, [ebp - 0x410]
push 0
push eax
lea eax, [ebp - 0x404]
mov dword [ebp - 0x40c], 0x100
push eax
push 0
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x410], 0x100
push eax
lea eax, [ebp - 0x204]
inc esi
push eax
push esi
push edi
mov dword [ebp - 0x414], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, dword [ebp - 0x41c]
cmp eax, 0x103
jne 0x4489d3
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046984a
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x408]
call ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046984a
mov esp, ebp
pop ebp
ret
Function at 0x448b10
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4a86f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x228], eax
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push eax
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x224], esi
call fcn.0046a330
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
push 0xf003f
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x448ca7
push edi
push eax
push eax
lea eax, [ebp - 0x210]
push eax
push 0
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, eax
test edi, edi
jne 0x448c98
cmp dword [ebp - 0x20c], eax
je 0x448c98
push dword [ebp - 0x210]
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x448c88
xor esi, esi
cmp dword [ebp - 0x20c], esi
jbe 0x448c88
lea ebx, [ebx]
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x214]
push eax
push ebx
lea eax, [ebp - 0x220]
mov dword [ebp - 0x218], 0x100
push eax
push 0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, eax
test edi, edi
jne 0x448c88
mov edi, dword [ebp - 0x228]
push edi
push dword [ebp - 0x224]
push dword [ebp - 0x21c]
push str.RegCreateValues__d___s___d_
call fcn.0045f4c0
add esp, 0x10
lea eax, [ebp - 0x204]
push dword [ebp - 0x214]
push ebx
push dword [ebp - 0x220]
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test edi, edi
jne 0x448c88
inc esi
cmp esi, dword [ebp - 0x20c]
jb 0x448bf0
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x208]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0046984a
mov esp, ebp
pop ebp
ret

Function at 0x448ee0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push 2
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x448f1d
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
test eax, eax
mov ecx, 1
cmove esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x449050
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
mov dword [ebp - 8], 0
push eax
push 0x20019
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4490c1
push esi
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x4490c1
cmp dword [ebp - 0x10], 4
jne 0x4490c1
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 8]
mov dword [ecx], eax
mov eax, 1
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4490d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
push 0x20019
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4491e7
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 4]
push edi
mov edi, dword [ebp + 0x10]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
push ebx
push edi
push dword [ebp - 8]
call esi
test eax, eax
jne 0x4491dc
cmp dword [ebp - 0xc], 4
jne 0x449173
lea eax, [ebp - 4]
mov dword [ebp - 0x10], ebx
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push edi
push dword [ebp - 8]
call esi
push dword [ebp - 0x10]
mov esi, eax
push 0x4892b4
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0046982e
add esp, 0x10
test esi, esi
sete bl
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00464d8a
mov esi, eax
add esp, 4
test esi, esi
je 0x4491dc
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4491d3
push esi
push edi
push dword [ebp + 0xc]
push str.RegDBGetStringValue__s___s____s
call fcn.0045f4c0
push 0xffffffffffffffff
push esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0046cbf5
add esp, 0x20
mov ebx, 1
push esi
call fcn.00429520
add esp, 4
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret