joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a7d20
Capabilities:
Check if file exists
Create process on windows
Create process suspended
Get file attributes
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a5ad0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x470
push ebx
mov edx, dword [0x663680]
push esi
push edi
lea eax, [ebp - 0x20]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x24]
xor esi, esi
push eax
push ecx
push esi
push esi
push str.RunIEMonitor
push edx
mov dword [ebp - 4], esi
mov dword [ebp - 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4a7d79
cmp dword [ebp - 0x24], esi
je 0x4a7e82
mov eax, dword [0x65ec1c]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x27c]
push 0x104
mov ebx, 1
push ecx
push esi
mov byte [ebp - 4], bl
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x37c]
lea eax, [ebp - 0x47c]
push edx
lea ecx, [ebp - 0x178]
push eax
lea edx, [ebp - 0x1c]
push ecx
lea eax, [ebp - 0x27c]
push edx
push eax
call fcn.0056d0ac
add esp, 0x14
lea ecx, [ebp - 0x178]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x14]
push str.IEMonitor.exe
push ecx
push edx
push 0x6399cc
push eax
call fcn.0058148b
mov ecx, dword [ebp - 0x14]
add esp, 0x14
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4a7e76
mov edx, dword [0x65ec1c]
mov ecx, 0x11
xor eax, eax
lea edi, [ebp - 0x78]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x78], 0x44
mov dword [ebp - 0x4c], 0x81
mov word [ebp - 0x48], si
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
push str.__s_
push ecx
mov byte [ebp - 4], 2
call fcn.0058148b
add esp, 0xc
lea edx, [ebp - 0x34]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x78]
push edx
push eax
push esi
push esi
push 0x30
push ebx
push esi
push esi
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, esi
je 0x4a7e6b
mov edx, dword [ebp - 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x34]
push eax
call esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.005886c0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005886c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a8cd0
Capabilities:
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x5a5c76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x174
push ebp
push edi
mov edi, ecx
push 0
mov dword [esp + 0xc], edi
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [0x65ec1c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov ebp, dword [edi + 0x14]
mov dword [esp + 0x184], 0
neg ebp
sbb ebp, ebp
test ebp, ebp
je 0x4a8e52
push ebx
push esi
cmp ebp, 0xffffffff
mov ecx, ebp
jne 0x4a8d45
mov esi, dword [edi + 0x10]
xor eax, eax
test esi, esi
jbe 0x4a8d45
mov edx, dword [edi + 0xc]
mov ecx, dword [edx]
test ecx, ecx
jne 0x4a8d45
inc eax
add edx, 4
cmp eax, esi
jb 0x4a8d37
mov ebp, dword [ecx]
test ebp, ebp
jne 0x4a8d6d
mov eax, dword [ecx + 4]
mov esi, dword [edi + 0x10]
lea edx, [edi + 8]
inc eax
cmp eax, esi
jae 0x4a8d6d
mov edx, dword [edx + 4]
lea edx, [edx + eax*4]
mov ebp, dword [edx]
test ebp, ebp
jne 0x4a8d6d
inc eax
add edx, 4
cmp eax, esi
jb 0x4a8d5f
mov ebx, dword [ecx + 8]
lea esi, [ecx + 0xc]
push esi
lea ecx, [esp + 0x18]
call fcn.005887f9
lea eax, [esi + 4]
lea ecx, [esp + 0x18]
push eax
call fcn.005887f9
mov esi, dword [esi + 8]
cmp esi, 0xffffffff
mov dword [esp + 0x1c], esi
jne 0x4a8e44
mov edx, dword [esp + 0x14]
mov ecx, 0x58
xor eax, eax
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
push 0x4411
lea ecx, [esp + 0x28]
push 0x160
push ecx
push 0x80
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
lea esi, [edx + 8]
push ecx
push ebx
mov ecx, esi
call fcn.004ed290
test eax, eax
jne 0x4a8e21
mov eax, dword [esi + 4]
test eax, eax
jne 0x4a8dfa
mov eax, dword [esi + 8]
push 1
push eax
mov ecx, esi
call fcn.004a96f0
mov ecx, esi
call fcn.004a9760
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ebx
mov dword [eax + 4], ecx
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x20]
mov edx, dword [edx + ecx*4]
mov dword [eax], edx
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x20]
mov dword [ecx + edx*4], eax
lea esi, [eax + 0xc]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.005887f9
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 4]
call fcn.005887f9
mov edx, dword [esp + 0x1c]
mov dword [esi + 8], edx
mov edi, dword [esp + 0x10]
test ebp, ebp
jne 0x4a8d24
pop esi
pop ebx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov edi, dword [edi + 4]
test edi, edi
je 0x4a8e72
push 0
push 0x1446
push 0x111
push edi
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x10]
mov dword [esp + 0x184], 1
call fcn.005886c0
lea ecx, [esp + 0xc]
mov dword [esp + 0x184], 0xffffffff
call fcn.005886c0
mov ecx, dword [esp + 0x17c]
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x180
ret
Function at 0x4aa920
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a5e69
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x5c7708
lea ebx, [esi + 8]
push 0xffffffffffffffff
push 0
mov ecx, ebx
mov dword [esp + 0x24], 2
call fcn.00458660
lea edi, [esi + 0x1c]
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.00458660
add esi, 0x30
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.00458660
mov dword [esp + 0x10], esi
mov dword [esi], method.CCommandLineInfo.virtual_0
mov esi, dword [esi + 4]
mov byte [esp + 0x1c], 3
test esi, esi
je 0x4aa998
push esi
call fcn.00584a85
add esp, 4
mov dword [esp + 0x10], edi
mov dword [edi], method.CCommandLineInfo.virtual_0
mov edi, dword [edi + 4]
mov byte [esp + 0x1c], 4
test edi, edi
je 0x4aa9b7
push edi
call fcn.00584a85
add esp, 4
mov dword [esp + 0x10], ebx
mov dword [ebx], method.CCommandLineInfo.virtual_0
mov ebx, dword [ebx + 4]
mov dword [esp + 0x1c], 5
test ebx, ebx
je 0x4aa9d9
push ebx
call fcn.00584a85
add esp, 4
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4aad90
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5a5e90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x65ec1c]
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0
push ecx
mov ecx, edi
call fcn.004aaeb0
mov edx, dword [0x65ec1c]
mov dword [esp + 8], edx
lea eax, [esp + 0x14]
mov byte [esp + 0x28], 1
push eax
call fcn.0056dcfc
mov ecx, dword [esp + 0x18]
add esp, 4
lea edx, [esp + 8]
push ecx
push str._ld_n
push edx
call fcn.0058148b
mov eax, dword [esp + 0x18]
add esp, 0xc
push 0
push 0
push 2
push 0
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4aae49
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.005886c0
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], esi
call fcn.005886c0
pop edi
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
mov eax, dword [esp + 8]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea edx, [esp + 0x14]
mov ecx, dword [eax - 8]
push 0
push edx
push ecx
push eax
push esi
call ebp
lea eax, [esp + 0x14]
push 0
push eax
add edi, 0x44
push 0x1684
push edi
push esi
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.005886c0
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call fcn.005886c0
mov ecx, dword [esp + 0x24]
pop ebp
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x4ac490
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 8
push ebx
mov eax, dword [esp + 0x10]
push ebp
push esi
push edi
push 0
push 0
push 3
push 0
push 1
push closesocket
mov dword [esp + 0x2c], ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4ac5ac
lea ecx, [esp + 0x1c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x4ac4f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4ac4f0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4
mov eax, dword [esp + 0x1c]
test eax, eax
jbe 0x4ac50b
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4
test ebp, ebp
jne 0x4ac522
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4
lea edi, [ebp + 1]
push edi
call fcn.00584a5c
mov esi, eax
add esp, 4
test esi, esi
jne 0x4ac547
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x14]
push eax
push ebp
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x4ac5a3
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x4ac5a3
mov ecx, dword [esp + 0x14]
push eax
push esi
call fcn.004ab8a0
push esi
call fcn.00584a85
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
push esi
call fcn.00584a85
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4
Function at 0x4ad600
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5a6270
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x65ec1c]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], ebp
call fcn.00588849
mov edi, dword [esi + 8]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x1c], ecx
push 0xffffffffffffffff
lea edx, [edi + 1]
mov ecx, esi
push edx
call fcn.004ade80
mov ecx, dword [esi + 4]
lea eax, [edi + edi*2]
lea edx, [esp + 0x14]
lea esi, [ecx + eax*4]
push edx
mov ecx, esi
call fcn.005887f9
mov eax, dword [esp + 0x18]
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x1c]
mov dword [esi + 8], ecx
mov edx, dword [0x65ec1c]
mov dword [esp + 0x30], edx
cmp ebp, 1
mov byte [esp + 0x28], 1
jne 0x4ad69b
mov eax, 0x639014
jmp 0x4ad6c1
cmp ebp, 4
jne 0x4ad6a7
mov eax, 0x639000
jmp 0x4ad6c1
cmp ebp, 2
jne 0x4ad6b3
mov eax, 0x639008
jmp 0x4ad6c1
test ebp, ebp
mov eax, 0x638ff0
je 0x4ad6c1
mov eax, 0x638ff8
push ebx
push eax
lea eax, [esp + 0x38]
push str.SoftwareDownloadManagerMCN_s_s
push eax
call fcn.0058148b
add esp, 0x10
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x34]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0x663188
push 0
push eax
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
jne 0x4ad72c
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push 4
push ecx
push 4
push eax
push str.number
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.005886c0
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.005886c0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x4ad760
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
push 7
push 0x639014
mov ebx, ecx
push esi
call fcn.0056e7e0
add esp, 0xc
test eax, eax
jne 0x4ad78b
mov dword [esp + 0x10], 1
jmp 0x4ad7e4
push 7
push 0x639000
push esi
call fcn.0056e7e0
add esp, 0xc
test eax, eax
jne 0x4ad7a9
mov dword [esp + 0x10], 4
jmp 0x4ad7e4
push 8
push 0x639008
push esi
call fcn.0056e7e0
add esp, 0xc
test eax, eax
jne 0x4ad7c7
mov dword [esp + 0x10], 2
jmp 0x4ad7e4
push 6
push 0x638ff8
push esi
call fcn.0056e7e0
add esp, 0xc
neg eax
sbb eax, eax
and al, 0xfd
add eax, 3
mov dword [esp + 0x10], eax
push 0x2f
push esi
call fcn.0056c5f0
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4ad8f8
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + esi - 2]
cmp ebp, eax
jae 0x4ad8f8
mov eax, dword [ebx + 8]
add ebp, 2
xor esi, esi
test eax, eax
jle 0x4ad8af
xor edi, edi
mov ecx, dword [ebx + 4]
push ebp
mov eax, dword [edi + ecx]
push eax
call fcn.0056dad2
add esp, 8
test eax, eax
jne 0x4ad844
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x10]
cmp eax, dword [edi + edx + 4]
je 0x4ad851
mov eax, dword [ebx + 8]
inc esi
add edi, 0xc
cmp esi, eax
jl 0x4ad823
jmp 0x4ad8af
mov edi, dword [ebx + 8]
mov ebp, dword [ebx + 4]
lea eax, [esi + esi*2]
sub edi, esi
shl eax, 2
dec edi
mov dword [esp + 0x18], eax
add ebp, eax
mov dword [esp + 0x10], 0
mov ecx, ebp
call fcn.0049d110
mov eax, dword [esp + 0x10]
add ebp, 0xc
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x10], eax
jne 0x4ad86e
test edi, edi
je 0x4ad8ac
mov eax, dword [ebx + 4]
lea edx, [edi + edi*2]
shl edx, 2
lea ecx, [esi + esi*2 + 3]
push edx
lea edx, [eax + ecx*4]
mov ecx, dword [esp + 0x1c]
add ecx, eax
push edx
push ecx
call fcn.0056d4c0
add esp, 0xc
dec dword [ebx + 8]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0xf003f
push 0
push 0x663188
push 0
push str.SoftwareDownloadManagerMCN
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4ad8f8
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x4af900
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5a6508
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov edx, dword [0x663680]
lea eax, [esp + 4]
lea ecx, [esp]
push eax
push ecx
push 0
push 0
push str.bShTtRIT
push edx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4af999
mov ecx, dword [0x663680]
lea eax, [esp]
push 4
push eax
push 4
push 0
push str.bShTtRIT
push ecx
mov dword [esp + 0x18], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4af999
push eax
lea ecx, [esp + 0xc]
call fcn.004eb630
lea ecx, [esp + 8]
mov dword [esp + 0x6c], 0
call fcn.00584656
lea ecx, [esp + 8]
mov dword [esp + 0x6c], 0xffffffff
call fcn.00584297
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret
Function at 0x4b2160
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x663680]
lea eax, [esp]
push esi
lea ecx, [esp + 8]
xor esi, esi
push eax
push ecx
push esi
push esi
push str.FSSettingsChecked
push edx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov eax, dword [esp + 8]
je 0x4b2196
mov eax, esi
pop esi
add esp, 8
ret

