joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180b1e3d
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 0x180b1f4c
mov eax, dword [ebx]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x180b1f4c
mov edx, dword [esi]
lea ecx, [ebp - 8]
push 0x181ba97c
call fcn.180082e5
mov esi, dword [ebp - 8]
pop ecx
cmp dword [esi - 0xc], ebx
jne 0x180b1e8d
call fcn.18013e1e
mov ebx, eax
jmp 0x180b1f40
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 0x180b1eb8
call fcn.18013e1e
mov ebx, eax
jmp 0x180b1f3f
call fcn.180040b1
push eax
lea ecx, [ebp - 4]
call fcn.1800717c
mov edx, dword [ebp - 0xc]
lea ecx, [ebp - 0xc]
call fcn.1800c5fc
push dword [eax]
lea eax, [ebp - 4]
push 0xbf
push 0xbb
push 0xef
push str._c_c_c_s
push eax
call fcn.1800f2f1
mov ecx, dword [ebp - 0xc]
add esp, 0x18
lea ecx, [ecx - 0x10]
call fcn.18004715
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 0x180b1f21
call fcn.18013e1e
mov ebx, eax
jmp 0x180b1f2d
mov ecx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
call fcn.18006dec
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.18004715
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
lea ecx, [esi - 0x10]
call fcn.18004715
mov eax, ebx
jmp 0x180b1f4f
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret
Function at 0x180b281e
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 0x180b2840
call fcn.180b0bb0
test al, al
je 0x180b2840
mov eax, 0x80004005
jmp 0x180b2970
xor esi, esi
mov dword [ebp - 0xc], 0x181aa47c
lea edx, [ebp - 0xc]
mov dword [ebp - 8], esi
mov cl, bl
call fcn.180b240d
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0xc]
call dword [eax + 4]
mov dword [ebp - 0x18], 0x181a9c18
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0x200
call fcn.180b58fa
mov eax, str.HKLMSoftwareGoogleUpdate_
test bl, bl
jne 0x180b2883
mov eax, str.HKCUSoftwareGoogleUpdate_
push esi
push ecx
push 0xf003f
push ecx
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.180125fd
mov edi, eax
test edi, edi
js 0x180b294e
push esi
push esi
push esi
push esi
push 0x181ba694
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180b28bc
mov edi, esi
jmp 0x180b294e
call fcn.180040b1
push eax
lea ecx, [ebp - 4]
call fcn.1800717c
lea ecx, [ebp - 4]
call fcn.18009aaa
mov esi, dword [ebp - 4]
test eax, eax
js 0x180b2944
xor edi, edi
lea ecx, [ebp - 0x18]
inc edi
push edi
push esi
push 0x181ba694
call fcn.18012d3b
test eax, eax
js 0x180b2944
mov ecx, 0x181d1ed0
call fcn.18016f53
lea ecx, [ebp - 0x18]
call fcn.180b27c7
xor eax, eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call fcn.180b2187
test eax, eax
js 0x180b293a
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
je 0x180b293a
sub esp, 0xc
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call fcn.1802d782
mov cl, bl
call fcn.180b246e
add esp, 0xc
mov edi, eax
lea ecx, [ebp - 0x24]
call fcn.1800b4cd
jmp 0x180b2946
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.18004715
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x181a9c18
call fcn.18012552
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0xc]
call dword [eax + 8]
lea ecx, [ebp - 0xc]
call fcn.1800ec47
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x180b31a1
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 0x180b3266
mov edi, ecx
call dword [sym.imp.USER32.dll_EnumWindows]
call fcn.180040b1
push eax
lea ecx, [esp + 0x18]
call fcn.1800717c
push dword [ebp + 0xc]
lea eax, [esp + 0x18]
push dword [ebp + 8]
push str._s_s.dmp
push eax
call fcn.1800f2dc
lea ecx, [esp + 0x24]
call fcn.1800f0bb
mov bl, byte [esp + 0x23]
lea eax, [esp + 0x24]
mov dl, byte [edi]
add esp, 0xc
mov cl, bl
push eax
call fcn.180bf2e2
cmp byte [edi + 1], 0
pop ecx
pop ecx
je 0x180b3251
push dword [ebp + 0xc]
lea eax, [esp + 0x18]
push dword [ebp + 8]
push str._s_s_full.dmp
push eax
call fcn.1800f2dc
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.1800f0bb
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.18005162
test al, al
je 0x180b3255
mov dl, byte [edi]
lea eax, [esp + 0x14]
push ecx
push eax
mov cl, bl
call fcn.180bf2e2
pop ecx
pop ecx
jmp 0x180b3255
mov esi, dword [esp + 0x14]
lea ecx, [esi - 0x10]
call fcn.18004715
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x180b3df0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
mov esi, ecx
call fcn.180040b1
push eax
lea ecx, [ebp - 4]
call fcn.1800717c
push str.430FD4D0_B729_4F61_AA34_91526481799D
lea ecx, [ebp - 8]
call fcn.18006e44
mov cl, byte [esi]
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 8]
call fcn.180bcbc8
pop ecx
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18004715
lea ecx, [ebp - 4]
call fcn.1800846a
cmp edx, 0x10003
ja 0x180b3e50
jb 0x180b3e46
test eax, eax
jae 0x180b3e50
mov ebx, 0x80004001
jmp 0x180b3f45
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0xc]
call fcn.1800c5fc
call fcn.180040b1
push eax
lea ecx, [ebp + 8]
call fcn.1800717c
lea edx, [ebp + 8]
lea ecx, [ebp - 0xc]
call fcn.1800cf5d
push 0x1e
lea ecx, [ebp - 0x3c]
call fcn.180b8fe1
mov edi, dword [ebp + 8]
lea ecx, [ebp + 8]
mov edx, edi
push dword [edi - 0xc]
call fcn.1800c71e
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.18006dec
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.18004715
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x3c]
call fcn.180b9147
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.180b1248
mov esi, dword [ebp + 8]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x180b3f14
cmp dword [ebp + 0xc], 0
je 0x180b3f12
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
and dword [ebp + 0xc], 0
test eax, eax
jne 0x180b3efb
lea eax, [ebp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x180b3f0b
mov ebx, dword [ebp + 0xc]
jmp 0x180b3f14
cmp eax, 0x102
jne 0x180b3f0b
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x80004005
jmp 0x180b3f14
xor ebx, ebx
test esi, esi
je 0x180b3f1f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18004715
lea ecx, [ebp - 0x3c]
call fcn.180b9079
lea ecx, [edi - 0x10]
call fcn.18004715
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff0
call fcn.18004715
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.18004715
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8
Function at 0x180b4da1
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 0x180b4dc6
call fcn.180040b1
push eax
mov ecx, ebx
call fcn.1800717c
jmp 0x180b4e90
push esi
push edi
push str.SystemTemp
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], 0x24
call fcn.18006e44
push str.GoogleTemp
lea ecx, [ebp - 0x14]
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0x26
call fcn.18006e44
lea esi, [ebp - 0x24]
mov byte [ebp - 0x10], 1
mov dword [ebp - 8], esi
call fcn.180040b1
push eax
lea ecx, [ebp - 4]
call fcn.1800717c
mov ecx, dword [esi]
lea eax, [ebp - 4]
lea edx, [esi + 4]
push eax
movzx eax, byte [edx + 4]
push eax
call fcn.180b4d00
mov esi, dword [ebp - 4]
pop ecx
pop ecx
test eax, eax
js 0x180b4e54
mov ecx, esi
call fcn.18008227
test al, al
je 0x180b4e54
push 0x181bae44
mov edx, esi
lea ecx, [ebp - 0xc]
call fcn.180082e5
mov edi, dword [ebp - 0xc]
pop ecx
cmp dword [edi - 0xc], 0
jne 0x180b4e95
lea ecx, [edi - 0x10]
call fcn.18004715
lea ecx, [esi - 0x10]
call fcn.18004715
mov esi, dword [ebp - 8]
lea eax, [ebp - 0xc]
add esi, 0xc
mov dword [ebp - 8], esi
cmp esi, eax
jne 0x180b4dfe
call fcn.180040b1
push eax
mov ecx, ebx
call fcn.1800717c
push 2
pop esi
lea edi, [ebp - 0xc]
sub edi, 0xc
mov ecx, edi
call fcn.18011251
sub esi, 1
jne 0x180b4e7f
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.180071f9
add eax, 0x10
lea ecx, [edi - 0x10]
mov dword [ebx], eax
call fcn.18004715
lea ecx, [esi - 0x10]
call fcn.18004715
push 2
pop esi
lea edi, [ebp - 0xc]
sub edi, 0xc
mov ecx, edi
call fcn.18011251
sub esi, 1
jne 0x180b4ebf
jmp 0x180b4e8e

