joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18095554
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
xor ecx, ecx
push esi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
push eax
push 1
push ecx
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 8], ecx
push eax
push ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ecx
push eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
jne 0x180955a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1809559e
call fcn.18011478
jmp 0x180955cb
mov eax, 0x8007000d
jmp 0x180955cb
push dword [ebp + 8]
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
add edx, esi
push edx
push esi
mov eax, dword [ecx]
push eax
mov dword [ecx + 4], eax
call fcn.18042cbd
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop esi
leave
ret

Function at 0x1809598a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x1809599f
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [ebp + 8]
mov dword [esi], eax
lea eax, [esi + 4]
push eax
xor eax, eax
push eax
push esi
push 0x18095945
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
test eax, eax
jne 0x180959cd
xor al, al
jmp 0x180959de
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb al, al
inc al
pop esi
pop ebp
ret 4
Function at 0x180963a9
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 [0x1819f008]
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 0x18096424
push 0xa
lea eax, [ebp - 0x48]
mov byte [ebp - 0x79], bl
push edi
push eax
call fcn.181353f9
add esp, 0xc
lea ecx, [ebp - 0x78]
mov edi, eax
push edi
call fcn.18096e45
xor eax, eax
push eax
push eax
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x80]
push eax
push esi
jmp 0x1809649c
cmp dword [ebp - 0x80], 0
jbe 0x180964cb
push ecx
push dword [ebp - 0x80]
lea ecx, [ebp - 0x54]
call fcn.18093fe9
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 0x180964c3
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x180964c3
add dword [ebp - 0x84], eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x54]
call fcn.1804a06e
lea ecx, [ebp - 0x54]
call fcn.18009ef9
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 0x18096435
xor bl, bl
lea ecx, [ebp - 0x78]
call fcn.1800ce96
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18128eaf
leave
ret
lea ecx, [ebp - 0x54]
call fcn.18009ef9
test esi, esi
je 0x180964a8
cmp byte [ebp - 0x79], 0
je 0x180964dd
cmp dword [ebp - 0x84], edi
jne 0x180964a8
mov esi, dword [ebp - 0x94]
test esi, esi
je 0x180964aa
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x60]
call fcn.18096029
push eax
mov ecx, esi
call fcn.1802f958
lea ecx, [ebp - 0x60]
call fcn.1802338e
jmp 0x180964aa
Function at 0x18097553
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1819f008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x18097576
xor eax, eax
jmp 0x1809763c
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x180975a2
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x180975a2
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
jmp 0x18097634
cmp dword [esi + 0x4c], 0
je 0x18097638
mov ecx, esi
call fcn.18097cc3
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x180975bf
movsx eax, bl
jmp 0x180975f7
mov byte [ebp - 0x25], bl
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call edx
test eax, eax
js 0x18097638
cmp eax, 1
jle 0x1809760b
cmp eax, 3
jne 0x18097638
movsx eax, byte [ebp - 0x25]
push dword [esi + 0x4c]
push eax
call fcn.1813dc3e
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x18097634
or ebx, eax
jmp 0x18097634
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x18097628
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.1814e82b
add esp, 0x10
cmp edi, eax
jne 0x18097638
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x18097638
mov eax, ebx
jmp 0x1809763b
or eax, 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.18128eaf
leave
ret 4

Function at 0x18097d4b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1819f008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x38], ebx
je 0x18097da4
cmp byte [esi + 0x3d], bl
je 0x18097da4
push 0xffffffffffffffff
call fcn.18097553
cmp eax, 0xffffffff
je 0x18097ddd
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, ebx
je 0x18097db5
sub eax, 1
je 0x18097db8
dec eax
sub eax, 1
jne 0x18097ddd
mov byte [esi + 0x3d], bl
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18128eaf
leave
ret
mov byte [esi + 0x3d], bl
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x18097dd5
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.1814e82b
add esp, 0x10
cmp edi, eax
jne 0x18097ddd
cmp byte [esi + 0x3d], bl
sete al
jmp 0x18097da6
xor al, al
jmp 0x18097da6
Function at 0x1809a1f8
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.1809a342
call fcn.18002e11
push eax
lea ecx, [ebp - 4]
call fcn.18005bd3
push dword [esi]
lea eax, [ebp - 4]
push 0xbf7
push eax
call fcn.18018d84
xor eax, eax
mov dword [ebp - 0x44], 0x1817f44c
add esp, 8
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x44]
push eax
call fcn.1810edc4
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x148]
call fcn.1810eed3
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
test eax, eax
jns 0x1809a29b
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 0x1809a2c8
push 0
lea ecx, [ebp - 0x144]
call fcn.18006a5d
xor ebx, ebx
inc ebx
push ebx
push dword [ebp - 0x144]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x44]
call fcn.18099e57
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x58]
mov byte [ecx], al
lea ecx, [ebp - 0x148]
call fcn.1810ee6e
lea ecx, [ebp - 0x44]
call fcn.1801afac
lea ecx, [edi - 0x10]
call fcn.18003476
lea ecx, [esi - 0x10]
call fcn.18003476
pop edi
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x1809f844
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x1819f008]
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.1812b9b0
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 0x1809f8ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1809f8ff
movzx eax, ax
or eax, 0x80070000
jmp 0x1809f8ff
lea ecx, [esp + 0x10]
call fcn.18006c8f
lea eax, [esp + 0x10]
mov dl, bl
push eax
lea ecx, [esp + 0x2c]
call fcn.18007360
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 0x1809f8f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x1809f8f4
movzx edi, di
or edi, 0x80070000
lea ecx, [esp + 0x10]
call fcn.18006cb8
mov eax, edi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.18128eaf
mov esp, ebp
pop ebp
ret
Function at 0x1809f944
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10814
call fcn.1814ba20
mov eax, dword [0x1819f008]
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.1800947e
test al, al
jne 0x1809f980
mov eax, 0x80070002
jmp 0x1809fa79
mov ecx, esi
call fcn.18011cc4
push 0x10000
lea eax, [ebp - 0x10804]
push 0
push eax
call fcn.1812b9b0
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 0x1809fa77
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.1812b9b0
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.1800589b
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.180a093e
mov esi, eax
lea eax, [ebp - 0x804]
push eax
call fcn.1813397d
pop ecx
push eax
lea eax, [ebp - 0x804]
mov ecx, esi
push eax
call fcn.18005b56
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.18003476
cmp esi, dword [ebp - 0x10810]
mov esi, dword [ebp - 0x10814]
jb 0x1809f9cc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18128eaf
leave
ret
Function at 0x1809fa88
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], eax
push ebx
xor ebx, ebx
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
jne 0x1809faa8
xor eax, eax
inc eax
jmp 0x1809fb88
push esi
mov edx, 0x1818c210
lea ecx, [ebp - 8]
call fcn.18008527
mov esi, dword [ebp - 8]
cmp dword [esi - 0xc], ebx
jne 0x1809faca
call fcn.18011478
mov ebx, eax
jmp 0x1809fb7d
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 0x1809faf5
call fcn.18011478
mov ebx, eax
jmp 0x1809fb7c
call fcn.18002e11
push eax
lea ecx, [ebp - 4]
call fcn.18005bd3
mov edx, dword [ebp - 0xc]
lea ecx, [ebp - 0xc]
call fcn.1800b0db
push dword [eax]
lea eax, [ebp - 4]
push 0xbf
push 0xbb
push 0xef
push str._c_c_c_s
push eax
call fcn.1800dc39
mov ecx, dword [ebp - 0xc]
add esp, 0x18
lea ecx, [ecx - 0x10]
call fcn.18003476
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 0x1809fb5e
call fcn.18011478
mov ebx, eax
jmp 0x1809fb6a
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 8]
push eax
call fcn.18005843
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.18003476
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
lea ecx, [esi - 0x10]
call fcn.18003476
mov eax, ebx
pop esi
pop ebx
leave
ret

Function at 0x180a0d4e
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 0x180a0e13
mov edi, ecx
call dword [sym.imp.USER32.dll_EnumWindows]
call fcn.18002e11
push eax
lea ecx, [esp + 0x18]
call fcn.18005bd3
push dword [ebp + 0xc]
lea eax, [esp + 0x18]
push dword [ebp + 8]
push str._s_s.dmp
push eax
call fcn.1800dc24
lea ecx, [esp + 0x24]
call fcn.1800d9fc
mov bl, byte [esp + 0x23]
lea eax, [esp + 0x24]
mov dl, byte [edi]
add esp, 0xc
mov cl, bl
push eax
call fcn.180aaf89
cmp byte [edi + 1], 0
pop ecx
pop ecx
je 0x180a0dfe
push dword [ebp + 0xc]
lea eax, [esp + 0x18]
push dword [ebp + 8]
push str._s_s_full.dmp
push eax
call fcn.1800dc24
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.1800d9fc
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.1800947e
test al, al
je 0x180a0e02
mov dl, byte [edi]
lea eax, [esp + 0x14]
push ecx
push eax
mov cl, bl
call fcn.180aaf89
pop ecx
pop ecx
jmp 0x180a0e02
mov esi, dword [esp + 0x14]
lea ecx, [esi - 0x10]
call fcn.18003476
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x180a2475
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec dword [ebx + 0x56500c75]
push dword [ebp + 8]
call fcn.180a2151
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x180a247a
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.180a218c
mov dh, 0x51
jb 0x180a253a
lea eax, [ebp - 0x40]
push eax
call fcn.180a219c
push eax
push esi
push dword [ebp + 8]
call fcn.180a2151
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.180a218c
and dl, byte [0x458d21b2]
call 0x68f28282
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.180a219c
push eax
push esi
push dword [ebp + 8]
call fcn.180a2151
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
Function at 0x180a799a
Capabilities:
Identify system language via api