Function at 0x4b50b0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5a7180
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x65ec1c]
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
push ecx
lea ecx, [esi + 0x104]
call fcn.0058596e
mov edx, dword [esp + 0xc]
mov ecx, dword [esi + 0x144]
push edx
call fcn.00466e30
mov eax, dword [0x65ec1c]
mov dword [esp + 8], eax
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
push ecx
lea ecx, [esi + 0xc8]
call fcn.0058596e
mov edx, dword [esp + 8]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [0x663680]
push 1
push eax
push str.Extensions
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 8]
mov eax, dword [esi + 0x148]
push ecx
push eax
call fcn.0056d275
add esp, 8
test eax, eax
je 0x4b5160
mov byte [esi + 0x14c], 1
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call fcn.005886c0
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.005886c0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4b5fc0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x220]
push 0
push 1
push 0xf1
push eax
call edi
mov eax, dword [0x663680]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
push str.LaunchOnStart
push eax
mov dword [esp + 0x28], 4
call ebp
test eax, eax
jne 0x4b6033
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x420
mov ecx, esi
setne bl
call fcn.00587abb
mov ecx, dword [eax + 0x1c]
push 0
push ebx
push 0xf1
push ecx
call edi
mov ecx, dword [0x663680]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0
push str.MonitorUrlClipboard
push ecx
mov dword [esp + 0x28], 4
call ebp
test eax, eax
jne 0x4b6080
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x425
mov ecx, esi
setne bl
call fcn.00587abb
mov edx, dword [eax + 0x1c]
push 0
push ebx
push 0xf1
push edx
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x4b7030
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x2d4]
push 0
push 0
push 0xf1
push eax
call edi
mov ecx, dword [esi + 0x98]
call fcn.0040e590
test eax, eax
je 0x4b706b
mov ecx, dword [esi + 0x98]
call fcn.0040e7f0
mov eax, dword [0x663680]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
push str.LaunchOnStart
push eax
mov dword [esp + 0x28], 4
call ebp
test eax, eax
jne 0x4b70bd
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x420
mov ecx, esi
setne bl
call fcn.00587abb
mov ecx, dword [eax + 0x1c]
push 0
push ebx
push 0xf1
push ecx
call edi
mov ecx, dword [0x663680]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0
push str.MonitorUrlClipboard
push ecx
mov dword [esp + 0x28], 4
call ebp
test eax, eax
jne 0x4b710a
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x425
mov ecx, esi
setne bl
call fcn.00587abb
mov edx, dword [eax + 0x1c]
push 0
push ebx
push 0xf1
push edx
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x4baf50
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5a7ca8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x65ec1c]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0x220]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
push ebx
push ebx
push 0x147
push ecx
mov dword [esp + 0x30], ebx
call ebp
lea edx, [esp + 0x10]
lea ecx, [esi + 0x204]
push edx
push eax
call fcn.005904a0
mov eax, dword [esi + 0x8c]
xor edi, edi
cmp dword [eax + 8], ebx
jle 0x4bafdd
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + ebx + 4]
push eax
push ecx
call fcn.0056dad2
add esp, 8
test eax, eax
je 0x4bb077
mov eax, dword [esi + 0x8c]
inc edi
add ebx, 0x20
cmp edi, dword [eax + 8]
jl 0x4bafb1
mov eax, dword [esi + 0x90]
test eax, eax
jne 0x4bafed
lea eax, [esi + 0x94]
mov edi, dword [esi + 0x90]
test edi, edi
jne 0x4baffd
lea edi, [esi + 0x94]
push eax
call fcn.0056ca2e
mov edx, dword [0x663680]
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0
push 0
push str.LocalPathW
push edx
call edi
mov eax, dword [esi + 0x1e4]
push 0
push 0
push 0xf0
push eax
call ebp
mov edx, dword [0x663680]
lea ecx, [esp + 0x14]
push 4
push ecx
push 4
push 0
push str.RememberLastSave
push edx
mov dword [esp + 0x2c], eax
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.005886c0
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
mov edx, dword [esi + 0x8c]
shl edi, 5
mov eax, dword [edx + 4]
mov edx, dword [esi + 0x90]
push edx
lea ecx, [eax + edi + 0x10]
call fcn.00402e10
mov eax, dword [esi + 0x1e4]
push 0
push 0
push 0xf0
push eax
call ebp
mov edx, dword [esi + 0x8c]
test eax, eax
mov eax, dword [edx + 4]
setne cl
mov byte [eax + edi + 0x1c], cl
mov ecx, dword [esi + 0x8c]
call fcn.0047c4f0
jmp 0x4bb053
Function at 0x4bbfe0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5a7ea8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x65ec1c]
push esi
mov esi, ecx
mov dword [esp + 8], eax
mov ecx, dword [esi + 0x120]
push 0
push 0
push 0x147
push ecx
mov dword [esp + 0x24], 0
call dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esp + 8]
lea ecx, [esi + 0x104]
push edx
push eax
call fcn.005904a0
mov esi, dword [0x663d4c]
mov eax, dword [esp + 8]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4bc061
test cl, cl
je 0x4bc05d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4bc061
add eax, 2
add esi, 2
test cl, cl
jne 0x4bc03d
xor eax, eax
jmp 0x4bc066
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4bc090
mov ecx, dword [0x663680]
mov dword [esp + 4], eax
lea eax, [esp + 4]
push 4
push eax
push 4
push 0
push str.RememberDuplLinksA
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x4bc154
mov eax, dword [0x663680]
push edi
lea edx, [esp + 8]
push 4
push edx
push 4
push 0
push str.RememberDuplLinksA
push eax
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [esp + 0xc]
mov esi, dword [0x663d48]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4bc0e5
test cl, cl
je 0x4bc0e1
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4bc0e5
add eax, 2
add esi, 2
test cl, cl
jne 0x4bc0c1
xor eax, eax
jmp 0x4bc0ea
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4bc0f8
mov dword [esp + 8], 1
jmp 0x4bc137
mov esi, dword [0x663d44]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4bc124
test cl, cl
je 0x4bc120
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4bc124
add eax, 2
add esi, 2
test cl, cl
jne 0x4bc100
xor eax, eax
jmp 0x4bc129
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
test eax, eax
setne cl
add ecx, 2
mov dword [esp + 8], ecx
mov eax, dword [0x663680]
lea edx, [esp + 8]
push 4
push edx
push 4
push 0
push str.DuplLinksA
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.005886c0
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret