joyce8/EMBER2024-capa huggingface dataset:
Function at 0x488110
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 0x55dce0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x470
push ebx
mov edx, dword [0x5c74b0]
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 0x488169
cmp dword [ebp - 0x24], esi
je 0x488272
mov eax, dword [0x5c2a74]
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.0052776a
add esp, 0x14
lea ecx, [ebp - 0x178]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x14]
push str.IEMonitor.exe
push ecx
push edx
push 0x5a47ec
push eax
call fcn.0053afda
mov ecx, dword [ebp - 0x14]
add esp, 0x14
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x488266
mov edx, dword [0x5c2a74]
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.0053afda
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 0x48825b
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.005421be
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005421be
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4890c0
Capabilities:
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x55de86
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 [0x5c2a74]
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 0x489242
push ebx
push esi
cmp ebp, 0xffffffff
mov ecx, ebp
jne 0x489135
mov esi, dword [edi + 0x10]
xor eax, eax
test esi, esi
jbe 0x489135
mov edx, dword [edi + 0xc]
mov ecx, dword [edx]
test ecx, ecx
jne 0x489135
inc eax
add edx, 4
cmp eax, esi
jb 0x489127
mov ebp, dword [ecx]
test ebp, ebp
jne 0x48915d
mov eax, dword [ecx + 4]
mov esi, dword [edi + 0x10]
lea edx, [edi + 8]
inc eax
cmp eax, esi
jae 0x48915d
mov edx, dword [edx + 4]
lea edx, [edx + eax*4]
mov ebp, dword [edx]
test ebp, ebp
jne 0x48915d
inc eax
add edx, 4
cmp eax, esi
jb 0x48914f
mov ebx, dword [ecx + 8]
lea esi, [ecx + 0xc]
push esi
lea ecx, [esp + 0x18]
call fcn.005422f7
lea eax, [esi + 4]
lea ecx, [esp + 0x18]
push eax
call fcn.005422f7
mov esi, dword [esi + 8]
cmp esi, 0xffffffff
mov dword [esp + 0x1c], esi
jne 0x489234
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.004c83c0
test eax, eax
jne 0x489211
mov eax, dword [esi + 4]
test eax, eax
jne 0x4891ea
mov eax, dword [esi + 8]
push 1
push eax
mov ecx, esi
call fcn.00445550
mov ecx, esi
call fcn.00489b30
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.005422f7
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 4]
call fcn.005422f7
mov edx, dword [esp + 0x1c]
mov dword [esi + 8], edx
mov edi, dword [esp + 0x10]
test ebp, ebp
jne 0x489114
pop esi
pop ebx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov edi, dword [edi + 4]
test edi, edi
je 0x489262
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.005421be
lea ecx, [esp + 0xc]
mov dword [esp + 0x184], 0xffffffff
call fcn.005421be
mov ecx, dword [esp + 0x17c]
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x180
ret
Function at 0x48ac80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x55e079
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], 0x56d490
lea ebx, [esi + 8]
push 0xffffffffffffffff
push 0
mov ecx, ebx
mov dword [esp + 0x24], 2
call fcn.004452b0
lea edi, [esi + 0x1c]
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.004452b0
add esi, 0x30
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.004452b0
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 0x48acf8
push esi
call fcn.00542796
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 0x48ad17
push edi
call fcn.00542796
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 0x48ad39
push ebx
call fcn.00542796
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 0x48b0f0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x55e0a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x5c2a74]
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.0048b210
mov edx, dword [0x5c2a74]
mov dword [esp + 8], edx
lea eax, [esp + 0x14]
mov byte [esp + 0x28], 1
push eax
call fcn.005283b0
mov ecx, dword [esp + 0x18]
add esp, 4
lea edx, [esp + 8]
push ecx
push str._ld_n
push edx
call fcn.0053afda
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 0x48b1a9
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.005421be
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], esi
call fcn.005421be
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.005421be
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call fcn.005421be
mov ecx, dword [esp + 0x24]
pop ebp
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x48c9c0
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 connect
mov dword [esp + 0x2c], ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x48cadc
lea ecx, [esp + 0x1c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x48ca20
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x48ca20
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 0x48ca3b
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 0x48ca52
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.0054276d
mov esi, eax
add esp, 4
test esi, esi
jne 0x48ca77
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 0x48cad3
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x48cad3
mov ecx, dword [esp + 0x14]
push eax
push esi
call fcn.0048be00
push esi
call fcn.00542796
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
push esi
call fcn.00542796
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4
Function at 0x48db10
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x55e480
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x5c2a74]
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.00542347
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.0048e360
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.005422f7
mov eax, dword [esp + 0x18]
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x1c]
mov dword [esi + 8], ecx
mov edx, dword [0x5c2a74]
mov dword [esp + 0x30], edx
test ebp, ebp
mov byte [esp + 0x28], 1
jne 0x48dbaa
mov eax, str.ftp:__
jmp 0x48dbc5
cmp ebp, 1
jne 0x48dbb6
mov eax, str.http:__
jmp 0x48dbc5
cmp ebp, 3
mov eax, str.mms:__
je 0x48dbc5
mov eax, str.https:__
push ebx
push eax
lea eax, [esp + 0x38]
push str.SoftwareDownloadManagerMCN_s_s
push eax
call fcn.0053afda
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 0x5c6ff0
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 0x48dc30
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.005421be
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.005421be
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x48dc60
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
push edi
push 7
push str.http:__
mov esi, ecx
push ebx
call fcn.00528c80
add esp, 0xc
test eax, eax
jne 0x48dc8b
mov dword [esp + 0x10], 1
jmp 0x48dcc6
push 8
push str.https:__
push ebx
call fcn.00528c80
add esp, 0xc
test eax, eax
jne 0x48dca9
mov dword [esp + 0x10], 2
jmp 0x48dcc6
push 6
push str.mms:__
push ebx
call fcn.00528c80
add esp, 0xc
neg eax
sbb eax, eax
and al, 0xfd
add eax, 3
mov dword [esp + 0x10], eax
push 0x2f
push ebx
call fcn.00526d60
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x48ddda
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + ebx - 2]
cmp ebp, eax
jae 0x48ddda
mov eax, dword [esi + 8]
add ebp, 2
xor edi, edi
test eax, eax
jle 0x48dd95
xor ebx, ebx
mov ecx, dword [esi + 4]
push ebp
mov eax, dword [ebx + ecx]
push eax
call fcn.00526f6c
add esp, 8
test eax, eax
jne 0x48dd26
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
cmp eax, dword [ebx + edx + 4]
je 0x48dd33
mov eax, dword [esi + 8]
inc edi
add ebx, 0xc
cmp edi, eax
jl 0x48dd05
jmp 0x48dd91
mov ebx, dword [esi + 8]
mov eax, dword [esi + 4]
lea ebp, [edi + edi*2]
sub ebx, edi
shl ebp, 2
dec ebx
mov dword [esp + 0x18], ebp
add ebp, eax
mov dword [esp + 0x10], 0
mov ecx, ebp
call fcn.00407720
mov eax, dword [esp + 0x10]
add ebp, 0xc
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x10], eax
jne 0x48dd50
test ebx, ebx
je 0x48dd8e
mov eax, dword [esi + 4]
lea edx, [ebx + ebx*2]
shl edx, 2
lea ecx, [edi + edi*2 + 3]
push edx
lea edx, [eax + ecx*4]
mov ecx, dword [esp + 0x1c]
add ecx, eax
push edx
push ecx
call fcn.00527c60
add esp, 0xc
dec dword [esi + 8]
mov ebx, dword [esp + 0x24]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0xf003f
push 0
push 0x5c6ff0
push 0
push str.SoftwareDownloadManagerMCN
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x48ddda
mov ecx, dword [esp + 0x14]
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4

