joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180aa600
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 0x180aa622
call fcn.180a8a1d
test al, al
je 0x180aa622
mov eax, 0x80004005
jmp 0x180aa752
xor esi, esi
mov dword [ebp - 0xc], 0x1819c874
lea edx, [ebp - 0xc]
mov dword [ebp - 8], esi
mov cl, bl
call fcn.180aa1ef
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0xc]
call dword [eax + 4]
mov dword [ebp - 0x18], 0x1819c048
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0x200
call fcn.180ad5bd
mov eax, str.HKLMSoftwareGoogleUpdate_
test bl, bl
jne 0x180aa665
mov eax, str.HKCUSoftwareGoogleUpdate_
push esi
push ecx
push 0xf003f
push ecx
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.1801171e
mov edi, eax
test edi, edi
js 0x180aa730
push esi
push esi
push esi
push esi
push 0x181ac304
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180aa69e
mov edi, esi
jmp 0x180aa730
call fcn.18003f31
push eax
lea ecx, [ebp - 4]
call fcn.18006dc8
lea ecx, [ebp - 4]
call fcn.18009782
mov esi, dword [ebp - 4]
test eax, eax
js 0x180aa726
xor edi, edi
lea ecx, [ebp - 0x18]
inc edi
push edi
push esi
push 0x181ac304
call fcn.18011e45
test eax, eax
js 0x180aa726
mov ecx, 0x181c3bb8
call fcn.18016093
lea ecx, [ebp - 0x18]
call fcn.180aa5a9
xor eax, eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call fcn.180a9f6b
test eax, eax
js 0x180aa71c
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
je 0x180aa71c
sub esp, 0xc
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call fcn.1802c830
mov cl, bl
call fcn.180aa250
add esp, 0xc
mov edi, eax
lea ecx, [ebp - 0x24]
call fcn.1800b3e7
jmp 0x180aa728
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.18004595
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x1819c048
call fcn.18011673
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0xc]
call dword [eax + 8]
lea ecx, [ebp - 0xc]
call fcn.1800eadc
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x180aaf81
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 0x180ab046
mov edi, ecx
call dword [sym.imp.USER32.dll_EnumWindows]
call fcn.18003f31
push eax
lea ecx, [esp + 0x18]
call fcn.18006dc8
push dword [ebp + 0xc]
lea eax, [esp + 0x18]
push dword [ebp + 8]
push str._s_s.dmp
push eax
call fcn.1800f195
lea ecx, [esp + 0x24]
call fcn.1800ef48
mov bl, byte [esp + 0x23]
lea eax, [esp + 0x24]
mov dl, byte [edi]
add esp, 0xc
mov cl, bl
push eax
call fcn.180b707b
cmp byte [edi + 1], 0
pop ecx
pop ecx
je 0x180ab031
push dword [ebp + 0xc]
lea eax, [esp + 0x18]
push dword [ebp + 8]
push str._s_s_full.dmp
push eax
call fcn.1800f195
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.1800ef48
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.1800a901
test al, al
je 0x180ab035
mov dl, byte [edi]
lea eax, [esp + 0x14]
push ecx
push eax
mov cl, bl
call fcn.180b707b
pop ecx
pop ecx
jmp 0x180ab035
mov esi, dword [esp + 0x14]
lea ecx, [esi - 0x10]
call fcn.18004595
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x180abbd0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
mov esi, ecx
call fcn.18003f31
push eax
lea ecx, [ebp - 4]
call fcn.18006dc8
push str.430FD4D0_B729_4F61_AA34_91526481799D
lea ecx, [ebp - 8]
call fcn.18006a90
mov cl, byte [esi]
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 8]
call fcn.180b48b9
pop ecx
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18004595
lea ecx, [ebp - 4]
call fcn.18007f19
cmp edx, 0x10003
ja 0x180abc30
jb 0x180abc26
test eax, eax
jae 0x180abc30
mov ebx, 0x80004001
jmp 0x180abd25
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0xc]
call fcn.1800c55e
call fcn.18003f31
push eax
lea ecx, [ebp + 8]
call fcn.18006dc8
lea edx, [ebp + 8]
lea ecx, [ebp - 0xc]
call fcn.1800cebf
push 0x1e
lea ecx, [ebp - 0x3c]
call fcn.180b0dc9
mov edi, dword [ebp + 8]
lea ecx, [ebp + 8]
mov edx, edi
push dword [edi - 0xc]
call fcn.1800c680
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.18006a38
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.18004595
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x3c]
call fcn.180b0f2f
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.180a90b5
mov esi, dword [ebp + 8]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x180abcf4
cmp dword [ebp + 0xc], 0
je 0x180abcf2
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
and dword [ebp + 0xc], 0
test eax, eax
jne 0x180abcdb
lea eax, [ebp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x180abceb
mov ebx, dword [ebp + 0xc]
jmp 0x180abcf4
cmp eax, 0x102
jne 0x180abceb
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x80004005
jmp 0x180abcf4
xor ebx, ebx
test esi, esi
je 0x180abcff
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18004595
lea ecx, [ebp - 0x3c]
call fcn.180b0e61
lea ecx, [edi - 0x10]
call fcn.18004595
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff0
call fcn.18004595
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.18004595
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8

Function at 0x180aeca2
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.180119de
add esp, 0xc
test eax, eax
js 0x180aecda
mov eax, dword [ebp - 4]
cmp eax, 0xea60
jb 0x180aecff
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 0x180aef1b
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x181c0008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.1813efc0
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 0x180aef82
push ebx
mov edx, str..google.com
lea ecx, [ebp - 0x204]
call fcn.1800caeb
pop ecx
test al, al
jne 0x180aefc7
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 0x180aefbd
cmp dword [esi + 8], eax
je 0x180aefbd
push str.google
push dword [esi + 8]
call fcn.18149243
pop ecx
pop ecx
test eax, eax
je 0x180aefbf
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.1813c4a8
leave
ret
Function at 0x180b3bc3
Capabilities:
Identify system language via api

Disassembly:
push ebx
mov ebx, ecx
push esi
test dl, dl
je 0x180b3bd3
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x180b3bd9
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 0x180b3c01
inc edi
imul eax, edi, 0x1a
movzx eax, word [eax + 0x18192550]
test ax, ax
jne 0x180b3be8
mov esi, ecx
jmp 0x180b3c04
movzx esi, si
pop edi
cmp cx, si
je 0x180b3c21
inc edx
imul eax, edx, 0x1a
movzx ecx, word [eax + 0x18192550]
test cx, cx
jne 0x180b3c05
mov eax, 0x181779fc
jmp 0x180b3c29
imul eax, edx, 0x1a
add eax, 0x18192552
push eax
mov ecx, ebx
call fcn.18006a90
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x180b4013
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 0x180b403d
call fcn.18012e6f
jmp 0x180b40c4
call fcn.18003f31
push eax
lea ecx, [esp + 0x10]
call fcn.18006dc8
lea ecx, [esp + 0xc]
call fcn.18010dd8
test eax, eax
jns 0x180b4064
lea eax, [esp + 0xc]
push eax
call fcn.18010d1a
pop ecx
mov esi, dword [esp + 0xc]
mov eax, edi
mov dword [esp + 0x10], eax
cmp dword [esi - 0xc], edi
je 0x180b4083
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 0x180b40a9
call fcn.18012e6f
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.18004595
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x180b6d41
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov bl, cl
mov dword [ebp - 0x18], edx
push edi
mov byte [ebp - 1], bl
call fcn.180ad5bd
call fcn.18003f31
push eax
test bl, bl
je 0x180b6da5
lea ecx, [ebp - 0xc]
call fcn.18006dc8
lea eax, [ebp - 0xc]
push eax
xor eax, eax
lea ecx, [ebp - 0x10]
inc eax
push eax
push str.GoogleCrashReports
mov dword [ebp - 0x14], eax
call fcn.18006a90
push 0x26
mov edx, eax
pop ecx
call fcn.180acd47
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.18004595
mov eax, dword [ebp - 0xc]
xor ebx, ebx
mov edi, dword [ebp - 8]
mov dword [ebp - 0x10], ebx
jmp 0x180b6de8
lea ecx, [ebp - 8]
call fcn.18006dc8
lea eax, [ebp - 8]
push eax
push 1
push str.GoogleCrashReports
lea ecx, [ebp - 0x14]
call fcn.18006a90
push 0x1c
mov edx, eax
pop ecx
call fcn.180acd47
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.18004595
mov edi, dword [ebp - 8]
xor ebx, ebx
mov eax, edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 2
lea ecx, [eax - 0x10]
call fcn.18006e45
cmp dword [ebp - 0x10], 0
lea esi, [eax + 0x10]
mov dword [ebp - 8], esi
je 0x180b6e04
lea ecx, [edi - 0x10]
call fcn.18004595
cmp dword [ebp - 0x14], 0
je 0x180b6e15
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.18004595
cmp byte [ebp - 1], 0
je 0x180b6e36
cmp dword [esi - 0xc], ebx
je 0x180b6e3b
lea ecx, [ebp - 8]
call fcn.180b6bc4
mov esi, dword [ebp - 8]
test eax, eax
jns 0x180b6e36
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp dword [esi - 0xc], ebx
jne 0x180b6e66
lea ecx, [ebp - 0x14]
call fcn.1800e726
push eax
lea ecx, [ebp - 8]
call fcn.18006a38
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.18004595
mov esi, dword [ebp - 8]
cmp dword [esi - 0xc], ebx
jne 0x180b6e66
mov ebx, 0x8004fffc
jmp 0x180b6e78
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x180b6e78
lea ecx, [ebp - 8]
push ecx
mov ecx, eax
call fcn.18006a38
lea ecx, [esi - 0x10]
call fcn.18004595
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x180b6f28
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
mov ebx, ecx
movzx ecx, byte [0x181c8652]
neg ecx
mov dword [ebp - 0xc], ebx
push esi
sbb ecx, ecx
push edi
and ecx, 0x181c7840
je 0x180b6f77
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.18005b0c
push dword [ebx]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push str._StartProcessWithNoExceptionHandler___s_
push eax
call fcn.180040d3
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.1800f04c
push 0x1819ff08
lea ecx, [ebp - 8]
call fcn.18006a90
push str.GOOGLE_UPDATE_NO_CRASH_HANDLER
lea ecx, [ebp - 4]
call fcn.18006a90
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x14]
call fcn.1809e36c
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.18004595
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18004595
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.1809e5d3
mov ebx, dword [ebp - 0x20]
test al, al
je 0x180b703b
cmp ebx, dword [ebp - 0x1c]
je 0x180b703b
push 0x40
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x80], 0x44
push esi
push eax
call fcn.1813efc0
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.1800e1bd
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 0x180b703b
push dword [ebp - 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x30]
call esi
xor esi, esi
jmp 0x180b7042
call fcn.18012e6f
mov esi, eax
test ebx, ebx
je 0x180b7057
mov ecx, dword [ebp - 0x18]
sub ecx, ebx
and ecx, 0xfffffffe
push ecx
push ebx
call fcn.1800a5b4
pop ecx
pop ecx
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
lea eax, [ebp - 0x14]
push eax
mov ecx, eax
call fcn.1800f0ea
push 0x18
push dword [ebp - 0x14]
call fcn.1800a5b4
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x180bf583
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0x181c7a9c
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 8]
push 0x181c7a9c
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 0x180bf5c5
test ebx, ebx
je 0x180bf623
lea ebx, [edi + 0x1c]
mov ecx, edi
push ebx
push str.Counts
call fcn.180bf55a
test al, al
je 0x180bf623
push dword [esi + 4]
lea ecx, [ebp - 4]
call fcn.1800e0c1
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.180bf84c
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.18004595
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x180bf62a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x181c0008]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x181c7a9c
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.1813efc0
add esp, 0xc
push 0x181c7a9c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x30], 0
je 0x180bf75b
lea edi, [ebx + 0x28]
mov ecx, ebx
push edi
push str.Timings
call fcn.180bf55a
test al, al
je 0x180bf75b
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push dword [eax + 4]
call fcn.1800e0c1
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov edx, esi
mov ecx, edi
call fcn.180bf898
pop ecx
test al, al
jne 0x180bf6db
push 0x20
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.1813f840
add esp, 0xc
jmp 0x180bf73f
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 0x180bf709
mov eax, dword [esp + 0x40]
jl 0x180bf711
cmp eax, dword [esp + 0x20]
jb 0x180bf711
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 0x180bf72f
mov eax, dword [esp + 0x48]
jl 0x180bf737
cmp dword [esp + 0x28], eax
jb 0x180bf737
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.18004595
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1813c4a8
mov esp, ebp
pop ebp
ret 4

