joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c2c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, dword [0x51ed64]
push edi
mov edi, ecx
test esi, esi
jne 0x45c2e8
mov dword [edi], esi
mov eax, edi
mov dword [edi + 8], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x51aa4c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test ecx, ecx
jne 0x45c301
call fcn.004686f0
mov ecx, eax
mov eax, dword [esi + 0x14]
lea ebx, [ecx + eax*8]
mov eax, dword [ebx + 4]
cmp eax, dword [esi + 0x18]
jne 0x45c315
mov ebx, dword [ebx]
test ebx, ebx
jne 0x45c31e
mov ecx, esi
call fcn.0045b600
mov ebx, eax
mov dword [edi], ebx
test ebx, ebx
je 0x45c3cc
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x38]
mov dword [esp + 0xc], eax
cmp eax, dword [ebx + 0xc]
jb 0x45c349
mov edx, dword [esp + 0xc]
lea ecx, [eax + 1]
mov eax, dword [ebx + 4]
mov dword [eax + 0x38], ecx
jmp 0x45c3c9
mov esi, eax
lea eax, [esp + 0x18]
shl esi, 7
add esi, dword [ebx + 8]
push eax
call dword [0x51aa38]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
mov eax, esp
mov dword [esp + 0x18], edx
push 0
push 0
mov dword [esp + 0x24], ecx
mov dword [eax], edx
mov dword [eax + 4], ecx
call fcn.004520e0
mov dword [esi], eax
add esp, 0x10
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], edx
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [esi + 0x70], 0x30
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0xc]
lea eax, [edx + 1]
mov dword [ecx + 0x38], eax
mov dword [edi + 4], edx
mov dword [edi + 8], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45c3e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0xc]
sub esp, 0x1c
cmp byte [eax + 4], 0
push ebx
push esi
push edi
mov edi, ecx
je 0x45c3ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x45c401
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov esi, dword [0x51ed64]
mov dword [esp + 0x14], eax
test esi, esi
jne 0x45c426
mov dword [edi], esi
mov eax, edi
mov dword [edi + 8], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x51aa4c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test ecx, ecx
jne 0x45c43f
call fcn.004686f0
mov ecx, eax
mov eax, dword [esi + 0x14]
lea ebx, [ecx + eax*8]
mov eax, dword [ebx + 4]
cmp eax, dword [esi + 0x18]
jne 0x45c453
mov ebx, dword [ebx]
test ebx, ebx
jne 0x45c45c
mov ecx, esi
call fcn.0045b600
mov ebx, eax
mov dword [edi], ebx
test ebx, ebx
je 0x45c50b
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x38]
mov dword [esp + 0x10], eax
cmp eax, dword [ebx + 0xc]
jb 0x45c487
mov edx, dword [esp + 0x10]
lea ecx, [eax + 1]
mov eax, dword [ebx + 4]
mov dword [eax + 0x38], ecx
jmp 0x45c508
mov esi, eax
lea eax, [esp + 0x20]
shl esi, 7
add esi, dword [ebx + 8]
push eax
call dword [0x51aa38]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
mov eax, esp
mov dword [esp + 0x20], edx
push 0
push 0
mov dword [esp + 0x2c], ecx
mov dword [eax], edx
mov dword [eax + 4], ecx
call fcn.004520e0
mov dword [esi], eax
add esp, 0x10
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 4], edx
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [esi + 0x70], 0x51
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x10]
lea eax, [edx + 1]
mov dword [ecx + 0x38], eax
mov dword [edi + 4], edx
mov dword [edi + 8], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4635b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, edi
sar ecx, 2
test ecx, ecx
je 0x463620
push ebx
push esi
mov ebx, ecx
mov eax, dword [edi]
lea edi, [edi + 4]
movzx esi, cl
movzx edx, al
xor esi, edx
shr ecx, 8
mov dword [ebp - 4], eax
movzx eax, ah
xor ecx, dword [esi*4 + 0x504600]
movzx edx, cl
xor edx, eax
shr ecx, 8
movzx eax, byte [ebp - 2]
xor ecx, dword [edx*4 + 0x504600]
movzx edx, cl
xor edx, eax
shr ecx, 8
movzx eax, byte [ebp - 1]
xor ecx, dword [edx*4 + 0x504600]
movzx edx, cl
xor edx, eax
shr ecx, 8
xor ecx, dword [edx*4 + 0x504600]
sub ebx, 1
jne 0x4635c7
pop esi
pop ebx
mov eax, ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x468360
Capabilities:
Enumerate processes

Disassembly:
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xc]
push 0x22c
push 0
push edi
call fcn.004cda10
add esp, 0xc
mov dword [edi], 0x22c
cmp byte [esi + 8], 0
push edi
push dword [esi + 4]
jne 0x468393
mov byte [esi + 8], 1
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x468399
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
setne al
test al, al
je 0x4683b4
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 4]
call edx
test al, al
je 0x468367
mov eax, edi
pop edi
pop esi
ret
pop edi
xor eax, eax
pop esi
ret

Function at 0x4684b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3e0
mov eax, dword [0x51a0a0]
xor eax, esp
mov dword [esp + 0x3dc], eax
push ebx
push esi
xor ebx, ebx
mov byte [esp + 0xf], 1
mov dword [esp + 0x10], ebx
mov esi, ecx
push ebx
push 2
mov dword [esp + 0x190], 0x514bec
mov byte [esp + 0x198], bl
mov dword [esp + 0x3c8], ebx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [esp + 0x18c], eax
lea ecx, [esp + 0x3c4]
xor eax, eax
mov dword [esp + 0x188], 0x514b1c
push 0xffffffffffffffff
push eax
push esi
mov dword [esp + 0x3e4], 7
mov dword [esp + 0x3e0], ebx
mov word [esp + 0x3d0], ax
call fcn.0041b960
lea ecx, [esp + 0x188]
call fcn.00468360
test eax, eax
je 0x468666
nop dword [eax]
push dword [eax + 8]
push 0
push 0x100401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push eax
lea ecx, [esp + 0x14]
call fcn.00435590
cmp byte [esp + 0x14], 0
je 0x468579
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x46857d
mov eax, dword [esp + 0x10]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne al
mov byte [esp + 0xe], al
test al, al
je 0x4685f5
cmp byte [esp + 0x14], 0
je 0x4685a2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x4685a6
mov eax, dword [esp + 0x10]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4685c7
test bl, 1
je 0x4685c7
lea ecx, [esp + 0x18]
and ebx, 0xfffffffe
call fcn.0044c710
cmp byte [esp + 0x14], 0
je 0x4685d6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x4685da
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov ecx, dword [0x51ed64]
test ecx, ecx
je 0x468609
push 2
push eax
call fcn.0045b910
jmp 0x468609
test bl, 2
je 0x46860d
lea ecx, [esp + 0xd0]
and ebx, 0xfffffffd
call fcn.0044c710
mov al, byte [esp + 0xe]
and byte [esp + 0xf], al
mov esi, dword [esp + 0x10]
test esi, esi
je 0x468652
cmp esi, 0xffffffff
je 0x468652
call sym.setup.exe_GetHandleVerifier
mov ecx, eax
mov edx, dword [ecx]
call fcn.0044dee0
push eax
mov eax, dword [ebp + 4]
push eax
lea eax, [esp + 0x18]
push eax
push esi
call dword [edx + 8]
mov esi, dword [esp + 0x10]
call sym.setup.exe_GetHandleVerifier
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x188]
call fcn.00468360
test eax, eax
jne 0x468550
lea ecx, [esp + 0x188]
call fcn.00468410
mov ecx, dword [esp + 0x3e4]
mov al, byte [esp + 0xf]
pop esi
pop ebx
xor ecx, esp
call fcn.004cb8a3
mov esp, ebp
pop ebp
ret
Function at 0x4686f0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x51a0a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x51aa4c]
mov dword [ebp - 0x80c], ebx
push esi
push edi
cmp ebx, 0xffffffff
jne 0x468770
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, ebx
je 0x46872b
mov ebx, eax
mov dword [ebp - 0x80c], ebx
jmp 0x46874a
int3
mov ecx, ebx
mov edx, 0x51aa4c
or eax, 0xffffffff
lock cmpxchg dword [edx], ecx
cmp eax, 0xffffffff
je 0x468770
push ebx
call dword [sym.imp.KERNEL32.dll_TlsFree]
mov ebx, dword [0x51aa4c]
mov dword [ebp - 0x80c], ebx
push ebx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46877c
int3
push 0x800
lea eax, [ebp - 0x808]
push 0
push eax
call fcn.004cda10
add esp, 0xc
lea eax, [ebp - 0x808]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0x800
call fcn.004cbd7f
add esp, 4
lea esi, [ebp - 0x808]
mov ebx, eax
mov ecx, 0x200
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push ebx
push dword [ebp - 0x80c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cb8a3
mov esp, ebp
pop ebp
ret

Function at 0x4687e0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x141c
call fcn.004cc960
mov eax, dword [0x51a0a0]
xor eax, esp
mov dword [esp + 0x1418], eax
mov eax, dword [0x51aa4c]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 0xc], eax
push edi
mov ecx, 0x200
lea edi, [esp + 0x20]
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
call fcn.004cb8b4
add esp, 4
call fcn.00468690
mov esi, eax
push esi
mov dword [esp + 0x10], esi
call fcn.0044dee0
push eax
lea ecx, [esp + 0x1c]
call fcn.0045c1a0
push esi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
lea ecx, [esp + 0x14]
call fcn.0045b540
push dword [esp + 0xc]
mov ecx, 0x300
lea edi, [esp + 0x824]
mov esi, 0x51d180
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ebx, 0x100
nop dword [eax + eax]
xor dl, dl
lea esi, [esp + 0x828]
xor edi, edi
nop dword [eax + eax]
mov ecx, dword [esp + edi*8 + 0x20]
test ecx, ecx
je 0x4688bd
cmp dword [esi - 8], 0
je 0x4688bd
mov eax, dword [esp + edi*8 + 0x24]
cmp eax, dword [esi]
jne 0x4688bd
mov eax, dword [esi - 4]
test eax, eax
je 0x4688bd
push ecx
mov dword [esp + edi*8 + 0x24], 0
call eax
add esp, 4
mov dl, 1
inc edi
add esi, 0xc
cmp edi, 0x100
jl 0x468890
dec ebx
test ebx, ebx
jle 0x4688d2
test dl, dl
jne 0x468880
push 0
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [esp + 0x1424]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004cb8a3
mov esp, ebp
pop ebp
ret
Function at 0x468900
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x51aa4c]
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
cmp eax, 0xffffffff
je 0x468923
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x468928
call fcn.004686f0
mov dword [edi + 4], 0xffffffff
mov dword [edi + 8], 0
call fcn.00468690
mov esi, eax
push esi
call fcn.0044dee0
push eax
lea ecx, [esp + 0x14]
call fcn.0045c1a0
push esi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
lea ecx, [esp + 0xc]
call fcn.0045b540
mov ebx, dword [0x51edb0]
xor ecx, ecx
inc ebx
lea eax, [ebx + ecx]
movzx edx, al
lea eax, [edx + edx*2]
cmp dword [eax*4 + 0x51d180], 0
je 0x468984
inc ecx
cmp ecx, 0x100
jl 0x468966
jmp 0x4689af
mov eax, dword [ebp + 8]
lea ecx, [edx + edx*2]
mov dword [ecx*4 + 0x51d184], eax
mov dword [ecx*4 + 0x51d180], 1
mov dword [edi + 4], edx
mov eax, dword [ecx*4 + 0x51d188]
mov dword [0x51edb0], edx
mov dword [edi + 8], eax
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp dword [edi + 4], 0xffffffff
jne 0x4689bd
int3
cmp dword [edi + 4], 0x100
jl 0x4689c7
int3
mov dword [edi], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x469ea0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
or eax, 0xffffffff
push ebx
push esi
push edi
mov edi, 8
lea ebx, [ebp - 0x10]
cmp edi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov esi, edi
cmova esi, eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
jne 0x469ed0
int3
add ebx, esi
mov eax, 0xffffffff
sub edi, esi
jne 0x469eb4
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x469ef0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, edx
mov ebx, ecx
test edi, edi
je 0x469f2a
or eax, 0xffffffff
push esi
cmp edi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov esi, edi
cmova esi, eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
jne 0x469f1e
int3
add ebx, esi
mov eax, 0xffffffff
sub edi, esi
jne 0x469f02
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46b140
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, edx
mov esi, ecx
mov eax, edi
test edi, edi
jle 0x46b207
test esi, esi
je 0x46b207
push ebx
mov ebx, edi
sar edi, 2
and ebx, 3
test edi, edi
jle 0x46b189
movzx ecx, word [esi]
dec edi
movzx edx, word [esi + 2]
add eax, ecx
mov ecx, eax
add esi, 4
shl ecx, 5
xor edx, ecx
shl edx, 0xb
xor eax, edx
mov ecx, eax
shr ecx, 0xb
add eax, ecx
test edi, edi
jg 0x46b165
sub ebx, 1
je 0x46b1c5
sub ebx, 1
je 0x46b1b2
sub ebx, 1
jne 0x46b1d7
movzx ecx, word [esi]
add eax, ecx
movsx ecx, byte [esi + 2]
shl ecx, 2
xor ecx, eax
shl ecx, 0x10
xor eax, ecx
mov ecx, eax
shr ecx, 0xb
jmp 0x46b1d5
movzx ecx, word [esi]
add eax, ecx
mov ecx, eax
shl ecx, 0xb
xor eax, ecx
mov ecx, eax
shr ecx, 0x11
jmp 0x46b1d5
movsx ecx, byte [esi]
add eax, ecx
mov ecx, eax
shl ecx, 0xa
xor eax, ecx
mov ecx, eax
shr ecx, 1
add eax, ecx
lea ecx, [eax*8]
xor eax, ecx
mov ecx, eax
shr ecx, 5
add eax, ecx
mov ecx, eax
shl ecx, 4
xor eax, ecx
mov ecx, eax
shr ecx, 0x11
add eax, ecx
mov ecx, eax
shl ecx, 0x19
xor eax, ecx
mov ecx, eax
pop ebx
shr ecx, 6
pop edi
add eax, ecx
pop esi
ret
pop edi
xor eax, eax
pop esi
ret
Function at 0x46f03a
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
mov eax, dword [0x51a0a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 9
mov esi, ecx
lea edi, [ebp - 0x28]
pop ecx
xor eax, eax
xor ebx, ebx
rep stosd dword es:[edi], eax
push 8
pop edi
mov dword [ebp - 0x2c], ebx
cmp dword [esi + 0x14], edi
jb 0x46f06d
mov eax, dword [esi]
jmp 0x46f06f
mov eax, esi
lea ecx, [ebp - 0x28]
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
jne 0x46f0e5
xor ecx, ecx
inc ecx
call fcn.0044bc30
test al, al
je 0x46f0ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 1
push 0x3e
push str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xe8], eax
call fcn.0044bca0
cmp dword [esi + 0x14], edi
jb 0x46f0b2
mov esi, dword [esi]
mov edx, esi
lea ecx, [ebp - 0xd8]
call fcn.0044c7c0
mov edx, str._does_not_exist.
mov ecx, eax
call fcn.0041cec3
xor ebx, ebx
inc ebx
test bl, 1
je 0x46f0de
lea ecx, [ebp - 0xe8]
call fcn.0044c710
xor al, al
jmp 0x46f1ca
mov ecx, esi
call fcn.004362c0
push 4
pop ecx
push 5
test al, al
pop edx
cmove ecx, edx
cmp dword [esi + 0x14], edi
jb 0x46f100
mov eax, dword [esi]
jmp 0x46f102
mov eax, esi
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x46f172
push 2
pop ecx
call fcn.0044bc30
test al, al
je 0x46f16a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 2
push 0x49
push str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xe8], eax
call fcn.0044bca0
mov edx, str.Could_not_schedule
lea ecx, [ebp - 0xd8]
call fcn.0041cec3
cmp dword [esi + 0x14], edi
jb 0x46f152
mov esi, dword [esi]
mov edx, esi
mov ecx, eax
call fcn.0044c7c0
mov edx, str._for_deletion.
mov ecx, eax
call fcn.0041cec3
push 2
pop ebx
test bl, 2
jmp 0x46f0d1
push 0x3a
pop edx
mov ecx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
call fcn.0044bc60
cmp eax, 1
jl 0x46f1b8
push 0xffffffffffffffff
push 0x5d
push str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea ecx, [ebp - 0xe0]
call fcn.0044bca0
mov edx, str.Scheduled_for_deletion:
lea ecx, [eax + 8]
call fcn.0041cec3
cmp dword [esi + 0x14], edi
jb 0x46f1ac
mov esi, dword [esi]
mov edx, esi
mov ecx, eax
call fcn.0044c7c0
push 4
pop ebx
test bl, 4
je 0x46f1c8
lea ecx, [ebp - 0xe0]
call fcn.0044bd90
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cb8a3
mov esp, ebp
pop ebp
ret
Function at 0x46f753
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 8], ebx
push dword [esi + 4]
push dword [esi]
call fcn.0046fcf7
mov eax, dword [esi]
lea ecx, [ebp - 0x20]
push 1
push str.SYSTEMCurrentControlSetControlSession_Manager
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esi + 4], eax
call fcn.00442630
cmp dword [ebp - 0x20], ebx
jne 0x46f794
mov esi, 0x80070002
jmp 0x46f83d
push 1
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call fcn.0046faf6
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 8]
push eax
push ebx
push str.PendingFileRenameOperations
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x46f7d0
mov esi, 0x80070002
jmp 0x46f835
cmp eax, 0xea
jne 0x46f813
cmp dword [ebp - 8], 7
jne 0x46f7e3
test byte [ebp - 4], 1
je 0x46f7ea
mov esi, 0x8000ffff
jmp 0x46f835
push dword [ebp - 4]
lea ecx, [ebp - 0x14]
call fcn.0046faf6
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 8]
push eax
push ebx
push str.PendingFileRenameOperations
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x46f823
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x46f835
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
push esi
call fcn.0046f52b
pop ecx
mov esi, eax
lea ecx, [ebp - 0x14]
call fcn.00449a20
lea ecx, [ebp - 0x20]
call fcn.004426e0
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46f93e
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x51a0a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [ebp - 0x5c], ebx
push edi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
call fcn.0046f753
cmp eax, 0x80070002
jne 0x46f97a
mov bl, 1
jmp 0x46fadb
test eax, eax
js 0x46fadb
mov edx, esi
lea ecx, [ebp - 0x34]
call fcn.0046f6b1
mov esi, dword [ebp - 0x4c]
mov ecx, ebx
mov edi, dword [ebp - 0x48]
mov eax, ebx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], ebx
cmp esi, edi
je 0x46f9e2
push ecx
push ecx
mov ecx, esp
push esi
call fcn.0041ad80
lea ecx, [ebp - 0x1c]
call fcn.0043eec0
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x34]
call fcn.0046f84d
test al, al
jne 0x46f9cd
push esi
lea ecx, [ebp - 0x58]
call fcn.0046fb3c
lea ecx, [ebp - 0x1c]
call fcn.0043ef40
add esi, 0x30
cmp esi, edi
jne 0x46f9a3
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x58]
sub eax, ecx
sub edi, dword [ebp - 0x4c]
cdq
push 0x30
pop esi
idiv esi
mov ecx, eax
mov eax, edi
cdq
idiv esi
mov dword [ebp - 0x60], ecx
cmp ecx, eax
jne 0x46fa02
mov bl, 1
jmp 0x46facb
push 6
push str.SYSTEMCurrentControlSetControlSession_Manager
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x10]
call fcn.00442630
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x46fa65
push 2
pop ecx
call fcn.0044bc30
test al, al
je 0x46fa51
push ecx
push 0x185
push str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea ecx, [ebp - 0x110]
call fcn.0044bca0
mov edx, str.Failed_to_open_session_manager_key_for_writing.
lea ecx, [eax + 8]
call fcn.0041cec3
xor eax, eax
inc eax
jmp 0x46fa54
mov eax, dword [ebp - 0x5c]
test al, 1
je 0x46fac3
lea ecx, [ebp - 0x110]
call fcn.0044bd90
jmp 0x46fac3
cmp dword [ebp - 0x60], 1
ja 0x46fa81
push str.PendingFileRenameOperations
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
neg eax
sbb al, al
inc al
mov bl, al
jmp 0x46fac3
lea edx, [ebp - 0x40]
mov dword [ebp - 0x40], ebx
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
call fcn.0046f603
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x40], eax
je 0x46fabb
sub eax, dword [ebp - 0x40]
push eax
push dword [ebp - 0x40]
push 7
push ebx
push str.PendingFileRenameOperations
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb al, al
inc al
mov bl, al
lea ecx, [ebp - 0x40]
call fcn.00449a20
lea ecx, [ebp - 0x10]
call fcn.004426e0
lea ecx, [ebp - 0x58]
call fcn.0046fba5
lea ecx, [ebp - 0x34]
call fcn.0043ef40
lea ecx, [ebp - 0x4c]
call fcn.0046fba5
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cb8a3
mov esp, ebp
pop ebp
ret
Function at 0x4704c7
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x51a0a0]
xor eax, ebp
mov dword [ebp - 8], eax
mov ecx, dword [edx + 4]
lea edx, [ebp - 0x20]
push ebx
xor ebx, ebx
push edx
mov eax, dword [ecx]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
call dword [eax + 8]
cmp dword [ebp - 0xc], 8
lea eax, [ebp - 0x20]
push 0x202
cmovae eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x30]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00442710
test eax, eax
jne 0x470538
push 4
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 1
push eax
push 4
push ebx
push str.eulaaccepted
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x470538
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.0041b875
lea ecx, [ebp - 0x30]
call fcn.004426e0
mov ecx, dword [ebp - 8]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004cb8a3
mov esp, ebp
pop ebp
ret

Function at 0x470e90
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x51a0a0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x50], 0
xor eax, eax
push ebx
mov bl, cl
test bl, bl
push esi
setne al
mov esi, edx
add eax, 0x80000001
mov dword [ebp - 0x50], eax
call fcn.0046fe73
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
test bl, bl
je 0x470ed6
lea edx, [ebp - 0x4c]
push edx
call dword [eax + 8]
xor ebx, ebx
lea eax, [ebp - 0x4c]
inc ebx
jmp 0x470ee3
lea edx, [ebp - 0x1c]
push edx
call dword [eax + 4]
push 2
lea eax, [ebp - 0x1c]
pop ebx
push eax
lea ecx, [ebp - 0x34]
call fcn.0041ae3b
test bl, 2
je 0x470f00
push 0
push 1
lea ecx, [ebp - 0x1c]
and ebx, 0xfffffffd
call fcn.0041b875
test bl, 1
je 0x470f11
push 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.0041b875
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
push 0x202
cmovae eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x10]
push eax
push dword [ebp - 0x50]
call fcn.00442630
cmp dword [ebp - 0x10], 0
jne 0x470f37
xor bl, bl
jmp 0x470f72
cmp dword [esi + 0x10], 0
jne 0x470f55
push str.experiment_labels
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
jmp 0x470f72
cmp dword [esi + 0x14], 8
jb 0x470f5d
mov esi, dword [esi]
push esi
push str.experiment_labels
lea ecx, [ebp - 0x10]
call fcn.00442d50
neg eax
sbb al, al
lea ebx, [eax + 1]
lea ecx, [ebp - 0x10]
call fcn.004426e0
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.0041b875
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.004cb8a3
mov esp, ebp
pop ebp
ret