joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1801ea42
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, edx
mov esi, ecx
call fcn.18006f9c
push eax
lea ecx, [ebp - 8]
call fcn.180076af
mov dword [ebp - 0xc], esi
mov edx, 0x811c9dc5
xor ecx, ecx
movzx eax, byte [ebp + ecx - 0xc]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 4
jb 0x1801ea78
push edx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.18025ced
mov ecx, dword [0x181dc07c]
mov eax, dword [eax + 4]
test eax, eax
jne 0x1801eaa8
mov eax, ecx
cmp eax, ecx
je 0x1801eaba
add eax, 0xc
lea ecx, [ebp - 8]
push eax
call fcn.18009e8a
jmp 0x1801ead0
or esi, 0x4000
lea edx, [ebp - 8]
mov ecx, esi
call fcn.1800cb1e
mov esi, eax
test esi, esi
js 0x1801eb3f
mov eax, dword [ebp - 8]
xor edx, edx
mov esi, dword [edi]
inc edx
mov edi, 0x104
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, edi
or edx, ecx
jge 0x1801eaf5
push edi
lea ecx, [ebp - 8]
call fcn.1800773c
mov eax, dword [ebp - 8]
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 8]
mov esi, eax
call fcn.18009ed8
test esi, esi
jne 0x1801eb14
mov esi, 0x80040709
jmp 0x1801eb3f
mov esi, dword [ebp - 8]
test esi, esi
jne 0x1801eb1f
xor eax, eax
jmp 0x1801eb26
push esi
call fcn.1813b4f0
pop ecx
push eax
push esi
mov ecx, ebx
call fcn.180075ed
cmp byte [ebp + 8], 0
je 0x1801eb3d
mov ecx, dword [ebp - 8]
call fcn.1800c9f0
xor esi, esi
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.18006f72
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181227f8
leave
ret

Function at 0x1802223d
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push 0
push eax
push 4
mov edx, str.AutoUpdateJitterMs
mov ecx, str.HKLMSoftwareMicrosoftEdgeUpdateDev_
call fcn.1801a4f1
add esp, 0xc
test eax, eax
js 0x18022280
mov eax, dword [ebp - 8]
cmp eax, 0xea60
jb 0x180222a5
mov eax, 0xea5f
jmp 0x180222a5
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
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 - 0xc]
div ecx
mov eax, edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.181227f8
leave
ret
Function at 0x18026f43
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, edx
push edi
mov edi, dword [ebp + 0xc]
test cl, cl
je 0x18027066
call fcn.18015cbc
test al, al
je 0x18027066
call fcn.1801706c
test al, al
je 0x18027066
xor ebx, ebx
lea ecx, [ebp - 0x11]
mov byte [ebp - 0x11], bl
call fcn.1800d75b
test eax, eax
sets al
dec al
and byte [ebp - 0x11], al
je 0x18026fa6
push ecx
mov edx, edi
mov ecx, esi
call fcn.1808609d
pop ecx
jmp 0x1802707d
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
push dword [esi]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
je 0x18027050
cmp dword [ebp - 0xc], ebx
jne 0x18026fcc
xor edi, edi
inc edi
jmp 0x18027057
push dword [esi]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
call fcn.180074fa
mov dword [ebp - 8], ebx
call fcn.18006f9c
push eax
lea ecx, [ebp - 8]
call fcn.180076af
xor edi, edi
inc edi
cmp dword [ebp - 0xc], edi
jle 0x18027029
mov eax, dword [ebp - 8]
cmp dword [eax - 0xc], ebx
je 0x18027004
push 0x20
lea ecx, [ebp - 8]
call fcn.18009f27
mov ebx, dword [esi + edi*4]
test ebx, ebx
jne 0x1802700f
xor eax, eax
jmp 0x18027016
push ebx
call fcn.1813b4f0
pop ecx
push eax
push ebx
lea ecx, [ebp - 8]
call fcn.18009f54
inc edi
push 0
pop ebx
cmp edi, dword [ebp - 0xc]
jl 0x18026ff2
push ecx
lea edx, [ebp - 8]
lea ecx, [ebp - 0x10]
call fcn.180172d9
pop ecx
mov ecx, dword [ebp - 8]
mov edi, eax
add ecx, 0xfffffff0
call fcn.18006f72
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.18006f72
jmp 0x1802705b
call fcn.1801bab5
mov edi, eax
test esi, esi
je 0x18027062
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
jmp 0x1802707d
push 0
mov edx, edi
mov ecx, esi
call fcn.1801bb67
pop ecx
test eax, eax
jns 0x1802707b
lfence
jmp 0x1802707d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181227f8
leave
ret
Function at 0x18027f5c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x181d600c]
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.181374a0
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 0x18027fc3
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x18028017
movzx eax, ax
or eax, 0x80070000
jmp 0x18028017
lea ecx, [esp + 0x10]
call fcn.1800bfef
lea eax, [esp + 0x10]
mov dl, bl
push eax
lea ecx, [esp + 0x2c]
call fcn.1800c719
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 0x1802800c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x1802800c
movzx edi, di
or edi, 0x80070000
lea ecx, [esp + 0x10]
call fcn.1800c018
mov eax, edi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.181227f8
mov esp, ebp
pop ebp
ret

