joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180b10f6
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 0x180b1118
call fcn.180af48c
test al, al
je 0x180b1118
mov eax, 0x80004005
jmp 0x180b1248
xor esi, esi
mov dword [ebp - 0xc], 0x181a72fc
lea edx, [ebp - 0xc]
mov dword [ebp - 8], esi
mov cl, bl
call fcn.180b0ce5
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0xc]
call dword [eax + 4]
mov dword [ebp - 0x18], 0x181a6a98
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0x200
call fcn.180b41c3
mov eax, str.HKLMSoftwareGoogleUpdate_
test bl, bl
jne 0x180b115b
mov eax, str.HKCUSoftwareGoogleUpdate_
push esi
push ecx
push 0xf003f
push ecx
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.18012532
mov edi, eax
test edi, edi
js 0x180b1226
push esi
push esi
push esi
push esi
push 0x181b736c
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180b1194
mov edi, esi
jmp 0x180b1226
call fcn.18004001
push eax
lea ecx, [ebp - 4]
call fcn.180070cc
lea ecx, [ebp - 4]
call fcn.180099fc
mov esi, dword [ebp - 4]
test eax, eax
js 0x180b121c
xor edi, edi
lea ecx, [ebp - 0x18]
inc edi
push edi
push esi
push 0x181b736c
call fcn.18012c68
test eax, eax
js 0x180b121c
mov ecx, 0x181cedf0
call fcn.18016dc7
lea ecx, [ebp - 0x18]
call fcn.180b109f
xor eax, eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call fcn.180b0a61
test eax, eax
js 0x180b1212
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
je 0x180b1212
sub esp, 0xc
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call fcn.1802d5bc
mov cl, bl
call fcn.180b0d46
add esp, 0xc
mov edi, eax
lea ecx, [ebp - 0x24]
call fcn.1800b41f
jmp 0x180b121e
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.18004665
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x181a6a98
call fcn.18012487
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0xc]
call dword [eax + 8]
lea ecx, [ebp - 0xc]
call fcn.1800eb99
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x180b1a77
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 0x180b1b3c
mov edi, ecx
call dword [sym.imp.USER32.dll_EnumWindows]
call fcn.18004001
push eax
lea ecx, [esp + 0x18]
call fcn.180070cc
push dword [ebp + 0xc]
lea eax, [esp + 0x18]
push dword [ebp + 8]
push str._s_s.dmp
push eax
call fcn.1800f22e
lea ecx, [esp + 0x24]
call fcn.1800f00d
mov bl, byte [esp + 0x23]
lea eax, [esp + 0x24]
mov dl, byte [edi]
add esp, 0xc
mov cl, bl
push eax
call fcn.180bdba8
cmp byte [edi + 1], 0
pop ecx
pop ecx
je 0x180b1b27
push dword [ebp + 0xc]
lea eax, [esp + 0x18]
push dword [ebp + 8]
push str._s_s_full.dmp
push eax
call fcn.1800f22e
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.1800f00d
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.180050b2
test al, al
je 0x180b1b2b
mov dl, byte [edi]
lea eax, [esp + 0x14]
push ecx
push eax
mov cl, bl
call fcn.180bdba8
pop ecx
pop ecx
jmp 0x180b1b2b
mov esi, dword [esp + 0x14]
lea ecx, [esi - 0x10]
call fcn.18004665
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x180b26c6
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
mov esi, ecx
call fcn.18004001
push eax
lea ecx, [ebp - 4]
call fcn.180070cc
push str.430FD4D0_B729_4F61_AA34_91526481799D
lea ecx, [ebp - 8]
call fcn.18006d94
mov cl, byte [esi]
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 8]
call fcn.180bb48e
pop ecx
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18004665
lea ecx, [ebp - 4]
call fcn.180083bb
cmp edx, 0x10003
ja 0x180b2726
jb 0x180b271c
test eax, eax
jae 0x180b2726
mov ebx, 0x80004001
jmp 0x180b281b
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0xc]
call fcn.1800c54e
call fcn.18004001
push eax
lea ecx, [ebp + 8]
call fcn.180070cc
lea edx, [ebp + 8]
lea ecx, [ebp - 0xc]
call fcn.1800ceaf
push 0x1e
lea ecx, [ebp - 0x3c]
call fcn.180b78aa
mov edi, dword [ebp + 8]
lea ecx, [ebp + 8]
mov edx, edi
push dword [edi - 0xc]
call fcn.1800c670
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.18006d3c
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.18004665
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x3c]
call fcn.180b7a10
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.180afb24
mov esi, dword [ebp + 8]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x180b27ea
cmp dword [ebp + 0xc], 0
je 0x180b27e8
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
and dword [ebp + 0xc], 0
test eax, eax
jne 0x180b27d1
lea eax, [ebp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x180b27e1
mov ebx, dword [ebp + 0xc]
jmp 0x180b27ea
cmp eax, 0x102
jne 0x180b27e1
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x80004005
jmp 0x180b27ea
xor ebx, ebx
test esi, esi
je 0x180b27f5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18004665
lea ecx, [ebp - 0x3c]
call fcn.180b7942
lea ecx, [edi - 0x10]
call fcn.18004665
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff0
call fcn.18004665
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.18004665
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8
Function at 0x180b366d
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 0x180b3692
call fcn.18004001
push eax
mov ecx, ebx
call fcn.180070cc
jmp 0x180b375c
push esi
push edi
push str.SystemTemp
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], 0x24
call fcn.18006d94
push str.GoogleTemp
lea ecx, [ebp - 0x14]
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0x26
call fcn.18006d94
lea esi, [ebp - 0x24]
mov byte [ebp - 0x10], 1
mov dword [ebp - 8], esi
call fcn.18004001
push eax
lea ecx, [ebp - 4]
call fcn.180070cc
mov ecx, dword [esi]
lea eax, [ebp - 4]
lea edx, [esi + 4]
push eax
movzx eax, byte [edx + 4]
push eax
call fcn.180b35cc
mov esi, dword [ebp - 4]
pop ecx
pop ecx
test eax, eax
js 0x180b3720
mov ecx, esi
call fcn.18008178
test al, al
je 0x180b3720
push 0x181b7a40
mov edx, esi
lea ecx, [ebp - 0xc]
call fcn.18008236
mov edi, dword [ebp - 0xc]
pop ecx
cmp dword [edi - 0xc], 0
jne 0x180b3761
lea ecx, [edi - 0x10]
call fcn.18004665
lea ecx, [esi - 0x10]
call fcn.18004665
mov esi, dword [ebp - 8]
lea eax, [ebp - 0xc]
add esi, 0xc
mov dword [ebp - 8], esi
cmp esi, eax
jne 0x180b36ca
call fcn.18004001
push eax
mov ecx, ebx
call fcn.180070cc
push 2
pop esi
lea edi, [ebp - 0xc]
sub edi, 0xc
mov ecx, edi
call fcn.180111a4
sub esi, 1
jne 0x180b374b
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.18007149
add eax, 0x10
lea ecx, [edi - 0x10]
mov dword [ebx], eax
call fcn.18004665
lea ecx, [esi - 0x10]
call fcn.18004665
push 2
pop esi
lea edi, [ebp - 0xc]
sub edi, 0xc
mov ecx, edi
call fcn.180111a4
sub esi, 1
jne 0x180b378b
jmp 0x180b375a