Function at 0x180b6f65
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.180128c2
add esp, 0xc
test eax, eax
js 0x180b6f9d
mov eax, dword [ebp - 4]
cmp eax, 0xea60
jb 0x180b6fc2
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 0x180b71de
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x181ce008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.18148a10
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 0x180b7245
push ebx
mov edx, str..google.com
lea ecx, [ebp - 0x204]
call fcn.1800cb89
pop ecx
test al, al
jne 0x180b728a
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 0x180b7280
cmp dword [esi + 8], eax
je 0x180b7280
push str.google
push dword [esi + 8]
call fcn.18152c93
pop ecx
pop ecx
test eax, eax
je 0x180b7282
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.18145efd
leave
ret
Function at 0x180bbde5
Capabilities:
Identify system language via api

Disassembly:
push ebx
mov ebx, ecx
push esi
test dl, dl
je 0x180bbdf5
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x180bbdfb
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 0x180bbe23
inc edi
imul eax, edi, 0x1a
movzx eax, word [eax + 0x1819f870]
test ax, ax
jne 0x180bbe0a
mov esi, ecx
jmp 0x180bbe26
movzx esi, si
pop edi
cmp cx, si
je 0x180bbe43
inc edx
imul eax, edx, 0x1a
movzx ecx, word [eax + 0x1819f870]
test cx, cx
jne 0x180bbe27
mov eax, 0x18181a7c
jmp 0x180bbe4b
imul eax, edx, 0x1a
add eax, 0x1819f872
push eax
mov ecx, ebx
call fcn.18006e44
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x180bc321
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 0x180bc34b
call fcn.18013e1e
jmp 0x180bc3d2
call fcn.180040b1
push eax
lea ecx, [esp + 0x10]
call fcn.1800717c
lea ecx, [esp + 0xc]
call fcn.18010ec1
test eax, eax
jns 0x180bc372
lea eax, [esp + 0xc]
push eax
call fcn.18010e03
pop ecx
mov esi, dword [esp + 0xc]
mov eax, edi
mov dword [esp + 0x10], eax
cmp dword [esi - 0xc], edi
je 0x180bc391
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 0x180bc3b7
call fcn.18013e1e
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.18004715
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x180bf18f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
mov ebx, ecx
movzx ecx, byte [0x181d6aa2]
neg ecx
mov dword [ebp - 0xc], ebx
push esi
sbb ecx, ecx
push edi
and ecx, 0x181d5c50
je 0x180bf1de
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.18005e59
push dword [ebx]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push str._StartProcessWithNoExceptionHandler___s_
push eax
call fcn.18004253
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.1800f1bf
push 0x181adb1c
lea ecx, [ebp - 8]
call fcn.18006e44
push str.GOOGLE_UPDATE_NO_CRASH_HANDLER
lea ecx, [ebp - 4]
call fcn.18006e44
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x14]
call fcn.180a61df
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.18004715
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18004715
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.180a6446
mov ebx, dword [ebp - 0x20]
test al, al
je 0x180bf2a2
cmp ebx, dword [ebp - 0x1c]
je 0x180bf2a2
push 0x40
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x80], 0x44
push esi
push eax
call fcn.18148a10
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.1800e29a
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 0x180bf2a2
push dword [ebp - 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x30]
call esi
xor esi, esi
jmp 0x180bf2a9
call fcn.18013e1e
mov esi, eax
test ebx, ebx
je 0x180bf2be
mov ecx, dword [ebp - 0x18]
sub ecx, ebx
and ecx, 0xfffffffe
push ecx
push ebx
call fcn.1800a736
pop ecx
pop ecx
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
lea eax, [ebp - 0x14]
push eax
mov ecx, eax
call fcn.1800f25d
push 0x18
push dword [ebp - 0x14]
call fcn.1800a736
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x180c4a09
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0x181d5eb4
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 8]
push 0x181d5eb4
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 0x180c4a4b
test ebx, ebx
je 0x180c4aa9
lea ebx, [edi + 0x1c]
mov ecx, edi
push ebx
push str.Counts
call fcn.180c49e0
test al, al
je 0x180c4aa9
push dword [esi + 4]
lea ecx, [ebp - 4]
call fcn.1800e19e
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.180c4cd2
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.18004715
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x180c4ab0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x181ce008]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x181d5eb4
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.18148a10
add esp, 0xc
push 0x181d5eb4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x30], 0
je 0x180c4be1
lea edi, [ebx + 0x28]
mov ecx, ebx
push edi
push str.Timings
call fcn.180c49e0
test al, al
je 0x180c4be1
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push dword [eax + 4]
call fcn.1800e19e
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov edx, esi
mov ecx, edi
call fcn.180c4d1e
pop ecx
test al, al
jne 0x180c4b61
push 0x20
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.18149290
add esp, 0xc
jmp 0x180c4bc5
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 0x180c4b8f
mov eax, dword [esp + 0x40]
jl 0x180c4b97
cmp eax, dword [esp + 0x20]
jb 0x180c4b97
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 0x180c4bb5
mov eax, dword [esp + 0x48]
jl 0x180c4bbd
cmp dword [esp + 0x28], eax
jb 0x180c4bbd
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.18004715
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.18145efd
mov esp, ebp
pop ebp
ret 4