Function at 0x1802805c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10820
call fcn.1815e2b0
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
mov edi, ecx
mov dword [ebp - 0x1081c], esi
mov ecx, dword [edi]
call fcn.18010826
test al, al
jne 0x18028098
mov eax, 0x80070002
jmp 0x18028198
mov ecx, esi
call fcn.1801c922
push 0x10000
lea eax, [ebp - 0x1080c]
push 0
push eax
call fcn.181374a0
add esp, 0xc
lea eax, [ebp - 0x1080c]
push dword [edi]
push 0x8000
push eax
push 0
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
and dword [ebp - 0x10814], 0
mov dword [ebp - 0x10818], eax
test eax, eax
je 0x18028196
push 0x800
lea eax, [ebp - 0x80c]
push 0
push eax
call fcn.181374a0
mov eax, dword [ebp - 0x10814]
lea ecx, [ebp - 0x1080c]
and dword [ebp - 0x10810], 0
add esp, 0xc
lea eax, [ecx + eax*2]
push eax
lea ecx, [ebp - 0x10810]
call fcn.180074fa
push dword [edi]
lea eax, [ebp - 0x80c]
push 0x400
push eax
push 0
push dword [ebp - 0x10810]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x10810]
mov ecx, esi
push eax
call fcn.180293e1
mov esi, eax
lea eax, [ebp - 0x80c]
push eax
call fcn.1813b4f0
pop ecx
push eax
lea eax, [ebp - 0x80c]
mov ecx, esi
push eax
call fcn.180075ed
mov eax, dword [ebp - 0x10810]
mov esi, dword [ebp - 0x10814]
inc esi
add esi, dword [eax - 0xc]
lea ecx, [eax - 0x10]
mov dword [ebp - 0x10814], esi
call fcn.18006f72
cmp esi, dword [ebp - 0x10818]
mov esi, dword [ebp - 0x1081c]
jb 0x180280e4
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181227f8
leave
ret
Function at 0x180281a7
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x18], edx
push edi
xor edi, edi
mov eax, dword [ebx]
cmp dword [eax - 0xc], edi
jne 0x180281cf
xor eax, eax
inc eax
jmp 0x180282b5
mov edx, 0x181abb94
mov dword [ebp - 0xc], edi
lea ecx, [ebp - 0xc]
call fcn.1800edf9
mov eax, dword [ebp - 0xc]
cmp dword [eax - 0xc], edi
jne 0x180281f3
call fcn.1801bab5
mov edi, eax
jmp 0x180282a8
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 0x1802821e
call fcn.1801bab5
mov edi, eax
jmp 0x180282a7
mov dword [ebp - 8], edi
call fcn.18006f9c
push eax
lea ecx, [ebp - 8]
call fcn.180076af
mov edx, ebx
lea ecx, [ebp - 0x14]
call fcn.18012790
push dword [eax]
lea eax, [ebp - 8]
push 0xbf
push 0xbb
push 0xef
push str._c_c_c_s
push eax
call fcn.18016b42
mov ecx, dword [ebp - 0x14]
add esp, 0x18
lea ecx, [ecx - 0x10]
call fcn.18006f72
mov eax, dword [ebp - 8]
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 0x18028289
call fcn.1801bab5
mov edi, eax
jmp 0x18028295
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0xc]
push eax
call fcn.18009e8a
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18006f72
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.18006f72
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.181227f8
leave
ret
Function at 0x18028d71
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov bl, cl
push edi
mov byte [ebp - 0x31], bl
call fcn.18026c60
test al, al
je 0x18028d9c
mov eax, 0x80004005
jmp 0x18028f45
xor edi, edi
mov dword [ebp - 0x28], 0x181a1a10
lea edx, [ebp - 0x28]
mov dword [ebp - 0x24], edi
mov cl, bl
call fcn.1802884a
lea eax, [ebp - 0x28]
mov dword [ebp - 0x30], edi
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x2c], edi
call fcn.1801582d
mov dword [ebp - 0x20], 0x181a194c
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0x200
call fcn.1801f853
mov eax, str.HKLMSoftwareMicrosoftEdgeUpdate_
test bl, bl
jne 0x18028de8
mov eax, str.HKCUSoftwareMicrosoftEdgeUpdate_
push edi
push ecx
push 0xf003f
push ecx
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.1801a148
mov ebx, eax
test ebx, ebx
js 0x18028f05
push edi
push edi
push edi
push edi
push 0x181ab9f8
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x18028e21
mov ebx, edi
jmp 0x18028f05
mov dword [ebp - 8], edi
call fcn.18006f9c
push eax
lea ecx, [ebp - 8]
call fcn.180076af
lea ecx, [ebp - 8]
call fcn.1800ec8b
mov esi, dword [ebp - 8]
test eax, eax
js 0x18028ef7
xor ebx, ebx
lea ecx, [ebp - 0x20]
inc ebx
push ebx
push esi
push 0x181ab9f8
call fcn.1801aa32
test eax, eax
js 0x18028ef7
mov ecx, 0x181d71e0
call fcn.18026d51
lea ecx, [ebp - 0x20]
call fcn.18028d06
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call fcn.18028577
mov edi, dword [ebp - 0x14]
test eax, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
js 0x18028eb7
cmp edi, eax
je 0x18028eb7
sub esp, 0xc
lea eax, [ebp - 0x14]
mov ecx, esp
push eax
call fcn.1802581b
mov cl, byte [ebp - 0x31]
call fcn.180288bf
mov edi, dword [ebp - 0x14]
mov ebx, eax
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov dword [ebp - 0x38], eax
test edi, edi
je 0x18028efb
cmp edi, eax
je 0x18028ed9
mov esi, dword [ebp - 0x38]
mov ecx, dword [edi]
sub ecx, 0x10
call fcn.18006f72
add edi, 4
cmp edi, esi
jne 0x18028ec2
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
sub eax, edi
and eax, 0xfffffffc
push eax
push edi
call fcn.1800a1ed
xor edi, edi
pop ecx
pop ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
jmp 0x18028efd
mov ebx, eax
jmp 0x18028efd
xor edi, edi
lea ecx, [esi - 0x10]
call fcn.18006f72
cmp dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0x181a194c
je 0x18028f25
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0x200
lea ecx, [ebp - 0x30]
call fcn.18015858
cmp dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0x181a1a10
je 0x18028f43
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181227f8
leave
ret
Function at 0x1803d229
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x41c
mov eax, dword [0x181d600c]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [esp + 0xc], eax
push 0x400
lea eax, [esp + 0x20]
mov dword [esp + 0x18], ecx
push edi
push eax
mov dword [esp + 0x1c], edi
call fcn.181374a0
add esp, 0xc
mov dword [esp + 0x18], edi
push 0x60
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1803d2a0
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1803d2a0
call fcn.18007a10
mov esi, eax
jmp 0x1803d353
push dword [esp + 0xc]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x1803d2bc
call fcn.18007a10
jmp 0x1803d346
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x1803d2b2
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea ecx, [esi + 1]
cmp ecx, esi
jae 0x1803d2e2
mov esi, 0x8007000e
jmp 0x1803d348
push 2
pop edx
lfence
call fcn.180103e2
cmp eax, 0x400
jbe 0x1803d303
push eax
lea ecx, [esp + 0x1c]
lfence
call fcn.18043593
jmp 0x1803d30b
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], 0
je 0x1803d2db
push esi
lfence
push dword [esp + 0x1c]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x1803d2b2
mov eax, dword [esp + 0x18]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [esp + 0x14]
push dword [esp + 0x1c]
call fcn.1803de08
mov esi, eax
test edi, edi
je 0x1803d353
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [esp + 0x1c]
cmp dword [esp + 0x18], eax
je 0x1803d366
lea ecx, [esp + 0x18]
call fcn.180426c7
mov ecx, dword [esp + 0x424]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.181227f8
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1803f1ae
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ecx + 0x98]
cmp dword [esi], 0
jne 0x1803f209
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [esi + 8]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor edi, edi
inc edi
test eax, eax
je 0x1803f205
jmp 0x1803f1ff
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0xc]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
cmp eax, ebx
jae 0x1803f1f6
or ecx, 0xffffffff
sub ecx, ebx
add ecx, eax
cmp ecx, dword [ebp - 4]
jae 0x1803f205
cmp dword [esi + 4], 0
jg 0x1803f1da
xchg dword [esi], edi
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1803fa4a
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
push 2
pop esi
mov ecx, dword [edi + 0x80]
cmp ecx, dword [edi + 0x84]
je 0x1803fa7d
xor eax, eax
cmp dword [ecx + 0x14], eax
setne al
mov dword [ebp - 0xc], eax
mov esi, eax
mov al, byte [edi + 0x8d]
mov bl, byte [edi + 0x11]
mov dword [ebp - 0xc], eax
call fcn.1801f853
mov ecx, dword [edi + 0xc]
inc eax
push esi
push ebx
push dword [ebp - 0xc]
mov dl, byte [eax]
call fcn.180411c2
add esp, 0xc
mov byte [edi + 0x8c], al
mov ecx, 0x181d7618
push eax
call fcn.1802652c
cmp byte [edi + 0x8c], 0
je 0x1803faca
call fcn.1801706c
test al, al
je 0x1803faca
mov cl, 1
xor ebx, ebx
jmp 0x1803face
xor ebx, ebx
mov cl, bl
call fcn.18076ace
mov edx, dword [edi]
lea ecx, [ebp - 8]
mov dword [ebp - 8], ebx
call fcn.18014e17
mov esi, dword [ebp - 8]
cmp dword [esi - 0xc], ebx
je 0x1803fbac
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
je 0x1803fbac
movzx ecx, byte [0x181dc05a]
neg ecx
sbb ecx, ecx
and ecx, 0x181dbf50
je 0x1803fb58
push 7
pop edx
push 3
pop eax
push eax
push edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
call fcn.18008b5d
mov edx, esi
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0xc]
call fcn.1800724f
push dword [ebp - 0xc]
movzx eax, byte [edi + 0x8c]
push eax
lea eax, [ebp - 0x1c]
push str._is_machine:__d__Current_dir___s_
push eax
call fcn.18007230
mov ecx, dword [ebp - 0xc]
add esp, 0x10
lea ecx, [ecx - 0x10]
call fcn.18006f72
mov ecx, edi
call fcn.18040407
mov cl, byte [edi + 0x8c]
call fcn.1804109a
push dword [edi + 0xc]
call fcn.18040323
test al, al
je 0x1803fb8c
mov cl, byte [edi + 0x8c]
call fcn.18027562
test al, al
je 0x1803fb8c
mov edi, 0xa0430607
jmp 0x1803fbb3
lea eax, [ebp - 8]
mov ecx, edi
push eax
push dword [edi + 0xc]
call fcn.18040375
mov edi, eax
mov ecx, edi
call fcn.1801cd4c
mov esi, dword [ebp - 8]
test edi, edi
js 0x1803fbb3
jmp 0x1803fbb5
call fcn.1801bab5
mov edi, eax
mov ebx, edi
lea ecx, [esi - 0x10]
call fcn.18006f72
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181227f8
leave
ret
Function at 0x18043d05
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp + 0x10]
push edi
push eax
xor edi, edi
lea eax, [ebp - 0x204]
push edi
push dword [ebp + 0xc]
push 0xff
push 0x100
push eax
call fcn.1800790f
push dword [eax + 4]
push dword [eax]
call fcn.1813edbb
xor eax, eax
add esp, 0x20
mov word [ebp - 6], ax
lea eax, [ebp - 0x204]
mov dword [ebp - 0x208], eax
cmp dword [esi + 0x260], edi
jne 0x18043d6b
push eax
call fcn.18146b41
pop ecx
lea eax, [esi + 0x40]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x18043d9a
push edi
lea eax, [ebp - 0x208]
push eax
push edi
push 1
push edi
push edi
push edi
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.181227f8
leave
ret

