joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180a0dd8
Capabilities:
Check for time delay via gettickcount
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x181c7008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xf003f
xor ebx, ebx
mov esi, ecx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x180a0e0f
call fcn.18013c6a
mov ebx, eax
jmp 0x180a0ee7
push 0x24
push dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x180a0ece
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x180a0e6e
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x180a0ed5
cmp eax, 3
je 0x180a0e71
push 0x1c
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.18144340
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x180a0ece
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x180a0ed5
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
cmp dword [ebp - 0x1c], 1
mov dword [ebp - 0x24], eax
je 0x180a0ed5
call edi
sub eax, dword [ebp - 0x24]
cmp eax, 0x1f40
jae 0x180a0ebf
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1c
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.18144340
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov eax, dword [ebp - 0x1c]
cmp eax, 1
jne 0x180a0e87
jmp 0x180a0ec2
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x180a0ed5
mov ebx, 0x800705b4
jmp 0x180a0ed5
call fcn.18013c6a
mov ebx, eax
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test esi, esi
je 0x180a0ee2
push esi
call edi
push dword [ebp - 0x28]
call edi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18141824
leave
ret

Function at 0x180a0f43
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x181c7008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 1
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x180a0fb8
push esi
push edi
push 4
push str.Schedule
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x180a0fa6
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x180a0fa4
cmp dword [ebp - 0x1c], 4
je 0x180a0fa2
cmp dword [ebp - 0x1c], 2
jne 0x180a0fa4
mov bl, 1
test esi, esi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
je 0x180a0fb1
push esi
call edi
push dword [ebp - 0x24]
call edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.18141824
leave
ret
Function at 0x180a1399
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push esi
push 0x180a1324
mov eax, dword [esi + 0x20]
mov dword [esi + 0x24], eax
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
je 0x180a1434
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
cmp ecx, eax
je 0x180a1434
sub eax, ecx
mov byte [ebp - 1], 0
push ebx
push edi
sar eax, 2
xor edi, edi
test eax, eax
je 0x180a142c
xor ebx, ebx
inc ebx
push 0
push 0xf060
push 0x112
push dword [ecx + edi*4]
call dword [sym.imp.USER32.dll_PostMessageW]
test eax, eax
je 0x180a1407
cmp byte [esi + 0x30], 0
je 0x180a1400
mov eax, dword [esi + 0x20]
push ebx
push dword [eax + edi*4]
call dword [sym.imp.USER32.dll_FlashWindow]
mov dl, bl
mov byte [ebp - 1], dl
jmp 0x180a140a
mov dl, byte [ebp - 1]
mov eax, dword [esi + 0x24]
inc edi
mov ecx, dword [esi + 0x20]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x180a13d4
test dl, dl
je 0x180a142c
push dword [ebp + 8]
mov ecx, esi
call fcn.180a1098
test al, al
jne 0x180a142e
xor bl, bl
pop edi
mov al, bl
pop ebx
jmp 0x180a1436
xor al, al
pop esi
leave
ret 4

Function at 0x180a14d3
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x181c7008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push 0
push 4
mov dword [ebp - 0x24], esi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x2c], ebx
cmp ebx, 0xffffffff
jne 0x180a1506
xor al, al
jmp 0x180a157f
xor eax, eax
mov dword [ebp - 0x20], 0x1c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32First]
jmp 0x180a1573
mov eax, dword [ebp - 0x24]
mov esi, dword [esi + 0x10]
cmp esi, dword [eax + 0x14]
je 0x180a155e
mov ebx, eax
mov eax, dword [esi]
cmp eax, dword [ebp - 0x14]
jne 0x180a1553
mov eax, dword [ebp - 0x18]
mov ecx, edi
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.180103bf
add esi, 4
cmp esi, dword [ebx + 0x14]
jne 0x180a153b
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
mov esi, dword [ebp - 0x24]
test eax, eax
jne 0x180a152e
mov eax, dword [edi]
cmp eax, dword [edi + 4]
setne al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18141824
leave
ret 4
Function at 0x180a1590
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov byte [ebp - 1], bl
mov edi, ebx
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x180a15e7
push ebx
push dword [ecx + edi*4]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x180a15c4
mov dl, 1
mov byte [ebp - 1], dl
jmp 0x180a15c7
mov dl, byte [ebp - 1]
mov eax, dword [esi + 8]
inc edi
mov ecx, dword [esi + 4]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x180a15af
test dl, dl
je 0x180a15e7
push dword [ebp + 8]
mov ecx, esi
call fcn.180a1098
mov bl, al
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 4