Function at 0x180c4cd2
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 0x180c4d0b
cmp dword [ebp - 8], 3
jne 0x180c4d0b
test eax, eax
jne 0x180c4d0b
cmp dword [ebp - 4], esi
jne 0x180c4d0b
mov al, 1
jmp 0x180c4d1b
push esi
push 0
push dword [ebp + 8]
call fcn.18148a10
add esp, 0xc
xor al, al
pop esi
leave
ret
Function at 0x180c4d1e
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 0x180c4d57
cmp dword [ebp - 8], 3
jne 0x180c4d57
test eax, eax
jne 0x180c4d57
cmp dword [ebp - 4], esi
jne 0x180c4d57
mov al, 1
jmp 0x180c4d67
push esi
push 0
push dword [ebp + 8]
call fcn.18148a10
add esp, 0xc
xor al, al
pop esi
leave
ret

Function at 0x180c88a8
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 0x180c891e
movzx ecx, byte [0x181d6aa2]
neg ecx
sbb ecx, ecx
and ecx, 0x181d5c50
je 0x180c88f9
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.18005e59
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push str._Google_Update_core_is_shutting_down..._
push eax
call fcn.18004253
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 0x180c891e
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.180c858e
mov ecx, esi
pop esi
test al, al
je 0x180c88a8
jmp fcn.180c8a7a

