joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180b0636
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
mov esi, ecx
call fcn.18003fd3
push eax
lea ecx, [ebp - 4]
call fcn.18006df7
push str.430FD4D0_B729_4F61_AA34_91526481799D
lea ecx, [ebp - 8]
call fcn.18006abf
mov cl, byte [esi]
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 8]
call fcn.180b9453
pop ecx
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18004637
lea ecx, [ebp - 4]
call fcn.18007f48
cmp edx, 0x10003
ja 0x180b0696
jb 0x180b068c
test eax, eax
jae 0x180b0696
mov ebx, 0x80004001
jmp 0x180b078b
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0xc]
call fcn.1800c52b
call fcn.18003fd3
push eax
lea ecx, [ebp + 8]
call fcn.18006df7
lea edx, [ebp + 8]
lea ecx, [ebp - 0xc]
call fcn.1800ce8c
push 0x1e
lea ecx, [ebp - 0x3c]
call fcn.180b57f5
mov edi, dword [ebp + 8]
lea ecx, [ebp + 8]
mov edx, edi
push dword [edi - 0xc]
call fcn.1800c64d
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.18006a67
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.18004637
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x3c]
call fcn.180b595b
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.180ada94
mov esi, dword [ebp + 8]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x180b075a
cmp dword [ebp + 0xc], 0
je 0x180b0758
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
and dword [ebp + 0xc], 0
test eax, eax
jne 0x180b0741
lea eax, [ebp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x180b0751
mov ebx, dword [ebp + 0xc]
jmp 0x180b075a
cmp eax, 0x102
jne 0x180b0751
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x80004005
jmp 0x180b075a
xor ebx, ebx
test esi, esi
je 0x180b0765
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18004637
lea ecx, [ebp - 0x3c]
call fcn.180b588d
lea ecx, [edi - 0x10]
call fcn.18004637
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff0
call fcn.18004637
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.18004637
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8

Function at 0x180b3708
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.180127ca
add esp, 0xc
test eax, eax
js 0x180b3740
mov eax, dword [ebp - 4]
cmp eax, 0xea60
jb 0x180b3765
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 0x180b3981
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x181c7008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.18144340
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 0x180b39e8
push ebx
mov edx, str..google.com
lea ecx, [ebp - 0x204]
call fcn.1800cab8
pop ecx
test al, al
jne 0x180b3a2d
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 0x180b3a23
cmp dword [esi + 8], eax
je 0x180b3a23
push str.google
push dword [esi + 8]
call fcn.1814e5c3
pop ecx
pop ecx
test eax, eax
je 0x180b3a25
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.18141824
leave
ret
Function at 0x180b866f
Capabilities:
Identify system language via api

Disassembly:
push ebx
mov ebx, ecx
push esi
test dl, dl
je 0x180b867f
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x180b8685
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 0x180b86ad
inc edi
imul eax, edi, 0x1a
movzx eax, word [eax + 0x18198c30]
test ax, ax
jne 0x180b8694
mov esi, ecx
jmp 0x180b86b0
movzx esi, si
pop edi
cmp cx, si
je 0x180b86cd
inc edx
imul eax, edx, 0x1a
movzx ecx, word [eax + 0x18198c30]
test cx, cx
jne 0x180b86b1
mov eax, 0x1817ca3c
jmp 0x180b86d5
imul eax, edx, 0x1a
add eax, 0x18198c32
push eax
mov ecx, ebx
call fcn.18006abf
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x180b8bab
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 0x180b8bd5
call fcn.18013c6a
jmp 0x180b8c5c
call fcn.18003fd3
push eax
lea ecx, [esp + 0x10]
call fcn.18006df7
lea ecx, [esp + 0xc]
call fcn.18010dec
test eax, eax
jns 0x180b8bfc
lea eax, [esp + 0xc]
push eax
call fcn.18010d2e
pop ecx
mov esi, dword [esp + 0xc]
mov eax, edi
mov dword [esp + 0x10], eax
cmp dword [esi - 0xc], edi
je 0x180b8c1b
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 0x180b8c41
call fcn.18013c6a
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.18004637
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x180bba3d
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.180b2023
call fcn.18003fd3
push eax
test bl, bl
je 0x180bbaa1
lea ecx, [ebp - 0xc]
call fcn.18006df7
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.18006abf
push 0x26
mov edx, eax
pop ecx
call fcn.180b17ad
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.18004637
mov eax, dword [ebp - 0xc]
xor ebx, ebx
mov edi, dword [ebp - 8]
mov dword [ebp - 0x10], ebx
jmp 0x180bbae4
lea ecx, [ebp - 8]
call fcn.18006df7
lea eax, [ebp - 8]
push eax
push 1
push str.GoogleCrashReports
lea ecx, [ebp - 0x14]
call fcn.18006abf
push 0x1c
mov edx, eax
pop ecx
call fcn.180b17ad
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.18004637
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.18006e74
cmp dword [ebp - 0x10], 0
lea esi, [eax + 0x10]
mov dword [ebp - 8], esi
je 0x180bbb00
lea ecx, [edi - 0x10]
call fcn.18004637
cmp dword [ebp - 0x14], 0
je 0x180bbb11
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.18004637
cmp byte [ebp - 1], 0
je 0x180bbb32
cmp dword [esi - 0xc], ebx
je 0x180bbb37
lea ecx, [ebp - 8]
call fcn.180bb8c0
mov esi, dword [ebp - 8]
test eax, eax
jns 0x180bbb32
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp dword [esi - 0xc], ebx
jne 0x180bbb62
lea ecx, [ebp - 0x14]
call fcn.1800e732
push eax
lea ecx, [ebp - 8]
call fcn.18006a67
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.18004637
mov esi, dword [ebp - 8]
cmp dword [esi - 0xc], ebx
jne 0x180bbb62
mov ebx, 0x8004fffc
jmp 0x180bbb74
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x180bbb74
lea ecx, [ebp - 8]
push ecx
mov ecx, eax
call fcn.18006a67
lea ecx, [esi - 0x10]
call fcn.18004637
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x180bbc24
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
mov ebx, ecx
movzx ecx, byte [0x181cf83a]
neg ecx
mov dword [ebp - 0xc], ebx
push esi
sbb ecx, ecx
push edi
and ecx, 0x181cea00
je 0x180bbc73
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.18005bab
push dword [ebx]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push str._StartProcessWithNoExceptionHandler___s_
push eax
call fcn.18004175
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.1800f060
push 0x181a6f20
lea ecx, [ebp - 8]
call fcn.18006abf
push str.GOOGLE_UPDATE_NO_CRASH_HANDLER
lea ecx, [ebp - 4]
call fcn.18006abf
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x14]
call fcn.180a2a3f
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.18004637
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18004637
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.180a2ca6
mov ebx, dword [ebp - 0x20]
test al, al
je 0x180bbd37
cmp ebx, dword [ebp - 0x1c]
je 0x180bbd37
push 0x40
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x80], 0x44
push esi
push eax
call fcn.18144340
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.1800e1c9
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 0x180bbd37
push dword [ebp - 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x30]
call esi
xor esi, esi
jmp 0x180bbd3e
call fcn.18013c6a
mov esi, eax
test ebx, ebx
je 0x180bbd53
mov ecx, dword [ebp - 0x18]
sub ecx, ebx
and ecx, 0xfffffffe
push ecx
push ebx
call fcn.1800a5dc
pop ecx
pop ecx
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
lea eax, [ebp - 0x14]
push eax
mov ecx, eax
call fcn.1800f0fe
push 0x18
push dword [ebp - 0x14]
call fcn.1800a5dc
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x180c149d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0x181cec64
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 8]
push 0x181cec64
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 0x180c14df
test ebx, ebx
je 0x180c153d
lea ebx, [edi + 0x1c]
mov ecx, edi
push ebx
push str.Counts
call fcn.180c1474
test al, al
je 0x180c153d
push dword [esi + 4]
lea ecx, [ebp - 4]
call fcn.1800e0cd
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.180c1766
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.18004637
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x180c1544
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x181c7008]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x181cec64
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.18144340
add esp, 0xc
push 0x181cec64
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x30], 0
je 0x180c1675
lea edi, [ebx + 0x28]
mov ecx, ebx
push edi
push str.Timings
call fcn.180c1474
test al, al
je 0x180c1675
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push dword [eax + 4]
call fcn.1800e0cd
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov edx, esi
mov ecx, edi
call fcn.180c17b2
pop ecx
test al, al
jne 0x180c15f5
push 0x20
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.18144bc0
add esp, 0xc
jmp 0x180c1659
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 0x180c1623
mov eax, dword [esp + 0x40]
jl 0x180c162b
cmp eax, dword [esp + 0x20]
jb 0x180c162b
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 0x180c1649
mov eax, dword [esp + 0x48]
jl 0x180c1651
cmp dword [esp + 0x28], eax
jb 0x180c1651
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.18004637
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.18141824
mov esp, ebp
pop ebp
ret 4

Function at 0x180c1766
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 0x180c179f
cmp dword [ebp - 8], 3
jne 0x180c179f
test eax, eax
jne 0x180c179f
cmp dword [ebp - 4], esi
jne 0x180c179f
mov al, 1
jmp 0x180c17af
push esi
push 0
push dword [ebp + 8]
call fcn.18144340
add esp, 0xc
xor al, al
pop esi
leave
ret
Function at 0x180c17b2
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 0x180c17eb
cmp dword [ebp - 8], 3
jne 0x180c17eb
test eax, eax
jne 0x180c17eb
cmp dword [ebp - 4], esi
jne 0x180c17eb
mov al, 1
jmp 0x180c17fb
push esi
push 0
push dword [ebp + 8]
call fcn.18144340
add esp, 0xc
xor al, al
pop esi
leave
ret

Function at 0x180c5339
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 0x180c53af
movzx ecx, byte [0x181cf83a]
neg ecx
sbb ecx, ecx
and ecx, 0x181cea00
je 0x180c538a
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.18005bab
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push str._Google_Update_core_is_shutting_down..._
push eax
call fcn.18004175
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 0x180c53af
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.180c501f
mov ecx, esi
pop esi
test al, al
je 0x180c5339
jmp fcn.180c550b

Function at 0x180c54f3
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 0x180c53af
movzx ecx, byte [0x181cf83a]
neg ecx
sbb ecx, ecx
and ecx, 0x181cea00
je 0x180c538a
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.18005bab
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push str._Google_Update_core_is_shutting_down..._
push eax
call fcn.18004175
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 0x180c53af
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.180c501f
mov ecx, esi
pop esi
test al, al
je 0x180c5339
jmp fcn.180c550b
Function at 0x180c59cc
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.180b2023
call fcn.180b36b1
mov dword [ebp - 0xc], eax
call fcn.180b36b1
mov edx, str.AuCheckPeriodMs
mov ecx, str.HKLMSoftwareGoogleUpdateDev_
mov esi, eax
call fcn.18012e42
test al, al
jne 0x180c5a24
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push 4
push eax
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x180c5a24
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], 0x181b7f68
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 0x180c5a59
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [edi + 0x24], eax
mov eax, dword [ebp - 8]
mov ecx, eax
call fcn.180c6052
push dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
push esi
call fcn.180c5fb3
lea ecx, [ebp - 0x44]
mov esi, eax
call fcn.1802be84
test esi, esi
jns 0x180c5abe
movzx ecx, byte [0x181cf83a]
neg ecx
sbb ecx, ecx
and ecx, 0x181cea00
je 0x180c5ab7
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.18005bab
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.18004175
add esp, 0xc
mov eax, esi
jmp 0x180c5b3f
call fcn.180b3767
push 1
sub esp, 0x28
mov dword [ebp - 0x44], 0x181b7f38
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 0x180c5af2
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.180c5fb3
lea ecx, [ebp - 0x44]
mov esi, eax
call fcn.1802be84
test esi, esi
jns 0x180c5b3d
movzx ecx, byte [0x181cf83a]
neg ecx
sbb ecx, ecx
and ecx, 0x181cea00
je 0x180c5ab7
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.18005bab
push esi
push str._Failed_to_start_code_red_scheduler__0x_08x_
jmp 0x180c5aa8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x180c64fb
Capabilities:
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
cmp ebx, 0x800c
je 0x180c6551
cmp ebx, 0x8004
je 0x180c6551
movzx ecx, byte [0x181cf83a]
neg ecx
sbb ecx, ecx
and ecx, 0x181cea00
je 0x180c66ad
push 9
pop eax
push 0xfffffffffffffffe
pop edx
push edx
push eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
call fcn.18005bab
push ebx
push str._VerifyInit__Invalid_signature_algorithm___d_
jmp 0x180c669e
mov esi, dword [ebp + 0x10]
push esi
call fcn.180c67c0
sub esi, 1
js 0x180c6575
mov ebx, dword [ebp + 0xc]
lea eax, [esi + ebx]
mov ecx, edi
push eax
call fcn.180c6814
sub esi, 1
jns 0x180c6562
mov ebx, dword [ebp + 8]
and dword [ebp + 0x10], 0
lea eax, [ebp - 8]
and dword [ebp - 8], 0
mov esi, 0x10001
push eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x14], 0xc
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0x180c64db
push eax
push 0x8001
push dword [ebp + 0x18]
mov dword [ebp - 0xc], 0x180c64eb
push dword [ebp + 0x14]
push 8
push esi
call dword [sym.imp.CRYPT32.dll_CryptDecodeObjectEx]
test eax, eax
jne 0x180c65fa
call fcn.18013c6a
movzx ecx, byte [0x181cf83a]
mov esi, eax
neg ecx
sbb ecx, ecx
and ecx, 0x181cea00
je 0x180c66ad
push 9
pop eax
push 0xfffffffffffffffe
pop edx
push edx
push eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
call fcn.18005bab
push esi
push str._VerifyInit__CryptDecodeObjectEx_failed___x_
jmp 0x180c669e
lea eax, [edi + 0x14]
push eax
push dword [ebp + 0x10]
push esi
push dword [edi + 0xc]
call dword [sym.imp.CRYPT32.dll_CryptImportPublicKeyInfo]
push dword [ebp + 0x10]
mov esi, eax
call fcn.18148166
pop ecx
test esi, esi
jne 0x180c6652
call fcn.18013c6a
movzx ecx, byte [0x181cf83a]
mov esi, eax
neg ecx
sbb ecx, ecx
and ecx, 0x181cea00
je 0x180c66ad
push 9
pop eax
push 0xfffffffffffffffe
pop edx
push edx
push eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
call fcn.18005bab
push esi
push str._VerifyInit__CryptImportPublicKeyInfo_failed___x_
jmp 0x180c669e
lea eax, [edi + 0x10]
push eax
push 0
push 0
push ebx
push dword [edi + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x180c66b1
call fcn.18013c6a
movzx ecx, byte [0x181cf83a]
mov esi, eax
neg ecx
sbb ecx, ecx
and ecx, 0x181cea00
je 0x180c66ad
push 9
pop eax
push 0xfffffffffffffffe
pop edx
push edx
push eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
call fcn.18005bab
push esi
push str._VerifyFinal__CryptVerifySignature_failed___x_
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push eax
call fcn.18004175
add esp, 0xc
xor al, al
jmp 0x180c66b3
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x180c66ba
Capabilities:
Hash data via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ecx + 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x180c671b
call fcn.18013c6a
movzx ecx, byte [0x181cf83a]
mov esi, eax
neg ecx
sbb ecx, ecx
and ecx, 0x181cea00
je 0x180c671b
push 9
pop edx
push 0xfffffffffffffffe
pop eax
push eax
push edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
call fcn.18005bab
push esi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push str._VerifyUpdate__CryptHashData_failed___x_
push eax
call fcn.18004175
add esp, 0xc
pop esi
leave
ret 8

Function at 0x180c6968
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
mov esi, edx
test esi, esi
jne 0x180c697c
mov eax, 0x80070057
jmp 0x180c69e6
push edi
xor eax, eax
mov dword [ebp - 0x54], 0x44
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
push 0x40
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x50]
xor edi, edi
push edi
push eax
call fcn.18144340
add esp, 0xc
mov dword [ebp - 0x28], 0x80
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop edi
test eax, eax
jne 0x180c69d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x180c69e6
movzx eax, ax
or eax, 0x80070000
jmp 0x180c69e6
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
xor eax, eax
pop esi
leave
ret