Function at 0x180b582e
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.180127f2
add esp, 0xc
test eax, eax
js 0x180b5866
mov eax, dword [ebp - 4]
cmp eax, 0xea60
jb 0x180b588b
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 0x180b5aa7
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x181cb008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.18147220
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 0x180b5b0e
push ebx
mov edx, str..google.com
lea ecx, [ebp - 0x204]
call fcn.1800cadb
pop ecx
test al, al
jne 0x180b5b53
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 0x180b5b49
cmp dword [esi + 8], eax
je 0x180b5b49
push str.google
push dword [esi + 8]
call fcn.181514a3
pop ecx
pop ecx
test eax, eax
je 0x180b5b4b
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.18144705
leave
ret
Function at 0x180ba6ac
Capabilities:
Identify system language via api

Disassembly:
push ebx
mov ebx, ecx
push esi
test dl, dl
je 0x180ba6bc
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x180ba6c2
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 0x180ba6ea
inc edi
imul eax, edi, 0x1a
movzx eax, word [eax + 0x1819c6f0]
test ax, ax
jne 0x180ba6d1
mov esi, ecx
jmp 0x180ba6ed
movzx esi, si
pop edi
cmp cx, si
je 0x180ba70a
inc edx
imul eax, edx, 0x1a
movzx ecx, word [eax + 0x1819c6f0]
test cx, cx
jne 0x180ba6ee
mov eax, 0x1817fa5c
jmp 0x180ba712
imul eax, edx, 0x1a
add eax, 0x1819c6f2
push eax
mov ecx, ebx
call fcn.18006d94
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x180babe8
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 0x180bac12
call fcn.18013c92
jmp 0x180bac99
call fcn.18004001
push eax
lea ecx, [esp + 0x10]
call fcn.180070cc
lea ecx, [esp + 0xc]
call fcn.18010e13
test eax, eax
jns 0x180bac39
lea eax, [esp + 0xc]
push eax
call fcn.18010d55
pop ecx
mov esi, dword [esp + 0xc]
mov eax, edi
mov dword [esp + 0x10], eax
cmp dword [esi - 0xc], edi
je 0x180bac58
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 0x180bac7e
call fcn.18013c92
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.18004665
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x180bda55
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
mov ebx, ecx
movzx ecx, byte [0x181d398a]
neg ecx
mov dword [ebp - 0xc], ebx
push esi
sbb ecx, ecx
push edi
and ecx, 0x181d2b40
je 0x180bdaa4
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.18005da9
push dword [ebx]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push str._StartProcessWithNoExceptionHandler___s_
push eax
call fcn.180041a3
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.1800f111
push 0x181aa9f8
lea ecx, [ebp - 8]
call fcn.18006d94
push str.GOOGLE_UPDATE_NO_CRASH_HANDLER
lea ecx, [ebp - 4]
call fcn.18006d94
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x14]
call fcn.180a4aba
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.18004665
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18004665
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.180a4d21
mov ebx, dword [ebp - 0x20]
test al, al
je 0x180bdb68
cmp ebx, dword [ebp - 0x1c]
je 0x180bdb68
push 0x40
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x80], 0x44
push esi
push eax
call fcn.18147220
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.1800e1ec
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 0x180bdb68
push dword [ebp - 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x30]
call esi
xor esi, esi
jmp 0x180bdb6f
call fcn.18013c92
mov esi, eax
test ebx, ebx
je 0x180bdb84
mov ecx, dword [ebp - 0x18]
sub ecx, ebx
and ecx, 0xfffffffe
push ecx
push ebx
call fcn.1800a688
pop ecx
pop ecx
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
lea eax, [ebp - 0x14]
push eax
mov ecx, eax
call fcn.1800f1af
push 0x18
push dword [ebp - 0x14]
call fcn.1800a688
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x180c32ce
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0x181d2da4
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 8]
push 0x181d2da4
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 0x180c3310
test ebx, ebx
je 0x180c336e
lea ebx, [edi + 0x1c]
mov ecx, edi
push ebx
push str.Counts
call fcn.180c32a5
test al, al
je 0x180c336e
push dword [esi + 4]
lea ecx, [ebp - 4]
call fcn.1800e0f0
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.180c3597
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.18004665
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x180c3375
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x181cb008]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x181d2da4
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.18147220
add esp, 0xc
push 0x181d2da4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x30], 0
je 0x180c34a6
lea edi, [ebx + 0x28]
mov ecx, ebx
push edi
push str.Timings
call fcn.180c32a5
test al, al
je 0x180c34a6
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push dword [eax + 4]
call fcn.1800e0f0
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov edx, esi
mov ecx, edi
call fcn.180c35e3
pop ecx
test al, al
jne 0x180c3426
push 0x20
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.18147aa0
add esp, 0xc
jmp 0x180c348a
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 0x180c3454
mov eax, dword [esp + 0x40]
jl 0x180c345c
cmp eax, dword [esp + 0x20]
jb 0x180c345c
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 0x180c347a
mov eax, dword [esp + 0x48]
jl 0x180c3482
cmp dword [esp + 0x28], eax
jb 0x180c3482
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.18004665
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.18144705
mov esp, ebp
pop ebp
ret 4

Function at 0x180c3597
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 0x180c35d0
cmp dword [ebp - 8], 3
jne 0x180c35d0
test eax, eax
jne 0x180c35d0
cmp dword [ebp - 4], esi
jne 0x180c35d0
mov al, 1
jmp 0x180c35e0
push esi
push 0
push dword [ebp + 8]
call fcn.18147220
add esp, 0xc
xor al, al
pop esi
leave
ret
Function at 0x180c35e3
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 0x180c361c
cmp dword [ebp - 8], 3
jne 0x180c361c
test eax, eax
jne 0x180c361c
cmp dword [ebp - 4], esi
jne 0x180c361c
mov al, 1
jmp 0x180c362c
push esi
push 0
push dword [ebp + 8]
call fcn.18147220
add esp, 0xc
xor al, al
pop esi
leave
ret

Function at 0x180c716a
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 0x180c71e0
movzx ecx, byte [0x181d398a]
neg ecx
sbb ecx, ecx
and ecx, 0x181d2b40
je 0x180c71bb
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.18005da9
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push str._Google_Update_core_is_shutting_down..._
push eax
call fcn.180041a3
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 0x180c71e0
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.180c6e50
mov ecx, esi
pop esi
test al, al
je 0x180c716a
jmp fcn.180c733c

Function at 0x180c7324
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 0x180c71e0
movzx ecx, byte [0x181d398a]
neg ecx
sbb ecx, ecx
and ecx, 0x181d2b40
je 0x180c71bb
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.18005da9
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push str._Google_Update_core_is_shutting_down..._
push eax
call fcn.180041a3
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 0x180c71e0
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.180c6e50
mov ecx, esi
pop esi
test al, al
je 0x180c716a
jmp fcn.180c733c
Function at 0x180c77fd
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov ebx, ecx
call fcn.180b41c3
call fcn.180b57d7
mov dword [ebp - 0xc], eax
call fcn.180b57d7
mov edx, str.AuCheckPeriodMs
mov ecx, str.HKLMSoftwareGoogleUpdateDev_
mov esi, eax
call fcn.18012e6a
test al, al
jne 0x180c7855
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push 4
push eax
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x180c7855
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 0x927c1
div ecx
lea esi, [edx + 0x493e0]
push 0
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0x181bbc00
sub esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, esp
mov dword [ebp - 0x40], ebx
sub esp, 0x30
mov dword [ebp - 8], eax
mov edi, esp
and dword [edi + 0x24], 0
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x180c788a
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [edi + 0x24], eax
mov eax, dword [ebp - 8]
mov ecx, eax
call fcn.180c7e80
push dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
push esi
call fcn.180c7de4
lea ecx, [ebp - 0x44]
mov esi, eax
call fcn.1802be86
test esi, esi
jns 0x180c78ef
movzx ecx, byte [0x181d398a]
neg ecx
sbb ecx, ecx
and ecx, 0x181d2b40
je 0x180c78e8
or dword [ebp - 0x14], 0xffffffff
push 7
pop eax
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
call fcn.18005da9
push esi
push str._Failed_to_start_update_worker_scheduler__0x_08x_
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.180041a3
add esp, 0xc
mov eax, esi
jmp 0x180c7970
call fcn.180b588d
push 1
sub esp, 0x28
mov dword [ebp - 0x44], 0x181bbbd0
mov esi, eax
mov dword [ebp - 0x40], ebx
mov edi, esp
mov dword [ebp - 0x3c], esi
lea eax, [ebp - 0x44]
mov dword [ebp - 0x20], eax
and dword [edi + 0x24], 0
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x180c7923
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [edi + 0x24], eax
mov ecx, dword [ebp + 8]
push esi
push esi
call fcn.180c7de4
lea ecx, [ebp - 0x44]
mov esi, eax
call fcn.1802be86
test esi, esi
jns 0x180c796e
movzx ecx, byte [0x181d398a]
neg ecx
sbb ecx, ecx
and ecx, 0x181d2b40
je 0x180c78e8
or dword [ebp - 0x14], 0xffffffff
push 7
pop eax
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
call fcn.18005da9
push esi
push str._Failed_to_start_code_red_scheduler__0x_08x_
jmp 0x180c78d9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4