joyce8/EMBER2024-capa huggingface dataset:
Function at 0x482ad0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x614c78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004828f0
add esp, 4
cmp eax, ebx
jne 0x482ba1
mov ecx, dword [0x6e7b6c]
mov dword [ebp + 0xc], ecx
mov edx, dword [0x6ecdac]
push 0x6bf2fc
lea eax, [ebp + 0xc]
push edx
push eax
mov byte [ebp - 4], 1
call fcn.005f368b
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
add esp, 0xc
push 0x11001
push 0x6bc018
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 1
jne 0x482b80
mov ecx, dword [0x6ec7a0]
lea eax, [ebp + 8]
push 4
push eax
push 4
push ebx
push 0x6c01c4
push ecx
mov dword [ebp + 8], 2
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0x6c31b4
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.0049d030
add esp, 8
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.005fa859
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
mov eax, dword [0x6ec7a0]
lea edx, [ebp + 8]
push 4
push edx
push 4
push ebx
push 0x6c01c4
push eax
mov dword [ebp + 8], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
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
Function at 0x484060
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp + 0xc]
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x6ec0c8
push 0
push 0x6c3244
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4841a0
mov ecx, dword [esp + 0xc]
push ebx
lea edx, [esp + 8]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
mov ebx, 4
push 0x6c3234
push ecx
mov dword [esp + 0x24], ebx
call edi
test eax, eax
je 0x4840d0
mov dword [esi + 8], 0
jmp 0x4840d7
mov edx, dword [esp + 0x10]
mov dword [esi + 8], edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
push 0x6c3228
push edx
mov dword [esp + 0x24], ebx
call edi
test eax, eax
je 0x484102
mov dword [esi + 0xc], 0xc8
jmp 0x484109
mov eax, dword [esp + 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
push 0
cdq
push 0x100000
push edx
push eax
call fcn.005e09d0
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x1c], edx
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push 0
push 0x6c3220
push eax
mov dword [esp + 0x24], ebx
call edi
test eax, eax
je 0x48414c
mov dword [esi + 0x10], 5
jmp 0x484153
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push 0x6c3204
push ecx
mov dword [esp + 0x24], ebx
call edi
pop edi
pop ebx
test eax, eax
je 0x48418e
mov eax, dword [esp + 0xc]
mov dword [esi + 0x14], 1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
add esp, 0x10
ret
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov dword [esi + 0x14], edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
add esp, 0x10
ret
Function at 0x4841b0
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
lea eax, [esp + 8]
push esi
mov esi, ecx
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x6ec0c8
push 0
push 0x6c3244
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4842a0
mov ecx, dword [esp + 4]
push ebx
mov ebx, dword [esi + 8]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esp + 0x10]
push 4
xor edx, edx
push eax
push 4
test ebx, ebx
push 0
push 0x6c3234
setne dl
push ecx
mov dword [esp + 0x28], edx
call edi
mov edx, dword [esp + 0xc]
lea ebx, [esi + 0xc]
push 4
push ebx
push 4
push 0
push 0x6c3228
push edx
call edi
mov eax, dword [ebx]
push 0
cdq
push 0x100000
push edx
push eax
call fcn.005e09d0
push 0
push 0x64
push edx
push eax
call fcn.005dffe0
push 0
push 0x62
push edx
push eax
call fcn.005e09d0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x18], eax
lea eax, [esi + 0x10]
push 4
push eax
push 4
push 0
push 0x6c3220
push ecx
mov dword [esi + 0x1c], edx
call edi
mov ebx, dword [esi + 0x14]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push 4
xor edx, edx
push eax
test ebx, ebx
push 4
push 0
setne dl
push 0x6c3204
push ecx
mov dword [esp + 0x28], edx
call edi
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
pop esi
add esp, 0xc
ret
Function at 0x485c40
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
lea ecx, [esp]
push esi
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x6ec0c8
push 0
push 0x6c33f8
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x485ca5
mov esi, dword [esp + 4]
test esi, esi
je 0x485ca5
mov edx, dword [esp + 0x10]
push edi
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
push eax
push 0x6c334c
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 8
ret 4