Function at 0x180bf84c
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 0x180bf885
cmp dword [ebp - 8], 3
jne 0x180bf885
test eax, eax
jne 0x180bf885
cmp dword [ebp - 4], esi
jne 0x180bf885
mov al, 1
jmp 0x180bf895
push esi
push 0
push dword [ebp + 8]
call fcn.1813efc0
add esp, 0xc
xor al, al
pop esi
leave
ret
Function at 0x180bf898
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 0x180bf8d1
cmp dword [ebp - 8], 3
jne 0x180bf8d1
test eax, eax
jne 0x180bf8d1
cmp dword [ebp - 4], esi
jne 0x180bf8d1
mov al, 1
jmp 0x180bf8e1
push esi
push 0
push dword [ebp + 8]
call fcn.1813efc0
add esp, 0xc
xor al, al
pop esi
leave
ret

Function at 0x180c0848
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 0x180c08be
movzx ecx, byte [0x181c8652]
neg ecx
sbb ecx, ecx
and ecx, 0x181c7840
je 0x180c0899
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.18005b0c
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push str._Google_Update_core_is_shutting_down..._
push eax
call fcn.180040d3
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 0x180c08be
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.180c052e
mov ecx, esi
pop esi
test al, al
je 0x180c0848
jmp fcn.180c0a1a

Function at 0x180c0a02
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 0x180c08be
movzx ecx, byte [0x181c8652]
neg ecx
sbb ecx, ecx
and ecx, 0x181c7840
je 0x180c0899
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.18005b0c
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push str._Google_Update_core_is_shutting_down..._
push eax
call fcn.180040d3
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 0x180c08be
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.180c052e
mov ecx, esi
pop esi
test al, al
je 0x180c0848
jmp fcn.180c0a1a
Function at 0x180c0edb
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.180ad5bd
call fcn.180aec4b
mov dword [ebp - 0xc], eax
call fcn.180aec4b
mov edx, str.AuCheckPeriodMs
mov ecx, str.HKLMSoftwareGoogleUpdateDev_
mov esi, eax
call fcn.18012047
test al, al
jne 0x180c0f33
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push 4
push eax
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x180c0f33
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], 0x181b08a0
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 0x180c0f68
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [edi + 0x24], eax
mov eax, dword [ebp - 8]
mov ecx, eax
call fcn.180c155e
push dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
push esi
call fcn.180c14c2
lea ecx, [ebp - 0x44]
mov esi, eax
call fcn.1802b0fa
test esi, esi
jns 0x180c0fcd
movzx ecx, byte [0x181c8652]
neg ecx
sbb ecx, ecx
and ecx, 0x181c7840
je 0x180c0fc6
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.18005b0c
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.180040d3
add esp, 0xc
mov eax, esi
jmp 0x180c104e
call fcn.180aed01
push 1
sub esp, 0x28
mov dword [ebp - 0x44], 0x181b0870
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 0x180c1001
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.180c14c2
lea ecx, [ebp - 0x44]
mov esi, eax
call fcn.1802b0fa
test esi, esi
jns 0x180c104c
movzx ecx, byte [0x181c8652]
neg ecx
sbb ecx, ecx
and ecx, 0x181c7840
je 0x180c0fc6
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.18005b0c
push esi
push str._Failed_to_start_code_red_scheduler__0x_08x_
jmp 0x180c0fb7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4