joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4393e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63b306
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov dword [esi + 4], 0x659544
mov dword [esi + 8], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [0x6f7b78]
lea edi, [esi + 0x1c]
mov dword [ebp - 4], ebx
mov dword [edi], eax
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x120]
push ecx
push edx
mov dword [esi], 0x659540
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], ebx
mov eax, dword [0x6fcafc]
push ebx
push ebx
push str.ToolbarStyle
push eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4394b4
lea edi, [ebp - 0x120]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x439493
lea ecx, [ebp - 0x120]
lea eax, [esi + 0x1c]
push ecx
push 0x6c910c
push eax
call fcn.0061fae1
add esp, 0xc
lea edx, [ebp - 0x120]
push str.ClassicOld
push edx
call fcn.0060a000
add esp, 8
test eax, eax
jne 0x4394c2
mov dword [esi + 0x28], 1
jmp 0x4394c2
push str.3D_Style
push edi
call fcn.0061fae1
add esp, 8
mov edx, dword [0x6fcafc]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
push ecx
push ebx
push ebx
push str.LargeButtons
push edx
mov dword [ebp - 0x14], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4394ef
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x24], eax
mov ecx, esi
mov dword [esi + 0x18], ebx
call fcn.00439780
cmp dword [esi + 0x28], ebx
jne 0x439548
cmp dword [esi + 0x20], ebx
jne 0x439548
xor edi, edi
cmp edi, dword [esi + 0xc]
jge 0x439548
mov edx, dword [esi + 8]
lea ecx, [edi + edi*4]
push str.3D_Style
mov eax, dword [edx + ecx*4]
push eax
call fcn.0060b39a
add esp, 8
test eax, eax
jne 0x43953c
inc edi
mov eax, esi
mov dword [esi + 0x20], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc edi
jmp 0x439505
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439640
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63b340
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov edx, dword [0x6fcafc]
push esi
push edi
mov esi, ecx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x18]
mov eax, dword [esi + 0x24]
push 4
push ecx
push 4
push 0
push str.LargeButtons
push edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], eax
call ebx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4396fb
mov ecx, dword [esi + 8]
lea eax, [eax + eax*4]
lea edi, [esi + 0x1c]
mov edx, dword [ecx + eax*4 - 0x14]
push edx
push 0x6c910c
push edi
call fcn.0061fae1
mov edx, dword [edi]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4396ed
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
push eax
mov eax, dword [0x6fcafc]
push str.ToolbarStyle
push eax
call ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x6fcafc]
push str.ToolbarStyle
push ecx
jmp 0x43975a
mov eax, dword [esi + 0x28]
test eax, eax
je 0x43974f
push str.ClassicOld
lea ecx, [ebp - 0x14]
call fcn.00622df8
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [0x6fcafc]
push 1
push eax
push str.ToolbarStyle
push edx
call ebx
lea ecx, [ebp - 0x14]
call fcn.00622d8a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x6fcafc]
push str.ToolbarStyle
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43cb80
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x6fcafc]
push esi
mov esi, ecx
lea eax, [esp + 4]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0
push str.isUseWinDialUp
push edx
mov dword [esp + 0x20], 4
call edi
test eax, eax
je 0x43cbbe
mov dword [esi + 0x30], 0
jmp 0x43cbcc
mov eax, dword [esp + 0xc]
mov dword [esi + 0x24], 1
mov dword [esi + 0x30], eax
mov eax, dword [0x6fcafc]
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
push 0
push 0
push str.mAttempts
push eax
mov dword [esp + 0x20], 4
call edi
test eax, eax
je 0x43cbfc
mov dword [esi + 0x2c], 0
jmp 0x43cc03
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x2c], ecx
mov ecx, dword [0x6fcafc]
lea edx, [esp + 8]
lea eax, [esp + 0xc]
push edx
push eax
push 0
push 0
push str.mRedialTime
push ecx
mov dword [esp + 0x20], 4
call edi
test eax, eax
je 0x43cc38
mov dword [esi + 0x28], 0x1e
pop edi
pop esi
add esp, 8
ret
mov edx, dword [esp + 0xc]
pop edi
mov dword [esi + 0x28], edx
pop esi
add esp, 8
ret

