joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406e30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x615385
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0x508]
mov dword [esp + 0x10], 0x28
call fcn.00423b30
lea ecx, [esi + 0x4f8]
mov byte [esp + 0x10], 0x27
call fcn.00423b30
lea ecx, [esi + 0x4e8]
mov byte [esp + 0x10], 0x26
call fcn.00423b30
lea ecx, [esi + 0x4d8]
mov byte [esp + 0x10], 0x25
call fcn.00423b30
mov eax, 0x632e74
lea ecx, [esi + 0x494]
mov dword [esi + 0x4c8], eax
mov dword [esi + 0x4b8], eax
mov dword [esi + 0x4a8], eax
mov dword [esi + 0x498], eax
mov byte [esp + 0x10], 0x20
call fcn.00603a3c
lea ecx, [esi + 0x490]
mov byte [esp + 0x10], 0x1f
call fcn.00603a3c
lea ecx, [esi + 0x48c]
mov byte [esp + 0x10], 0x1e
call fcn.00603a3c
lea ecx, [esi + 0x488]
mov byte [esp + 0x10], 0x1d
call fcn.00603a3c
lea ecx, [esi + 0x484]
mov byte [esp + 0x10], 0x1c
call fcn.00603a3c
lea ecx, [esi + 0x480]
mov byte [esp + 0x10], 0x1b
call fcn.00603a3c
mov byte [esp + 0x10], 0x1a
lea ecx, [esi + 0x47c]
call fcn.00603a3c
lea ecx, [esi + 0x478]
mov byte [esp + 0x10], 0x19
call fcn.00603a3c
lea ecx, [esi + 0x474]
mov byte [esp + 0x10], 0x18
call fcn.00603a3c
lea ecx, [esi + 0x470]
mov byte [esp + 0x10], 0x17
call fcn.00603a3c
lea ecx, [esi + 0x46c]
mov byte [esp + 0x10], 0x16
call fcn.00603a3c
lea ecx, [esi + 0x468]
mov byte [esp + 0x10], 0x15
call fcn.00603a3c
lea ecx, [esi + 0x464]
mov byte [esp + 0x10], 0x14
call fcn.00603a3c
lea ecx, [esi + 0x460]
mov byte [esp + 0x10], 0x13
call fcn.00603a3c
lea ecx, [esi + 0x45c]
mov byte [esp + 0x10], 0x12
call fcn.00603a3c
lea ecx, [esi + 0x458]
mov byte [esp + 0x10], 0x11
call fcn.00603a3c
lea ecx, [esi + 0x41c]
mov byte [esp + 0x10], 0x10
call fcn.0060b6cd
lea ecx, [esi + 0x3e0]
mov byte [esp + 0x10], 0xf
call fcn.0060b6cd
lea ecx, [esi + 0x3a4]
mov byte [esp + 0x10], 0xe
call fcn.0060b6cd
lea ecx, [esi + 0x368]
mov byte [esp + 0x10], 0xd
call fcn.0060b6cd
lea ecx, [esi + 0x32c]
mov byte [esp + 0x10], 0xc
call fcn.0060b6cd
lea ecx, [esi + 0x2f0]
mov byte [esp + 0x10], 0xb
call fcn.0060b6cd
lea ecx, [esi + 0x2b4]
mov byte [esp + 0x10], 0xa
call fcn.0060b6cd
lea ecx, [esi + 0x278]
mov byte [esp + 0x10], 9
call fcn.0060b6cd
lea ecx, [esi + 0x23c]
mov byte [esp + 0x10], 8
call fcn.0060b6cd
lea ecx, [esi + 0x200]
mov byte [esp + 0x10], 7
call fcn.0060b6cd
lea ecx, [esi + 0x1c4]
mov byte [esp + 0x10], 6
call fcn.0060b6cd
lea ecx, [esi + 0x188]
mov byte [esp + 0x10], 5
call fcn.0060b6cd
lea ecx, [esi + 0x14c]
mov byte [esp + 0x10], 4
call fcn.0060b6cd
lea ecx, [esi + 0x110]
mov byte [esp + 0x10], 3
call fcn.0060b6cd
lea ecx, [esi + 0xd4]
mov byte [esp + 0x10], 2
call fcn.0060b6cd
lea ecx, [esi + 0x98]
mov byte [esp + 0x10], 1
call fcn.0060b6cd
lea ecx, [esi + 0x5c]
mov byte [esp + 0x10], 0
call fcn.0060b57d
mov dword [esp + 0x10], 0xffffffff
mov ecx, esi
call fcn.005ff677
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x409c10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x615700
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1770
call fcn.005e7330
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x1f4
xor eax, eax
lea edi, [ebp - 0x7e0]
mov dword [ebp - 0x10], esp
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x44c]
mov dword [ebp - 4], 0
test eax, eax
push 0x7cf
je 0x409c95
mov ecx, dword [esi + 0x448]
lea eax, [ebp - 0x1780]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x409ca9
lea edx, [ebp - 0x7e0]
push 0x7d0
lea eax, [ebp - 0x1780]
push edx
push eax
call fcn.00405640
add esp, 0xc
jmp 0x409ca9
mov edx, dword [esi + 0x448]
lea ecx, [ebp - 0x7e0]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x7e0]
lea ecx, [esi + 0x3e0]
push eax
push 0x6a10a0
push ecx
call fcn.005fc86b
add esp, 0xc
mov ecx, esi
call fcn.0040a300
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40aa20
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x615868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x318
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov eax, dword [esi + 0x78]
push ebx
push ebx
push 0x1009
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
xor edi, edi
mov dword [ebp - 0x14], ebx
mov eax, dword [esi + 0x98]
cmp ebx, dword [eax + 0x1c]
jge 0x40abb7
mov ecx, dword [0x6cd768]
mov dword [ebp - 0x18], ecx
mov edx, dword [eax + 0x18]
lea ebx, [ebx + ebx*8]
shl ebx, 2
mov byte [ebp - 4], 1
mov ecx, dword [edx + ebx + 4]
mov edx, dword [eax + 4]
push ecx
push edx
lea eax, [ebp - 0x18]
push 0x6a14e4
push eax
call fcn.005fc86b
mov edx, dword [ebp - 0x18]
add esp, 0x10
lea ecx, [esi + 0x5c]
push 0
push 0
push 0
push 0
push edx
push edi
push 1
call fcn.005fdbd7
inc edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edi
mov ecx, 0xad
xor eax, eax
lea edi, [ebp - 0x324]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x98]
push 0x4411
lea edx, [ebp - 0x324]
push 0x160
mov ecx, dword [eax + 0x18]
push edx
push 0x80
mov eax, dword [ecx + ebx]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edx, dword [esi + 0x78]
mov eax, dword [ebp - 0x320]
mov edi, dword [ebp - 0x20]
lea ecx, [ebp - 0x48]
push ecx
push 0
push 0x1006
push edx
mov dword [ebp - 0x48], 2
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x44], edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x98]
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx + ebx + 8]
test eax, eax
mov eax, 0x6d2da4
jne 0x40ab43
mov eax, 0x6d2da0
mov eax, dword [eax]
lea ecx, [esi + 0x5c]
push eax
push 1
push edi
call fcn.005fdcd2
mov edx, dword [esi + 0x98]
mov dword [ebp - 0x68], 2
lea ecx, [ebp - 0x70]
mov eax, dword [edx + 0x18]
mov edx, dword [esi + 0x78]
push ecx
push edi
mov ebx, dword [eax + ebx]
push 0x1074
push edx
mov dword [ebp - 0x5c], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x14]
lea ecx, [esi + 0x5c]
push eax
push 0
push 0
push 0
push 0
push 4
push 0
push edi
call fcn.005fdc59
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00603a3c
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x14], eax
mov ebx, eax
jmp 0x40aa61
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40aee0
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6158fb
push eax
mov dword fs:[0], esp
sub esp, 0x220
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x14], edi
je 0x40aff8
mov eax, dword [esi + 8]
mov dword [esp + 8], edi
cmp eax, edi
mov dword [esp + 0xc], edi
jle 0x40aff8
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor ebx, ebx
mov eax, dword [esi + 4]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x10]
push ecx
mov eax, dword [eax + ebx + 4]
push edx
push edi
push 0xf003f
push edi
push 0x6d1c98
push edi
push eax
mov eax, dword [esi + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x40af8a
lea ecx, [esp + 0x20]
call fcn.004aceb0
push 1
push str.Cannot_open__create__registry_subkey_during_CBrowsersIntegration::Save__._r_n
lea ecx, [esp + 0x28]
mov dword [esp + 0x240], edi
call fcn.004acfd0
lea ecx, [esp + 0x20]
mov dword [esp + 0x238], 0xffffffff
call fcn.004acfc0
jmp 0x40afd0
mov ecx, dword [esi + 4]
xor eax, eax
mov edx, dword [ecx + ebx]
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [esp + 0x18]
push 1
push eax
push 0x6a1840
push edx
call ebp
mov eax, dword [esi + 4]
lea edx, [esp + 0x18]
push 4
push edx
mov ecx, dword [eax + ebx + 8]
mov eax, dword [esp + 0x18]
push 4
push 0
push 0x6a183c
push eax
mov dword [esp + 0x30], ecx
call ebp
xor edi, edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 8]
inc eax
add ebx, 0xc
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x40af27
mov eax, dword [esp + 0x10]
pop ebp
cmp eax, edi
pop ebx
je 0x40aff8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x228]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x22c
ret
Function at 0x40d200
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
lea eax, [esp]
push esi
xor esi, esi
push eax
mov eax, dword [ecx + 0x14]
push 1
push esi
push edx
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40d255
lea ecx, [esp + 0x10]
lea edx, [esp + 8]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x14]
push str.found
push eax
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40d255
mov esi, dword [esp + 8]
mov eax, dword [esp + 4]
test eax, eax
je 0x40d264
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 8
ret 4

Function at 0x40e0b0
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ecx
push ebp
push esi
push edi
push str.shell32
xor edi, edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, dword [esp + 0x14]
mov esi, eax
test esi, esi
je 0x40e108
push ebx
push str.SHGetFolderPathW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x40e0fc
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
push ebp
push edi
push edi
push 0x1c
push edi
call ebx
test eax, eax
jne 0x40e0f6
mov edi, 1
call dword [sym.imp.ole32.dll_CoUninitialize]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
pop ebx
jne 0x40e159
lea eax, [esp + 0x14]
push eax
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40e159
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xc]
push ecx
push ebp
push eax
push eax
push str.Local_AppData
push edx
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40e14e
mov edi, 1
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebp
pop ecx
ret
Function at 0x40ee80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x615bf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
xor ebx, ebx
push esi
xor esi, esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
mov word [esp + 0x20], bx
mov eax, dword [0x6cd768]
mov dword [esp + 0x30], ebx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
push ebx
lea edx, [esp + 0x20]
push ecx
push edx
push str.SoftwareMozillaMozilla_Firefox
mov byte [esp + 0x40], 1
call fcn.0040ebd0
add esp, 0x10
test eax, eax
je 0x40ef41
mov eax, dword [0x6cd768]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x30], 2
cmp eax, ebx
jne 0x40eef3
lea eax, [esp + 0x20]
lea ecx, [esp + 8]
push 1
push ecx
push eax
call fcn.0040ea50
add esp, 0xc
test eax, eax
je 0x40ef33
mov edx, dword [esp + 8]
push 0x2e
push edx
call fcn.005e71f0
add esp, 8
cmp eax, ebx
je 0x40ef33
mov byte [eax], bl
mov eax, dword [esp + 8]
push eax
call fcn.005e7473
add esp, 4
cmp eax, 0x34
jle 0x40ef33
mov esi, 1
lea ecx, [esp + 8]
mov byte [esp + 0x30], 1
call fcn.00603a3c
call fcn.004466f0
test eax, eax
je 0x40eff3
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
mov word [esp + 0x14], bx
lea ecx, [esp + 0xc]
push 1
lea edx, [esp + 0x14]
push ecx
push edx
push str.SoftwareMozillaMozilla_Firefox
mov byte [esp + 0x40], 3
call fcn.0040ebd0
add esp, 0x10
test eax, eax
je 0x40efe5
mov eax, dword [0x6cd768]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x10]
mov byte [esp + 0x30], 4
cmp eax, ebx
jne 0x40ef97
lea eax, [esp + 0x14]
lea ecx, [esp + 8]
push 1
push ecx
push eax
call fcn.0040ea50
add esp, 0xc
test eax, eax
je 0x40efd7
mov edx, dword [esp + 8]
push 0x2e
push edx
call fcn.005e71f0
add esp, 8
cmp eax, ebx
je 0x40efd7
mov byte [eax], bl
mov eax, dword [esp + 8]
push eax
call fcn.005e7473
add esp, 4
cmp eax, 0x34
jle 0x40efd7
mov esi, 1
lea ecx, [esp + 8]
mov byte [esp + 0x30], 3
call fcn.00603a3c
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
call fcn.00401070
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], bl
call fcn.00603a3c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xffffffff
call fcn.00401070
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x40f550
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x64
lea eax, [esp + 0x6c]
push esi
xor esi, esi
push eax
push ecx
push esi
push edx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40f64f
push edi
mov ecx, 0x19
lea edi, [esp + 8]
mov edx, dword [esp + 0x74]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x70]
lea ecx, [esp + 8]
push eax
push ecx
push esi
push esi
push str.CurrentVersion
push edx
mov dword [esp + 0x88], 0x64
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
pop edi
jne 0x40f644
lea eax, [esp + 4]
push 0x2e
push eax
mov esi, 1
call fcn.005e71f0
add esp, 8
test eax, eax
je 0x40f5d0
mov byte [eax], 0
lea ecx, [esp + 4]
push ecx
call fcn.005e7473
add esp, 4
test eax, eax
je 0x40f644
mov edx, dword [esp + 0x84]
cmp eax, 0x34
mov dword [edx], eax
jle 0x40f5f8
mov eax, dword [esp + 0x80]
jmp 0x40f63e
cmp eax, 0x1a
jle 0x40f619
mov ecx, dword [esp + 0x7c]
mov dword [ecx], 1
mov ecx, dword [esp + 0x70]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x64
ret
cmp eax, 7
jle 0x40f63a
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x70]
push ecx
mov dword [edx], 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x64
ret
mov eax, dword [esp + 0x74]
mov dword [eax], 1
mov ecx, dword [esp + 0x70]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x64
ret
Function at 0x410380
Capabilities:
Encode data using xor
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x615d2c
push eax
mov dword fs:[0], esp
sub esp, 0xb4
lea eax, [esp + 0xc]
push ebx
push eax
xor ebx, ebx
push 0xf003f
push ebx
push str.SoftwareMozillaFirefoxExtensions
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4103d5
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
add esp, 0xc0
ret
push esi
mov dword [esp + 8], ebx
mov dword [esp + 0x10], ebx
mov word [esp + 0xc], bx
mov esi, dword [0x6d2310]
mov dword [esp + 0xc4], ebx
cmp esi, ebx
jne 0x4103f9
mov esi, 0x6d2314
mov ecx, 0x6a112c
test ecx, ecx
je 0x410533
cmp esi, ebx
je 0x410533
mov edx, str.idmmzcc5
test edx, edx
je 0x410533
push ebp
push edi
push ebx
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov word [esp + 0x2c], bx
call fcn.00402e00
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0xd0], 1
call fcn.0040e580
push str.idmmzcc5
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd0], 2
call fcn.0040e580
lea ecx, [esp + 0x10]
mov byte [esp + 0xcc], 3
call fcn.00401070
mov eax, dword [esp + 0x2c]
cmp eax, ebx
mov edi, eax
jne 0x41047c
lea edi, [esp + 0x30]
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x38]
call fcn.00402400
push eax
call fcn.005e71bf
push edi
mov ebp, eax
call fcn.005e71bf
add esi, ebp
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005ffe3f
mov edi, eax
add esp, 0xc
cmp edi, ebx
mov dword [esp + 0x10], edi
je 0x4104ff
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x38]
call fcn.00402400
push eax
lea ecx, [esp + 0x30]
call fcn.00402400
push eax
lea ecx, [esp + 0x28]
call fcn.00402400
push eax
mov eax, dword [esp + 0x1c]
push esi
push eax
call fcn.005e714f
mov ecx, dword [esp + 0x24]
push ecx
call fcn.005e71bf
add esp, 0x18
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x38]
mov byte [esp + 0xcc], 2
call fcn.00401070
lea ecx, [esp + 0x2c]
mov byte [esp + 0xcc], 1
call fcn.00401070
lea ecx, [esp + 0x20]
mov byte [esp + 0xcc], bl
call fcn.00401070
pop edi
pop ebp
lea edx, [esp + 0x3c]
push 0x6a1dc4
push edx
call fcn.005e7389
lea eax, [esp + 0x44]
push eax
call fcn.005e71bf
add esp, 0xc
cmp eax, ebx
jle 0x41056e
lea ecx, [esp + 0x3c]
mov dx, word [ecx]
add ecx, 2
xor dx, 0x4d
sub edx, 0xff
dec eax
mov word [ecx - 2], dx
jne 0x410557
mov esi, dword [esp + 8]
cmp esi, ebx
je 0x41057a
mov eax, esi
jmp 0x410582
lea eax, [esp + 0xc]
lea esi, [esp + 0xc]
push eax
call fcn.005e71bf
mov edx, dword [esp + 0x18]
add esp, 4
lea eax, [eax + eax + 2]
lea ecx, [esp + 0x3c]
push eax
push esi
push 1
push ebx
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
pop esi
jne 0x4105ae
mov ebx, 1
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 4]
mov dword [esp + 0xc0], 0xffffffff
call fcn.00401070
mov ecx, dword [esp + 0xb8]
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0xc0
ret
Function at 0x412240
Capabilities:
Shutdown system
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x615ef6
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0xd4
test eax, eax
je 0x4122bd
push 0
lea ecx, [esp + 0x18]
call fcn.0050dbb0
lea ecx, [esp + 0x14]
mov dword [esp + 0xdc], 0
call fcn.005ffa36
mov eax, 0x632e74
lea ecx, [esp + 0x70]
mov dword [esp + 0xdc], 1
mov dword [esp + 0xbc], eax
mov dword [esp + 0xac], eax
call fcn.005fe1e0
lea ecx, [esp + 0x14]
mov dword [esp + 0xdc], 0xffffffff
call fcn.005ff677
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41230f
lea ecx, [esp + 8]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [esp]
push 0
push 0
lea edx, [esp + 0xc]
push 0
push edx
push 0
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 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 0x412c90
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x10c
add ecx, 4
push ebx
push ebp
push esi
push edi
push str.IEXPLORE
call fcn.0040d1a0
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_Explorer
push reloc.WS2_32.dll_accept
call ebp
test eax, eax
jne 0x412d63
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x20]
push str.DownloadUI
push eax
mov dword [esp + 0x2c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x412d31
test ebx, ebx
je 0x412d58
mov esi, str.7D11E719_FF90_479C_B0D7_96EB43EE55D7
lea eax, [esp + 0x18]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x412d28
test cl, cl
je 0x412d24
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x412d28
add eax, 2
add esi, 2
test cl, cl
jne 0x412d04
xor eax, eax
jmp 0x412d2d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x412d58
mov edi, str.7D11E719_FF90_479C_B0D7_96EB43EE55D7
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push str.7D11E719_FF90_479C_B0D7_96EB43EE55D7
push 1
push eax
mov eax, dword [esp + 0x20]
push str.DownloadUI
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x10]
push edx
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_Explorer
push reloc.WS2_32.dll_bind
call ebp
test eax, eax
jne 0x412e1d
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push 0
push str.DownloadUI
push edx
mov dword [esp + 0x2c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x412deb
test ebx, ebx
je 0x412e12
mov esi, str.7D11E719_FF90_479C_B0D7_96EB43EE55D7
lea eax, [esp + 0x18]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x412de2
test cl, cl
je 0x412dde
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x412de2
add eax, 2
add esi, 2
test cl, cl
jne 0x412dba
xor eax, eax
jmp 0x412de7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x412e12
mov edi, str.7D11E719_FF90_479C_B0D7_96EB43EE55D7
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push str.7D11E719_FF90_479C_B0D7_96EB43EE55D7
push 1
push eax
mov eax, dword [esp + 0x20]
push str.DownloadUI
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
Function at 0x413520
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x108
lea eax, [esp]
push eax
push 0xf003f
push 0
push str.SoftwareClassesLocal_SettingsSoftwareMicrosoftWindowsCurrentVersionAppContainerStoragemicrosoft.microsoftedge_8wekyb3d8bbweMicrosoftEdgeExtensionsStoredatastoreConfig
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4135b6
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push esi
push edi
xor ebx, ebx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push 0x104
push ecx
push ebx
push edx
call ebp
mov esi, eax
test esi, esi
jne 0x41358e
mov edi, str.IDMIntegrationModule_
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x14]
push ecx
push str.IDMIntegrationModule_
push eax
call fcn.005ea9e0
add esp, 0xc
test eax, eax
je 0x413595
inc ebx
test esi, esi
je 0x413552
jmp 0x4135a7
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
call fcn.004134e0
add esp, 8
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret

Function at 0x413600
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x6d2354]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push str.bShInstEdgeExtTip
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
inc eax
add esp, 8
ret

Function at 0x413640
Capabilities:
Create process on windows
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x616081
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf8
push 0
lea ecx, [esp + 8]
call fcn.004e7ae0
lea ecx, [esp + 4]
mov dword [esp + 0x100], 0
call fcn.005ffa36
mov ecx, dword [0x6d2354]
lea eax, [esp]
push 4
push eax
push 4
push 0
push str.bShInstEdgeExtTip
push ecx
mov dword [esp + 0x18], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call fcn.00413520
push 0
push 0
push 0
push str.ms_windows_store:__review__PFNTonecInc.IDMIntegrationModule_e7b5mm5d3r6v2
push 0x6a105c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0xe0]
mov dword [esp + 0x100], 4
mov dword [esp + 0xe8], 0x632e74
call fcn.00505260
lea ecx, [esp + 0xd8]
mov byte [esp + 0x100], 3
call fcn.00505260
lea ecx, [esp + 0x9c]
mov byte [esp + 0x100], 2
call fcn.0060b545
lea ecx, [esp + 0x60]
mov byte [esp + 0x100], 1
call fcn.0060b545
lea ecx, [esp + 4]
mov dword [esp + 0x100], 0xffffffff
call fcn.005ff677
mov ecx, dword [esp + 0xf8]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x104
ret