Disassembly:
push ebx
mov ebx, ecx
push esi
test dl, dl
je 0x180a79aa
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x180a79b0
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 0x180a79d8
inc edi
imul eax, edi, 0x1a
movzx eax, word [eax + 0x18171430]
test ax, ax
jne 0x180a79bf
mov esi, ecx
jmp 0x180a79db
movzx esi, si
pop edi
cmp cx, si
je 0x180a79f8
inc edx
imul eax, edx, 0x1a
movzx ecx, word [eax + 0x18171430]
test cx, cx
jne 0x180a79dc
mov eax, 0x181608cc
jmp 0x180a7a00
imul eax, edx, 0x1a
add eax, 0x18171432
push eax
mov ecx, ebx
call fcn.1800589b
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x180a7dea
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 0x180a7e14
call fcn.18011478
jmp 0x180a7e9b
call fcn.18002e11
push eax
lea ecx, [esp + 0x10]
call fcn.18005bd3
lea ecx, [esp + 0xc]
call fcn.1800f869
test eax, eax
jns 0x180a7e3b
lea eax, [esp + 0xc]
push eax
call fcn.1800f7ab
pop ecx
mov esi, dword [esp + 0xc]
mov eax, edi
mov dword [esp + 0x10], eax
cmp dword [esi - 0xc], edi
je 0x180a7e5a
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 0x180a7e80
call fcn.18011478
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.18003476
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x180aae36
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
mov ebx, ecx
movzx ecx, byte [0x181a7c1c]
neg ecx
mov dword [ebp - 0xc], ebx
push esi
sbb ecx, ecx
push edi
and ecx, 0x181a75e0
je 0x180aae85
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.180049c7
push dword [ebx]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push str._StartProcessWithNoExceptionHandler___s_
push eax
call fcn.18002fb3
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.1800db00
push 0x181803f0
lea ecx, [ebp - 8]
call fcn.1800589b
push str.GOOGLE_UPDATE_NO_CRASH_HANDLER
lea ecx, [ebp - 4]
call fcn.1800589b
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x14]
call fcn.18094052
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.18003476
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18003476
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.180942b9
mov ebx, dword [ebp - 0x20]
test al, al
je 0x180aaf49
cmp ebx, dword [ebp - 0x1c]
je 0x180aaf49
push 0x40
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x80], 0x44
push esi
push eax
call fcn.1812b9b0
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.1800cce6
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 0x180aaf49
push dword [ebp - 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x30]
call esi
xor esi, esi
jmp 0x180aaf50
call fcn.18011478
mov esi, eax
test ebx, ebx
je 0x180aaf65
mov ecx, dword [ebp - 0x18]
sub ecx, ebx
and ecx, 0xfffffffe
push ecx
push ebx
call fcn.18009131
pop ecx
pop ecx
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
lea eax, [ebp - 0x14]
push eax
mov ecx, eax
call fcn.1800db79
push 0x18
push dword [ebp - 0x14]
call fcn.18009131
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x180b3315
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0x181a77e0
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 8]
push 0x181a77e0
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 0x180b3357
test ebx, ebx
je 0x180b33b5
lea ebx, [edi + 0x1c]
mov ecx, edi
push ebx
push str.Counts
call fcn.180b32ec
test al, al
je 0x180b33b5
push dword [esi + 4]
lea ecx, [ebp - 4]
call fcn.1800cbea
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.180b35de
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.18003476
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x180b33bc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x1819f008]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x181a77e0
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.1812b9b0
add esp, 0xc
push 0x181a77e0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x30], 0
je 0x180b34ed
lea edi, [ebx + 0x28]
mov ecx, ebx
push edi
push str.Timings
call fcn.180b32ec
test al, al
je 0x180b34ed
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push dword [eax + 4]
call fcn.1800cbea
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov edx, esi
mov ecx, edi
call fcn.180b362a
pop ecx
test al, al
jne 0x180b346d
push 0x20
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.1812c230
add esp, 0xc
jmp 0x180b34d1
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 0x180b349b
mov eax, dword [esp + 0x40]
jl 0x180b34a3
cmp eax, dword [esp + 0x20]
jb 0x180b34a3
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 0x180b34c1
mov eax, dword [esp + 0x48]
jl 0x180b34c9
cmp dword [esp + 0x28], eax
jb 0x180b34c9
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.18003476
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.18128eaf
mov esp, ebp
pop ebp
ret 4

Function at 0x180b35de
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 0x180b3617
cmp dword [ebp - 8], 3
jne 0x180b3617
test eax, eax
jne 0x180b3617
cmp dword [ebp - 4], esi
jne 0x180b3617
mov al, 1
jmp 0x180b3627
push esi
push 0
push dword [ebp + 8]
call fcn.1812b9b0
add esp, 0xc
xor al, al
pop esi
leave
ret