Function at 0x180a1703
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push dword [edi + 4]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov eax, dword [edi + 8]
cmp eax, esi
je 0x180a172e
test eax, eax
je 0x180a1729
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], esi
mov eax, esi
test eax, eax
je 0x180a1740
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne bl
pop edi
pop esi
mov al, bl
pop ebx
ret
Function at 0x180a3e32
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 0x180a3e83
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x180a3e7c
call fcn.18013c6a
jmp 0x180a3ea9
mov eax, 0x8007000d
jmp 0x180a3ea9
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.18047038
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop esi
leave
ret

Function at 0x180a4270
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x180a4285
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 0x180a422b
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
test eax, eax
jne 0x180a42b3
xor al, al
jmp 0x180a42c4
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 0x180a4c8f
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 [0x181c7008]
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 0x180a4d0a
push 0xa
lea eax, [ebp - 0x48]
mov byte [ebp - 0x79], bl
push edi
push eax
call fcn.1814fe78
add esp, 0xc
lea ecx, [ebp - 0x78]
mov edi, eax
push edi
call fcn.1804ff6b
xor eax, eax
push eax
push eax
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x80]
push eax
push esi
jmp 0x180a4d82
cmp dword [ebp - 0x80], 0
jbe 0x180a4db1
push ecx
push dword [ebp - 0x80]
lea ecx, [ebp - 0x54]
call fcn.180a29d6
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 0x180a4da9
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x180a4da9
add dword [ebp - 0x84], eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x54]
call fcn.1804cdff
lea ecx, [ebp - 0x54]
call fcn.1800b3d9
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 0x180a4d1b
xor bl, bl
lea ecx, [ebp - 0x78]
call fcn.1800e379
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18141824
leave
ret
lea ecx, [ebp - 0x54]
call fcn.1800b3d9
test esi, esi
je 0x180a4d8e
cmp byte [ebp - 0x79], 0
je 0x180a4dc3
cmp dword [ebp - 0x84], edi
jne 0x180a4d8e
mov esi, dword [ebp - 0x94]
test esi, esi
je 0x180a4d90
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x60]
call fcn.180a490f
push eax
mov ecx, esi
call fcn.18033df1
lea ecx, [ebp - 0x60]
call fcn.1802705e
jmp 0x180a4d90
Function at 0x180a87b1
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.180a88e9
call fcn.18003fd3
push eax
lea ecx, [ebp - 4]
call fcn.18006df7
push dword [esi]
lea eax, [ebp - 4]
push 0xbf7
push eax
call fcn.1801b576
add esp, 0xc
lea ecx, [ebp - 0x44]
call fcn.1801d472
push ecx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x148]
call fcn.18128b57
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x148]
call fcn.18128c66
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
test eax, eax
jns 0x180a8842
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 0x180a886f
push 0
lea ecx, [ebp - 0x144]
call fcn.18007c81
xor ebx, ebx
inc ebx
push ebx
push dword [ebp - 0x144]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x44]
call fcn.180a844c
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x58]
mov byte [ecx], al
lea ecx, [ebp - 0x148]
call fcn.18128c01
lea ecx, [ebp - 0x44]
call fcn.1801d4a2
lea ecx, [edi - 0x10]
call fcn.18004637
lea ecx, [esi - 0x10]
call fcn.18004637
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x180a9aa8
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
call fcn.180b2023
mov edi, eax
call fcn.1800bd4e
xor ebx, ebx
push ebx
push 0x989680
push edx
push eax
call fcn.18168c20
mov ecx, str.HKLMSoftwareGoogleUpdate_
lea esi, [eax + 0x49ef6f00]
cmp byte [ebp - 0xc], bl
jne 0x180a9ae4
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.180127ca
mov ecx, dword [ebp - 8]
add esp, 0xc
test eax, eax
jns 0x180a9b04
mov ecx, ebx
cmp esi, ecx
jae 0x180a9b12
lea eax, [esi + 0x15180]
cmp ecx, eax
jbe 0x180a9b63
push ebx
lea eax, [ebp - 1]
mov byte [ebp - 1], bl
push eax
mov ecx, edi
call fcn.180b32c4
mov esi, eax
test esi, esi
jne 0x180a9b6a
movzx ecx, byte [0x181cf83a]
neg ecx
sbb ecx, ecx
and ecx, 0x181cea00
je 0x180a9b63
push 7
pop eax
xor edx, edx
mov dword [ebp - 0x1c], ecx
inc edx
mov dword [ebp - 0x18], eax
push edx
push eax
mov dword [ebp - 0x14], edx
call fcn.18005bab
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push str._ShouldCheckForUpdates_returned_0__checks_disabled_
push eax
call fcn.18004175
pop ecx
pop ecx
xor al, al
jmp 0x180a9c51
push dword [ebp - 0xc]
call fcn.180b34bf
mov edi, eax
call fcn.180b2023
push ebx
lea ecx, [ebp - 2]
mov dword [ebp - 0x18], ebx
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], ebx
push ecx
mov ecx, eax
mov dword [ebp - 0x10], ebx
mov byte [ebp - 2], bl
call fcn.180b4054
test eax, eax
js 0x180a9b9e
cmp byte [ebp - 2], bl
jne 0x180a9c09
cmp edi, esi
jl 0x180a9c09
lea eax, [esi + 0xe10]
cmp edi, eax
jge 0x180a9c07
cmp byte [ebp - 1], bl
jne 0x180a9c07
push ebx
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
push 4
mov edx, str.DisableUpdateAppsHourlyJitter
mov ecx, str.HKLMSoftwareGoogleUpdateDev_
call fcn.180127ca
add esp, 0xc
test eax, eax
js 0x180a9bd9
cmp dword [ebp - 0xc], ebx
setne al
jmp 0x180a9bdb
mov al, bl
test al, al
jne 0x180a9c07
push 4
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 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 - 0xc]
pop ecx
div ecx
cmp edx, 0x5a
setb bl
jmp 0x180a9c09
mov bl, 1
movzx ecx, byte [0x181cf83a]
neg ecx
sbb ecx, ecx
and ecx, 0x181cea00
je 0x180a9c4f
push 7
pop eax
push 3
pop edx
push edx
push eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
call fcn.18005bab
mov dword [ebp - 0x10], eax
movzx eax, byte [ebp - 1]
push eax
movzx ecx, bl
lea eax, [ebp - 0x1c]
push ecx
push str._ShouldCheckForUpdates_returned__d___u_
push eax
call fcn.18004175
add esp, 0x10
mov al, bl
pop edi
pop esi
pop ebx
leave
ret
Function at 0x180ae443
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x181c7008]
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.18144340
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 0x180ae4aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x180ae4fe
movzx eax, ax
or eax, 0x80070000
jmp 0x180ae4fe
lea ecx, [esp + 0x10]
call fcn.18007eb3
lea eax, [esp + 0x10]
mov dl, bl
push eax
lea ecx, [esp + 0x2c]
call fcn.180085d4
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 0x180ae4f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x180ae4f3
movzx edi, di
or edi, 0x80070000
lea ecx, [esp + 0x10]
call fcn.18007edc
mov eax, edi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.18141824
mov esp, ebp
pop ebp
ret

