joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180568b0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push esi
push 0x1805683c
mov eax, dword [esi + 0x20]
mov dword [esi + 0x24], eax
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
je 0x1805694b
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
cmp ecx, eax
je 0x1805694b
sub eax, ecx
mov byte [ebp - 1], 0
push ebx
push edi
sar eax, 2
xor edi, edi
test eax, eax
je 0x18056943
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 0x1805691e
cmp byte [esi + 0x30], 0
je 0x18056917
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 0x18056921
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 0x180568eb
test dl, dl
je 0x18056943
push dword [ebp + 8]
mov ecx, esi
call fcn.1805658e
test al, al
jne 0x18056945
xor bl, bl
pop edi
mov al, bl
pop ebx
jmp 0x1805694d
xor al, al
pop esi
leave
ret 4

Function at 0x180569ea
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x180fd00c]
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 0x18056a20
xor al, al
jmp 0x18056aaa
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 0x18056a9e
mov eax, dword [ebp - 0x24]
mov esi, dword [esi + 0x10]
cmp esi, dword [eax + 0x14]
je 0x18056a89
mov ebx, eax
mov eax, dword [esi]
cmp eax, dword [ebp - 0x14]
jne 0x18056a7e
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x28], ecx
cmp eax, dword [edi + 8]
je 0x18056a72
mov dword [eax], ecx
add dword [edi + 4], 4
jmp 0x18056a7e
lea ecx, [ebp - 0x28]
push ecx
push eax
mov ecx, edi
call fcn.180140e4
add esi, 4
cmp esi, dword [ebx + 0x14]
jne 0x18056a55
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 0x18056a48
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.180a61d8
leave
ret 4
Function at 0x18056abb
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 0x18056b12
push ebx
push dword [ecx + edi*4]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x18056aef
mov dl, 1
mov byte [ebp - 1], dl
jmp 0x18056af2
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 0x18056ada
test dl, dl
je 0x18056b12
push dword [ebp + 8]
mov ecx, esi
call fcn.1805658e
mov bl, al
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 4

Function at 0x18056c63
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 0x18056c8e
test eax, eax
je 0x18056c89
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], esi
mov eax, esi
test eax, eax
je 0x18056ca0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne bl
pop edi
pop esi
mov al, bl
pop ebx
ret
Function at 0x18059bd3
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0xc]
xor ecx, ecx
push esi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0xc]
push eax
push 1
push ecx
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], ecx
push eax
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 8], ecx
push eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
jne 0x18059c27
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x18059c20
call fcn.18015f1f
jmp 0x18059c4d
mov eax, 0x8007000d
jmp 0x18059c4d
push dword [ebp - 8]
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x10]
add edx, esi
push edx
push esi
mov eax, dword [ecx]
push eax
mov dword [ecx + 4], eax
call fcn.18059c50
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop esi
leave
ret

