joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18084ea0
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x181d200c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push esi
push 4
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x28], eax
cmp eax, 0xffffffff
jne 0x18084ecf
xor al, al
jmp 0x18084f3a
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], esi
push ecx
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x20], 0x1c
call dword [sym.imp.KERNEL32.dll_Thread32First]
jmp 0x18084f2e
mov esi, dword [ebx + 0x10]
jmp 0x18084f15
mov eax, dword [esi]
cmp eax, dword [ebp - 0x14]
jne 0x18084f12
mov eax, dword [ebp - 0x18]
mov ecx, edi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.180185a0
add esi, 4
cmp esi, dword [ebx + 0x14]
jne 0x18084efa
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x18084ef5
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.1811d8d8
leave
ret 4

Function at 0x18084f4b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
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 0x18084fa6
push ebx
push dword [ecx + edi*4]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x18084f80
mov dl, 1
mov byte [ebp - 1], dl
jmp 0x18084f83
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 0x18084f6b
test dl, dl
je 0x18084fa6
push dword [ebp + 8]
mov ecx, esi
call fcn.180844ec
neg eax
sbb ebx, ebx
inc ebx
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x181d200c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x10]
push eax
push 1
push edx
push edx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], edx
push eax
push edx
lea eax, [ebp - 0x20]
mov dword [ebp - 0xc], edx
push eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
jne 0x180875cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x180875c4
call fcn.1801b8b5
jmp 0x180875f1
mov eax, 0x8007000d
jmp 0x180875f1
mov esi, dword [ebp - 0xc]
mov ecx, edi
mov edx, dword [ebp - 0x10]
mov eax, dword [edi]
add edx, esi
push edx
push esi
push eax
mov dword [edi + 4], eax
lea eax, [ebp - 0x24]
push eax
call fcn.180875ff
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.1811d8d8
leave
ret

Function at 0x18087ab3
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x18087ac8
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 0x18087a50
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
test eax, eax
jne 0x18087af6
xor al, al
jmp 0x18087b07
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 0x18089eb4
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
push edi
mov edi, dword [ecx + 0x10]
mov eax, dword [edi]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x181613e8]
mov ecx, edi
call esi
mov ecx, eax
test ecx, ecx
jne 0x18089f10
push 0x4a9
push str.D:_a_work1omaha_src_third_party_breakpad_srcprocessorminidump.cc
push ebx
push 0x181d7818
lea ecx, [ebp - 8]
call fcn.18098b35
mov edx, str.MinidumpContext_could_not_be_compared_against_MinidumpSystemInfo
mov ecx, dword [eax]
call fcn.18026139
push dword [ebp - 8]
call fcn.18093c09
pop ecx
mov al, 1
jmp 0x1808a095
lea eax, [ecx + 0x10]
movzx ecx, byte [ecx + 4]
neg ecx
sbb ecx, ecx
and ecx, eax
jne 0x18089f53
push 0x4b1
push str.D:_a_work1omaha_src_third_party_breakpad_srcprocessorminidump.cc
push ebx
push 0x181d7818
lea ecx, [ebp - 8]
call fcn.18098b35
mov edx, str.MinidumpContext_could_not_be_compared_against_MDRawSystemInfo
mov ecx, dword [eax]
call fcn.18026139
push dword [ebp - 8]
call fcn.18093c09
pop ecx
xor al, al
jmp 0x1808a095
movzx edi, word [ecx]
mov edx, 0x1000000
mov ecx, dword [ebp + 8]
xor eax, eax
cmp ecx, edx
ja 0x18089fc9
je 0x18089fc1
cmp ecx, 0x10000
je 0x18089fa8
cmp ecx, 0x40000
je 0x18089fa3
cmp ecx, 0x80000
je 0x18089f98
cmp ecx, 0x100000
je 0x18089f93
cmp ecx, 0x400000
jne 0x1808a004
cmp edi, 0xc
jmp 0x18089ffd
cmp edi, 9
jmp 0x18089ffd
cmp edi, 0x8004
jmp 0x1808a0a2
cmp edi, 1
jmp 0x18089ffd
test edi, edi
je 0x1808a0a8
cmp edi, 0xa
je 0x1808a0a8
cmp edi, 9
jmp 0x1808a0a2
cmp edi, 0x8002
jmp 0x18089ffd
cmp ecx, 0x10000000
je 0x1808a09c
cmp ecx, 0x20000000
je 0x18089ffa
cmp ecx, 0x40000000
je 0x18089ff5
cmp ecx, 0x80000000
jne 0x1808a004
cmp edi, 0x8003
jmp 0x18089ffd
cmp edi, 5
jmp 0x18089ffd
cmp edi, 3
sete bl
test bl, bl
jne 0x1808a074
push 0x4f3
push str.D:_a_work1omaha_src_third_party_breakpad_srcprocessorminidump.cc
push 1
push 0x181d7920
lea ecx, [ebp - 0xc]
call fcn.18098b35
mov edx, str.MinidumpContext_CPU
mov ecx, dword [eax]
call fcn.18026139
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x3c]
mov esi, eax
call fcn.18098d03
mov edx, eax
mov ecx, esi
call fcn.180383e1
mov edx, str._wrong_for_MinidumpSystemInfo_CPU
mov ecx, eax
call fcn.18026139
mov edx, edi
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.18098dc6
mov edx, eax
mov ecx, esi
call fcn.180383e1
push 0x1c
pop eax
and eax, 0xffffffef
lea ecx, [ebp - 0x24]
mov dword [ebp - 8], eax
call fcn.180148bd
mov eax, dword [ebp - 8]
test al, 8
je 0x1808a086
lea ecx, [ebp - 0x3c]
mov dword [ebp - 8], eax
call fcn.180148bd
mov eax, dword [ebp - 8]
test al, 4
je 0x1808a093
push dword [ebp - 0xc]
call fcn.18093c09
pop ecx
mov al, bl
pop edi
pop esi
pop ebx
leave
ret 4
cmp edi, 0x8001
jne 0x1808a004
mov bl, 1
jmp 0x1808a074
Function at 0x18091930
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x18091957
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.18036950
jmp 0x18091a20
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x1809197f
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x18091985
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x180919ed
jg 0x1809199c
test esi, esi
je 0x180919ed
test ecx, ecx
jl 0x180919e8
jg 0x180919a6
test eax, eax
je 0x180919e8
cmp edi, ecx
jg 0x180919ba
jl 0x180919b0
cmp esi, eax
jae 0x180919ba
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call fcn.18132010
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x180919f0
mov ecx, dword [ebp + 8]
jmp 0x180919fa
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x18091a14
jg 0x180919fa
test esi, esi
je 0x18091a14
cmp dword [ebx + 0x4c], 0
je 0x18091a14
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.1815ab4a
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x18091a30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x18091a5e
jl 0x18091a55
test edi, edi
jne 0x18091a5e
xor eax, eax
xor edx, edx
jmp 0x18091b13
cmp dword [ebx + 0x38], 0
je 0x18091a71
push eax
push edi
push edx
call fcn.18036a50
jmp 0x18091b13
mov eax, dword [ebx + 0x1c]
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x18091ab2
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x18091ab2
cmp eax, edi
jb 0x18091a93
mov eax, edi
mov dword [esp + 0x14], edi
push eax
push ecx
push edx
call fcn.18132010
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x14]
sub esi, ecx
add dword [esp + 0x10], ecx
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
cmp dword [ebx + 0x4c], 0
je 0x18091b09
mov ecx, ebx
call fcn.18092ba7
mov ecx, dword [esp + 0x10]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x18091af4
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.1815afd6
mov ecx, dword [esp + 0x20]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [esp + 0x10], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x18091b09
jmp 0x18091ac5
test edx, edx
je 0x18091b09
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.1815afd6
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x18091e00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x181d200c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
cmp ebx, 0xffffffff
jne 0x18091e23
xor eax, eax
jmp 0x18091efd
mov eax, dword [edi + 0x20]
push esi
mov ecx, dword [eax]
test ecx, ecx
je 0x18091e4f
mov edx, dword [edi + 0x30]
mov esi, dword [edx]
lea eax, [esi + ecx]
cmp ecx, eax
jae 0x18091e4f
lea ecx, [esi - 1]
mov dword [edx], ecx
mov edx, dword [edi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
jmp 0x18091ef5
cmp dword [edi + 0x4c], 0
je 0x18091ef9
mov ecx, edi
call fcn.18092ba7
mov eax, dword [edi + 0x38]
mov cl, bl
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x18091e72
push dword [edi + 0x4c]
push ecx
jmp 0x18091eb9
mov byte [ebp - 0x28], cl
mov eax, dword [eax]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 0x40]
push eax
call dword [0x181613e8]
mov ecx, dword [ebp - 0x34]
call esi
sub eax, 0
je 0x18091ec9
sub eax, 1
je 0x18091ec9
dec eax
sub eax, 1
jne 0x18091ef9
push dword [edi + 0x4c]
push dword [ebp - 0x28]
call fcn.18087ecc
pop ecx
pop ecx
test al, al
jne 0x18091ef5
or ebx, 0xffffffff
jmp 0x18091ef5
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x18091ee9
lfence
push dword [edi + 0x4c]
push esi
push 1
push eax
call fcn.1815ab4a
add esp, 0x10
cmp esi, eax
jne 0x18091ef9
lea eax, [ebp - 0x28]
mov byte [edi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x18091ef9
mov eax, ebx
jmp 0x18091efc
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1811d8d8
leave
ret 4
Function at 0x1809bce6
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov eax, dword [0x181d200c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0xc], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x19c], ebx
push edi
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x1a0], eax
mov byte [ebx], 0
call fcn.1809c12a
and dword [ebp - 8], 0
call fcn.18006f7b
push eax
lea ecx, [ebp - 8]
call fcn.1800768f
push 0xc02
lea ecx, [ebp - 8]
call fcn.180076c8
xor eax, eax
mov dword [ebp - 0x44], 0x1819fa30
push 0x14c
push eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x198]
push eax
call fcn.18132590
add esp, 0xc
lea eax, [ebp - 0x44]
push esi
push ecx
push eax
lea ecx, [ebp - 0x198]
call fcn.1811024c
lea ecx, [ebp - 0x198]
call fcn.181103d4
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
test eax, eax
jns 0x1809bdc4
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 0x1809be09
push 0
lea ecx, [ebp - 0x194]
call fcn.1800bc14
xor ebx, ebx
inc ebx
push ebx
push dword [ebp - 0x194]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x181d50e8
call fcn.180267f1
lea ecx, [ebp - 0x44]
call fcn.1809b75b
mov ecx, dword [ebp - 0x19c]
mov al, byte [ebp - 0x68]
mov byte [ecx], al
mov ecx, dword [ebp - 0x1a0]
mov al, byte [ebp - 0x67]
mov byte [ecx], al
lea ecx, [ebp - 0x198]
call fcn.18110325
lea ecx, [ebp - 0x44]
call fcn.180446d3
lea ecx, [edi - 0x10]
call fcn.18006f52
lea ecx, [esi - 0x10]
call fcn.18006f52
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811d8d8
leave
ret
Function at 0x1809bf79
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
mov eax, dword [0x181d200c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0xc], 0
push ebx
mov ebx, edx
push esi
mov esi, ecx
mov dword [ebp - 0x184], ebx
push edi
mov edx, esi
mov byte [ebx], 0
lea ecx, [ebp - 0xc]
call fcn.1809c12a
and dword [ebp - 8], 0
call fcn.18006f7b
push eax
lea ecx, [ebp - 8]
call fcn.1800768f
push dword [esi]
lea eax, [ebp - 8]
push 0xbff
push eax
call fcn.180423c7
xor eax, eax
mov dword [ebp - 0x44], 0x1819fa30
add esp, 0xc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
push 0x138
push eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x180]
push eax
call fcn.18132590
pop ecx
pop ecx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x180]
call fcn.181108de
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x180]
call fcn.18110a0f
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
test eax, eax
jns 0x1809c05a
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 0x1809c08a
push 0
lea ecx, [ebp - 0x17c]
call fcn.1800bc14
xor ebx, ebx
inc ebx
push ebx
push dword [ebp - 0x17c]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x44]
call fcn.1809b75b
mov ecx, dword [ebp - 0x184]
mov al, byte [ebp - 0x54]
mov byte [ecx], al
lea ecx, [ebp - 0x180]
call fcn.18110995
lea ecx, [ebp - 0x44]
call fcn.180446d3
lea ecx, [edi - 0x10]
call fcn.18006f52
lea ecx, [esi - 0x10]
call fcn.18006f52
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811d8d8
leave
ret
Function at 0x1809e239
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x181d200c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
call fcn.1801f86a
mov edi, eax
call fcn.18011d8e
xor ebx, ebx
push ebx
push 0x989680
push edx
push eax
call fcn.181590c0
mov ecx, str.HKLMSoftwareMicrosoftEdgeUpdate_
lea esi, [eax + 0x49ef6f00]
cmp byte [ebp - 8], bl
jne 0x1809e27f
mov ecx, str.HKCUSoftwareMicrosoftEdgeUpdate_
push ebx
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
push 4
mov edx, str.RetryAfter
call fcn.1801a2f1
mov ecx, dword [ebp - 0xc]
add esp, 0xc
test eax, eax
jns 0x1809e29f
mov ecx, ebx
cmp esi, ecx
jae 0x1809e2ad
lea eax, [esi + 0x15180]
cmp ecx, eax
jbe 0x1809e2fc
push ebx
lea eax, [ebp - 0xe]
mov byte [ebp - 0xe], bl
push eax
mov ecx, edi
call fcn.1802160a
mov esi, eax
test esi, esi
jne 0x1809e303
movzx ecx, byte [0x181d805a]
neg ecx
sbb ecx, ecx
and ecx, 0x181d7f50
je 0x1809e2fc
push 7
pop edx
inc eax
mov dword [ebp - 0x20], ecx
push eax
push edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
call fcn.18008b3f
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push str._ShouldCheckForUpdates_returned_0__checks_disabled_
push eax
call fcn.18007210
pop ecx
pop ecx
xor al, al
jmp 0x1809e3a0
push dword [ebp - 8]
call fcn.1802194a
mov edi, eax
call fcn.1801f86a
push ebx
lea ecx, [ebp - 0xd]
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 - 0xd], bl
call fcn.18023e31
test eax, eax
js 0x1809e337
cmp byte [ebp - 0xd], bl
jne 0x1809e39e
cmp edi, esi
jl 0x1809e39e
lea eax, [esi + 0xe10]
cmp edi, eax
jge 0x1809e39c
cmp byte [ebp - 0xe], bl
jne 0x1809e39c
push ebx
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push 4
mov edx, str.DisableUpdateAppsHourlyJitter
mov ecx, str.HKLMSoftwareMicrosoftEdgeUpdateDev_
call fcn.1801a2f1
add esp, 0xc
test eax, eax
js 0x1809e374
cmp dword [ebp - 8], ebx
setne al
test al, al
jne 0x1809e39c
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push 4
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 - 8]
pop ecx
div ecx
cmp edx, 0x5a
setb bl
jmp 0x1809e39e
mov bl, 1
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811d8d8
leave
ret
Function at 0x180a72db
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x181d200c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x14], ebx
call fcn.18006f7b
push eax
lea ecx, [ebp - 0x14]
call fcn.1800768f
push str.F3C4FE00_EFD5_403B_9569_398A20F1BA4A
lea ecx, [ebp - 0x10]
call fcn.180074da
mov cl, byte [esi]
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x10]
call fcn.1802c891
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.18006f52
lea ecx, [ebp - 0x14]
call fcn.1800c079
cmp edx, 0x10003
ja 0x180a734d
jb 0x180a7343
cmp eax, ebx
jae 0x180a734d
mov ebx, 0x80004001
jmp 0x180a745b
mov edx, edi
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x10]
call fcn.18012580
mov dword [ebp - 8], ebx
call fcn.18006f7b
push eax
lea ecx, [ebp - 8]
call fcn.1800768f
lea edx, [ebp - 8]
lea ecx, [ebp - 0x10]
call fcn.18012ead
push 0x34
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.18132590
add esp, 0xc
lea ecx, [ebp - 0x48]
push 0x1e
call fcn.180389f8
mov edi, dword [ebp - 8]
lea ecx, [ebp - 0xc]
mov edx, edi
push dword [edi - 0xc]
call fcn.18012641
pop ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.18009e6a
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.18006f52
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
lea ecx, [ebp - 0x48]
call fcn.18038b6a
mov cl, byte [esi]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
xor edx, edx
mov dword [ebp - 0xc], ebx
inc edx
call fcn.18026e12
mov esi, dword [ebp - 0xc]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x180a742a
cmp dword [ebp + 0xc], 0
je 0x180a7428
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
and dword [ebp - 0xc], 0
test eax, eax
jne 0x180a740e
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x180a7421
mov ebx, dword [ebp - 0xc]
jmp 0x180a742a
cmp eax, 0x102
jne 0x180a7421
push 0xa0432501
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x80004005
jmp 0x180a742a
xor ebx, ebx
test esi, esi
je 0x180a7435
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18006f52
lea ecx, [ebp - 0x48]
call fcn.18038a95
lea ecx, [edi - 0x10]
call fcn.18006f52
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.18006f52
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.18006f52
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811d8d8
leave
ret 8
Function at 0x180b0c8e
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x181d200c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x1c], edx
xor ebx, ebx
mov byte [ebp - 9], cl
call fcn.1801f86a
cmp byte [ebp - 9], bl
je 0x180b0cfe
mov dword [ebp - 0x14], ebx
call fcn.18006f7b
push eax
lea ecx, [ebp - 0x14]
call fcn.1800768f
lea eax, [ebp - 0x14]
push eax
xor eax, eax
lea ecx, [ebp - 0x18]
inc eax
push eax
push str.MicrosoftCrashReports
mov dword [ebp - 0x10], eax
call fcn.180074da
push 0x26
mov edx, eax
pop ecx
call fcn.1801eb72
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.18006f52
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 8]
mov dword [ebp - 0x18], ebx
jmp 0x180b0d48
mov dword [ebp - 8], ebx
call fcn.18006f7b
push eax
lea ecx, [ebp - 8]
call fcn.1800768f
lea eax, [ebp - 8]
push eax
push 1
push str.MicrosoftCrashReports
lea ecx, [ebp - 0x10]
call fcn.180074da
push 0x1c
mov edx, eax
pop ecx
call fcn.1801eb72
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.18006f52
mov edi, dword [ebp - 8]
mov eax, edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], 2
lea ecx, [eax - 0x10]
call fcn.1800a0ba
lea esi, [eax + 0x10]
mov dword [ebp - 8], esi
cmp dword [ebp - 0x18], ebx
je 0x180b0d63
lea ecx, [edi - 0x10]
call fcn.18006f52
cmp dword [ebp - 0x10], ebx
je 0x180b0d73
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.18006f52
cmp byte [ebp - 9], bl
je 0x180b0d93
cmp dword [esi - 0xc], ebx
je 0x180b0d98
lea ecx, [ebp - 8]
call fcn.180b0b1e
mov esi, dword [ebp - 8]
test eax, eax
jns 0x180b0d93
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp dword [esi - 0xc], ebx
jne 0x180b0dc3
lea ecx, [ebp - 0x10]
call fcn.18014dc1
push eax
lea ecx, [ebp - 8]
call fcn.18009e6a
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.18006f52
mov esi, dword [ebp - 8]
cmp dword [esi - 0xc], ebx
jne 0x180b0dc3
mov ebx, 0x8004fffc
jmp 0x180b0dd5
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x180b0dd5
lea ecx, [ebp - 8]
push ecx
mov ecx, eax
call fcn.18009e6a
lea ecx, [esi - 0x10]
call fcn.18006f52
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811d8d8
leave
ret