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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 4]
add ecx, 0x38
call fcn.004192d0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0xc]
push edx
push 0
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4206fd
cmp dword [ebp - 8], 3
je 0x4206f7
cmp dword [ebp - 8], 4
je 0x4206f7
cmp dword [ebp - 8], 0xb
jne 0x4206fd
cmp dword [ebp - 0xc], 4
je 0x420701
xor al, al
jmp 0x42073e
mov ecx, dword [ebp - 4]
add ecx, 0x38
call fcn.004192d0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x42073c
xor al, al
jmp 0x42073e
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x423330
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x423354
xor eax, eax
jmp 0x4233d4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42336b
xor eax, eax
jmp 0x4233d4
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x4233b7
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x4233b7
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x42338e
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x4233c3
xor eax, eax
jmp 0x4233d4
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x4233d1
xor eax, eax
jmp 0x4233d4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4296d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret 8

Function at 0x42d540
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e278
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov dword [ebp - 0x4c], ecx
push str.eENv3USsseCSUPFIh00nJBMsiEAgzBPCUXfMQo
lea ecx, [ebp - 0x88]
call fcn.00414250
mov dword [ebp - 4], 0
push str.RjlpDVDVNPCCAzbSg
lea ecx, [ebp - 0x70]
call fcn.00414250
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], 3
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x38], 4
lea eax, [ebp - 0x18]
push eax
push 0xf003f
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x54], esp
lea edx, [ebp - 0x88]
push edx
call fcn.004140f0
lea eax, [ebp - 0x28]
push eax
call fcn.0045d680
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
call fcn.004192d0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], edx
lea ecx, [ebp - 0x28]
call fcn.004168d0
cmp dword [ebp - 0x2c], 0
jne 0x42d66c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x58], esp
lea eax, [ebp - 0x70]
push eax
call fcn.004140f0
lea ecx, [ebp - 0x44]
push ecx
call fcn.0045d680
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 0x34]
call fcn.004192d0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
push 0
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x44]
call fcn.004168d0
cmp dword [ebp - 0x48], 0
jne 0x42d662
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x110], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00417530
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.00417530
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x437a60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f265
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x264
mov dword [ebp - 0x30], ecx
push str.cHVldYSMarAxUHpFBcE0LCUmqIAAFGNhUfpBwA
lea ecx, [ebp - 0x50]
call fcn.00414250
mov dword [ebp - 4], 0
push str.cFJRBdiARQEAYAkASUZiAjc
lea ecx, [ebp - 0x68]
call fcn.00414250
mov byte [ebp - 4], 1
push 0x104
lea eax, [ebp - 0x270]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x10]
push ecx
push 0xf003f
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x34], esp
lea edx, [ebp - 0x50]
push edx
call fcn.004140f0
lea eax, [ebp - 0x20]
push eax
call fcn.0045d680
add esp, 0x1c
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
call fcn.004192d0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edx
lea ecx, [ebp - 0x20]
call fcn.004168d0
cmp dword [ebp - 0x24], 0
jne 0x437b57
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 4
mov ecx, dword [ebp - 0x28]
push ecx
lea edx, [ebp - 0x2c]
push edx
push 4
push 0
push 0x5abc8c
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x110], edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00417530
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00417530
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x43a8b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f6f5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x24], 1
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x43a8fa
mov dword [ebp - 0x24], 2
lea ecx, [ebp - 0x20]
call fcn.004129b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004129b0
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0xc8
cmp dword [ebp - 0x14], 0xc8
je 0x43a933
mov dword [ebp - 0x14], 0xc8
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x50]
call fcn.004352a0
test eax, eax
jne 0x43a9cf
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jge 0x43a9cf
movzx ecx, byte [0x5dd00c]
test ecx, ecx
je 0x43a9cf
lea edx, [ebp - 0x40]
push edx
call dword [sym.imp.USER32.dll_GetPhysicalCursorPos]
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov dword [ebp - 0x28], eax
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0048a7e0
add esp, 8
movzx eax, al
test eax, eax
je 0x43a9cf
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
lea edx, [ebp - 0x20]
push edx
call fcn.00412760
mov ecx, dword [ebp - 0x18]
call fcn.00436aa0
mov byte [ebp - 0xd], al
mov al, byte [ebp - 0xd]
mov byte [ebp - 0xe], al
movzx ecx, byte [ebp - 0xe]
test ecx, ecx
je 0x43a9cf
mov dword [ebp - 0x14], 0x1b7740
mov edx, dword [ebp - 0x14]
push edx
push 0
lea eax, [ebp - 0x48]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x43a9ee
jmp 0x43aa08
cmp dword [ebp - 0x1c], 1
jne 0x43a9fb
mov dword [ebp - 0x14], 0xc8
mov ecx, 1
test ecx, ecx
jne 0x43a923
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x34], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004168d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004168d0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x45c060
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], 0x4c11db7
push 0x400
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.00572370
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x45c095
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0xff
jg 0x45c12e
push 8
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp - 8]
call fcn.0045c1a0
shl eax, 0x18
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4], eax
mov dword [ebp - 0xc], 0
jmp 0x45c0ce
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 8
jge 0x45c10c
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4]
and eax, 0x80000000
je 0x45c0ec
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
jmp 0x45c0f3
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + edx*4]
shl ecx, 1
xor ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [eax + edx*4], ecx
jmp 0x45c0c5
push 0x20
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4]
push eax
mov ecx, dword [ebp - 8]
call fcn.0045c1a0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4], eax
jmp 0x45c08c
mov esp, ebp
pop ebp
ret

Function at 0x45ea50
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59cecd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov dword [ebp - 0x14], ecx
push str.cEVy1NicsBHH4kpESIWtQWtC
lea ecx, [ebp - 0x10]
call fcn.004128a0
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
lea eax, [ebp - 0x10]
push eax
call fcn.00412760
lea ecx, [ebp - 0x24]
push ecx
call fcn.0045d3b0
add esp, 8
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp - 0x1c]
call fcn.004192d0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x80], ecx
lea ecx, [ebp - 0x24]
call fcn.004168d0
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x80], 0
jne 0x45eafb
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004168d0
mov eax, dword [ebp - 0x28]
jmp 0x45eb57
push 0x2710
push 0x2710
push 0x2710
push 0x2710
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x80]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x45eb3e
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004168d0
mov eax, dword [ebp - 0x2c]
jmp 0x45eb57
mov dword [ebp - 0x30], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004168d0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x46b360
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
mov dword [ebp - 0x24], 0
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 4], eax
sub esp, 0x28
mov esi, esp
mov dword [ebp - 0x28], esp
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00412270
push eax
mov ecx, esi
call fcn.00460870
lea ecx, [ebp - 0x58]
call fcn.004154c0
mov dword [ebp - 0x30], eax
cmp dword [ebp - 4], 0
je 0x46b44d
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0x14]
sub edx, dword [ebp + 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x46b44d
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x46b44d
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x18], eax
push 0x40cc0020
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x58]
call fcn.00417ea0
mov eax, dword [ebp - 0x1c]
jmp 0x46b45f
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x58]
call fcn.00417ea0
mov eax, dword [ebp - 0x20]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x46b4f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59cecd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push 0x44
push 0
lea eax, [ebp - 0x64]
push eax
call fcn.00572370
add esp, 0xc
mov dword [ebp - 0x64], 0x44
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00412760
mov dword [ebp - 4], 0
push 0x20
lea ecx, [ebp - 0x10]
call fcn.0041e0c0
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x10]
call fcn.0041df30
lea ecx, [ebp - 0x10]
call fcn.004192d0
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
call fcn.004192d0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x64]
push ecx
push 0
push 0
push 0x200
push 0
push 0
push 0
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x46b5a5
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004168d0
mov eax, dword [ebp - 0x1c]
jmp 0x46b5be
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004168d0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x471ba0
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push 0x104
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp + 8]
call fcn.004192d0
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x471bcd
or eax, 0xffffffff
jmp 0x471bf4
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x471bf2
mov edx, dword [ebp - 4]
and edx, 0x10
jne 0x471bf2
mov eax, 1
jmp 0x471bf4
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x474780
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a1ef5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x470
push str.U00yuMQAipVEUkTLEBUzDx1xKcCM9pYUU8EP1c
lea ecx, [ebp - 0x7c]
call fcn.00414250
mov dword [ebp - 4], 0
push str.RUdyASQQ3yAhkk7NRMk
lea ecx, [ebp - 0x64]
call fcn.00414250
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
push 0xf003f
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x48], esp
lea edx, [ebp - 0x7c]
push edx
call fcn.004140f0
lea eax, [ebp - 0x24]
push eax
call fcn.0045d680
add esp, 0x1c
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x1c]
call fcn.004192d0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x28], edx
lea ecx, [ebp - 0x24]
call fcn.004168d0
cmp dword [ebp - 0x28], 0
jne 0x474909
mov dword [ebp - 0x34], 0x200
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4c], esp
lea eax, [ebp - 0x64]
push eax
call fcn.004140f0
lea ecx, [ebp - 0x40]
push ecx
call fcn.0045d680
add esp, 0x1c
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], edx
mov ecx, dword [ebp - 0x30]
call fcn.004192d0
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x47c]
push edx
push 0
push 0
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x40]
call fcn.004168d0
cmp dword [ebp - 0x44], 0
je 0x4748cc
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.default
mov ecx, dword [ebp + 8]
call fcn.00418890
mov byte [ebp - 0xd], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00417530
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.00417530
mov al, byte [ebp - 0xd]
jmp 0x474935
lea eax, [ebp - 0x47c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00418890
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0xe], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00417530
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.00417530
mov al, byte [ebp - 0xe]
jmp 0x474935
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0xf], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00417530
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.00417530
mov al, byte [ebp - 0xf]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x477500
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
push eax
lea ecx, [ebp + 0xc]
call fcn.004192d0
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x47758a
lea ecx, [ebp + 8]
call fcn.004192d0
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x477567
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 1], 1
lea ecx, [ebp + 8]
call fcn.004168d0
lea ecx, [ebp + 0xc]
call fcn.004168d0
mov al, byte [ebp - 1]
jmp 0x4775a1
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 2], 0
lea ecx, [ebp + 8]
call fcn.004168d0
lea ecx, [ebp + 0xc]
call fcn.004168d0
mov al, byte [ebp - 2]
jmp 0x4775a1
mov byte [ebp - 3], 0
lea ecx, [ebp + 8]
call fcn.004168d0
lea ecx, [ebp + 0xc]
call fcn.004168d0
mov al, byte [ebp - 3]
mov esp, ebp
pop ebp
ret