Function at 0x18044033
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
mov esi, 0x181d7f60
push edi
mov edi, ecx
cmp dword [0x181d7f60], ebx
je 0x18044074
push ecx
mov ecx, esi
call fcn.1803ca91
mov ebx, eax
mov ecx, ebx
call fcn.1801cd4c
test ebx, ebx
js 0x180440e2
add esi, 0x24
xor ebx, ebx
cmp dword [esi], ebx
jne 0x18044056
lfence
cmp byte [edi + 0x3c], 0
je 0x180440f0
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x30], eax
test eax, eax
je 0x180440e9
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push ebx
push edi
push 0x18044240
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x180440b7
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x180440e9
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x180440d9
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [edi + 0x34]
add ecx, ecx
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180440f8
lfence
mov eax, ebx
jmp 0x18044103
mov esi, 0x80004005
jmp 0x180440fc
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x18044101
call fcn.18043fef
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181227f8
leave
ret 4
Function at 0x18044158
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
mov esi, 0x181d8030
push edi
mov edi, ecx
cmp dword [0x181d8030], ebx
je 0x18044199
push ecx
mov ecx, esi
call fcn.1803ca91
mov ebx, eax
mov ecx, ebx
call fcn.1801cd4c
test ebx, ebx
js 0x18044207
add esi, 0x24
xor ebx, ebx
cmp dword [esi], ebx
jne 0x1804417b
lfence
cmp byte [edi + 0x3c], 0
je 0x18044215
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x30], eax
test eax, eax
je 0x1804420e
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push ebx
push edi
push 0x18044240
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x180441dc
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x1804420e
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x180441fe
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [edi + 0x34]
add ecx, ecx
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1804421d
lfence
mov eax, ebx
jmp 0x18044228
mov esi, 0x80004005
jmp 0x18044221
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov esi, eax
test esi, esi
jns 0x18044226
call fcn.18044114
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181227f8
leave
ret 4