Function at 0x43cc50
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x30]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 0x30]
test ecx, ecx
jne 0x43cc6b
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x43cc7f
push 4
push eax
mov eax, dword [0x6fcafc]
push 4
push 0
push str.isUseWinDialUp
push eax
call edi
mov edx, dword [0x6fcafc]
lea ecx, [esi + 0x2c]
push 4
push ecx
push 4
push 0
push str.mAttempts
push edx
call edi
mov eax, dword [0x6fcafc]
add esi, 0x28
push 4
push esi
push 4
push 0
push str.mRedialTime
push eax
call edi
pop edi
pop esi
ret
Function at 0x43e5a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63ba00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x6f7b78]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push ebx
push ecx
lea edx, [ebp - 0x14]
push str._s_ld
push edx
mov byte [ebp - 4], 1
call fcn.0061fae1
add esp, 0x10
test bl, 8
je 0x43e66c
xor ebx, 8
mov eax, dword [0x6f7b78]
mov dword [ebp + 0x10], eax
mov dword [ebp + 8], eax
mov esi, dword [ebp + 0xc]
mov ecx, dword [0x6fd390]
push esi
push esi
lea edx, [ebp + 8]
push ecx
push edx
mov byte [ebp - 4], 3
call fcn.0061fae1
add esp, 0x10
cmp ebx, 2
jne 0x43e6be
mov eax, dword [0x6f7b78]
mov dword [ebp + 0xc], eax
mov ecx, dword [0x6fd38c]
push esi
lea edx, [ebp + 0xc]
push ecx
push edx
mov byte [ebp - 4], 4
call fcn.0061fae1
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
add esp, 0xc
lea edx, [ebp + 0x10]
push eax
push ecx
push str._s_r_n_r_n_s
push edx
call fcn.0061fae1
add esp, 0x10
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
call fcn.00622d8a
jmp 0x43e6d3
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push eax
mov eax, dword [0x6fcafc]
push ecx
push 0
push 0
push edx
push eax
mov dword [ebp - 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43e5f5
cmp dword [ebp - 0x18], 1
jne 0x43e5f5
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00622d8a
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0x10]
push eax
push 0x6c910c
push ecx
call fcn.0061fae1
add esp, 0xc
mov edx, dword [ebp + 0x10]
push 0x44
push 0x6c9094
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x43e71f
mov eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.004ae7c0
mov edx, dword [ebp - 0x14]
mov eax, dword [0x6fcafc]
add esp, 8
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 1
push 4
push ecx
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00622d8a
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.00622d8a
jmp 0x43e6a1
Function at 0x440530
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x63bd0b
push eax
mov dword fs:[0], esp
sub esp, 0x43c
lea eax, [esp + 0x3c]
push esi
mov esi, ecx
push 0x200
push eax
mov ecx, dword [esi + 0x268]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4406e6
mov edx, dword [esi + 0x1c]
push ebx
push edi
push 0
push 0
push 0x31
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.006296f3
push esi
lea ecx, [esp + 0x28]
mov edi, eax
call fcn.00629460
push edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x454], 0
call fcn.00628ee6
mov edi, eax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x48]
push eax
push ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.00609a4e
add esp, 4
lea edx, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x30]
push edx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
push edi
lea ecx, [esp + 0x28]
mov ebx, eax
call fcn.00628ee6
test ebx, ebx
je 0x4406c6
mov eax, dword [esp + 0x458]
test eax, eax
je 0x4406c6
mov ecx, dword [esi + 0x4d0]
mov eax, dword [esp + 0xc]
cmp ecx, eax
je 0x4406c6
mov eax, dword [esi + 0x268]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x14]
push edx
push eax
call edi
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00629316
mov edx, dword [esp + 0xc]
mov eax, dword [esi + 0x4d0]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x258]
sub edx, eax
lea eax, [esp + 0x38]
add ebx, edx
push eax
push ecx
mov dword [esp + 0x24], ebx
call edi
lea edx, [esp + 0x38]
mov ecx, esi
push edx
call fcn.00629316
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
add eax, 0xfffffffb
cmp ecx, eax
jle 0x440675
mov ecx, eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
sub eax, edx
sub ecx, edi
push 0
push eax
push ecx
mov ecx, dword [esi + 0x268]
push edx
push edi
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [esp + 0xc]
mov eax, dword [esi + 0x4d0]
cmp edx, eax
jge 0x4406c6
mov eax, dword [esi + 0x258]
mov edi, dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push 0
push eax
call edi
mov ecx, dword [esi + 0x268]
push 1
push 0
push ecx
call edi
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x24]
mov dword [esi + 0x4d0], edx
mov dword [esp + 0x450], 0xffffffff
call fcn.006294d2
pop edi
pop ebx
mov ecx, dword [esp + 0x440]
pop esi
mov dword fs:[0], ecx
add esp, 0x448
ret 4
Function at 0x44abc0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x248
push esi
mov esi, dword [esp + 0x250]
push edi
push esi
push str.comctl32.dll
call fcn.0060c3d3
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
add esp, 8
test eax, eax
je 0x44ac58
push esi
push str.comctl32
call fcn.0060c3d3
add esp, 8
test eax, eax
je 0x44ac58
lea eax, [esp + 8]
push 0x104
push eax
mov word [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x44ac58
lea ecx, [esp + 8]
push ecx
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x44ac58
cmp word [esp + eax*2 + 6], 0x5c
je 0x44ac3f
lea edx, [esp + 8]
push 0x6c91c0
push edx
call fcn.00609a6b
add esp, 8
lea eax, [esp + 8]
push esi
push eax
call fcn.00609a6b
add esp, 8
lea ecx, [esp + 8]
push ecx
call edi
test eax, eax
jne 0x44ac5b
push esi
call edi
pop edi
pop esi
add esp, 0x248
ret

Function at 0x44aeb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x63c8bc
push eax
mov eax, dword [0x6fcafc]
mov dword fs:[0], esp
sub esp, 0x46c
test eax, eax
push esi
jne 0x44af28
push 0x6fcafc
push 0xf003f
push 0
push str.SoftwareDownloadManager_
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x44af40
push 0
push 0x6fcafc
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareDownloadManager_
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
test esi, esi
jne 0x44afe5
call fcn.0044c010
mov al, 1
pop esi
mov ecx, dword [esp + 0x46c]
mov dword fs:[0], ecx
add esp, 0x478
ret
mov edx, dword [0x6fcafc]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
push str.idmvers
push edx
mov dword [esp + 0x24], 0x40
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
je 0x44af28
cmp esi, 2
je 0x44af23
mov eax, dword [0x6f7b78]
mov dword [esp + 4], eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x478], 0
call fcn.004be6a0
push esi
lea ecx, [esp + 8]
push str.Reading_of_idmvers_failed__errCode___ld_r_n
push ecx
mov byte [esp + 0x484], 1
call fcn.0061fae1
mov edx, dword [esp + 0x10]
add esp, 0xc
lea ecx, [esp + 0x50]
push 1
push edx
call fcn.004be7c0
lea ecx, [esp + 0x50]
mov byte [esp + 0x478], 0
call fcn.004be7b0
lea ecx, [esp + 4]
mov dword [esp + 0x478], 0xffffffff
call fcn.00622d8a
jmp 0x44af28
mov eax, dword [0x6f7b78]
mov dword [esp + 8], eax
lea ecx, [esp + 0x260]
mov dword [esp + 0x478], 2
call fcn.004be6a0
push esi
lea ecx, [esp + 0xc]
push str.RegCreateKeyEx___failed_during_OpenGlobalIDMRegKey____errCode___ld_r_n
push ecx
mov byte [esp + 0x484], 3
call fcn.0061fae1
mov edx, dword [esp + 0x14]
add esp, 0xc
lea ecx, [esp + 0x260]
push 1
push edx
call fcn.004be7c0
lea ecx, [esp + 0x260]
mov byte [esp + 0x478], 2
call fcn.004be7b0
lea ecx, [esp + 8]
mov dword [esp + 0x478], 0xffffffff
call fcn.00622d8a
mov ecx, dword [esp + 0x470]
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x478
ret
Function at 0x44b290
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x63c90b
push eax
mov eax, dword [0x6fcafc]
mov dword fs:[0], esp
sub esp, 0x10c
test eax, eax
push ebx
je 0x44b318
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
push 0
push 0
push str.CommonAppDataIDMFolder
push eax
mov dword [esp + 0x20], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44b318
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x44b318
lea ecx, [esp + 0xc]
push ecx
push 0x6c910c
push 0x6fca40
call fcn.0061fae1
add esp, 0xc
pop ebx
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
add esp, 0x118
ret
push str.shell32.dll
call fcn.0044abc0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x44b424
push esi
push str.SHGetFolderPathA
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x44b41c
push 0
call dword [0x6fc3fc]
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 0x23
push 0
call esi
test eax, eax
jne 0x44b416
mov eax, dword [0x6f7b78]
push edi
mov dword [esp + 0xc], eax
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x120], 0
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffe
mov al, byte [esp + ecx + 0x14]
cmp al, 0x5c
mov eax, 0x6fc418
je 0x44b39c
mov eax, 0x6cae80
lea ecx, [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x14]
push str._s_sIDM
push edx
call fcn.0061fae1
mov eax, dword [esp + 0x1c]
push eax
call fcn.0060bc42
mov ecx, dword [esp + 0x20]
add esp, 0x14
push ecx
push 0x6cbf70
push 0x6fca40
call fcn.0061fae1
mov esi, dword [0x6fcafc]
add esp, 0xc
test esi, esi
je 0x44b401
mov edx, dword [0x6fca40]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
push eax
push str.CommonAppDataIDMFolder
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0xc]
mov dword [esp + 0x120], 0xffffffff
call fcn.00622d8a
pop edi
call dword [0x6fc400]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
mov ecx, dword [esp + 0x110]
pop ebx
mov dword fs:[0], ecx
add esp, 0x118
ret
Function at 0x44c8d0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63ca10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push ebx
lea eax, [ebp - 0x14]
push ebx
lea ecx, [ebp - 0x18]
mov edx, dword [ebp + 8]
push eax
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x44c9ce
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
inc eax
inc esi
push eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
call fcn.00622acb
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.00622acb
add esp, 4
cmp esi, ebx
mov edi, eax
je 0x44c9ce
cmp edi, ebx
je 0x44c9ce
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
push eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x1c], edx
push edi
push ecx
lea edx, [ebp - 0x20]
push 0
push edx
push esi
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
jne 0x44c9a8
push esi
call fcn.00622af4
add esp, 4
push edi
call fcn.00622af4
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x44c9ce
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
push ecx
push edi
push edx
push eax
mov eax, dword [ebp + 0xc]
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x44c9ce
inc ebx
jmp 0x44c952
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44c9f0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63ca20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], esi
mov ebx, 0x104
lea eax, [ebp - 0x114]
push ebx
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, 0x103
jne 0x44ca4e
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x44caa0
lea ecx, [ebp + 8]
push eax
push ecx
push eax
push 0xf003f
push eax
push eax
push eax
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x114]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x44caa0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x114]
push edx
push eax
push edi
call fcn.0044cac0
add esp, 0xc
test eax, eax
je 0x44caa0
inc esi
jmp 0x44ca21
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44cb70
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63ca30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x31c
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 0x208
lea ecx, [ebp - 0x224]
push eax
push ecx
mov dword [ebp - 4], 0
call fcn.00609f00
mov ebx, dword [ebp + 8]
add esp, 0xc
lea edx, [ebp - 0x224]
push edx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x44cbde
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 8]
lea ecx, [ebp - 0x224]
push eax
push 0x20019
push 0
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x44cc16
xor edx, edx
cmp eax, 2
sete dl
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [ebp + eax - 0x224]
mov al, byte [ebp + eax - 0x225]
cmp al, 0x5c
je 0x44cc3c
mov byte [esi], 0x5c
inc esi
mov byte [esi], 0
lea ecx, [ebp - 0x18]
lea edx, [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push 0
push 0
push 0
lea eax, [ebp - 0x328]
push edx
push eax
push 0
push ecx
mov dword [ebp + 0xc], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x44cccd
lea edi, [ebp - 0x224]
or ecx, 0xffffffff
xor eax, eax
mov edx, 0x208
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x328]
sub edx, ecx
push edx
push eax
push esi
call fcn.00609f00
lea ecx, [ebp - 0x224]
push ecx
push ebx
call fcn.0044cd20
add esp, 0x14
test eax, eax
je 0x44cccd
lea edx, [ebp - 0x18]
lea eax, [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push 0
push 0
push 0
lea ecx, [ebp - 0x328]
push eax
push ecx
push 0
push edx
mov dword [ebp + 0xc], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x44cc68
mov byte [esi - 1], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x224]
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44cd20
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x114
push ebp
mov ebp, dword [esp + 0x11c]
push esi
mov esi, dword [esp + 0x124]
push esi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x44cd50
pop esi
mov eax, 1
pop ebp
add esp, 0x114
ret
lea eax, [esp + 8]
push eax
push 0x20019
push 0
push esi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x44cd7b
xor ecx, ecx
cmp eax, 2
sete cl
pop esi
mov eax, ecx
pop ebp
add esp, 0x114
ret
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
mov al, byte [ebx + esi - 1]
add ebx, esi
cmp al, 0x5c
je 0x44cd96
mov byte [ebx], 0x5c
inc ebx
mov byte [ebx], 0
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push 0
push 0
push 0
lea ecx, [esp + 0x2c]
push eax
push ecx
push 0
push edx
mov dword [esp + 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x44ce4e
push edi
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, 0x208
sub eax, ecx
lea ecx, [esp + 0x20]
push eax
push ecx
push ebx
call fcn.00609f00
push esi
push ebp
call fcn.0044cd20
add esp, 0x14
test eax, eax
je 0x44ce4d
lea edx, [esp + 0x18]
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
lea ecx, [esp + 0x30]
push eax
push ecx
push 0
push edx
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x44ce4d
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, 0x208
sub eax, ecx
lea ecx, [esp + 0x20]
push eax
push ecx
push ebx
call fcn.00609f00
push esi
push ebp
call fcn.0044cd20
add esp, 0x14
test eax, eax
jne 0x44cdf4
pop edi
mov byte [ebx - 1], 0
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
neg eax
sbb eax, eax
pop ebx
pop esi
inc eax
pop ebp
add esp, 0x114
ret