Function at 0x1805a208
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x1805a21d
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 0x1805a1c3
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
test eax, eax
jne 0x1805a24b
xor al, al
jmp 0x1805a25c
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 0x1805c740
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x180fd00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0xc]
mov dword [esi], 0x180ef8fc
mov dword [esi + 4], eax
mov dword [esi + 8], 0x180efd24
call fcn.1805a186
lea ecx, [esi + 0x24]
call fcn.18011bb4
lea eax, [ebp - 0x198]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1805c7ad
push eax
push str.WSAStartup_failed_with_error__d_n
push 2
call fcn.180bd182
pop ecx
push eax
call fcn.1805a427
add esp, 0xc
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
push eax
push 1
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov dl, byte [ebp + 0xc]
mov dword [esi + 0x40], eax
mov byte [esi + 0x48], dl
test dl, dl
je 0x1805c7cf
lea ecx, [esi + 8]
call fcn.1805e211
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.180a61d8
leave
ret 8
Function at 0x1805d45a
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
call fcn.180663aa
mov dword [ebp - 0x10], eax
call fcn.1800ea09
xor ebx, ebx
push ebx
push 0x989680
push edx
push eax
call fcn.180cb230
mov edi, str.HKLMSoftwareASUSUpdate_
mov ecx, edi
lea esi, [eax + 0x49ef6f00]
cmp byte [ebp - 8], bl
jne 0x1805d499
mov ecx, str.HKCUSoftwareASUSUpdate_
push ebx
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
push 4
mov edx, str.RetryAfter
call fcn.180123f4
mov ecx, dword [ebp - 0xc]
add esp, 0xc
test eax, eax
jns 0x1805d4b9
mov ecx, ebx
cmp esi, ecx
jae 0x1805d4c7
lea eax, [esi + 0x15180]
cmp ecx, eax
jbe 0x1805d524
call fcn.180674a4
test al, al
jne 0x1805d524
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 2]
push ebx
push eax
mov byte [ebp - 2], bl
call fcn.18066d49
mov esi, eax
test esi, esi
jne 0x1805d52b
movzx ecx, byte [0x18101323]
neg ecx
sbb ecx, ecx
and ecx, 0x18101240
je 0x1805d524
push 7
pop eax
push 1
push eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 1
call fcn.1800457f
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push str._ShouldCheckForUpdates_returned_0__checks_disabled_
push eax
call fcn.18002ca6
pop ecx
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret
cmp byte [ebp - 8], bl
jne 0x1805d535
mov edi, str.HKCUSoftwareASUSUpdate_
push ebx
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
push 4
mov edx, str.InstallStatus
mov ecx, edi
call fcn.180123f4
add esp, 0xc
test eax, eax
js 0x1805d5a4
cmp dword [ebp - 0xc], 1
jne 0x1805d5a4
movzx ecx, byte [0x18101323]
neg ecx
sbb ecx, ecx
and ecx, 0x18101240
je 0x1805d597
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.1800457f
push 1
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push str._ShouldCheckForUpdates_GetAppInstallStatus_is_installing___d_
push eax
call fcn.18002ca6
add esp, 0xc
push ebx
push dword [ebp - 8]
call fcn.18066f43
mov al, 1
jmp 0x1805d526
push dword [ebp - 8]
call fcn.18066ed5
mov edi, eax
call fcn.180663aa
push ebx
lea ecx, [ebp - 1]
mov dword [ebp - 0x1c], ebx
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], ebx
push ecx
mov ecx, eax
mov dword [ebp - 0x14], ebx
mov byte [ebp - 1], bl
call fcn.18067e33
test eax, eax
js 0x1805d5d8
cmp byte [ebp - 1], bl
jne 0x1805d63a
cmp edi, esi
jl 0x1805d63a
lea eax, [esi + 0xe10]
cmp edi, eax
jge 0x1805d638
cmp byte [ebp - 2], bl
jne 0x1805d638
push ebx
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
push 4
mov edx, str.DisableUpdateAppsHourlyJitter
mov ecx, str.HKLMSoftwareASUSUpdateDev_
call fcn.180123f4
add esp, 0xc
test eax, eax
js 0x1805d610
cmp dword [ebp - 0xc], ebx
jne 0x1805d638
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 0x1805d63a
mov bl, 1
mov al, bl
jmp 0x1805d526
Function at 0x1805dfc8
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x180fd00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x114], ecx
push edi
push esi
mov dword [ebp - 0x118], eax
mov edi, esi
mov ebx, esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov dword [ebp - 0x120], 3
mov dword [ebp - 0x11c], esi
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x110], 1
mov eax, dword [eax + 4]
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x120]
push eax
push esi
lea eax, [ebp - 0x110]
push eax
push esi
push 1
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
je 0x1805e08f
cmp eax, 0xffffffff
je 0x1805e09a
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp - 0x114]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x1805e07f
mov eax, dword [ebp + 0xc]
sub eax, edi
push esi
push eax
mov eax, dword [ebp - 0x118]
add eax, edi
push eax
mov eax, dword [ebp - 0x114]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_send]
mov ebx, eax
test ebx, ebx
jle 0x1805e09a
add edi, ebx
cmp edi, dword [ebp + 0xc]
jne 0x1805e00a
xor esi, esi
inc esi
jmp 0x1805e09a
push 0x274c
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.180a61d8
leave
ret 0x10