Function at 0x48f810
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x55e678
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov edx, dword [0x5c74b0]
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 0x48f8a9
mov ecx, dword [0x5c74b0]
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 0x48f8a9
push eax
lea ecx, [esp + 0xc]
call fcn.004c6aa0
lea ecx, [esp + 8]
mov dword [esp + 0x6c], 0
call fcn.0053e1a5
lea ecx, [esp + 8]
mov dword [esp + 0x6c], 0xffffffff
call fcn.0053dde6
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret
Function at 0x491700
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x5c74b0]
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 0x491736
mov eax, esi
pop esi
add esp, 8
ret

Function at 0x494c55
Capabilities:
Set registry value

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
xor ebp, ebp
mov eax, dword [esi + 0x98]
cmp dword [eax + 0xc], ebp
jle 0x494cd9
push edi
mov dword [esp + 0x10], ebp
mov edx, dword [esi + 0x298]
lea ecx, [esp + 0x18]
push ecx
push 0xffffffffffffffff
push 0x100d
push edx
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], ebp
call ebx
test eax, eax
jl 0x494cbf
mov ecx, dword [esi + 0x98]
mov edx, dword [esp + 0x10]
push 0xf000
push eax
mov edi, dword [ecx + 8]
push 0x102c
add edi, edx
mov edx, dword [esi + 0x298]
push edx
call ebx
shr eax, 0xc
dec eax
mov dword [edi + 8], eax
mov eax, dword [esi + 0x98]
mov edx, dword [esp + 0x10]
inc ebp
add edx, 0xc
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x10], edx
cmp ebp, ecx
jl 0x494c70
pop edi
mov ecx, dword [esi + 0x98]
add ecx, 4
call fcn.00405cb0
mov ecx, dword [esi + 0x98]
call fcn.0040d810
mov ecx, dword [esi + 0x25c]
push 0
push 0
push 0xf0
push ecx
call ebx
lea edx, [esp + 0x10]
push 4
push edx
mov dword [esp + 0x18], eax
mov eax, dword [0x5c74b0]
push 4
push 0
push str.FindApps
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop esi
pop ebp
pop ebx
add esp, 0x20
ret

