joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4112c0
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63aec0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x74f8a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
push 0
push 0x2000000
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x411353
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 0x18]
push eax
push 0
lea ecx, [ebp - 0x20]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x411359
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4116b0
Capabilities:
Shutdown system
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x63aeeb
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x74f8a0]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
cmp dword [esp + 0x118], 0
je 0x411716
push 0
lea ecx, [esp + 0x1c]
call fcn.00516450
mov dword [esp + 0x110], 0
lea ecx, [esp + 0x18]
call fcn.005ee341
mov dword [esp + 0x110], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00410160
lea eax, [esp + 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x411768
lea ecx, [esp + 0xc]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [esp + 4]
push 0
push 0
push 0
lea edx, [esp + 0x14]
push edx
push 0
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x411e70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x63afe6
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x74f8a0]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push esi
push edi
mov eax, dword [0x74f8a0]
xor eax, esp
push eax
lea eax, [esp + 0x254]
mov dword fs:[0], eax
lea eax, [esp + 0x48]
push eax
call fcn.0040ff20
add esp, 4
test eax, eax
je 0x411fec
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebx
mov word [esp + 0x34], cx
mov dword [esp + 0x25c], ebx
lea eax, [esp + 0x48]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x411ee0
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x46], 0x5c
mov eax, 0x670c80
je 0x411f01
mov eax, 0x670988
push ebx
push eax
lea edx, [esp + 0x50]
push edx
push str._s_sGoogleChromeUser_DataDefaultExtensions
lea ecx, [esp + 0x40]
call fcn.00402320
mov eax, dword [esp + 0x30]
cmp eax, ebx
jne 0x411f22
lea eax, [esp + 0x34]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call edi
cmp eax, 0xffffffff
je 0x411fd8
mov dword [esp + 0x10], str.lcdlanlaneooailnebnhamiiieebikid
mov dword [esp + 0x14], str.epgilldoipfbdlneomlmegekaoonchcj
mov dword [esp + 0x18], str.ijagoebbhgpklaaliglekagdjpigbcgm
mov dword [esp + 0x1c], str.lggbkhcdojaliofkffiehndnmppnoonl
mov dword [esp + 0x20], str.lgbipmmmnjifkiiikaffhceflifbmhib
mov dword [esp + 0x24], str.djanbhnjkgmpfcackklijlijgkcenjjf
mov dword [esp + 0x28], str.jhligenjelcnhopinaalpnbgomgillni
mov dword [esp + 0x2c], str.pekpblgmdlmdpmleogokpeahkhginkab
xor esi, esi
xor eax, eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], ebx
mov word [esp + 0x40], ax
mov byte [esp + 0x25c], 1
mov eax, dword [esp + 0x30]
cmp eax, ebx
jne 0x411f99
lea eax, [esp + 0x34]
mov ecx, dword [esp + esi*4 + 0x10]
push ebx
push ecx
push eax
push 0x672c18
lea ecx, [esp + 0x4c]
call fcn.00402320
mov eax, dword [esp + 0x3c]
cmp eax, ebx
jne 0x411fba
lea eax, [esp + 0x40]
push eax
call edi
cmp eax, 0xffffffff
jne 0x412015
mov byte [esp + 0x25c], bl
lea ecx, [esp + 0x3c]
call fcn.00401210
inc esi
cmp esi, 8
jl 0x411f76
mov dword [esp + 0x25c], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.00401210
xor eax, eax
mov ecx, dword [esp + 0x254]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.0061807e
add esp, 0x250
ret
inc esi
mov byte [esp + 0x25c], bl
lea ecx, [esp + 0x3c]
call fcn.00401210
mov dword [esp + 0x25c], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.00401210
mov eax, esi
jmp 0x411fee
Function at 0x412300
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x63b07b
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x74f8a0]
xor eax, esp
mov dword [esp + 0x474], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x74f8a0]
xor eax, esp
push eax
lea eax, [esp + 0x48c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x49c]
lea ecx, [esp + 0x280]
push ecx
mov dword [esp + 0x24], eax
call fcn.00560cc0
add esp, 4
test eax, eax
je 0x412506
xor ebx, ebx
lea eax, [esp + 0x280]
mov byte [esp + 0x17], bl
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x412370
sub eax, edx
xor edx, edx
sar eax, 1
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov word [esp + 0x28], dx
mov dword [esp + 0x494], ebx
cmp word [esp + eax*2 + 0x27e], 0x5c
lea edi, [esp + eax*2 + 0x27e]
mov eax, 0x670c80
je 0x4123b1
mov eax, 0x670988
push ebx
push eax
lea eax, [esp + 0x288]
push eax
push str._s_sMozillaFirefoxProfiles
lea ecx, [esp + 0x34]
call fcn.00402320
mov eax, dword [esp + 0x24]
cmp eax, ebx
jne 0x4123d5
lea eax, [esp + 0x28]
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
cmp esi, 0xffffffff
je 0x4124f2
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea ebx, [ebx]
mov ecx, 0x672c28
lea eax, [esp + 0x5c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x412436
cmp dx, bx
je 0x412432
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x412436
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x412410
xor eax, eax
jmp 0x41243b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4124d5
mov ecx, 0x672c20
lea eax, [esp + 0x5c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x412476
cmp dx, bx
je 0x412472
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x412476
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x412450
xor eax, eax
jmp 0x41247b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4124d5
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x4124d5
cmp word [edi], 0x5c
mov eax, 0x670c80
je 0x4124a3
mov eax, 0x670988
push ebx
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x28]
push eax
lea edx, [esp + 0x28c]
push edx
push str._s_sMozillaFirefoxProfiles_s_
call fcn.00411a70
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x17], 1
lea edx, [esp + 0x30]
push edx
push esi
call ebp
test eax, eax
jne 0x412400
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [esp + 0x17], bl
jne 0x41250a
mov dword [esp + 0x494], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.00401210
xor eax, eax
jmp 0x412523
mov dword [esp + 0x494], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.00401210
mov eax, 1
mov ecx, dword [esp + 0x48c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x474]
xor ecx, esp
call fcn.0061807e
add esp, 0x484
ret
Function at 0x412550
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x63b0c0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x74f8a0]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
mov eax, dword [0x74f8a0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
xor ebx, ebx
xor eax, eax
mov dword [esp + 8], ebx
mov dword [esp + 0x10], ebx
mov word [esp + 0xc], ax
mov dword [esp + 0x2c], ebx
lea ecx, [esp + 8]
push ecx
call fcn.00412300
add esp, 4
test eax, eax
je 0x41262b
xor edx, edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov word [esp + 0x18], dx
mov byte [esp + 0x2c], 1
mov eax, dword [esp + 8]
cmp eax, ebx
jne 0x4125c9
lea eax, [esp + 0xc]
push ebx
push eax
push str._sextensionsmozilla_cc3_internetdownloadmanager.com.xpi
lea ecx, [esp + 0x20]
call fcn.004021b0
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x4125e5
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41261e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x41261e
mov byte [esp + 0x2c], bl
lea ecx, [esp + 0x14]
call fcn.00401210
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 8]
call fcn.00401210
xor eax, eax
jmp 0x412641
mov byte [esp + 0x2c], bl
lea ecx, [esp + 0x14]
call fcn.00401210
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 8]
call fcn.00401210
mov eax, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0061807e
add esp, 0x28
ret
Function at 0x412660
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x63b0fb
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x74f8a0]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
push esi
push edi
mov eax, dword [0x74f8a0]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xb0]
xor edi, edi
xor eax, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], edi
mov word [esp + 0x14], ax
mov dword [esp + 0xa8], edi
mov esi, dword [esp + 0xb4]
cmp esi, 0x34
jle 0x4126db
mov eax, dword [0x754c5c]
cmp eax, edi
jne 0x4126d3
mov eax, 0x754c60
push edi
push str.idmmzcc3.xpi
jmp 0x41270a
cmp esi, 0x1a
jle 0x4126f6
mov eax, dword [0x754c5c]
cmp eax, edi
jne 0x4126ee
mov eax, 0x754c60
push edi
push str.idmmzcc2.xpi
jmp 0x41270a
mov eax, dword [0x754c3c]
cmp eax, edi
jne 0x412704
mov eax, 0x754c40
push edi
push str.idmmzcc5
push eax
push 0x66fde0
lea ecx, [esp + 0x20]
call fcn.00402320
cmp esi, 0x1a
mov ecx, 0x7493c0
jg 0x412728
mov ecx, 0x749370
lea edx, [esp + 0x1c]
lea esp, [esp]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, di
jne 0x412730
lea ecx, [esp + 0x1c]
push ecx
call fcn.0040fca0
add esp, 4
cmp esi, 0x34
jle 0x41276e
lea edx, [esp + 0x1c]
push 0x32
push edx
call fcn.00619bf0
add esp, 8
cmp eax, edi
je 0x41276e
mov ecx, 0x33
mov word [eax], cx
mov edx, dword [esp + 0x10]
mov eax, edx
cmp edx, edi
jne 0x41277c
lea eax, [esp + 0x14]
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x412780
sub eax, esi
sar eax, 1
mov ecx, edx
cmp edx, edi
jne 0x412799
lea ecx, [esp + 0x14]
lea edx, [eax + eax + 2]
push edx
push ecx
push 1
push edi
lea eax, [esp + 0x2c]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4127b5
lea edi, [eax + 1]
mov dword [esp + 0xa8], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00401210
mov eax, edi
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.0061807e
add esp, 0x9c
ret
Function at 0x412800
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x63b13b
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x74f8a0]
xor eax, esp
mov dword [esp + 0x90], eax
push esi
push edi
mov eax, dword [0x74f8a0]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
push 0xf003f
xor edi, edi
push edi
push str.SoftwareMozillaFirefoxExtensions
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x412861
xor eax, eax
jmp 0x41292c
xor ecx, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], edi
mov word [esp + 0x14], cx
mov dword [esp + 0xa8], edi
mov eax, dword [0x754c3c]
cmp eax, edi
jne 0x412885
mov eax, 0x754c40
push edi
push str.idmmzcc5
push eax
push 0x66fde0
lea ecx, [esp + 0x20]
call fcn.00402320
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + 0x749370]
mov word [esp + eax + 0x1c], cx
add eax, 2
cmp cx, di
jne 0x4128a0
lea edx, [esp + 0x1c]
push edx
call fcn.0040fca0
mov edx, dword [esp + 0x14]
add esp, 4
mov eax, edx
cmp edx, edi
jne 0x4128cf
lea eax, [esp + 0x14]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4128d2
sub eax, esi
sar eax, 1
mov ecx, edx
cmp edx, edi
jne 0x4128eb
lea ecx, [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
push ecx
push 1
push edi
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x41290b
lea edi, [eax + 1]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xa8], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00401210
mov eax, edi
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.0061807e
add esp, 0xa0
ret
Function at 0x412960
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63b18b
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x74f8a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [0x754c5c]
cmp eax, ebx
jne 0x4129a7
mov eax, 0x754c60
push str.idmmzcc.xpi
push eax
push 0x673030
lea eax, [ebp - 0x234]
push eax
call fcn.0040fc00
add esp, 0x10
lea ecx, [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x412afb
push 0x44
push ebx
lea edx, [ebp - 0x294]
push edx
call fcn.00618760
add esp, 0xc
mov dword [ebp - 0x294], 0x44
mov dword [ebp - 0x268], 3
mov eax, 5
mov word [ebp - 0x264], ax
mov dword [ebp - 0x27c], 0x12c
mov dword [ebp - 0x278], 0xc8
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
xor ecx, ecx
mov word [ebp - 0x1c], cx
mov byte [ebp - 4], 1
push ebx
lea edx, [ebp - 0x234]
push edx
push esi
push str.__s____s_
lea ecx, [ebp - 0x20]
call fcn.00402320
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x412a4d
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x250]
push ecx
lea edx, [ebp - 0x294]
push edx
push ebx
push ebx
push 0x30
push 1
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, ebx
jne 0x412b1b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
xor ecx, ecx
mov word [ebp - 0x28], cx
mov byte [ebp - 4], 2
push ebx
push ebx
lea edx, [ebp - 0x240]
push edx
push 0x400
push eax
push ebx
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push ebx
mov eax, dword [ebp - 0x240]
push eax
push str.Cannot_start_browser._r_n_s
lea ecx, [ebp - 0x2c]
call fcn.004021b0
mov ecx, dword [ebp - 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x412ad0
lea eax, [ebp - 0x28]
push 0x50030
push 0x66fd88
push eax
push ebx
call fcn.0046f650
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00401210
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.00401210
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0061807e
mov esp, ebp
pop ebp
ret 4
push 0x1388
mov edx, dword [ebp - 0x250]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x24c]
push eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov ecx, dword [ebp - 0x250]
push ecx
call esi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.00401210
mov eax, 1
jmp 0x412afd
Function at 0x412e20
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x63b20b
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x74f8a0]
xor eax, esp
mov dword [esp + 0x424], eax
push ebx
push esi
push edi
mov eax, dword [0x74f8a0]
xor eax, esp
push eax
lea eax, [esp + 0x438]
mov dword fs:[0], eax
mov esi, dword [esp + 0x448]
mov edi, dword [esp + 0x44c]
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov word [esp + 0x1c], ax
mov dword [esp + 0x440], eax
mov eax, dword [0x754c5c]
test eax, eax
jne 0x412e8e
mov eax, 0x754c60
push 0
push str.IDMMsgHost.json
push eax
push 0x66fde0
lea ecx, [esp + 0x28]
call fcn.00402320
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x412f90
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x28]
push eax
push 0
push 0
push 0x670c80
push ecx
mov dword [esp + 0x2c], 0x410
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x412f0b
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x412ef6
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x28]
push edx
call fcn.0061d58a
add esp, 8
test eax, eax
jne 0x412f0b
lea ebx, [eax + 1]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x412f90
call fcn.004475d0
test eax, eax
je 0x412f90
lea ecx, [esp + 0x10]
push ecx
push 0x20119
xor ebx, ebx
push ebx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x412f90
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x28]
push eax
push ebx
push ebx
push 0x670c80
push ecx
mov dword [esp + 0x2c], 0x410
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x412f85
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x412f70
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x28]
push edx
call fcn.0061d58a
add esp, 8
test eax, eax
jne 0x412f85
lea ebx, [eax + 1]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x440], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00401210
mov eax, ebx
mov ecx, dword [esp + 0x438]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x424]
xor ecx, esp
call fcn.0061807e
add esp, 0x434
ret
Function at 0x412fd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x248]
sub esp, 0x248
push 0xffffffffffffffff
push 0x63b248
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x74f8a0]
xor eax, ebp
mov dword [ebp + 0x244], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 0x250]
mov dword [ebp - 4], 0
push 0
push 0x670984
mov ecx, ebx
call fcn.00401980
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.SOFTWARENetscapeNetscape_6
push 0x80000002
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call esi
test eax, eax
jne 0x4131aa
mov dword [ebp - 0x18], 0x32
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp + 0x210]
push edx
push eax
push eax
push str.CurrentVersion
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4131aa
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push eax
lea edx, [ebp + 0x210]
push edx
mov eax, dword [ebp - 0x14]
push eax
call esi
test eax, eax
jne 0x4131aa
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push eax
push str.Main
mov edx, dword [ebp - 0x14]
push edx
call esi
test eax, eax
jne 0x4131aa
mov dword [ebp - 0x18], 0x208
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 8]
push ecx
push 0
push 0
push str.Install_Directory
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4131aa
lea eax, [ebp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4130e3
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 + 6], 0x5c
je 0x413113
lea edi, [ebp + 8]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x413100
mov eax, dword [0x670988]
mov dword [edi], eax
lea eax, [ebp + 8]
add eax, 0xfffffffe
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x413120
mov ecx, dword [str.Plugins_]
mov dword [eax], ecx
mov edx, dword [0x673140]
mov dword [eax + 4], edx
mov ecx, dword [0x673144]
mov dword [eax + 8], ecx
mov edx, dword [0x673148]
mov dword [eax + 0xc], edx
mov cx, word [0x67314c]
mov word [eax + 0x10], cx
lea edx, [ebp + 8]
push edx
mov ecx, ebx
call fcn.004017f0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x4131ac
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x244]
xor ecx, ebp
call fcn.0061807e
add ebp, 0x248
mov esp, ebp
pop ebp
ret 4
Function at 0x4131e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x74f8a0]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
mov ebx, dword [esp + 0x21c]
push 0
push 0x670984
mov ecx, ebx
call fcn.00401980
lea eax, [esp + 8]
push eax
push 0xf003f
push 0
push str.SoftwareOpera_Software
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x413244
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0061807e
add esp, 0x214
ret 4
mov eax, dword [esp + 8]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0
push str.Last_Directory
mov edi, 0x208
push eax
mov dword [esp + 0x24], edi
call esi
test eax, eax
je 0x4132f1
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0
push str.Last_CommandLine
push eax
mov dword [esp + 0x24], edi
call esi
test eax, eax
je 0x4132be
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0
push str.Last_Directory2
push eax
mov dword [esp + 0x24], edi
call esi
test eax, eax
je 0x4132f1
xor eax, eax
jmp 0x41335c
lea ecx, [esp + 0x14]
push 0x6731c0
push ecx
call fcn.0061a38b
add esp, 8
test eax, eax
je 0x413376
lea edx, [esp + 0x14]
push 0x5c
push edx
call fcn.00617b92
add esp, 8
test eax, eax
je 0x4132f1
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [esp + 0x14]
lea edx, [eax + 2]
jmp 0x413300
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x413300
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x12], 0x5c
je 0x413334
lea edi, [esp + 0x14]
add edi, 0xfffffffe
mov edi, edi
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x413320
mov edx, dword [0x670988]
mov dword [edi], edx
push 0
push str.ProgramPlugins_
lea eax, [esp + 0x1c]
push eax
push 0x66fde0
mov ecx, ebx
call fcn.00402320
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0061807e
add esp, 0x214
ret 4
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push 0
push str.Last_Directory2
push ecx
mov dword [esp + 0x24], edi
call esi
test eax, eax
je 0x4132f1
xor eax, eax
jmp 0x41335c