Function at 0x1805e0ad
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x180fd00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x114], ecx
push edi
push esi
mov dword [ebp - 0x118], eax
mov edi, esi
mov ebx, esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov dword [ebp - 0x120], 3
mov dword [ebp - 0x11c], esi
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x110], 1
mov eax, dword [eax + 4]
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x120]
push eax
push esi
push esi
lea eax, [ebp - 0x110]
push eax
push 1
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
je 0x1805e174
cmp eax, 0xffffffff
je 0x1805e17f
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp - 0x114]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x1805e164
push esi
push 4
pop eax
sub eax, edi
push eax
mov eax, dword [ebp - 0x118]
add eax, edi
push eax
mov eax, dword [ebp - 0x114]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test ebx, ebx
jle 0x1805e17f
add edi, ebx
cmp edi, 4
jne 0x1805e0ef
xor esi, esi
inc esi
jmp 0x1805e17f
push 0x274c
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.180a61d8
leave
ret 0x10
Function at 0x1806264b
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x180fd00c]
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.180a89f0
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 0x180626b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x18062706
movzx eax, ax
or eax, 0x80070000
jmp 0x18062706
lea ecx, [esp + 0x10]
call fcn.18007953
lea eax, [esp + 0x10]
mov dl, bl
push eax
lea ecx, [esp + 0x2c]
call fcn.180082e6
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 0x180626fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x180626fb
movzx edi, di
or edi, 0x80070000
lea ecx, [esp + 0x10]
call fcn.18007974
mov eax, edi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.180a61d8
mov esp, ebp
pop ebp
ret