Function at 0x1804773b
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, ecx
push edi
push 0
lea ecx, [esi + 0x1c]
call fcn.18048df9
mov edi, dword [esi + 0x18]
and dword [esi + 0x18], 0
test edi, edi
je 0x18047765
mov ecx, edi
call fcn.18087b64
push 0x24
push edi
call fcn.18122d26
pop ecx
pop ecx
mov ecx, dword [0x181dbefc]
pop edi
pop esi
mov ecx, dword [ecx]
jmp fcn.1803f1ae
Function at 0x1804a22c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 8], eax
and dword [ebp - 0x14], 0
push ebx
push esi
mov byte [ebp - 0x41], cl
mov bh, dl
push edi
lea ecx, [ebp - 0x14]
call fcn.18014e95
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
and dword [ebp - 0x10], 0
push edi
call fcn.180074fa
mov bl, byte [ebp + 8]
mov eax, str.MicrosoftEdgeComRegisterShellARM64.exe
test bl, bl
jne 0x1804a271
mov eax, str.MicrosoftEdgeUpdateComRegisterShell64.exe
push eax
lea ecx, [ebp - 0x10]
call fcn.1800f7f4
mov esi, dword [ebp - 0x10]
test eax, eax
jne 0x1804a28d
call fcn.1801bab5
mov ebx, eax
jmp 0x1804a38f
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1804a2a2
mov ebx, 0x80070002
jmp 0x1804a38f
and dword [ebp - 0xc], 0
call fcn.18006f9c
push eax
lea ecx, [ebp - 0xc]
call fcn.180076af
mov eax, 0x18176bdc
mov edx, eax
test bh, bh
jne 0x1804a2c4
mov edx, str._unregister
cmp byte [ebp - 0x41], 0
mov ecx, eax
jne 0x1804a2d1
mov ecx, str._user
test bl, bl
je 0x1804a2da
mov eax, str._arm64
push edx
push ecx
push eax
lea eax, [ebp - 0xc]
push str._s__s__s
push eax
call fcn.18016b2d
add esp, 0x14
lea eax, [ebp - 0x40]
push 0x2c
push 0
push eax
call fcn.181374a0
pop ecx
pop ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.180177a2
push 0
push dword [ebp - 0xc]
lea ecx, [ebp - 0x40]
call fcn.18017910
mov ebx, eax
test ebx, ebx
jns 0x1804a35c
movzx ecx, byte [0x181dc05a]
neg ecx
sbb ecx, ecx
and ecx, 0x181dbf50
je 0x1804a37c
push 7
pop edx
push 0xfffffffffffffffe
pop eax
lfence
push eax
push edx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], eax
call fcn.18008b5d
push ebx
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x54]
push str._Failed_to_start_COM_register_process__0x_x_
push eax
call fcn.18007230
add esp, 0xc
jmp 0x1804a37c
push 0x7530
lea ecx, [ebp - 0x40]
call fcn.18017a64
movzx ebx, al
neg ebx
sbb ebx, ebx
and ebx, 0x7ff8fa4c
add ebx, 0x800705b4
lea ecx, [ebp - 0x40]
call fcn.180178c8
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.18006f72
lea ecx, [esi - 0x10]
call fcn.18006f72
lea ecx, [edi - 0x10]
call fcn.18006f72
mov ecx, dword [ebp - 8]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181227f8
leave
ret