joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41073d
Capabilities:
Get storage device properties

Disassembly:
push 0x4c
mov eax, 0x523f74
call fcn.004fc737
mov eax, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x34], eax
call fcn.0041af7c
mov eax, dword [0x590e04]
mov ecx, 0x590e04
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
push dword [ebp + 8]
lea eax, [ebp - 0x2c]
push str..PhysicalDrive_u
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.0040450f
add esp, 0xc
push esi
push esi
push 3
push esi
push 3
push esi
push dword [ebp - 0x2c]
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x28], eax
cmp eax, 0xffffffff
je 0x4108a4
push 0xc
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.004f18b0
add esp, 0xc
xor eax, eax
push esi
mov dword [ebp - 0x3c], esi
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea eax, [ebp - 0x30]
push eax
push 8
lea eax, [ebp - 0x3c]
push eax
push 0xc
lea eax, [ebp - 0x20]
push eax
push 0x2d1400
push dword [ebp - 0x28]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x30], esi
call edi
test eax, eax
je 0x41088b
mov eax, dword [ebp - 0x38]
push 0x590f51
push eax
mov dword [ebp - 0x24], eax
call fcn.004f5946
mov ebx, eax
pop ecx
pop ecx
cmp ebx, esi
je 0x41088b
push dword [ebp - 0x24]
push esi
push ebx
call fcn.004f18b0
add esp, 0xc
push esi
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push ebx
push 0xc
push eax
push 0x2d1400
push dword [ebp - 0x28]
mov dword [ebp - 0x30], esi
call edi
test eax, eax
je 0x41088b
mov eax, dword [ebx + 0x18]
cmp eax, esi
je 0x41088b
cmp eax, dword [ebp - 0x24]
jae 0x41088b
add eax, ebx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0041ac14
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.0041accb
push dword [ebp - 0x24]
lea ecx, [ebp - 0x58]
call fcn.0040531c
push dword [ebp - 0x34]
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 2
call fcn.0040e83c
pop ecx
pop ecx
push esi
push 1
lea ecx, [ebp - 0x58]
call fcn.004051a5
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.00405521
cmp dword [ebp - 0x28], esi
je 0x410899
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, esi
je 0x4108a4
push ebx
call fcn.004f2b13
pop ecx
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x14], esi
mov eax, dword [ebp - 0x2c]
setne bl
add eax, 0xfffffff0
call fcn.00405521
mov al, bl
call fcn.004fc7ba
ret
Function at 0x4108c0
Capabilities:
Get disk information via ioctl

Disassembly:
push 0x14
mov eax, 0x5212d7
call fcn.004fc6ce
mov eax, dword [0x590e04]
mov ecx, 0x590e04
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
xor esi, esi
mov dword [ebp - 4], esi
movzx eax, word [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push str.._c:
push eax
call fcn.0040450f
mov ebx, dword [ebp - 0x10]
add esp, 0xc
push 3
push 3
push esi
push ebx
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], esi
call fcn.004102e1
test eax, eax
je 0x410931
cmp dword [ebp + 8], esi
je 0x410921
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx - 0x10]
call fcn.00405521
xor eax, eax
call fcn.004fc7a6
ret
mov edi, dword [ebp + 8]
push esi
lea eax, [ebp - 0x14]
push eax
push 0xc
lea eax, [ebp - 0x20]
push eax
push esi
push esi
push 0x2d1080
push edi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x41096b
cmp edi, esi
je 0x41095f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx - 0x10]
call fcn.00405521
mov eax, esi
jmp 0x41092b
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
cmp edi, esi
je 0x41097e
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
inc esi
jmp 0x41095f

Function at 0x410b04
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
jne 0x410b2a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x410b31
xor al, al
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ebp
ret
Function at 0x410b35
Capabilities:
Enumerate processes