Function at 0x180ae543
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10814
call fcn.18168e80
mov eax, dword [0x181c7008]
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.1800a915
test al, al
jne 0x180ae57f
mov eax, 0x80070002
jmp 0x180ae678
mov ecx, esi
call fcn.180144b6
push 0x10000
lea eax, [ebp - 0x10804]
push 0
push eax
call fcn.18144340
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 0x180ae676
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.18144340
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.18006abf
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.180af5d7
mov esi, eax
lea eax, [ebp - 0x804]
push eax
call fcn.181482a3
pop ecx
push eax
lea eax, [ebp - 0x804]
mov ecx, esi
push eax
call fcn.18006d7a
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.18004637
cmp esi, dword [ebp - 0x10810]
mov esi, dword [ebp - 0x10814]
jb 0x180ae5cb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18141824
leave
ret
Function at 0x180ae687
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 0x180ae796
mov eax, dword [ebx]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x180ae796
mov edx, dword [esi]
lea ecx, [ebp - 8]
push 0x181b37c8
call fcn.1800980a
mov esi, dword [ebp - 8]
pop ecx
cmp dword [esi - 0xc], ebx
jne 0x180ae6d7
call fcn.18013c6a
mov ebx, eax
jmp 0x180ae78a
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 0x180ae702
call fcn.18013c6a
mov ebx, eax
jmp 0x180ae789
call fcn.18003fd3
push eax
lea ecx, [ebp - 4]
call fcn.18006df7
mov edx, dword [ebp - 0xc]
lea ecx, [ebp - 0xc]
call fcn.1800c52b
push dword [eax]
lea eax, [ebp - 4]
push 0xbf
push 0xbb
push 0xef
push str._c_c_c_s
push eax
call fcn.1800f1be
mov ecx, dword [ebp - 0xc]
add esp, 0x18
lea ecx, [ecx - 0x10]
call fcn.18004637
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 0x180ae76b
call fcn.18013c6a
mov ebx, eax
jmp 0x180ae777
mov ecx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
call fcn.18006a67
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.18004637
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
lea ecx, [esi - 0x10]
call fcn.18004637
mov eax, ebx
jmp 0x180ae799
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret
Function at 0x180af066
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 0x180af088
call fcn.180ad3fc
test al, al
je 0x180af088
mov eax, 0x80004005
jmp 0x180af1b8
xor esi, esi
mov dword [ebp - 0xc], 0x181a3834
lea edx, [ebp - 0xc]
mov dword [ebp - 8], esi
mov cl, bl
call fcn.180aec55
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0xc]
call dword [eax + 4]
mov dword [ebp - 0x18], 0x181a3008
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0x200
call fcn.180b2023
mov eax, str.HKLMSoftwareGoogleUpdate_
test bl, bl
jne 0x180af0cb
mov eax, str.HKCUSoftwareGoogleUpdate_
push esi
push ecx
push 0xf003f
push ecx
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.1801250a
mov edi, eax
test edi, edi
js 0x180af196
push esi
push esi
push esi
push esi
push 0x181b3754
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180af104
mov edi, esi
jmp 0x180af196
call fcn.18003fd3
push eax
lea ecx, [ebp - 4]
call fcn.18006df7
lea ecx, [ebp - 4]
call fcn.180097b1
mov esi, dword [ebp - 4]
test eax, eax
js 0x180af18c
xor edi, edi
lea ecx, [ebp - 0x18]
inc edi
push edi
push esi
push 0x181b3754
call fcn.18012c40
test eax, eax
js 0x180af18c
mov ecx, 0x181cad20
call fcn.18016d9f
lea ecx, [ebp - 0x18]
call fcn.180af00f
xor eax, eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call fcn.180ae9d1
test eax, eax
js 0x180af182
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
je 0x180af182
sub esp, 0xc
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call fcn.1802d5bc
mov cl, bl
call fcn.180aecb6
add esp, 0xc
mov edi, eax
lea ecx, [ebp - 0x24]
call fcn.1800b3fc
jmp 0x180af18e
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.18004637
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x181a3008
call fcn.1801245f
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0xc]
call dword [eax + 8]
lea ecx, [ebp - 0xc]
call fcn.1800eae8
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x180af9e7
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 0x180afaac
mov edi, ecx
call dword [sym.imp.USER32.dll_EnumWindows]
call fcn.18003fd3
push eax
lea ecx, [esp + 0x18]
call fcn.18006df7
push dword [ebp + 0xc]
lea eax, [esp + 0x18]
push dword [ebp + 8]
push str._s_s.dmp
push eax
call fcn.1800f1a9
lea ecx, [esp + 0x24]
call fcn.1800ef5c
mov bl, byte [esp + 0x23]
lea eax, [esp + 0x24]
mov dl, byte [edi]
add esp, 0xc
mov cl, bl
push eax
call fcn.180bbd77
cmp byte [edi + 1], 0
pop ecx
pop ecx
je 0x180afa97
push dword [ebp + 0xc]
lea eax, [esp + 0x18]
push dword [ebp + 8]
push str._s_s_full.dmp
push eax
call fcn.1800f1a9
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.1800ef5c
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.1800a915
test al, al
je 0x180afa9b
mov dl, byte [edi]
lea eax, [esp + 0x14]
push ecx
push eax
mov cl, bl
call fcn.180bbd77
pop ecx
pop ecx
jmp 0x180afa9b
mov esi, dword [esp + 0x14]
lea ecx, [esi - 0x10]
call fcn.18004637
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8