Function at 0x4775b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 4
lea eax, [ebp - 8]
push eax
lea ecx, [ebp + 0x10]
call fcn.004192d0
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x47764d
lea ecx, [ebp + 8]
call fcn.004192d0
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47762a
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 1], 1
lea ecx, [ebp + 8]
call fcn.004168d0
lea ecx, [ebp + 0x10]
call fcn.004168d0
mov al, byte [ebp - 1]
jmp 0x477664
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 2], 0
lea ecx, [ebp + 8]
call fcn.004168d0
lea ecx, [ebp + 0x10]
call fcn.004168d0
mov al, byte [ebp - 2]
jmp 0x477664
mov byte [ebp - 3], 1
lea ecx, [ebp + 8]
call fcn.004168d0
lea ecx, [ebp + 0x10]
call fcn.004168d0
mov al, byte [ebp - 3]
mov esp, ebp
pop ebp
ret
Function at 0x477670
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a222d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004129b0
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], 0x1000
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0x10]
call fcn.004192d0
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x47775c
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x10]
call fcn.00420040
mov dword [ebp - 0x20], eax
lea ecx, [ebp + 0xc]
call fcn.004192d0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x20]
push edx
lea eax, [ebp - 0x2c]
push eax
push 0
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0046bd30
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00412760
mov edx, dword [ebp - 0x14]
or edx, 1
mov dword [ebp - 0x14], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004168d0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004168d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004168d0
mov eax, dword [ebp + 8]
jmp 0x47779c
push 0x5b2c14
mov ecx, dword [ebp + 8]
call fcn.004128a0
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004168d0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004168d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004168d0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x4777b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
push eax
lea ecx, [ebp + 0x10]
call fcn.004192d0
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x477846
lea ecx, [ebp + 8]
call fcn.004192d0
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x477823
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 1], 1
lea ecx, [ebp + 8]
call fcn.004168d0
lea ecx, [ebp + 0x10]
call fcn.004168d0
mov al, byte [ebp - 1]
jmp 0x47785d
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 2], 0
lea ecx, [ebp + 8]
call fcn.004168d0
lea ecx, [ebp + 0x10]
call fcn.004168d0
mov al, byte [ebp - 2]
jmp 0x47785d
mov byte [ebp - 3], 0
lea ecx, [ebp + 8]
call fcn.004168d0
lea ecx, [ebp + 0x10]
call fcn.004168d0
mov al, byte [ebp - 3]
mov esp, ebp
pop ebp
ret