joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426160
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59af5b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5e6468]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 1
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00427bb0
add eax, 0x10
mov dword [esi + 4], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
push eax
call fcn.00427bb0
add eax, 0x10
add esp, 8
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 5
jne 0x4261cf
xor eax, eax
jmp 0x4261e0
mov eax, dword [ebp + 0x14]
neg eax
sbb eax, eax
and eax, 0xffffff00
add eax, 0x200
mov dword [esi + 0xc], eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426206
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42622c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x426240
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 4]
lea ecx, [ebp - 4]
push ecx
or edx, 1
push edx
push 0
push eax
mov eax, dword [esi]
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4262a1
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov esi, dword [esi + 8]
push ecx
mov ecx, dword [ebp - 4]
push edx
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 4]
mov esi, eax
neg esi
sbb esi, esi
push edx
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4296e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
cmp dword [esi], 0xffffffff
je 0x42972e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.Process___d_
push esi
call fcn.004298b0
mov edx, dword [esi]
add esp, 0xc
push 0
lea eax, [ebp - 8]
push eax
push 4
lea ecx, [ebp - 4]
push ecx
push edx
mov dword [ebp - 4], 0xa000d
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x429740
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x59ded8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x5e6468]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00429970
mov esi, dword [ebp + 8]
test esi, esi
je 0x42988a
cmp word [esi], 0
je 0x42988a
cmp dword [edi], 0xffffffff
je 0x42988a
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [0x5f22b0]
mov eax, dword [edx + 0xc]
mov ecx, 0x5f22b0
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
push esi
mov dword [esp + 0x34], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
movzx ecx, word [esp + 0x26]
movzx edx, word [esp + 0x24]
push eax
movzx eax, word [esp + 0x26]
push ecx
movzx ecx, word [esp + 0x28]
push edx
push eax
push ecx
lea edx, [esp + 0x24]
push str._02d:_02d:_02d:_04d__0x_x__t_s_r_n
push edx
call fcn.0042fa10
mov esi, dword [esp + 0x2c]
mov ecx, dword [esi - 0xc]
lea eax, [ecx - 3]
add esp, 0x20
test eax, eax
jl 0x42989e
cmp eax, ecx
jg 0x42989e
movzx eax, word [esi + eax*2]
cmp ax, 0xa
jne 0x42984e
cmp dword [esi - 4], 1
jle 0x429826
mov eax, ecx
push eax
lea ecx, [esp + 0x10]
call fcn.00427820
mov esi, dword [esp + 0xc]
mov eax, dword [esi - 0xc]
mov ecx, 0xd
mov word [esi + eax*2 - 6], cx
mov eax, dword [esi - 0xc]
mov edx, 0xa
mov word [esi + eax*2 - 4], dx
mov eax, dword [esi - 0xc]
dec eax
push eax
lea ecx, [esp + 0x10]
call fcn.0042bd10
mov eax, dword [esi - 0xc]
push 0
lea ecx, [esp + 0x14]
push ecx
lea edx, [eax + eax]
mov eax, dword [edi]
push edx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [esi - 0x10]
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42988a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00425c60
int3
Function at 0x42a000
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.0055e2a0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x42a057
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret
push str.ntdll.dll
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x42a047
push str.RtlGetVersion
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret

Function at 0x42a0a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0055e2a0
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 5
jne 0x42a0f6
mov eax, 1
cmp dword [ebp - 0x110], eax
je 0x42a0f8
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret

Function at 0x42a110
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0055e2a0
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.0055e289
mov esp, ebp
pop ebp
ret

Function at 0x42a1f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.0055e2a0
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x42a244
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x11c]
cmp eax, 6
ja 0x42a234
jne 0x42a25e
mov eax, 1
cmp dword [ebp - 0x118], eax
jae 0x42a260
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret
Function at 0x42de30
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a66b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5e6468]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.005932e6
push 4
mov dword [ebp - 4], 0
call fcn.0055e567
mov edi, eax
add esp, 4
test edi, edi
je 0x42deac
call fcn.00592930
mov dword [edi], eax
call fcn.00592734
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.005925ad
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x42dea2
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.005925d5
jmp 0x42deae
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x434aa0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
lea edx, [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push esi
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0xc]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x434b12
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x434ae1
cmp eax, 2
jne 0x434afc
mov eax, dword [ebp + 0x10]
test esi, esi
je 0x434b0c
test eax, eax
je 0x434b07
test al, 1
jne 0x434afc
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x434b0c
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x434c10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
mov dword [ebp - 0x210], 0
call fcn.0055e2a0
add esp, 0xc
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x210]
push eax
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsQHSafeMain.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x214], 0x208
mov dword [ebp - 0x210], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x434cca
mov eax, dword [ebp - 0x214]
shr eax, 1
dec eax
cmp eax, 0x104
jae 0x434cca
cmp word [ebp + eax*2 - 0x20c], 0x5c
je 0x434cc2
cmp eax, 0x103
jae 0x434cca
mov ecx, 0x5c
xor edx, edx
mov word [ebp + eax*2 - 0x20c], cx
mov word [ebp + eax*2 - 0x20a], dx
lea eax, [ebp - 0x20c]
jmp 0x434ccf
mov eax, 0x5c353c
push eax
mov ecx, esi
call fcn.00426f30
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0055e289
mov esp, ebp
pop ebp
ret
Function at 0x435380
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 4]
push 0
lea ecx, [ebp - 4]
push ecx
push 0
or edx, 0x20006
push edx
push 0
push 0
push 0
push eax
mov eax, dword [esi]
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4353ec
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov esi, dword [esi + 8]
push ecx
mov ecx, dword [ebp - 4]
push edx
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 4]
mov esi, eax
neg esi
sbb esi, esi
push edx
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4368c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
test esi, esi
je 0x436916
lea eax, [ebp - 4]
push eax
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x436916
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 8
lea edx, [ebp + 8]
push edx
push 0xb
push str.PopupTime
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb eax, eax
inc eax
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x436920
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
test esi, esi
je 0x43697f
lea eax, [ebp - 4]
push eax
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov dword [ebp - 8], 1
test eax, eax
jne 0x43697f
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 4
lea edx, [ebp - 8]
push edx
push 4
push str.EnabledBefore
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
sete al
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x436a00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
xor eax, eax
cmp eax, str.SOFTWARE360TotalSecurityChrome
je 0x436a5f
lea ecx, [ebp - 4]
push ecx
push str.SOFTWARE360TotalSecurityChrome
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x436a5f
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 8
lea eax, [ebp + 8]
push eax
push 0xb
push str.PopupCount
push str.SOFTWARE360TotalSecurityChrome
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb eax, eax
inc eax
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x436e00
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 4], eax
test esi, esi
je 0x436f83
test edi, edi
je 0x436f83
test ebx, ebx
je 0x436f83
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.0055e2a0
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x61a]
push eax
mov word [ebp - 0x61c], dx
call fcn.0055e2a0
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x412]
push edx
mov word [ebp - 0x414], cx
call fcn.0055e2a0
add esp, 0x24
push 0x104
lea eax, [ebp - 0x61c]
push eax
push str._appdata_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp dword [ebp + 8], 2
push ebx
push edi
push esi
jne 0x436ef8
push str._s_sExtensions_s
lea ecx, [ebp - 0x414]
push 0x104
push ecx
call fcn.00434870
add esp, 0x18
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x61c]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x436f83
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret
push str...Local_s_sUser_DataDefaultExtensions_s
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.00434870
add esp, 0x18
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x61c]
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x436ee8
push 0x208
push eax
lea edx, [ebp - 0x20c]
push edx
call fcn.0055e2a0
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.0055e2a0
push ebx
push edi
push esi
push str...Local_SettingsApplication_Data_s_sUser_DataDefaultExtensions_s
lea ecx, [ebp - 0x414]
push 0x104
push ecx
call fcn.00434870
add esp, 0x30
jmp 0x436eb8
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
call fcn.0055e289
mov esp, ebp
pop ebp
ret
Function at 0x436fa0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 4], eax
test esi, esi
je 0x437166
test edi, edi
je 0x437166
test ebx, ebx
je 0x437166
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.0055e2a0
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x61a]
push eax
mov word [ebp - 0x61c], dx
call fcn.0055e2a0
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x412]
push edx
mov word [ebp - 0x414], cx
call fcn.0055e2a0
add esp, 0x24
push 0x104
lea eax, [ebp - 0x61c]
push eax
push str._appdata_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp dword [ebp + 8], 2
push ebx
push edi
push esi
jne 0x43709c
push str._s_sExtensions_s
lea ecx, [ebp - 0x414]
push 0x104
push ecx
call fcn.00434870
add esp, 0x18
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x61c]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x20c]
push 1
push edx
call fcn.00461a40
add esp, 8
test eax, eax
je 0x437166
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret
push str...Local_s_sUser_DataDefaultExtensions_s
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.00434870
add esp, 0x18
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x61c]
push edx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x20c]
push 1
push ecx
call fcn.00461a40
add esp, 8
test eax, eax
jne 0x43708c
push 0x208
push eax
lea edx, [ebp - 0x20c]
push edx
call fcn.0055e2a0
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.0055e2a0
push ebx
push edi
push esi
push str...Local_SettingsApplication_Data_s_sUser_DataDefaultExtensions_s
lea ecx, [ebp - 0x414]
push 0x104
push ecx
call fcn.00434870
add esp, 0x30
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x61c]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x20c]
push 1
push edx
call fcn.00461a40
add esp, 8
test eax, eax
je 0x437166
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
call fcn.0055e289
mov esp, ebp
pop ebp
ret
Function at 0x437fa0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59dc32
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x22c], edi
xor eax, eax
mov dword [ebp - 0x220], edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [ebp - 0x230], esi
mov word [esi + 4], ax
lea ecx, [ebp - 0x220]
push ecx
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
mov dword [ebp - 4], edi
push SysReAllocString
mov dword [ebp - 0x22c], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4380af
push 0x208
lea eax, [ebp - 0x21a]
xor edx, edx
push edi
push eax
mov dword [ebp - 0x228], edi
mov word [ebp - 0x21c], dx
call fcn.0055e2a0
add esp, 0xc
lea ecx, [ebp - 0x224]
push ecx
mov ecx, dword [ebp - 0x220]
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x228]
push eax
push edi
push str.Progid
push ecx
mov dword [ebp - 0x224], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4380a2
cmp dword [ebp - 0x228], 1
jne 0x4380a2
mov edx, dword [ebp - 0x224]
and edx, 0xfffffffe
cmp edx, 0x208
jae 0x4380a2
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, esi
mov word [ebp - 0x14], ax
call fcn.004464f0
mov edx, dword [ebp - 0x220]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret

Function at 0x4380d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4398
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5e6468]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea edi, [ebp - 0x10]
call fcn.00434ed0
mov dword [ebp - 4], 0
cmp dword [0x5f10b8], 0
mov esi, dword [eax]
jne 0x438148
push 0x5f10a0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x5f10b8], 0
jne 0x43813d
push esi
mov ecx, 0x5f0c90
call fcn.00447bb0
mov dword [0x5f10bc], eax
mov dword [0x5f10b8], 1
push 0x5f10a0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x5f10bc]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438174
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x43819b
push 4
push 0x5c353c
push 0x5c353c
push ebx
push str.open
push 0
mov ecx, 0x5f0c90
call fcn.0052b0b0
cmp eax, 0x20
jg 0x4381b5
push 4
push 0x5c353c
push 0x5c353c
push ebx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43d630
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x82c
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x412]
push ecx
mov word [ebp - 0x414], ax
call fcn.0055e2a0
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x822]
push eax
mov word [ebp - 0x824], dx
call fcn.0055e2a0
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0x18
lea ecx, [ebp - 0x82c]
push ecx
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x828]
push eax
push str.UninstallString
push str.SOFTWAREGoogleUpdateClientState8A69D345_D564_463c_AFF1_A69D9E530F96
push SysReAllocString
mov dword [ebp - 0x828], 1
mov dword [ebp - 0x82c], 0x208
call esi
lea ecx, [ebp - 0x82c]
push ecx
lea edx, [ebp - 0x824]
push edx
lea eax, [ebp - 0x828]
push eax
push str.UninstallString
push str.SOFTWAREGoogleUpdateClientState8A69D345_D564_463c_AFF1_A69D9E530F96
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push 0x208
lea ecx, [ebp - 0x20c]
push 0
push ecx
call fcn.0055e2a0
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
lea edx, [ebp - 0x414]
push edx
call edi
test eax, eax
je 0x43d742
lea eax, [ebp - 0x20c]
lea esi, [ebp - 0x414]
mov ecx, eax
mov edx, 0x104
sub esi, ecx
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x43d790
movzx ecx, word [esi + eax]
test cx, cx
je 0x43d790
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x43d722
jmp 0x43d794
lea eax, [ebp - 0x824]
push eax
call edi
test eax, eax
je 0x43d814
lea eax, [ebp - 0x20c]
lea esi, [ebp - 0x824]
mov ecx, eax
mov edx, 0x104
sub esi, ecx
jmp 0x43d770
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x43d790
movzx ecx, word [esi + eax]
test cx, cx
je 0x43d790
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x43d770
jmp 0x43d794
test edx, edx
jne 0x43d797
sub eax, 2
xor edx, edx
push 0x208
mov word [eax], dx
push edx
lea eax, [ebp - 0x61c]
push eax
call fcn.0055e2a0
add esp, 0xc
push str.......chrome.exe
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x61c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x43d814
lea eax, [ebp - 0x61c]
push eax
call edi
test eax, eax
je 0x43d814
lea eax, [ebp - 0x61c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43d7e4
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x61c]
push ecx
mov ecx, ebx
call fcn.004252e0
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor al, al
pop esi
call fcn.0055e289
mov esp, ebp
pop ebp
ret