Function at 0x180c8a62
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 0x180c891e
movzx ecx, byte [0x181d6aa2]
neg ecx
sbb ecx, ecx
and ecx, 0x181d5c50
je 0x180c88f9
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.18005e59
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push str._Google_Update_core_is_shutting_down..._
push eax
call fcn.18004253
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 0x180c891e
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.180c858e
mov ecx, esi
pop esi
test al, al
je 0x180c88a8
jmp fcn.180c8a7a
Function at 0x180c8f3b
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.180b58fa
call fcn.180b6f0e
mov dword [ebp - 0xc], eax
call fcn.180b6f0e
mov edx, str.AuCheckPeriodMs
mov ecx, str.HKLMSoftwareGoogleUpdateDev_
mov esi, eax
call fcn.18012f3f
test al, al
jne 0x180c8f93
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push 4
push eax
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x180c8f93
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], 0x181bef74
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 0x180c8fc8
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [edi + 0x24], eax
mov eax, dword [ebp - 8]
mov ecx, eax
call fcn.180c95be
push dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
push esi
call fcn.180c9522
lea ecx, [ebp - 0x44]
mov esi, eax
call fcn.1802c04c
test esi, esi
jns 0x180c902d
movzx ecx, byte [0x181d6aa2]
neg ecx
sbb ecx, ecx
and ecx, 0x181d5c50
je 0x180c9026
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.18005e59
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.18004253
add esp, 0xc
mov eax, esi
jmp 0x180c90ae
call fcn.180b6fc4
push 1
sub esp, 0x28
mov dword [ebp - 0x44], 0x181bef44
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 0x180c9061
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.180c9522
lea ecx, [ebp - 0x44]
mov esi, eax
call fcn.1802c04c
test esi, esi
jns 0x180c90ac
movzx ecx, byte [0x181d6aa2]
neg ecx
sbb ecx, ecx
and ecx, 0x181d5c50
je 0x180c9026
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.18005e59
push esi
push str._Failed_to_start_code_red_scheduler__0x_08x_
jmp 0x180c9017
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4