Function at 0x485cb0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov eax, dword [esi + 0x10]
mov edi, dword [esp + 0x50]
mov ebp, dword [esi + 8]
cmp eax, ebx
mov byte [esp + 0x20], bl
jne 0x485cfd
mov eax, dword [esi + 0x18]
push 0x14
lea ecx, [esi + 0x14]
push eax
push ecx
call fcn.005f5784
mov ecx, dword [esi + 0x18]
add eax, 4
lea edx, [ecx + ecx*4]
dec ecx
test ecx, ecx
lea eax, [eax + edx*4 - 0x14]
jl 0x485cfd
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x14
dec ecx
jne 0x485cef
mov eax, dword [esi + 0x10]
xor edx, edx
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov dword [eax + 4], ebp
mov dword [eax], 0
mov ebp, dword [esi + 0xc]
inc ebp
lea ecx, [eax + 8]
mov dword [esi + 0xc], ebp
mov ebp, ecx
mov dword [ebp], edx
mov dword [ebp + 4], edx
mov dword [ebp + 8], edx
mov edx, dword [esp + 0x20]
mov dword [ecx], edi
mov dword [ecx + 4], ebx
mov dword [ecx + 8], edx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x485d3c
mov dword [ecx], eax
jmp 0x485d3f
mov dword [esi + 4], eax
mov ecx, esi
mov dword [esi + 8], eax
call fcn.004858f0
push edi
mov ecx, esi
call fcn.00486080
test eax, eax
je 0x485d5e
mov ecx, dword [esi + 0x68]
mov dword [eax + 0x47c], ecx
push edi
lea edx, [esp + 0x28]
push 0x6c15d4
push edx
call fcn.005deb38
add esp, 0xc
lea eax, [esp + 0x14]
lea ecx, [esp + 0x50]
lea edx, [esp + 0x24]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x6ec0c8
push 0
push edx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x485dcc
mov edx, dword [esp + 0x50]
mov eax, dword [esi + 0x68]
lea ecx, [esp + 0x10]
push 4
push ecx
push 4
push 0
push 0x6c3428
push edx
mov dword [esp + 0x28], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x50]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x6ec8e0]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push ecx
call ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x485df9
mov edx, dword [0x6ec8e0]
push edi
push 0x1396
push 0x111
push edx
call esi
mov eax, dword [0x6ec8e4]
push eax
call ebx
test eax, eax
je 0x485e19
mov ecx, dword [0x6ec8e4]
push edi
push 0x139a
push 0x111
push ecx
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 4
Function at 0x489d80
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x18
push esi
push edi
mov esi, ecx
call fcn.004891e0
test eax, eax
je 0x489ee4
mov eax, dword [esi + 0x10]
test eax, eax
je 0x489ee4
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0
call edi
mov eax, dword [esi + 0x10]
push 0
push 0
push 0
push eax
push bind
push bind
push bind
push bind
push 0x50010000
push 0x6c3558
push 0x6c3534
push 8
call dword [sym.imp.USER32.dll_CreateWindowExA]
test eax, eax
mov dword [esi + 8], eax
je 0x489ee4
push ebx
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [esi + 8]
push 0
push 0
push pe_nt_image_headers32
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push 0
call edi
mov edi, eax
mov eax, dword [0x6ec774]
push 0x2040
push 0
test eax, eax
push 0
push 0
je 0x489e32
push 0x167
jmp 0x489e37
push 0x168
mov ebx, dword [sym.imp.USER32.dll_LoadImageA]
push edi
call ebx
push 0x2040
push 0
push 0
push 0
push 0x16a
push edi
mov dword [esi + 0x238], eax
call ebx
push 0x2040
push 0
push 0
push 0
push 0x169
push edi
mov dword [esi + 0x23c], eax
call ebx
push 0x2040
push 0
push 0
push 0
push 0x166
push edi
mov dword [esi + 0x240], eax
call ebx
mov ecx, dword [esi + 0x240]
mov dword [esi + 0x244], eax
lea eax, [esp + 0xc]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
push 8
mov dword [esi + 0x2c], ecx
push ecx
mov ecx, dword [esi + 0x1c]
sub edx, eax
push edx
mov edx, dword [esi + 8]
push ecx
push eax
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 8]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetParent]
mov edx, dword [esi + 8]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
pop edi
pop esi
add esp, 0x18
ret

Function at 0x48a130
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0xc]
push esi
mov esi, ecx
test eax, eax
mov dword [esi + 0x24c], eax
je 0x48a16d
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edi
call fcn.0048a0b0
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
mov dword [esi + 8], 0
call fcn.00489d80
pop edi
pop esi
ret 0xc
Function at 0x48c120
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x6ec7a0]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push 0x6c3644
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x48c15c
mov eax, dword [esp + 4]
test eax, eax
setne al
add esp, 8
ret
mov al, 1
add esp, 8
ret
Function at 0x48d6d0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [0x6ec8cc]
test ecx, ecx
je 0x48d70c
mov eax, dword [esi + 0x10]
push eax
call fcn.00534100
mov ecx, dword [esi + 0x10]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x48d70c
mov edx, dword [esi + 0x10]
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 2
push edx
call edi
mov eax, dword [esi + 0x10]
push 0
push eax
call edi
pop edi
pop esi
ret
Function at 0x48e970
Capabilities:
Get geographical location

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x1c]
push 0
push 0x400
push esi
push edi
call fcn.005e0090
mov dword [esp + 0x10], eax
mov ecx, esi
cdq
mov ebp, eax
mov eax, edi
sub eax, ebp
push 0
sbb ecx, edx
push 0x400
push ecx
push eax
mov dword [esp + 0x30], edx
call fcn.005dffe0
mov ebx, eax
and ebx, 0x800003ff
jns 0x48e9c0
dec ebx
or ebx, 0xfffffc00
inc ebx
mov eax, ebx
mov ecx, edi
shl eax, 0xa
cdq
sub ecx, eax
mov eax, esi
sbb eax, edx
sub ecx, ebp
mov ebp, dword [esp + 0x20]
push 0
sbb eax, ebp
push 0x100000
push eax
push ecx
call fcn.005dffe0
mov ebp, eax
and ebp, 0x800003ff
jns 0x48e9f6
dec ebp
or ebp, 0xfffffc00
inc ebp
push 0
push 0x40000000
push esi
push edi
call fcn.005dffe0
lea ecx, [esp + 0x1c]
push 3
push ecx
mov esi, eax
push 0xe
push 0x400
mov dword [esp + 0x24], esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x48ea4a
mov edi, 0x6bfed4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1c]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x48eaea
cmp ebp, 0x3e7
jg 0x48eaea
test ebp, ebp
jne 0x48eac2
cmp ebx, 0x3e7
jg 0x48eac2
test ebx, ebx
je 0x48ea9a
mov eax, dword [esp + 0x10]
mov ecx, dword [0x6ed364]
push ecx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
lea edx, [esp + 0x20]
sar eax, 0xa
push eax
push edx
push ebx
jmp 0x48eb12
mov ecx, dword [0x6ed360]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
push ecx
push edx
push 0x6bfecc
push eax
call fcn.005deb38
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
lea eax, [ebx + ebx*4]
mov ecx, dword [0x6ed368]
push ecx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
lea edx, [esp + 0x20]
sar eax, 0xa
push eax
push edx
push ebp
jmp 0x48eb12
lea ebp, [ebp + ebp*4]
mov ecx, dword [0x6ed36c]
push ecx
lea eax, [ebp + ebp*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
lea edx, [esp + 0x20]
sar eax, 0xa
push eax
push edx
push esi
mov eax, dword [esp + 0x34]
push 0x6c3740
push eax
call fcn.005deb38
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x48ed00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x615780
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x24]
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x10], esp
push eax
push ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
call edi
mov eax, dword [esi + 0xac]
lea edx, [ebp - 0x34]
push edx
push eax
call edi
mov eax, dword [esi + 0xba0]
push 0x20
test eax, eax
je 0x48edc7
mov ecx, dword [0x6ec774]
mov eax, dword [ebp - 0x20]
neg ecx
mov edi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
sbb ecx, ecx
and ecx, 5
add ecx, 9
sub ecx, eax
add ecx, edi
push ecx
mov ecx, dword [ebp - 0x24]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0x10]
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [0x6ed4cc]
push ecx
lea ecx, [esi + 0x90]
call fcn.005f9e3a
mov edx, dword [esi + 0x10]
push 0
push 0x519
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0xba0]
xor eax, eax
test ecx, ecx
sete al
mov dword [esi + 0xba0], eax
jmp 0x48ee34
mov ecx, dword [esi + 0xb80]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x20]
sub edx, eax
push edx
mov edx, dword [esi + 0x10]
push ecx
push eax
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [0x6ed4c8]
lea ecx, [esi + 0x90]
push eax
call fcn.005f9e3a
mov ecx, dword [esi + 0x10]
push 5
push 0x519
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0xba0]
mov eax, dword [esi]
xor edx, edx
test ecx, ecx
sete dl
mov dword [esi + 0xba0], edx
mov ecx, dword [eax + 0x8c8]
test ecx, ecx
je 0x48ee34
mov edx, dword [ecx]
call dword [edx]
mov edx, dword [esi + 0xba0]
mov ecx, esi
test edx, edx
setne al
push eax
call fcn.0048c170
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48f470
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6157c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
mov al, byte [esi + 0xdc0]
mov dword [ebp - 0x10], esp
cmp al, bl
je 0x48f520
cmp byte [esi + 0xd], bl
je 0x48f520
lea edi, [esi + 0x3a0]
push ebx
push ebx
push 0x2000000
mov ecx, edi
mov byte [esi + 0xb00], 1
mov byte [esi + 0xd], bl
mov dword [esi + 0x628], ebx
call fcn.005f9e09
lea eax, [esi + 0x8c8]
mov ecx, edi
push eax
call fcn.00603960
mov ecx, dword [esi + 0x10]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, edi
call fcn.006034b2
push eax
mov ecx, edi
call fcn.0060386b
cmp eax, ebx
jl 0x48f4fe
push eax
mov ecx, edi
call fcn.0060383e
mov ecx, edi
call fcn.006034b2
mov edx, dword [eax + 0x1c]
push 1
push ebx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
push ebx
push 0x2000000
push ebx
mov ecx, edi
call fcn.005f9e09
mov ecx, dword [0x6ec7a0]
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push ebx
push 0x6bf9d8
push ecx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48f560
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6157d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov al, byte [edi + 0xdc0]
mov dword [ebp - 4], ebx
cmp al, bl
je 0x48f60a
cmp byte [edi + 0xe], bl
je 0x48f60a
lea esi, [edi + 0x3a0]
push ebx
push ebx
push 0x2000000
mov ecx, esi
mov byte [edi + 0x8c4], 1
mov byte [edi + 0xe], bl
call fcn.005f9e09
lea eax, [edi + 0x650]
mov ecx, esi
push eax
call fcn.00603960
mov ecx, dword [edi + 0x10]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, esi
call fcn.006034b2
push eax
mov ecx, esi
call fcn.0060386b
cmp eax, ebx
jl 0x48f5e8
push eax
mov ecx, esi
call fcn.0060383e
mov ecx, esi
call fcn.006034b2
mov edx, dword [eax + 0x1c]
push 1
push ebx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
push ebx
push 0x2000000
push ebx
mov ecx, esi
call fcn.005f9e09
mov ecx, dword [0x6ec7a0]
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push ebx
push 0x6bf9c4
push ecx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48fb00
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x615890
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov cl, byte [esp + 0x14]
mov edx, dword [0x6ec7a0]
xor eax, eax
push 4
test cl, cl
lea ecx, [esp + 0x18]
push ecx
push 4
push 0
push 0x6c26fc
setne al
push edx
mov dword [esp + 0x2c], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x492c60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x30]
push ebx
mov ebx, dword [esp + 0x30]
push ebp
push esi
push edi
push 0
mov esi, ecx
push 0
push 0
push 0
lea edi, [esi + 0x1f4]
push ebx
push eax
push 1
mov ecx, edi
call fcn.005f49f7
mov ebp, eax
mov eax, dword [esi + 0x230]
test eax, eax
je 0x492cbf
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x40]
push ecx
push edx
push 0
push 0
push ebx
push eax
mov dword [esp + 0x54], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x492cbf
cmp dword [esp + 0x40], 2
je 0x492ce7
mov ecx, dword [esi + 0x210]
lea eax, [esp + 0x10]
push eax
push ebp
push 0x102b
push ecx
mov dword [esp + 0x30], 0xf000
mov dword [esp + 0x2c], 0x2000
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ecx, edi
call fcn.005f4a79
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8
Function at 0x492d10
Capabilities:
Delete registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x615cc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x24]
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
mov edx, dword [esi + 0x230]
mov ecx, dword [esi + 0x1d4]
cmp ebx, edx
push 0
push 0
push 0xf0
sete al
push ecx
mov dword [esp + 0x28], eax
call edi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea edx, [esp + 0x10]
neg eax
push 4
push edx
sbb eax, eax
push 4
push 0
add eax, 2
push 0x6c38c0
push ebx
mov dword [esp + 0x28], eax
call ebp
mov eax, dword [esi + 0x198]
push 0
push 0
push 0xf0
push eax
call edi
lea ecx, [esp + 0x10]
push 4
neg eax
push ecx
push 4
sbb eax, eax
push 0
add eax, 2
push 0x6c38b4
push ebx
mov dword [esp + 0x28], eax
call ebp
or ebx, 0xffffffff
mov edx, dword [esi + 0x210]
push 0
push ebx
push 0x100c
push edx
call edi
mov ebx, eax
test ebx, ebx
jl 0x492ea3
mov eax, dword [esi + 0x210]
push 0xf000
push ebx
push 0x102c
push eax
call edi
shr eax, 0xc
dec eax
push 0
neg eax
sbb eax, eax
lea ecx, [esp + 0x18]
lea ebp, [esi + 0x1f4]
push ebx
add eax, 2
push ecx
mov ecx, ebp
mov dword [esp + 0x1c], eax
call fcn.005f4b1d
mov edx, dword [esp + 0x14]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x28], 0
je 0x492e87
mov ecx, dword [esp + 0x30]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esp + 0x10]
push 4
push eax
push 4
push 0
push edx
push ecx
call edi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x492e87
mov eax, dword [esi + 0x234]
test eax, eax
je 0x492e87
push ebx
mov ecx, ebp
call fcn.005f4bc2
test eax, eax
mov dword [esp + 0x1c], eax
je 0x492e75
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x234]
lea edx, [esp + 0x1c]
push 4
push edx
push 4
push 0
push eax
push ecx
call edi
jmp 0x492e87
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x234]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.005fa859
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x492db2
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x492d2e
Capabilities:
Delete registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x615cc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x24]
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
mov edx, dword [esi + 0x230]
mov ecx, dword [esi + 0x1d4]
cmp ebx, edx
push 0
push 0
push 0xf0
sete al
push ecx
mov dword [esp + 0x28], eax
call edi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea edx, [esp + 0x10]
neg eax
push 4
push edx
sbb eax, eax
push 4
push 0
add eax, 2
push 0x6c38c0
push ebx
mov dword [esp + 0x28], eax
call ebp
mov eax, dword [esi + 0x198]
push 0
push 0
push 0xf0
push eax
call edi
lea ecx, [esp + 0x10]
push 4
neg eax
push ecx
push 4
sbb eax, eax
push 0
add eax, 2
push 0x6c38b4
push ebx
mov dword [esp + 0x28], eax
call ebp
or ebx, 0xffffffff
mov edx, dword [esi + 0x210]
push 0
push ebx
push 0x100c
push edx
call edi
mov ebx, eax
test ebx, ebx
jl 0x492ea3
mov eax, dword [esi + 0x210]
push 0xf000
push ebx
push 0x102c
push eax
call edi
shr eax, 0xc
dec eax
push 0
neg eax
sbb eax, eax
lea ecx, [esp + 0x18]
lea ebp, [esi + 0x1f4]
push ebx
add eax, 2
push ecx
mov ecx, ebp
mov dword [esp + 0x1c], eax
call fcn.005f4b1d
mov edx, dword [esp + 0x14]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x28], 0
je 0x492e87
mov ecx, dword [esp + 0x30]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esp + 0x10]
push 4
push eax
push 4
push 0
push edx
push ecx
call edi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x492e87
mov eax, dword [esi + 0x234]
test eax, eax
je 0x492e87
push ebx
mov ecx, ebp
call fcn.005f4bc2
test eax, eax
mov dword [esp + 0x1c], eax
je 0x492e75
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x234]
lea edx, [esp + 0x1c]
push 4
push edx
push 4
push 0
push eax
push ecx
call edi
jmp 0x492e87
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x234]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.005fa859
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x492db2
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4