Disassembly:
push 0x23c
mov eax, 0x5285dd
call fcn.004fc737
mov eax, dword [ebp + 8]
mov dword [ebp - 0x240], eax
test eax, eax
jne 0x410b5a
or eax, 0xffffffff
call fcn.004fc7ba
ret
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x248], ebx
and dword [ebp - 4], 0
cmp ebx, 0xffffffff
je 0x410b51
test ebx, ebx
je 0x410b51
push 0x228
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.004f18b0
add esp, 0xc
lea eax, [ebp - 0x23c]
push eax
mov esi, 0x22c
push ebx
mov dword [ebp - 0x23c], esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x410bb8
or esi, 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x410b54
push dword [ebp - 0x240]
lea eax, [ebp - 0x244]
push eax
call fcn.004056ee
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 1
call fcn.0042a5b4
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.004056ee
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 2
call fcn.00426eb2
lea eax, [ebp - 0x240]
call fcn.0042a5b4
push dword [ebp - 0x244]
push dword [ebp - 0x240]
call fcn.004f5171
pop ecx
pop ecx
test eax, eax
je 0x410c6b
push esi
lea eax, [ebp - 0x23c]
push 0
push eax
call fcn.004f18b0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x240]
add esp, 0xc
add eax, 0xfffffff0
mov dword [ebp - 0x23c], esi
call fcn.00405521
lea eax, [ebp - 0x23c]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x410bd9
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call fcn.00405521
jmp 0x410baa
mov eax, dword [ebp - 0x240]
mov esi, dword [ebp - 0x234]
add eax, 0xfffffff0
call fcn.00405521
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
call fcn.00405521
jmp 0x410bad

Function at 0x410c92
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0xffffffff
jne 0x410c9f
xor al, al
pop ebp
ret
push ebx
push esi
push dword [ebp + 8]
xor ebx, ebx
push 0
inc ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, 0xffffffff
je 0x410cbb
test esi, esi
jne 0x410cc1
xor al, al
pop esi
pop ebx
pop ebp
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x410cd9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
jmp 0x410cbd
xor bl, bl
jmp 0x410cce

Function at 0x410e79
Capabilities:
Get session information
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push 5
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
test eax, eax
je 0x410ebe
push esi
mov esi, dword [ebp - 4]
push esi
call fcn.004f192a
pop ecx
push esi
mov esi, dword [ebp + 8]
call fcn.00404d75
push dword [ebp - 4]
call sub.WTSAPI32.dll_WTSFreeMemory
xor eax, eax
inc eax
pop esi
leave
ret
xor eax, eax
leave
ret
Function at 0x4130ea
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x585698]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x210], 0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov dword [ebp - 0x214], 1
mov dword [ebp - 0x210], 0x104
call fcn.004f18b0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsQHSafeMain.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x41316b
push 0x53a3d8
jmp 0x41317b
cmp dword [ebp - 0x214], 1
jne 0x413164
lea eax, [ebp - 0x20c]
push eax
mov eax, edi
call fcn.004043d1
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
call fcn.004f189b
leave
ret

Function at 0x413190
Capabilities:
Get common file path

Disassembly:
push 0x22c
mov eax, 0x523eeb
call fcn.004fc737
xor ebx, ebx
cmp dword [ebp + 8], 0x23
mov dword [ebp - 0x238], ebx
je 0x4131c4
cmp dword [ebp + 8], 0x1a
je 0x4131c4
push 0x53a3d8
mov eax, edi
call fcn.004043d1
jmp 0x41325f
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.004f18b0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push dword [ebp + 8]
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, ebx
jl 0x4131b3
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x234]
call fcn.004043d1
push str.360TotalSecurity
lea eax, [ebp - 0x234]
push eax
mov dword [ebp - 4], ebx
call fcn.0040160e
lea eax, [ebp - 0x234]
cmp byte [ebp + 0xc], bl
jne 0x413234
push eax
mov esi, edi
call fcn.0042a58e
jmp 0x413251
call fcn.00475a65
test al, al
je 0x413245
lea eax, [ebp - 0x234]
jmp 0x41322a
push 0x53a3d8
mov eax, edi
call fcn.004043d1
push ebx
push 1
lea esi, [ebp - 0x234]
call fcn.00404e29
mov eax, edi
call fcn.004fc7ba
ret
Function at 0x413ff6
Capabilities:
Check if file exists

Disassembly:
push 0x48
mov eax, 0x52e959
call fcn.004fc737
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
xor edi, edi
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 4], edi
call fcn.00413b65
pop ecx
test al, al
je 0x414126
push str.SoftwareClassesLocal_SettingsSoftwareMicrosoftWindowsCurrentVersionAppModelRepositoryPackages
lea eax, [ebp - 0x34]
push eax
call fcn.004056ee
push 0x5481d0
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 1
call fcn.00404758
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x41405b
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00404758
mov eax, dword [0x590e04]
mov ecx, 0x590e04
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x38], eax
push ecx
mov byte [ebp - 4], 2
mov eax, esp
mov dword [ebp - 0x40], esp
push str.PackageRootFolder
push eax
lea esi, [ebp - 0x38]
call fcn.004056ee
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x34]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x44], esp
mov ebx, esp
call fcn.00404942
add eax, 0x10
mov dword [ebx], eax
push SysReAllocString
lea eax, [ebp - 0x54]
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.0040499a
push eax
mov byte [ebp - 4], 4
call fcn.00404869
mov ebx, eax
neg ebx
sbb bl, bl
pop ecx
lea esi, [ebp - 0x54]
inc bl
mov byte [ebp - 4], 2
call fcn.00401105
test bl, bl
je 0x4140e9
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
jmp 0x414116
push 0x5481d0
lea eax, [ebp - 0x38]
push eax
call fcn.00404758
push str.MicrosoftEdge.exe
lea eax, [ebp - 0x38]
push eax
call fcn.00404758
mov ebx, dword [ebp - 0x38]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x414136
lea eax, [ebx - 0x10]
call fcn.00405521
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
call fcn.00405521
push 0
push 1
lea esi, [ebp - 0x30]
call fcn.00404e29
xor al, al
jmp 0x414167
push ebx
call fcn.004f192a
mov esi, dword [ebp - 0x3c]
pop ecx
push ebx
call fcn.00404d75
lea eax, [ebx - 0x10]
call fcn.00405521
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
call fcn.00405521
push 0
push 1
lea esi, [ebp - 0x30]
call fcn.00404e29
mov al, 1
call fcn.004fc7ba
ret

Function at 0x41422f
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 8], 0
jne 0x41423e
xor al, al
leave
ret
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov dword [ebp - 8], 1
test eax, eax
jne 0x41428d
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 4], 0
push 4
lea eax, [ebp - 8]
push eax
push 4
push str.EnabledBefore
push dword [ebp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb al, al
inc al
jmp 0x41428f
xor al, al
pop esi
leave
ret
Function at 0x414292
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0xc
mov eax, 0x528554
call fcn.004fc6ce
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x4143a8
cmp dword [ebp + 0xc], ebx
je 0x4143a8
cmp dword [ebp + 0x10], ebx
je 0x4143a8
mov eax, dword [edi]
cmp eax, ebx
je 0x4143a8
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x18], 1
push dword [ebp + 8]
push SysReAllocString
call esi
cmp eax, ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
jne 0x414347
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x414347
push dword [ebp + 0x10]
mov dword [edi], eax
lea eax, [ebp - 0x14]
push eax
call fcn.004056ee
and dword [ebp - 4], 0
push 0
push 0x5481c4
lea eax, [ebp - 0x14]
push eax
call fcn.00428a9f
push dword [ebp - 0x14]
call ebx
test eax, eax
je 0x414338
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405521
mov al, 1
jmp 0x4143aa
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405521
mov eax, dword [edi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x4143a8
cmp dword [edi], eax
je 0x4143a8
mov eax, dword [ebp - 0x10]
push dword [ebp + 0x10]
mov dword [edi], eax
lea eax, [ebp + 8]
push eax
call fcn.004056ee
push 0
push 0x5481c4
lea eax, [ebp + 8]
push eax
mov dword [ebp - 4], 1
call fcn.00428a9f
push dword [ebp + 8]
call ebx
test eax, eax
mov eax, dword [ebp + 8]
jne 0x41432c
add eax, 0xfffffff0
call fcn.00405521
xor al, al
call fcn.004fc7a6
ret
Function at 0x414987
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x224
mov eax, 0x523e58
call fcn.004fc737
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x220], edi
call fcn.00404e70
lea eax, [ebp - 0x220]
push eax
xor esi, esi
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
mov dword [ebp - 4], edi
inc esi
push SysReAllocString
mov dword [ebp - 0x230], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x414a76
mov ebx, 0x208
push ebx
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push edi
push eax
mov dword [ebp - 0x228], edi
call fcn.004f18b0
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x228]
push eax
push edi
push str.Progid
push dword [ebp - 0x220]
mov dword [ebp - 0x224], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x414a6a
cmp dword [ebp - 0x228], esi
jne 0x414a6a
mov eax, dword [ebp - 0x224]
and eax, 0xfffffffe
cmp eax, ebx
jae 0x414a6a
xor eax, eax
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x21c]
push eax
call fcn.004f192a
mov esi, dword [ebp - 0x22c]
pop ecx
lea ecx, [ebp - 0x21c]
push ecx
call fcn.00404d75
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x22c]
call fcn.004fc7ba
ret
Function at 0x414cf7
Capabilities:
Check if file exists

Disassembly:
push 0x230
mov eax, 0x52851c
call fcn.004fc737
mov eax, dword [ebp + 8]
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x234], eax
cmp esi, edi
je 0x414e58
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x224], edi
mov dword [ebp - 4], edi
mov eax, dword [0x590e04]
mov ecx, 0x590e04
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x22c], eax
push esi
lea eax, [ebp - 0x22c]
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths_s
push eax
mov byte [ebp - 4], 1
call fcn.0040450f
mov ebx, dword [ebp - 0x22c]
add esp, 0xc
mov dword [ebp - 0x23c], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x238], SysStringLen
mov dword [ebp - 0x220], edi
mov eax, dword [ebp - 0x220]
push 1
push ebx
push dword [ebp + eax*4 - 0x23c]
lea eax, [ebp - 0x228]
call fcn.0042a368
test eax, eax
jne 0x414e29
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call fcn.004f18b0
add esp, 0xc
push edi
lea eax, [ebp - 0x228]
push eax
lea esi, [ebp - 0x230]
lea edi, [ebp - 0x218]
mov dword [ebp - 0x230], 0x104
call fcn.004272a9
test eax, eax
jne 0x414e27
mov eax, edi
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.004056ee
push 0
push 0x5481c4
lea eax, [ebp - 0x21c]
push eax
mov byte [ebp - 4], 2
call fcn.00428a9f
push dword [ebp - 0x21c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x414e60
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
call fcn.00405521
xor edi, edi
inc dword [ebp - 0x220]
cmp dword [ebp - 0x220], 2
jb 0x414d79
lea eax, [ebx - 0x10]
call fcn.00405521
cmp dword [ebp - 0x228], edi
je 0x414e58
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
call fcn.004fc7ba
ret
mov esi, dword [ebp - 0x21c]
push esi
call fcn.004f192a
pop ecx
push esi
mov esi, dword [ebp - 0x234]
call fcn.00404d75
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
call fcn.00405521
lea eax, [ebx - 0x10]
call fcn.00405521
cmp dword [ebp - 0x228], 0
je 0x414ea4
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x414e5a
Function at 0x415c5b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x585698]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov esi, ecx
mov dword [ebp - 0x210], 1
call fcn.004f18b0
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x210]
push eax
push str.clid
push str.SOFTWAREYandexYandexBrowser
push SysReAllocString
mov dword [ebp - 0x214], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x415cd5
xor al, al
jmp 0x415cf0
lea eax, [ebp - 0x20c]
push eax
call fcn.004f192a
pop ecx
lea ecx, [ebp - 0x20c]
push ecx
call fcn.00404d75
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004f189b
leave
ret
Function at 0x41718c
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x585698]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x830], eax
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004f18b0
xor eax, eax
push esi
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.004f18b0
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0x18
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x82c]
push eax
mov esi, str.UninstallString
push esi
mov ebx, str.SOFTWAREGoogleUpdateClientState8A69D345_D564_463c_AFF1_A69D9E530F96
push ebx
push SysReAllocString
mov dword [ebp - 0x82c], 1
mov dword [ebp - 0x828], 0x208
call edi
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x82c]
push eax
push esi
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov edi, 0x208
push edi
lea eax, [ebp - 0x824]
push 0
push eax
call fcn.004f18b0
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
je 0x417273
lea eax, [ebp - 0x20c]
jmp 0x417286
lea eax, [ebp - 0x414]
push eax
call esi
test eax, eax
je 0x4172f6
lea eax, [ebp - 0x414]
push eax
push 0x104
lea edx, [ebp - 0x824]
call fcn.0042a4a0
push edi
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.004f18b0
add esp, 0xc
push str.......chrome.exe
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x4172f6
lea eax, [ebp - 0x61c]
push eax
call esi
test eax, eax
je 0x4172f6
lea eax, [ebp - 0x61c]
push eax
call fcn.004f192a
mov esi, dword [ebp - 0x830]
pop ecx
lea ecx, [ebp - 0x61c]
push ecx
call fcn.00404d75
mov al, 1
jmp 0x4172f8
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f189b
leave
ret
Function at 0x4179de
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x585698]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x214]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x214], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x417aee
push edi
mov edi, 0x208
push edi
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
mov dword [ebp - 0x218], ebx
call fcn.004f18b0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
push str.svcVersion
push dword [ebp - 0x214]
mov dword [ebp - 0x21c], edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call edi
test eax, eax
jne 0x417a88
cmp dword [ebp - 0x218], 1
je 0x417ab8
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
push str.Version
push dword [ebp - 0x214]
call edi
test eax, eax
jne 0x417ae1
cmp dword [ebp - 0x218], 1
jne 0x417ae1
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0x210]
push esi
push eax
mov bl, 1
call fcn.004f192a
mov esi, dword [ebp - 0x220]
pop ecx
lea ecx, [ebp - 0x210]
push ecx
call fcn.00404d75
pop esi
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004f189b
leave
ret
Function at 0x4180c9
Capabilities:
Check if file exists

Disassembly:
push 0x7c
mov eax, 0x530eea
call fcn.004fc737
and dword [ebp - 0x60], 0
and dword [ebp - 0x1c], 0
push 7
mov edi, ecx
pop esi
xor eax, eax
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x18], esi
mov word [ebp - 0x2c], ax
xor ebx, ebx
lea eax, [ebp - 0x30]
inc ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00417307
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
pop ecx
jae 0x41810a
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x418237
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x418125
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x418237
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x418140
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004056ee
and dword [ebp - 0x38], 0
xor eax, eax
mov dword [ebp - 0x34], esi
mov word [ebp - 0x48], ax
lea eax, [ebp - 0x88]
push eax
mov byte [ebp - 4], 3
call fcn.0041bb70
lea eax, [ebp - 0x88]
push eax
mov byte [ebp - 4], 4
call fcn.00417b5b
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
pop ecx
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x88]
lea edi, [ebp - 0x68]
lea esi, [ebp - 0x5c]
mov dword [ebp - 0x68], eax
call fcn.004a65a0
test al, al
jne 0x4181e8
call fcn.0046bedd
cmp dword [eax + 0x34], 8
jb 0x4181b7
mov eax, dword [eax + 0x20]
jmp 0x4181ba
add eax, 0x20
push eax
push dword [ebp - 0x54]
call fcn.004f52b9
pop ecx
pop ecx
lea esi, [ebp - 0x5c]
test eax, eax
je 0x4181d3
call fcn.004345b7
jmp 0x418189
call fcn.0046bedd
push 0xffffffffffffffff
xor edi, edi
push edi
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00404b74
jmp 0x4181ea
xor edi, edi
mov esi, dword [ebp - 0x50]
cmp dword [ebp - 0x38], edi
jne 0x418232
lea eax, [ebp - 0x30]
push eax
call fcn.0042a58e
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x60], ebx
mov byte [ebp - 4], 3
call fcn.0041bc8e
push edi
push ebx
lea esi, [ebp - 0x4c]
call fcn.00404e29
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff0
call fcn.00405521
push edi
push ebx
lea esi, [ebp - 0x30]
call fcn.00404e29
mov eax, dword [ebp - 0x50]
jmp 0x418271
lea eax, [ebp - 0x4c]
jmp 0x4181f5
call fcn.0040cc6c
test al, al
je 0x41825d
push str.MicrosoftEdge
lea esi, [ebp - 0x30]
call fcn.00423c33
test eax, eax
jne 0x41825d
mov eax, esi
push eax
mov esi, edi
call fcn.0042a58e
jmp 0x418264
mov esi, edi
call fcn.00404e70
push 0
push ebx
lea esi, [ebp - 0x30]
call fcn.00404e29
mov eax, edi
call fcn.004fc7ba
ret