joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180a8461
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x181cf008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x94], edx
push edi
push eax
mov byte [ebp - 0x79], al
mov edi, eax
mov dword [ebp - 0x68], eax
mov esi, ecx
mov byte [ebp - 0x78], al
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x88], esi
push eax
push 5
push esi
mov dword [ebp - 0x8c], 0x40
mov dword [ebp - 0x64], 0xf
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
xor ebx, ebx
inc ebx
test eax, eax
je 0x180a84dc
push 0xa
lea eax, [ebp - 0x48]
mov byte [ebp - 0x79], bl
push edi
push eax
call fcn.18154638
add esp, 0xc
lea ecx, [ebp - 0x78]
mov edi, eax
push edi
call fcn.180501cb
xor eax, eax
push eax
push eax
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x80]
push eax
push esi
jmp 0x180a8554
cmp dword [ebp - 0x80], 0
jbe 0x180a8583
push ecx
push dword [ebp - 0x80]
lea ecx, [ebp - 0x54]
call fcn.180a61a8
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x80]
push dword [ebp - 0x54]
push dword [ebp - 0x88]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov esi, eax
test esi, esi
je 0x180a857b
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x180a857b
add dword [ebp - 0x84], eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x54]
call fcn.1804d05e
lea ecx, [ebp - 0x54]
call fcn.1800b4aa
push 0
push 0
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x88]
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov esi, eax
test esi, esi
jne 0x180a84ed
xor bl, bl
lea ecx, [ebp - 0x78]
call fcn.1800e44a
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18145fe4
leave
ret
lea ecx, [ebp - 0x54]
call fcn.1800b4aa
test esi, esi
je 0x180a8560
cmp byte [ebp - 0x79], 0
je 0x180a8595
cmp dword [ebp - 0x84], edi
jne 0x180a8560
mov esi, dword [ebp - 0x94]
test esi, esi
je 0x180a8562
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x60]
call fcn.180a80e1
push eax
mov ecx, esi
call fcn.18033fc5
lea ecx, [ebp - 0x60]
call fcn.18027234
jmp 0x180a8562
Function at 0x180abf86
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
mov ebx, edx
push esi
mov esi, ecx
mov dword [ebp - 0xc], ebx
push edi
mov edx, esi
mov byte [ebx], 0
lea ecx, [ebp - 8]
call fcn.180ac0be
call fcn.180040b1
push eax
lea ecx, [ebp - 4]
call fcn.1800717c
push dword [esi]
lea eax, [ebp - 4]
push 0xbf7
push eax
call fcn.1801b726
add esp, 0xc
lea ecx, [ebp - 0x44]
call fcn.1801d623
push ecx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x148]
call fcn.1812c7c3
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x148]
call fcn.1812c8d2
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
test eax, eax
jns 0x180ac017
push 4
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
sete cl
test eax, eax
mov byte [ebx], cl
setne bl
jmp 0x180ac044
push 0
lea ecx, [ebp - 0x144]
call fcn.1800806c
xor ebx, ebx
inc ebx
push ebx
push dword [ebp - 0x144]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x44]
call fcn.180abc21
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x58]
mov byte [ecx], al
lea ecx, [ebp - 0x148]
call fcn.1812c86d
lea ecx, [ebp - 0x44]
call fcn.1801d653
lea ecx, [edi - 0x10]
call fcn.18004715
lea ecx, [esi - 0x10]
call fcn.18004715
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x180ad2a3
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
call fcn.180b59e0
mov edi, eax
call fcn.1800be1f
xor ebx, ebx
push ebx
push 0x989680
push edx
push eax
call fcn.1816d450
mov ecx, str.HKLMSoftwareGoogleUpdate_
lea esi, [eax + 0x49ef6f00]
cmp byte [ebp - 0x10], bl
jne 0x180ad2df
mov ecx, str.HKCUSoftwareGoogleUpdate_
push ebx
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push 4
mov edx, str.RetryAfter
call fcn.180128c2
mov ecx, dword [ebp - 8]
add esp, 0xc
test eax, eax
jns 0x180ad2ff
mov ecx, ebx
cmp esi, ecx
jae 0x180ad30d
lea eax, [esi + 0x15180]
cmp ecx, eax
jbe 0x180ad35e
push ebx
lea eax, [ebp - 1]
mov byte [ebp - 1], bl
push eax
mov ecx, edi
call fcn.180b6c07
mov edi, eax
test edi, edi
jne 0x180ad365
movzx ecx, byte [0x181d7aa2]
neg ecx
sbb ecx, ecx
and ecx, 0x181d6c50
je 0x180ad35e
push 7
pop eax
xor edx, edx
mov dword [ebp - 0x20], ecx
inc edx
mov dword [ebp - 0x1c], eax
push edx
push eax
mov dword [ebp - 0x18], edx
call fcn.18005e59
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push str._ShouldCheckForUpdates_returned_0__checks_disabled_
push eax
call fcn.18004253
pop ecx
pop ecx
xor al, al
jmp 0x180ad463
push dword [ebp - 0x10]
call fcn.180b6e02
mov dword [ebp - 0x10], eax
call fcn.180b59e0
push ebx
mov esi, eax
call fcn.18154b9a
pop ecx
mov dword [ebp - 0xc], eax
mov ecx, esi
push ebx
lea eax, [ebp - 2]
mov dword [ebp - 8], edx
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x18], ebx
push eax
mov dword [ebp - 0x14], ebx
mov byte [ebp - 2], bl
call fcn.180b7997
test eax, eax
js 0x180ad3ad
cmp byte [ebp - 2], bl
jne 0x180ad41b
mov ecx, dword [ebp - 0x10]
cmp ecx, edi
jl 0x180ad41b
lea eax, [edi + 0xe10]
cmp ecx, eax
jge 0x180ad419
cmp byte [ebp - 1], bl
jne 0x180ad419
push ebx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push 4
mov edx, str.DisableUpdateAppsHourlyJitter
mov ecx, str.HKLMSoftwareGoogleUpdateDev_
call fcn.180128c2
add esp, 0xc
test eax, eax
js 0x180ad3eb
cmp dword [ebp - 0x10], ebx
setne al
jmp 0x180ad3ed
mov al, bl
test al, al
jne 0x180ad419
push 4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
movzx eax, al
neg eax
push 0x64
sbb eax, eax
xor edx, edx
and eax, dword [ebp - 0x10]
pop ecx
div ecx
cmp edx, 0x5a
setb bl
jmp 0x180ad41b
mov bl, 1
movzx ecx, byte [0x181d7aa2]
neg ecx
sbb ecx, ecx
and ecx, 0x181d6c50
je 0x180ad461
push 7
pop eax
push 3
pop edx
push edx
push eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
call fcn.18005e59
mov dword [ebp - 0x14], eax
movzx eax, byte [ebp - 1]
push eax
movzx ecx, bl
lea eax, [ebp - 0x20]
push ecx
push str._ShouldCheckForUpdates_returned__d___u_
push eax
call fcn.18004253
add esp, 0x10
mov al, bl
pop edi
pop esi
pop ebx
leave
ret
Function at 0x180b1ce4
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x181cf008]
xor eax, esp
mov dword [esp + 0x228], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x208
mov dword [esp + 0x10], eax
xor edi, edi
lea eax, [esp + 0x2c]
mov bl, dl
push edi
push eax
mov esi, ecx
call fcn.18148b00
add esp, 0xc
lea eax, [esp + 0x28]
push 0x104
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x180b1d4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x180b1d9f
movzx eax, ax
or eax, 0x80070000
jmp 0x180b1d9f
lea ecx, [esp + 0x10]
call fcn.180083d5
lea eax, [esp + 0x10]
mov dl, bl
push eax
lea ecx, [esp + 0x2c]
call fcn.18008af6
pop ecx
push dword [esp + 0x10]
push edi
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
test eax, eax
jne 0x180b1d94
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x180b1d94
movzx edi, di
or edi, 0x80070000
lea ecx, [esp + 0x10]
call fcn.180083fe
mov eax, edi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.18145fe4
mov esp, ebp
pop ebp
ret

Function at 0x180b1de4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10814
call fcn.1816d6b0
mov eax, dword [0x181cf008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
mov edi, ecx
mov dword [ebp - 0x10814], esi
mov ecx, dword [edi]
call fcn.18005162
test al, al
jne 0x180b1e20
mov eax, 0x80070002
jmp 0x180b1f19
mov ecx, esi
call fcn.1801466a
push 0x10000
lea eax, [ebp - 0x10804]
push 0
push eax
call fcn.18148b00
add esp, 0xc
lea eax, [ebp - 0x10804]
push dword [edi]
push 0x8000
push eax
push 0
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
and dword [ebp - 0x1080c], 0
mov dword [ebp - 0x10810], eax
test eax, eax
je 0x180b1f17
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.18148b00
mov eax, dword [ebp - 0x1080c]
lea ecx, [ebp - 0x10804]
add esp, 0xc
lea eax, [ecx + eax*2]
push eax
lea ecx, [ebp - 0x10808]
call fcn.18006e44
push dword [edi]
lea eax, [ebp - 0x804]
push 0x400
push eax
push 0
push dword [ebp - 0x10808]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x10808]
mov ecx, esi
push eax
call fcn.180b2e7a
mov esi, eax
lea eax, [ebp - 0x804]
push eax
call fcn.1814ca63
pop ecx
push eax
lea eax, [ebp - 0x804]
mov ecx, esi
push eax
call fcn.180070ff
mov eax, dword [ebp - 0x10808]
mov esi, dword [ebp - 0x1080c]
inc esi
add esi, dword [eax - 0xc]
lea ecx, [eax - 0x10]
mov dword [ebp - 0x1080c], esi
call fcn.18004715
cmp esi, dword [ebp - 0x10810]
mov esi, dword [ebp - 0x10814]
jb 0x180b1e6c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18145fe4
leave
ret
Function at 0x180b1f28
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 0x180b2037
mov eax, dword [ebx]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x180b2037
mov edx, dword [esi]
lea ecx, [ebp - 8]
push 0x181ba9ec
call fcn.180082e5
mov esi, dword [ebp - 8]
pop ecx
cmp dword [esi - 0xc], ebx
jne 0x180b1f78
call fcn.18013e1e
mov ebx, eax
jmp 0x180b202b
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 0x180b1fa3
call fcn.18013e1e
mov ebx, eax
jmp 0x180b202a
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 0x180b200c
call fcn.18013e1e
mov ebx, eax
jmp 0x180b2018
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 0x180b203a
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret
Function at 0x180b2909
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 0x180b292b
call fcn.180b0c9b
test al, al
je 0x180b292b
mov eax, 0x80004005
jmp 0x180b2a5b
xor esi, esi
mov dword [ebp - 0xc], 0x181aa4dc
lea edx, [ebp - 0xc]
mov dword [ebp - 8], esi
mov cl, bl
call fcn.180b24f8
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0xc]
call dword [eax + 4]
mov dword [ebp - 0x18], 0x181a9c78
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0x200
call fcn.180b59e0
mov eax, str.HKLMSoftwareGoogleUpdate_
test bl, bl
jne 0x180b296e
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 0x180b2a39
push esi
push esi
push esi
push esi
push 0x181ba734
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180b29a7
mov edi, esi
jmp 0x180b2a39
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 0x180b2a2f
xor edi, edi
lea ecx, [ebp - 0x18]
inc edi
push edi
push esi
push 0x181ba734
call fcn.18012d3b
test eax, eax
js 0x180b2a2f
mov ecx, 0x181d2ed8
call fcn.18016f54
lea ecx, [ebp - 0x18]
call fcn.180b28b2
xor eax, eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call fcn.180b2272
test eax, eax
js 0x180b2a25
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
je 0x180b2a25
sub esp, 0xc
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call fcn.1802d790
mov cl, bl
call fcn.180b2559
add esp, 0xc
mov edi, eax
lea ecx, [ebp - 0x24]
call fcn.1800b4cd
jmp 0x180b2a31
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.18004715
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x181a9c78
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 0x180b328a
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 0x180b334f
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.180bf3f8
cmp byte [edi + 1], 0
pop ecx
pop ecx
je 0x180b333a
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 0x180b333e
mov dl, byte [edi]
lea eax, [esp + 0x14]
push ecx
push eax
mov cl, bl
call fcn.180bf3f8
pop ecx
pop ecx
jmp 0x180b333e
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 0x180b3ed9
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.180bccde
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 0x180b3f39
jb 0x180b3f2f
test eax, eax
jae 0x180b3f39
mov ebx, 0x80004001
jmp 0x180b402e
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.180b90c7
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.180b922e
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.180b1333
mov esi, dword [ebp + 8]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x180b3ffd
cmp dword [ebp + 0xc], 0
je 0x180b3ffb
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
and dword [ebp + 0xc], 0
test eax, eax
jne 0x180b3fe4
lea eax, [ebp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x180b3ff4
mov ebx, dword [ebp + 0xc]
jmp 0x180b3ffd
cmp eax, 0x102
jne 0x180b3ff4
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x80004005
jmp 0x180b3ffd
xor ebx, ebx
test esi, esi
je 0x180b4008
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.180b9160
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 0x180b4e8a
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 0x180b4eaf
call fcn.180040b1
push eax
mov ecx, ebx
call fcn.1800717c
jmp 0x180b4f79
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.180b4de9
mov esi, dword [ebp - 4]
pop ecx
pop ecx
test eax, eax
js 0x180b4f3d
mov ecx, esi
call fcn.18008227
test al, al
je 0x180b4f3d
push 0x181baeb4
mov edx, esi
lea ecx, [ebp - 0xc]
call fcn.180082e5
mov edi, dword [ebp - 0xc]
pop ecx
cmp dword [edi - 0xc], 0
jne 0x180b4f7e
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 0x180b4ee7
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 0x180b4f68
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 0x180b4fa8
jmp 0x180b4f77

Function at 0x180b704b
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 0x180b7083
mov eax, dword [ebp - 4]
cmp eax, 0xea60
jb 0x180b70a8
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 0x180b72c4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x181cf008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.18148b00
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 0x180b732b
push ebx
mov edx, str..google.com
lea ecx, [ebp - 0x204]
call fcn.1800cb89
pop ecx
test al, al
jne 0x180b7370
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 0x180b7366
cmp dword [esi + 8], eax
je 0x180b7366
push str.google
push dword [esi + 8]
call fcn.18152d83
pop ecx
pop ecx
test eax, eax
je 0x180b7368
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.18145fe4
leave
ret
Function at 0x180bbefb
Capabilities:
Identify system language via api

Disassembly:
push ebx
mov ebx, ecx
push esi
test dl, dl
je 0x180bbf0b
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x180bbf11
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 0x180bbf39
inc edi
imul eax, edi, 0x1a
movzx eax, word [eax + 0x1819f8c0]
test ax, ax
jne 0x180bbf20
mov esi, ecx
jmp 0x180bbf3c
movzx esi, si
pop edi
cmp cx, si
je 0x180bbf59
inc edx
imul eax, edx, 0x1a
movzx ecx, word [eax + 0x1819f8c0]
test cx, cx
jne 0x180bbf3d
mov eax, 0x18181a7c
jmp 0x180bbf61
imul eax, edx, 0x1a
add eax, 0x1819f8c2
push eax
mov ecx, ebx
call fcn.18006e44
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x180bc437
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 0x180bc461
call fcn.18013e1e
jmp 0x180bc4e8
call fcn.180040b1
push eax
lea ecx, [esp + 0x10]
call fcn.1800717c
lea ecx, [esp + 0xc]
call fcn.18010ec1
test eax, eax
jns 0x180bc488
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 0x180bc4a7
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 0x180bc4cd
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 0x180bf2a5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
mov ebx, ecx
movzx ecx, byte [0x181d7aa2]
neg ecx
mov dword [ebp - 0xc], ebx
push esi
sbb ecx, ecx
push edi
and ecx, 0x181d6c50
je 0x180bf2f4
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 0x181adc00
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.180a6211
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.180a6478
mov ebx, dword [ebp - 0x20]
test al, al
je 0x180bf3b8
cmp ebx, dword [ebp - 0x1c]
je 0x180bf3b8
push 0x40
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x80], 0x44
push esi
push eax
call fcn.18148b00
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 0x180bf3b8
push dword [ebp - 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x30]
call esi
xor esi, esi
jmp 0x180bf3bf
call fcn.18013e1e
mov esi, eax
test ebx, ebx
je 0x180bf3d4
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