Function at 0x495010
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 [0x5c74b0]
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 0x495083
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x420
mov ecx, esi
setne bl
call fcn.00541ad1
mov ecx, dword [eax + 0x1c]
push 0
push ebx
push 0xf1
push ecx
call edi
mov ecx, dword [0x5c74b0]
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 0x4950d0
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x425
mov ecx, esi
setne bl
call fcn.00541ad1
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 0x495bb0
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.0040b4e0
test eax, eax
je 0x495beb
mov ecx, dword [esi + 0x98]
call fcn.0040b740
mov eax, dword [0x5c74b0]
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 0x495c3d
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x420
mov ecx, esi
setne bl
call fcn.00541ad1
mov ecx, dword [eax + 0x1c]
push 0
push ebx
push 0xf1
push ecx
call edi
mov ecx, dword [0x5c74b0]
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 0x495c8a
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x425
mov ecx, esi
setne bl
call fcn.00541ad1
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 0x499100
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x55fc48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x5c2a74]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0x218]
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 + 0x1fc]
push edx
push eax
call fcn.0054a055
mov eax, dword [esi + 0x8c]
xor edi, edi
mov ecx, dword [eax + 8]
cmp ecx, ebx
jle 0x49918f
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + ebx + 4]
push eax
push ecx
call fcn.00526f6c
add esp, 8
test eax, eax
je 0x49920c
mov eax, dword [esi + 0x8c]
inc edi
add ebx, 0x14
cmp edi, dword [eax + 8]
jl 0x499163
mov edx, dword [esi + 0x90]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
not ecx
push ecx
mov ecx, dword [0x5c74b0]
push edx
push 1
push eax
push str.LocalPath
push ecx
call edi
mov edx, dword [esi + 0x1dc]
push 0
push 0
push 0xf0
push edx
call ebp
mov ecx, dword [0x5c74b0]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push 4
push eax
push 4
push 0
push str.RememberLastSave
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.005421be
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
mov eax, dword [esi + 0x8c]
mov edx, dword [esi + 0x90]
lea edi, [edi + edi*4]
push edx
mov ecx, dword [eax + 4]
push 0x5a3e24
shl edi, 2
lea edx, [ecx + edi + 8]
push edx
call fcn.0053afda
mov eax, dword [esi + 0x1dc]
add esp, 0xc
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 + 0x10], cl
mov ecx, dword [esi + 0x8c]
call fcn.004615a0
jmp 0x4991e8
Function at 0x499ffd
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x55fe28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x5c2a74]
push esi
mov esi, ecx
mov dword [esp + 8], eax
mov ecx, dword [esi + 0xa8]
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 + 0x8c]
push edx
push eax
call fcn.0054a055
mov esi, dword [0x5c7994]
mov eax, dword [esp + 8]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x49a061
test cl, cl
je 0x49a05d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x49a061
add eax, 2
add esi, 2
test cl, cl
jne 0x49a03d
xor eax, eax
jmp 0x49a066
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x49a090
mov ecx, dword [0x5c74b0]
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 0x49a154
mov eax, dword [0x5c74b0]
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 [0x5c7990]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x49a0e5
test cl, cl
je 0x49a0e1
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x49a0e5
add eax, 2
add esi, 2
test cl, cl
jne 0x49a0c1
xor eax, eax
jmp 0x49a0ea
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x49a0f8
mov dword [esp + 8], 1
jmp 0x49a137
mov esi, dword [0x5c798c]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x49a124
test cl, cl
je 0x49a120
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x49a124
add eax, 2
add esi, 2
test cl, cl
jne 0x49a100
xor eax, eax
jmp 0x49a129
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 [0x5c74b0]
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.005421be
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret