joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180b0e76
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x181cd008]
xor eax, esp
mov dword [esp + 0x228], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x208
mov dword [esp + 0x10], eax
xor edi, edi
lea eax, [esp + 0x2c]
mov bl, dl
push edi
push eax
mov esi, ecx
call fcn.18147be0
add esp, 0xc
lea eax, [esp + 0x28]
push 0x104
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x180b0edd
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x180b0f31
movzx eax, ax
or eax, 0x80070000
jmp 0x180b0f31
lea ecx, [esp + 0x10]
call fcn.18008365
lea eax, [esp + 0x10]
mov dl, bl
push eax
lea ecx, [esp + 0x2c]
call fcn.18008a86
pop ecx
push dword [esp + 0x10]
push edi
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
test eax, eax
jne 0x180b0f26
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x180b0f26
movzx edi, di
or edi, 0x80070000
lea ecx, [esp + 0x10]
call fcn.1800838e
mov eax, edi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.181450cb
mov esp, ebp
pop ebp
ret

Function at 0x180b0f76
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10814
call fcn.1816c7a0
mov eax, dword [0x181cd008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
mov edi, ecx
mov dword [ebp - 0x10814], esi
mov ecx, dword [edi]
call fcn.180050f2
test al, al
jne 0x180b0fb2
mov eax, 0x80070002
jmp 0x180b10ab
mov ecx, esi
call fcn.180145fd
push 0x10000
lea eax, [ebp - 0x10804]
push 0
push eax
call fcn.18147be0
add esp, 0xc
lea eax, [ebp - 0x10804]
push dword [edi]
push 0x8000
push eax
push 0
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
and dword [ebp - 0x1080c], 0
mov dword [ebp - 0x10810], eax
test eax, eax
je 0x180b10a9
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.18147be0
mov eax, dword [ebp - 0x1080c]
lea ecx, [ebp - 0x10804]
add esp, 0xc
lea eax, [ecx + eax*2]
push eax
lea ecx, [ebp - 0x10808]
call fcn.18006dd4
push dword [edi]
lea eax, [ebp - 0x804]
push 0x400
push eax
push 0
push dword [ebp - 0x10808]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x10808]
mov ecx, esi
push eax
call fcn.180b200c
mov esi, eax
lea eax, [ebp - 0x804]
push eax
call fcn.1814bb43
pop ecx
push eax
lea eax, [ebp - 0x804]
mov ecx, esi
push eax
call fcn.1800708f
mov eax, dword [ebp - 0x10808]
mov esi, dword [ebp - 0x1080c]
inc esi
add esi, dword [eax - 0xc]
lea ecx, [eax - 0x10]
mov dword [ebp - 0x1080c], esi
call fcn.180046a5
cmp esi, dword [ebp - 0x10810]
mov esi, dword [ebp - 0x10814]
jb 0x180b0ffe
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181450cb
leave
ret
Function at 0x180b10ba
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0xc], ebx
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x180b11c9
mov eax, dword [ebx]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x180b11c9
mov edx, dword [esi]
lea ecx, [ebp - 8]
push 0x181b8c90
call fcn.18008275
mov esi, dword [ebp - 8]
pop ecx
cmp dword [esi - 0xc], ebx
jne 0x180b110a
call fcn.18013db1
mov ebx, eax
jmp 0x180b11bd
push edi
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x180b1135
call fcn.18013db1
mov ebx, eax
jmp 0x180b11bc
call fcn.18004041
push eax
lea ecx, [ebp - 4]
call fcn.1800710c
mov edx, dword [ebp - 0xc]
lea ecx, [ebp - 0xc]
call fcn.1800c58f
push dword [eax]
lea eax, [ebp - 4]
push 0xbf
push 0xbb
push 0xef
push str._c_c_c_s
push eax
call fcn.1800f284
mov ecx, dword [ebp - 0xc]
add esp, 0x18
lea ecx, [ecx - 0x10]
call fcn.180046a5
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x10]
push ebx
push ecx
mov dword [ebp - 0x10], ebx
push dword [eax - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x180b119e
call fcn.18013db1
mov ebx, eax
jmp 0x180b11aa
mov ecx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
call fcn.18006d7c
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.180046a5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
lea ecx, [esi - 0x10]
call fcn.180046a5
mov eax, ebx
jmp 0x180b11cc
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret
Function at 0x180b1a9b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov bl, cl
push esi
push edi
test bl, bl
je 0x180b1abd
call fcn.180afe2d
test al, al
je 0x180b1abd
mov eax, 0x80004005
jmp 0x180b1bed
xor esi, esi
mov dword [ebp - 0xc], 0x181a885c
lea edx, [ebp - 0xc]
mov dword [ebp - 8], esi
mov cl, bl
call fcn.180b168a
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0xc]
call dword [eax + 4]
mov dword [ebp - 0x18], 0x181a7ff8
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0x200
call fcn.180b4b72
mov eax, str.HKLMSoftwareGoogleUpdate_
test bl, bl
jne 0x180b1b00
mov eax, str.HKCUSoftwareGoogleUpdate_
push esi
push ecx
push 0xf003f
push ecx
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.18012590
mov edi, eax
test edi, edi
js 0x180b1bcb
push esi
push esi
push esi
push esi
push 0x181b89f4
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180b1b39
mov edi, esi
jmp 0x180b1bcb
call fcn.18004041
push eax
lea ecx, [ebp - 4]
call fcn.1800710c
lea ecx, [ebp - 4]
call fcn.18009a3a
mov esi, dword [ebp - 4]
test eax, eax
js 0x180b1bc1
xor edi, edi
lea ecx, [ebp - 0x18]
inc edi
push edi
push esi
push 0x181b89f4
call fcn.18012cce
test eax, eax
js 0x180b1bc1
mov ecx, 0x181d0e40
call fcn.18016ee6
lea ecx, [ebp - 0x18]
call fcn.180b1a44
xor eax, eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call fcn.180b1404
test eax, eax
js 0x180b1bb7
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
je 0x180b1bb7
sub esp, 0xc
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call fcn.1802d6e2
mov cl, bl
call fcn.180b16eb
add esp, 0xc
mov edi, eax
lea ecx, [ebp - 0x24]
call fcn.1800b460
jmp 0x180b1bc3
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.180046a5
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x181a7ff8
call fcn.180124e5
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0xc]
call dword [eax + 8]
lea ecx, [ebp - 0xc]
call fcn.1800ebda
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x180b241c
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [esp + 0x13]
mov byte [esp + 0x13], 0
push eax
push 0x180b24e1
mov edi, ecx
call dword [sym.imp.USER32.dll_EnumWindows]
call fcn.18004041
push eax
lea ecx, [esp + 0x18]
call fcn.1800710c
push dword [ebp + 0xc]
lea eax, [esp + 0x18]
push dword [ebp + 8]
push str._s_s.dmp
push eax
call fcn.1800f26f
lea ecx, [esp + 0x24]
call fcn.1800f04e
mov bl, byte [esp + 0x23]
lea eax, [esp + 0x24]
mov dl, byte [edi]
add esp, 0xc
mov cl, bl
push eax
call fcn.180be55a
cmp byte [edi + 1], 0
pop ecx
pop ecx
je 0x180b24cc
push dword [ebp + 0xc]
lea eax, [esp + 0x18]
push dword [ebp + 8]
push str._s_s_full.dmp
push eax
call fcn.1800f26f
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.1800f04e
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.180050f2
test al, al
je 0x180b24d0
mov dl, byte [edi]
lea eax, [esp + 0x14]
push ecx
push eax
mov cl, bl
call fcn.180be55a
pop ecx
pop ecx
jmp 0x180b24d0
mov esi, dword [esp + 0x14]
lea ecx, [esi - 0x10]
call fcn.180046a5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x180b306b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
mov esi, ecx
call fcn.18004041
push eax
lea ecx, [ebp - 4]
call fcn.1800710c
push str.430FD4D0_B729_4F61_AA34_91526481799D
lea ecx, [ebp - 8]
call fcn.18006dd4
mov cl, byte [esi]
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 8]
call fcn.180bbe40
pop ecx
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.180046a5
lea ecx, [ebp - 4]
call fcn.180083fa
cmp edx, 0x10003
ja 0x180b30cb
jb 0x180b30c1
test eax, eax
jae 0x180b30cb
mov ebx, 0x80004001
jmp 0x180b31c0
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0xc]
call fcn.1800c58f
call fcn.18004041
push eax
lea ecx, [ebp + 8]
call fcn.1800710c
lea edx, [ebp + 8]
lea ecx, [ebp - 0xc]
call fcn.1800cef0
push 0x1e
lea ecx, [ebp - 0x3c]
call fcn.180b8259
mov edi, dword [ebp + 8]
lea ecx, [ebp + 8]
mov edx, edi
push dword [edi - 0xc]
call fcn.1800c6b1
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.18006d7c
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.180046a5
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x3c]
call fcn.180b83bf
mov cl, byte [esi]
lea eax, [ebp + 8]
and dword [ebp + 8], 0
xor edx, edx
push eax
push dword [ebp - 8]
inc edx
call fcn.180b04c5
mov esi, dword [ebp + 8]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x180b318f
cmp dword [ebp + 0xc], 0
je 0x180b318d
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
and dword [ebp + 0xc], 0
test eax, eax
jne 0x180b3176
lea eax, [ebp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x180b3186
mov ebx, dword [ebp + 0xc]
jmp 0x180b318f
cmp eax, 0x102
jne 0x180b3186
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x80004005
jmp 0x180b318f
xor ebx, ebx
test esi, esi
je 0x180b319a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.180046a5
lea ecx, [ebp - 0x3c]
call fcn.180b82f1
lea ecx, [edi - 0x10]
call fcn.180046a5
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff0
call fcn.180046a5
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.180046a5
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8
Function at 0x180b401c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, ecx
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x180b4041
call fcn.18004041
push eax
mov ecx, ebx
call fcn.1800710c
jmp 0x180b410b
push esi
push edi
push str.SystemTemp
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], 0x24
call fcn.18006dd4
push str.GoogleTemp
lea ecx, [ebp - 0x14]
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0x26
call fcn.18006dd4
lea esi, [ebp - 0x24]
mov byte [ebp - 0x10], 1
mov dword [ebp - 8], esi
call fcn.18004041
push eax
lea ecx, [ebp - 4]
call fcn.1800710c
mov ecx, dword [esi]
lea eax, [ebp - 4]
lea edx, [esi + 4]
push eax
movzx eax, byte [edx + 4]
push eax
call fcn.180b3f7b
mov esi, dword [ebp - 4]
pop ecx
pop ecx
test eax, eax
js 0x180b40cf
mov ecx, esi
call fcn.180081b7
test al, al
je 0x180b40cf
push 0x181b91b0
mov edx, esi
lea ecx, [ebp - 0xc]
call fcn.18008275
mov edi, dword [ebp - 0xc]
pop ecx
cmp dword [edi - 0xc], 0
jne 0x180b4110
lea ecx, [edi - 0x10]
call fcn.180046a5
lea ecx, [esi - 0x10]
call fcn.180046a5
mov esi, dword [ebp - 8]
lea eax, [ebp - 0xc]
add esi, 0xc
mov dword [ebp - 8], esi
cmp esi, eax
jne 0x180b4079
call fcn.18004041
push eax
mov ecx, ebx
call fcn.1800710c
push 2
pop esi
lea edi, [ebp - 0xc]
sub edi, 0xc
mov ecx, edi
call fcn.180111e4
sub esi, 1
jne 0x180b40fa
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi - 0x10]
call fcn.18007189
add eax, 0x10
lea ecx, [edi - 0x10]
mov dword [ebx], eax
call fcn.180046a5
lea ecx, [esi - 0x10]
call fcn.180046a5
push 2
pop esi
lea edi, [ebp - 0xc]
sub edi, 0xc
mov ecx, edi
call fcn.180111e4
sub esi, 1
jne 0x180b413a
jmp 0x180b4109

Function at 0x180b61dd
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
push 4
mov edx, str.AutoUpdateJitterMs
mov ecx, str.HKLMSoftwareGoogleUpdateDev_
call fcn.18012855
add esp, 0xc
test eax, eax
js 0x180b6215
mov eax, dword [ebp - 4]
cmp eax, 0xea60
jb 0x180b623a
mov eax, 0xea5f
leave
ret
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push 4
push eax
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
movzx eax, al
mov ecx, 0xea60
neg eax
sbb eax, eax
xor edx, edx
and eax, dword [ebp - 8]
div ecx
mov eax, edx
leave
ret
Function at 0x180b6456
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x181cd008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.18147be0
add esp, 0xc
mov dword [ebp - 0x20c], 0x100
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x204]
push eax
push 3
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
xor ebx, ebx
inc ebx
test eax, eax
je 0x180b64bd
push ebx
mov edx, str..google.com
lea ecx, [ebp - 0x204]
call fcn.1800cb1c
pop ecx
test al, al
jne 0x180b6502
and dword [ebp - 0x208], 0
lea eax, [ebp - 0x208]
push esi
push eax
push 0x64
push 0
call dword [sym.imp.NETAPI32.dll_NetWkstaGetInfo]
mov esi, dword [ebp - 0x208]
test eax, eax
jne 0x180b64f8
cmp dword [esi + 8], eax
je 0x180b64f8
push str.google
push dword [esi + 8]
call fcn.18151e63
pop ecx
pop ecx
test eax, eax
je 0x180b64fa
xor bl, bl
push esi
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
pop esi
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.181450cb
leave
ret
Function at 0x180bb05d
Capabilities:
Identify system language via api

Disassembly:
push ebx
mov ebx, ecx
push esi
test dl, dl
je 0x180bb06d
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x180bb073
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
xor edx, edx
movzx esi, ax
mov ecx, 0x409
push edi
mov edi, edx
mov eax, ecx
cmp si, ax
je 0x180bb09b
inc edi
imul eax, edi, 0x1a
movzx eax, word [eax + 0x1819dc50]
test ax, ax
jne 0x180bb082
mov esi, ecx
jmp 0x180bb09e
movzx esi, si
pop edi
cmp cx, si
je 0x180bb0bb
inc edx
imul eax, edx, 0x1a
movzx ecx, word [eax + 0x1819dc50]
test cx, cx
jne 0x180bb09f
mov eax, 0x18180a7c
jmp 0x180bb0c3
imul eax, edx, 0x1a
add eax, 0x1819dc52
push eax
mov ecx, ebx
call fcn.18006dd4
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x180bb599
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
push ecx
xor edi, edi
mov dword [esp + 0x18], edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov ebx, eax
test ebx, ebx
jne 0x180bb5c3
call fcn.18013db1
jmp 0x180bb64a
call fcn.18004041
push eax
lea ecx, [esp + 0x10]
call fcn.1800710c
lea ecx, [esp + 0xc]
call fcn.18010e54
test eax, eax
jns 0x180bb5ea
lea eax, [esp + 0xc]
push eax
call fcn.18010d96
pop ecx
mov esi, dword [esp + 0xc]
mov eax, edi
mov dword [esp + 0x10], eax
cmp dword [esi - 0xc], edi
je 0x180bb609
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_ConvertStringSidToSidW]
mov eax, dword [esp + 0x10]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push 1
push eax
push dword [ebp + 8]
push edi
push dword [esp + 0x30]
push ebx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
test eax, eax
jne 0x180bb62f
call fcn.18013db1
mov edi, eax
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
lea ecx, [esi - 0x10]
call fcn.180046a5
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x180be407
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
mov ebx, ecx
movzx ecx, byte [0x181d59e6]
neg ecx
mov dword [ebp - 0xc], ebx
push esi
sbb ecx, ecx
push edi
and ecx, 0x181d4bb0
je 0x180be456
or dword [ebp - 0x1c], 0xffffffff
push 7
pop eax
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
call fcn.18005de9
push dword [ebx]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push str._StartProcessWithNoExceptionHandler___s_
push eax
call fcn.180041e3
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.1800f152
push 0x181abefc
lea ecx, [ebp - 8]
call fcn.18006dd4
push str.GOOGLE_UPDATE_NO_CRASH_HANDLER
lea ecx, [ebp - 4]
call fcn.18006dd4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x14]
call fcn.180a545c
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.180046a5
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.180046a5
xor esi, esi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call fcn.180a56c3
mov ebx, dword [ebp - 0x20]
test al, al
je 0x180be51a
cmp ebx, dword [ebp - 0x1c]
je 0x180be51a
push 0x40
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x80], 0x44
push esi
push eax
call fcn.18147be0
mov ecx, dword [ebp - 0xc]
lea edi, [ebp - 0x34]
xor eax, eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1800e22d
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x80]
push ecx
push esi
push ebx
push 0x400
push esi
push esi
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x180be51a
push dword [ebp - 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x30]
call esi
xor esi, esi
jmp 0x180be521
call fcn.18013db1
mov esi, eax
test ebx, ebx
je 0x180be536
mov ecx, dword [ebp - 0x18]
sub ecx, ebx
and ecx, 0xfffffffe
push ecx
push ebx
call fcn.1800a6c6
pop ecx
pop ecx
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
lea eax, [ebp - 0x14]
push eax
mov ecx, eax
call fcn.1800f1f0
push 0x18
push dword [ebp - 0x14]
call fcn.1800a6c6
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x180c3c82
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0x181d4db0
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 8]
push 0x181d4db0
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x1c]
and dword [esi + 0x18], 0
and dword [esi + 0x1c], 0
mov dword [ebp + 8], eax
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp + 8], 0
jne 0x180c3cc4
test ebx, ebx
je 0x180c3d22
lea ebx, [edi + 0x1c]
mov ecx, edi
push ebx
push str.Counts
call fcn.180c3c59
test al, al
je 0x180c3d22
push dword [esi + 4]
lea ecx, [ebp - 4]
call fcn.1800e131
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x10]
xor edi, edi
mov edx, esi
push eax
mov ecx, ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call fcn.180c3f4b
mov eax, dword [ebp + 8]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
adc dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
pop ecx
push 8
push eax
push 3
push edi
push esi
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [esi - 0x10]
call fcn.180046a5
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x180c3d29
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x181cd008]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x181d4db0
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 8
pop ecx
lea eax, [esi + 0x18]
push 0x20
mov esi, eax
lea edi, [esp + 0x34]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.18147be0
add esp, 0xc
push 0x181d4db0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x30], 0
je 0x180c3e5a
lea edi, [ebx + 0x28]
mov ecx, ebx
push edi
push str.Timings
call fcn.180c3c59
test al, al
je 0x180c3e5a
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push dword [eax + 4]
call fcn.1800e131
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov edx, esi
mov ecx, edi
call fcn.180c3f97
pop ecx
test al, al
jne 0x180c3dda
push 0x20
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.18148460
add esp, 0xc
jmp 0x180c3e3e
mov eax, dword [esp + 0x30]
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
adc dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x44]
cmp ecx, dword [esp + 0x24]
jg 0x180c3e08
mov eax, dword [esp + 0x40]
jl 0x180c3e10
cmp eax, dword [esp + 0x20]
jb 0x180c3e10
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x2c], ecx
jg 0x180c3e2e
mov eax, dword [esp + 0x48]
jl 0x180c3e36
cmp dword [esp + 0x28], eax
jb 0x180c3e36
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
push 0x20
lea eax, [esp + 0x14]
push eax
push 3
push 0
push esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [esi - 0x10]
call fcn.180046a5
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.181450cb
mov esp, ebp
pop ebp
ret 4

Function at 0x180c3f4b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 8
pop esi
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180c3f84
cmp dword [ebp - 8], 3
jne 0x180c3f84
test eax, eax
jne 0x180c3f84
cmp dword [ebp - 4], esi
jne 0x180c3f84
mov al, 1
jmp 0x180c3f94
push esi
push 0
push dword [ebp + 8]
call fcn.18147be0
add esp, 0xc
xor al, al
pop esi
leave
ret
Function at 0x180c3f97
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 0x20
pop esi
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180c3fd0
cmp dword [ebp - 8], 3
jne 0x180c3fd0
test eax, eax
jne 0x180c3fd0
cmp dword [ebp - 4], esi
jne 0x180c3fd0
mov al, 1
jmp 0x180c3fe0
push esi
push 0
push dword [ebp + 8]
call fcn.18147be0
add esp, 0xc
xor al, al
pop esi
leave
ret

Function at 0x180c7b1e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
lea ecx, [esi + 8]
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jg 0x180c7b94
movzx ecx, byte [0x181d59e6]
neg ecx
sbb ecx, ecx
and ecx, 0x181d4bb0
je 0x180c7b6f
push 7
pop edx
xor eax, eax
mov dword [ebp - 0x10], ecx
inc eax
mov dword [ebp - 0xc], edx
push eax
push edx
mov dword [ebp - 8], eax
call fcn.18005de9
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push str._Google_Update_core_is_shutting_down..._
push eax
call fcn.180041e3
pop ecx
pop ecx
push 0
push 0
push 0x12
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
test eax, eax
jne 0x180c7b94
push 0x80004004
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
pop esi
leave
ret
push esi
mov esi, ecx
call fcn.180c7804
mov ecx, esi
pop esi
test al, al
je 0x180c7b1e
jmp fcn.180c7cf0

Function at 0x180c7cd8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
lea ecx, [esi + 8]
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jg 0x180c7b94
movzx ecx, byte [0x181d59e6]
neg ecx
sbb ecx, ecx
and ecx, 0x181d4bb0
je 0x180c7b6f
push 7
pop edx
xor eax, eax
mov dword [ebp - 0x10], ecx
inc eax
mov dword [ebp - 0xc], edx
push eax
push edx
mov dword [ebp - 8], eax
call fcn.18005de9
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push str._Google_Update_core_is_shutting_down..._
push eax
call fcn.180041e3
pop ecx
pop ecx
push 0
push 0
push 0x12
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
test eax, eax
jne 0x180c7b94
push 0x80004004
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
pop esi
leave
ret
push esi
mov esi, ecx
call fcn.180c7804
mov ecx, esi
pop esi
test al, al
je 0x180c7b1e
jmp fcn.180c7cf0