Function at 0x1806274b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
mov dword [ebp - 0x14], edx
push edi
xor edi, edi
mov eax, dword [ebx]
cmp dword [eax - 0xc], edi
jne 0x18062769
xor eax, eax
inc eax
jmp 0x18062843
mov edx, 0x180f034c
lea ecx, [ebp - 8]
call fcn.180095f3
mov eax, dword [ebp - 8]
cmp dword [eax - 0xc], edi
jne 0x1806278a
call fcn.18015f1f
mov edi, eax
jmp 0x18062836
push esi
push edi
push 0x80
push 2
push edi
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x180627b5
call fcn.18015f1f
mov edi, eax
jmp 0x18062835
lea ecx, [ebp - 4]
call fcn.18005c3b
mov edx, ebx
lea ecx, [ebp - 0xc]
call fcn.1800f1b1
push dword [eax]
lea eax, [ebp - 4]
push 0xbf
push 0xbb
push 0xef
push str._c_c_c_s
push eax
call fcn.18011d1e
mov ecx, dword [ebp - 0xc]
add esp, 0x18
lea ecx, [ecx - 0x10]
call fcn.18003140
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x10]
push edi
push ecx
mov dword [ebp - 0x10], edi
push dword [eax - 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x18062817
call fcn.18015f1f
mov edi, eax
jmp 0x18062823
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 8]
push eax
call fcn.18005b84
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.18003140
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18003140
mov eax, edi
pop edi
pop ebx
leave
ret
Function at 0x18063023
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov bh, dl
mov dword [ebp - 0xc], 0x180e50e0
xor edi, edi
lea edx, [ebp - 0xc]
mov bl, cl
mov dword [ebp - 8], edi
call fcn.18062cef
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0xc]
mov edx, dword [eax + 4]
cmp edx, 0x18011b77
jne 0x1806305c
push 0xffffffffffffffff
call dword [eax + 0xc]
jmp 0x1806305e
call edx
mov dword [ebp - 0x18], 0x180e49a8
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0x200
call fcn.180663aa
mov eax, str.HKLMSoftwareASUSUpdate_
test bl, bl
jne 0x18063082
mov eax, str.HKCUSoftwareASUSUpdate_
push 0xf003f
push eax
lea ecx, [ebp - 0x18]
call fcn.180121eb
push edi
push edi
push edi
push edi
mov esi, str.old_uid
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x18]
test eax, eax
jne 0x180630b6
push 0x180ee230
call fcn.18012010
jmp 0x1806310b
push esi
push 0x180ee230
call fcn.180128e2
test bh, bh
je 0x1806310b
lea ecx, [ebp - 4]
call fcn.18005c3b
lea eax, [ebp - 4]
push eax
push esi
lea ecx, [ebp - 0x18]
call fcn.180126f6
mov esi, str.__legacy
push esi
call fcn.180ac191
pop ecx
push eax
push esi
lea ecx, [ebp - 4]
call fcn.18005d13
mov esi, dword [ebp - 4]
lea ecx, [ebp - 0x18]
push 1
push esi
push str.old_uid
call fcn.1801287c
lea ecx, [esi - 0x10]
call fcn.18003140
mov cl, bl
call fcn.180631c3
mov esi, eax
mov dword [ebp - 0x18], 0x180e49a8
cmp dword [ebp - 0x14], edi
je 0x18063133
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0x200
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
cmp eax, 0x18011ba5
jne 0x1806314b
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x18063150
lea ecx, [ebp - 0xc]
call eax
mov dword [ebp - 0xc], 0x180e50e0
cmp dword [ebp - 8], edi
je 0x18063165
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x18063cb8
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ecx
push ebx
push esi
lea eax, [esp + 0xb]
mov byte [esp + 0xb], 0
push eax
push 0x18063d70
mov esi, ecx
call dword [sym.imp.USER32.dll_EnumWindows]
lea ecx, [esp + 0xc]
call fcn.18005c3b
push dword [ebp + 0xc]
lea eax, [esp + 0x10]
push dword [ebp + 8]
push str._s_s.dmp
push eax
call fcn.18011d09
lea ecx, [esp + 0x1c]
call fcn.180116ba
mov bl, byte [esp + 0x1b]
lea eax, [esp + 0x1c]
mov dl, byte [esi]
add esp, 0xc
mov cl, bl
push eax
call fcn.18074815
cmp byte [esi + 1], 0
pop ecx
pop ecx
je 0x18063d5c
push dword [ebp + 0xc]
lea eax, [esp + 0x10]
push dword [ebp + 8]
push str._s_s_full.dmp
push eax
call fcn.18011d09
add esp, 0x10
lea ecx, [esp + 0xc]
call fcn.180116ba
mov ecx, dword [esp + 0xc]
call fcn.1800d860
test al, al
je 0x18063d5c
mov dl, byte [esi]
lea eax, [esp + 0xc]
push ecx
push eax
mov cl, bl
call fcn.18074815
pop ecx
pop ecx
mov ecx, dword [esp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.18003140
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x180676d9
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.HKLMSoftwareASUSUpdateDev_
call fcn.180123f4
add esp, 0xc
test eax, eax
js 0x18067711
mov eax, dword [ebp - 4]
cmp eax, 0xea60
jb 0x18067736
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 0x1806789b
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x180fd00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.180a89f0
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 0x18067902
push ebx
mov edx, str..asus.com
lea ecx, [ebp - 0x204]
call fcn.1800f71c
pop ecx
test al, al
jne 0x18067947
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 0x1806793d
cmp dword [esi + 8], eax
je 0x1806793d
push 0x180ee088
push dword [esi + 8]
call fcn.180b1b72
pop ecx
pop ecx
test eax, eax
je 0x1806793f
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.180a61d8
leave
ret
Function at 0x18074229
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 0x18074253
call fcn.18015f1f
jmp 0x180742d4
lea ecx, [esp + 0xc]
call fcn.18005c3b
lea ecx, [esp + 0xc]
call fcn.18014dcc
test eax, eax
jns 0x18074274
lea eax, [esp + 0xc]
push eax
call fcn.18014d02
pop ecx
mov esi, dword [esp + 0xc]
mov eax, edi
mov dword [esp + 0x10], eax
cmp dword [esi - 0xc], edi
je 0x18074293
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_ConvertStringSidToSidW]
mov eax, dword [esp + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push dword [ebp + 0x18]
push 1
push eax
push dword [ebp + 0xc]
push edi
push dword [esp + 0x30]
push ebx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
test eax, eax
jne 0x180742b9
call fcn.18015f1f
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.18003140
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x180746d7
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
mov ebx, ecx
movzx ecx, byte [0x18101323]
neg ecx
mov dword [ebp - 0xc], ebx
push esi
sbb ecx, ecx
push edi
and ecx, 0x18101240
je 0x18074726
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.1800457f
push dword [ebx]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push str._StartProcessWithNoExceptionHandler___s_
push eax
call fcn.18002ca6
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.18011979
push 0x180e6fa4
lea ecx, [ebp - 8]
call fcn.18005bdc
push str.GOOGLE_UPDATE_NO_CRASH_HANDLER
lea ecx, [ebp - 4]
call fcn.18005bdc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x14]
call fcn.18058784
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.18003140
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18003140
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.180589fb
mov ebx, dword [ebp - 0x20]
test al, al
je 0x180747ea
cmp ebx, dword [ebp - 0x1c]
je 0x180747ea
push 0x40
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x80], 0x44
push esi
push eax
call fcn.180a89f0
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.18010b3c
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 0x180747ea
push dword [ebp - 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x30]
call esi
xor esi, esi
jmp 0x180747f1
call fcn.18015f1f
mov esi, eax
test ebx, ebx
je 0x18074806
mov ecx, dword [ebp - 0x18]
sub ecx, ebx
and ecx, 0xfffffffe
push ecx
push ebx
call fcn.180064b3
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
call fcn.1801199f
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret