joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4589b0
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 0x663188
push 0
push str.SoftwareDownloadManagerScheduler
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x458af0
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 str.isLimitEnabled
push ecx
mov dword [esp + 0x24], ebx
call edi
test eax, eax
je 0x458a20
mov dword [esi + 8], 0
jmp 0x458a27
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 str.m_MBytes
push edx
mov dword [esp + 0x24], ebx
call edi
test eax, eax
je 0x458a52
mov dword [esi + 0xc], 0xc8
jmp 0x458a59
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.0056ee00
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 str.m_hours
push eax
mov dword [esp + 0x24], ebx
call edi
test eax, eax
je 0x458a9c
mov dword [esi + 0x10], 5
jmp 0x458aa3
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 str.showLimitExceededWarning
push ecx
mov dword [esp + 0x24], ebx
call edi
pop edi
pop ebx
test eax, eax
je 0x458ade
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 0x458b00
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 0x663188
push 0
push str.SoftwareDownloadManagerScheduler
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x458bea
mov ecx, dword [esp + 4]
push ebx
push edi
mov edi, dword [esi + 8]
lea eax, [esp + 0x10]
push 4
xor edx, edx
push eax
test edi, edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
push 0
push str.isLimitEnabled
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 str.m_MBytes
push edx
call edi
mov ecx, dword [ebx]
mov eax, 0x51eb851f
shl ecx, 0x14
imul ecx
sar edx, 5
mov eax, edx
lea ecx, [esi + 0x10]
shr eax, 0x1f
add edx, eax
push 4
push ecx
push 4
lea eax, [edx + edx*2]
push 0
shl eax, 4
add eax, edx
push str.m_hours
shl eax, 1
cdq
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x20]
push edx
call edi
mov ebx, dword [esi + 0x14]
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push 4
xor eax, eax
push ecx
test ebx, ebx
push 4
push 0
setne al
push str.showLimitExceededWarning
push edx
mov dword [esp + 0x28], eax
call edi
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
pop esi
add esp, 0xc
ret
Function at 0x4596d0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x5a06a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebp
mov ebp, ecx
push esi
push 0x663188
lea ecx, [esp + 0xc]
call fcn.0058872e
mov esi, dword [ebp + 4]
mov dword [esp + 0x2c], 0
test esi, esi
je 0x45973f
mov eax, esi
mov esi, dword [esi]
lea ecx, [esp + 0x18]
push 0xa
mov edx, dword [eax + 8]
push ecx
push edx
call fcn.0057215d
add esp, 0xc
lea eax, [esp + 0x18]
lea ecx, [esp + 8]
push eax
call fcn.00588a36
test esi, esi
je 0x45973f
push 0x20
lea ecx, [esp + 0xc]
call fcn.00588a5d
jmp 0x459709
mov ecx, dword [0x65ec1c]
mov dword [esp + 0xc], ecx
mov edx, dword [0x663660]
lea eax, [esp + 0xc]
push edx
push str._sScheduler
push eax
mov byte [esp + 0x38], 1
call fcn.0058148b
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x459784
mov edx, dword [esp + 0xc]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.005886c0
mov eax, dword [0x65ec1c]
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0x64]
mov edx, dword [0x663660]
push ecx
push edx
lea eax, [esp + 0x18]
push str._sSchedulerq__ld.dt
push eax
mov byte [esp + 0x3c], 2
call fcn.0058148b
mov ecx, dword [esp + 0x20]
push 0x63ea4c
push ecx
call fcn.0056dabf
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x45983a
call fcn.0056eea7
mov edx, dword [0x65ec1c]
mov eax, dword [eax]
mov dword [esp + 0x14], edx
push esi
lea ecx, [esp + 0x10]
push esi
push ecx
push 0x400
push eax
push esi
push 0x1100
mov byte [esp + 0x48], 3
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x663f38]
push edx
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.0058148b
mov eax, dword [esp + 0x1c]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 2
call fcn.005886c0
jmp 0x45985f
mov edx, dword [esp + 8]
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 1
push edx
call fcn.0056d955
push esi
call fcn.0056d8d8
add esp, 0x14
pop edi
cmp dword [ebp + 0x64], 1
jne 0x459871
mov ecx, dword [esp + 8]
push ecx
mov ecx, ebp
call fcn.004598b0
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
call fcn.005886c0
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call fcn.005886c0
mov ecx, dword [esp + 0x24]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x4598b0
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 0x663188
push 0
push str.SoftwareDownloadManagerQueue
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x459915
mov esi, dword [esp + 4]
test esi, esi
je 0x459915
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 str.Queue
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 0x459920
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 0x45996d
mov eax, dword [esi + 0x18]
push 0x14
lea ecx, [esi + 0x14]
push eax
push ecx
call fcn.00583584
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 0x45996d
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x14
dec ecx
jne 0x45995f
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 0x4599ac
mov dword [ecx], eax
jmp 0x4599af
mov dword [esi + 4], eax
mov ecx, esi
mov dword [esi + 8], eax
call fcn.004596d0
push edi
mov ecx, esi
call fcn.00459cf0
test eax, eax
je 0x4599ce
mov ecx, dword [esi + 0x64]
mov dword [eax + 0x404], ecx
push edi
lea edx, [esp + 0x28]
push str.SoftwareDownloadManager_ld
push edx
call fcn.0056d05a
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 0x663188
push 0
push edx
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x459a3c
mov edx, dword [esp + 0x50]
mov eax, dword [esi + 0x64]
lea ecx, [esp + 0x10]
push 4
push ecx
push 4
push 0
push str.queueID
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 [0x66379c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push ecx
call ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x459a69
mov edx, dword [0x66379c]
push edi
push 0x1396
push 0x111
push edx
call esi
mov eax, dword [0x6637a0]
push eax
call ebx
test eax, eax
je 0x459a89
mov ecx, dword [0x6637a0]
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 0x459eb0
Capabilities:
Delete file
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5a06f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
xor ebx, ebx
mov edi, dword [ebp + 4]
mov dword [esp + 0x18], ebp
cmp edi, ebx
je 0x459f96
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, dword [edi + 8]
mov ecx, dword [esp + 0x18]
push esi
call fcn.00459cf0
cmp eax, ebx
je 0x459efc
mov dword [eax + 0x404], ebx
push esi
lea eax, [esp + 0x28]
push str.SoftwareDownloadManager_ld
push eax
call fcn.0056d05a
add esp, 0xc
lea ecx, [esp + 0x20]
lea edx, [esp + 0x14]
lea eax, [esp + 0x24]
push ecx
push edx
push ebx
push 0xf003f
push ebx
push 0x663188
push ebx
push eax
push reloc.WSOCK32.dll_accept
call ebp
test eax, eax
jne 0x459f5f
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push 4
push ecx
push 4
push ebx
push str.queueID
push edx
mov dword [esp + 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x6637a0]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x459f88
mov edx, dword [0x6637a0]
push esi
push 0x139b
push 0x111
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [edi]
cmp edi, ebx
jne 0x459ee5
mov ebp, dword [esp + 0x18]
mov eax, dword [0x65ec1c]
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0x64]
mov edx, dword [0x663660]
push ecx
push edx
lea eax, [esp + 0x18]
push str._sScheduler_s__ld.dt
push eax
mov dword [esp + 0x64], ebx
call fcn.0058148b
mov ecx, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0x10
push ecx
call esi
mov edx, dword [ebp + 0x64]
mov eax, dword [0x663660]
push edx
push eax
lea ecx, [esp + 0x18]
push str._sSchedulerq__ld.dt
push ecx
call fcn.0058148b
mov edx, dword [esp + 0x20]
add esp, 0x10
push edx
call esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x54], 0xffffffff
call fcn.005886c0
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret

Function at 0x45d180
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x663680]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push str.dPrDtVis
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45d1bc
mov eax, dword [esp + 4]
test eax, eax
setne al
add esp, 8
ret
mov al, 1
add esp, 8
ret

Function at 0x45df80
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [0x663798]
test ecx, ecx
je 0x45dfb0
mov eax, dword [esi + 0xc]
push eax
call fcn.004ec7b0
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x45dfb0
mov edx, dword [esi + 0xc]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x45fad0
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.0056e450
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.0056e3a0
mov ebx, eax
and ebx, 0x800003ff
jns 0x45fb20
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.0056e3a0
mov ebp, eax
and ebp, 0x800003ff
jns 0x45fb56
dec ebp
or ebp, 0xfffffc00
inc ebp
push 0
push 0x40000000
push esi
push edi
call fcn.0056e3a0
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 0x45fbaa
mov edi, 0x63befc
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 0x45fc4a
cmp ebp, 0x3e7
jg 0x45fc4a
test ebp, ebp
jne 0x45fc22
cmp ebx, 0x3e7
jg 0x45fc22
test ebx, ebx
je 0x45fbfa
mov eax, dword [esp + 0x10]
mov ecx, dword [0x663fe8]
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 0x45fc72
mov ecx, dword [0x663fe4]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
push ecx
push edx
push str._d___s
push eax
call fcn.0056d05a
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
lea eax, [ebx + ebx*4]
mov ecx, dword [0x663fec]
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 0x45fc72
lea ebp, [ebp + ebp*4]
mov ecx, dword [0x663ff0]
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 str._d_s_03d___s
push eax
call fcn.0056d05a
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x45ff00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0ca0
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 + 0xc]
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 + 0x160]
lea edx, [ebp - 0x34]
push edx
push eax
call edi
mov eax, dword [esi + 0x3a8]
push 0x20
test eax, eax
je 0x45ffc7
mov ecx, dword [0x663668]
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 + 0xc]
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [0x664150]
push ecx
lea ecx, [esi + 0x144]
call fcn.00587ca4
mov edx, dword [esi + 0xc]
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 + 0x3a8]
xor eax, eax
test ecx, ecx
sete al
mov dword [esi + 0x3a8], eax
jmp 0x460034
mov ecx, dword [esi + 0x388]
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 + 0xc]
push ecx
push eax
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [0x66414c]
lea ecx, [esi + 0x144]
push eax
call fcn.00587ca4
mov ecx, dword [esi + 0xc]
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 + 0x3a8]
mov eax, dword [esi]
xor edx, edx
test ecx, ecx
sete dl
mov dword [esi + 0x3a8], edx
mov ecx, dword [eax + 0x744]
test ecx, ecx
je 0x460034
mov edx, dword [ecx]
call dword [edx]
mov edx, dword [esi + 0x3a8]
mov ecx, esi
test edx, edx
setne al
push eax
call fcn.0045d1d0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4609b0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5a0d80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov cl, byte [esp + 0x14]
mov edx, dword [0x663680]
xor eax, eax
push 4
test cl, cl
lea ecx, [esp + 0x18]
push ecx
push 4
push 0
push str.ShowDropTarget
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 0x463550
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x30]
push ebx
push esi
push edi
mov edi, dword [esp + 0x38]
push 0
push 0
push 0
mov esi, ecx
push 0
push edi
push eax
push 1
lea ecx, [esi + 0x17c]
call fcn.005827f7
mov ebx, eax
mov eax, dword [esi + 0x1b8]
test eax, eax
je 0x4635ac
lea ecx, [esp + 0x38]
lea edx, [esp + 0x3c]
push ecx
push edx
push 0
push 0
push edi
push eax
mov dword [esp + 0x50], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4635ac
cmp dword [esp + 0x3c], 2
je 0x4635d4
mov ecx, dword [esi + 0x198]
lea eax, [esp + 0xc]
push eax
push ebx
push 0x102b
push ecx
mov dword [esp + 0x2c], 0xf000
mov dword [esp + 0x28], 0x2000
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebx
add esp, 0x28
ret 8

Function at 0x4635e0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push esi
mov ebx, ecx
push edi
push 0
push 0
mov eax, dword [ebx + 0x15c]
push 0xf0
push eax
call ebp
mov esi, dword [esp + 0x1c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0x10]
push 4
neg eax
push ecx
push 4
sbb eax, eax
push 0
add eax, 2
push str.PanelView
push esi
mov dword [esp + 0x28], eax
call edi
mov edx, dword [ebx + 0x120]
push 0
push 0
push 0xf0
push edx
call ebp
neg eax
sbb eax, eax
push 4
add eax, 2
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.DonlCaptWP
push esi
call edi
or esi, 0xffffffff
mov ecx, dword [ebx + 0x198]
push 0
push esi
push 0x100c
push ecx
call ebp
mov esi, eax
test esi, esi
jl 0x4636dc
mov edx, dword [ebx + 0x198]
push 0xf000
push esi
push 0x102c
push edx
call ebp
shr eax, 0xc
dec eax
push 0
neg eax
sbb eax, eax
push esi
add eax, 2
lea ecx, [ebx + 0x17c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push eax
call fcn.0058291d
mov edx, dword [esp + 0x14]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4636d1
lea ecx, [esp + 0x10]
push 4
push ecx
push 4
push eax
push edx
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0x14]
call fcn.005886c0
jmp 0x46365c
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
Function at 0x4652c0
Capabilities:
Move file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a1410
push eax
mov eax, dword [0x663668]
mov dword fs:[0], esp
push ebp
push esi
test eax, eax
push edi
je 0x4653f8
mov eax, dword [0x6639f0]
test eax, eax
jne 0x465310
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret
mov eax, dword [0x6639e4]
test eax, eax
jne 0x46532d
call fcn.00464da0
mov dword [0x6639e0], eax
mov dword [0x6639e4], 1
mov eax, dword [0x6639e0]
test eax, eax
je 0x465358
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret
mov esi, dword [esp + 0x20]
push esi
call fcn.00464e60
mov edi, dword [esp + 0x20]
add esp, 4
test eax, eax
jne 0x4653b6
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x46539f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x4653b6
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4653da
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret
push 0
push esi
push edi
call fcn.00464ac0
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ebp, eax
test ebp, ebp
jne 0x4654c1
mov eax, dword [0x63c2c4]
test eax, eax
jne 0x4654c1
push edi
lea ecx, [esp + 0x20]
call fcn.00588780
push esi
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], ebp
call fcn.00588780
mov ecx, dword [esp + 0x1c]
push 0x3f
push ecx
call fcn.0056c5f0
add esp, 8
test eax, eax
jne 0x4654a2
mov edx, dword [esp + 0x20]
push 0x3f
push edx
call fcn.0056c5f0
add esp, 8
test eax, eax
jne 0x4654a2
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [esp + 0x20]
mov esi, eax
mov byte [esp + 0x14], 0
call fcn.005886c0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.005886c0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret
lea ecx, [esp + 0x20]
mov byte [esp + 0x14], 0
call fcn.005886c0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.005886c0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, ebp
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0xc
ret