joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1808a1c6
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x181d700c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov ecx, dword [edi]
cmp dword [ecx - 0xc], 3
jge 0x1808a1f9
push str.DRIVE_UNKNOWN
mov ecx, ebx
call fcn.180074fa
jmp 0x1808a34a
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push 3
push eax
mov ecx, edi
call fcn.1800f94c
push 1
lea ecx, [ebp - 8]
call fcn.18009fe4
cmp ax, 0x3a
jne 0x1808a333
push 2
lea ecx, [ebp - 8]
call fcn.18009fe4
cmp ax, 0x5c
jne 0x1808a333
and dword [ebp - 0xc], 0
lea ecx, [ebp - 0xc]
call fcn.18014fd3
mov esi, dword [ebp - 0xc]
cmp dword [esi - 0xc], 0
je 0x1808a2c3
mov ecx, dword [edi]
mov edx, esi
call fcn.18016616
test al, al
je 0x1808a26d
push str.DRIVE_SYS
mov ecx, ebx
call fcn.180074fa
lea ecx, [esi - 0x10]
call fcn.18006f72
jmp 0x1808a33f
push 2
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.1800f94c
mov ecx, dword [edi]
push 1
mov edx, dword [eax]
call fcn.180133e8
pop ecx
mov ecx, dword [ebp - 0x14]
mov bl, al
add ecx, 0xfffffff0
call fcn.18006f72
test bl, bl
je 0x1808a2c0
mov ecx, dword [ebp - 0x10]
push str.DRIVE_PRI
call fcn.180074fa
lea ecx, [esi - 0x10]
call fcn.18006f72
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18006f72
mov eax, dword [ebp - 0x10]
jmp 0x1808a34c
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
sub eax, 0
je 0x1808a32c
sub eax, 1
je 0x1808a325
sub eax, 1
je 0x1808a31e
sub eax, 1
je 0x1808a317
sub eax, 1
je 0x1808a310
sub eax, 1
je 0x1808a309
sub eax, 1
jne 0x1808a32c
push str.DRIVE_RAMDISK
mov ecx, ebx
call fcn.180074fa
lea ecx, [esi - 0x10]
call fcn.18006f72
lea ecx, [edi - 0x10]
jmp 0x1808a345
push str.DRIVE_CDROM
jmp 0x1808a2f5
push str.DRIVE_REMOTE
jmp 0x1808a2f5
push str.DRIVE_FIXED
jmp 0x1808a2f5
push str.DRIVE_REMOVABLE
jmp 0x1808a2f5
push str.DRIVE_NO_ROOT_DIR
jmp 0x1808a2f5
push str.DRIVE_UNKNOWN
jmp 0x1808a2f5
push str.DRIVE_UNKNOWN
mov ecx, ebx
call fcn.180074fa
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18006f72
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18122478
leave
ret
Function at 0x1808b8c5
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x181d700c]
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 0x1808b927
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1808b920
call fcn.1801bab5
jmp 0x1808b94d
mov eax, 0x8007000d
jmp 0x1808b94d
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.1808b95b
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.18122478
leave
ret

Function at 0x1808be03
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x1808be18
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 0x1808bda0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
test eax, eax
jne 0x1808be46
xor al, al
jmp 0x1808be57
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 0x1808e202
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 [0x181663e8]
mov ecx, edi
call esi
mov ecx, eax
test ecx, ecx
jne 0x1808e25e
push 0x4a9
push str.D:_a_work1omaha_src_third_party_breakpad_srcprocessorminidump.cc
push ebx
push 0x181dc818
lea ecx, [ebp - 8]
call fcn.1809ce95
mov edx, str.MinidumpContext_could_not_be_compared_against_MinidumpSystemInfo
mov ecx, dword [eax]
call fcn.18026699
push dword [ebp - 8]
call fcn.18097f69
pop ecx
mov al, 1
jmp 0x1808e3e3
lea eax, [ecx + 0x10]
movzx ecx, byte [ecx + 4]
neg ecx
sbb ecx, ecx
and ecx, eax
jne 0x1808e2a1
push 0x4b1
push str.D:_a_work1omaha_src_third_party_breakpad_srcprocessorminidump.cc
push ebx
push 0x181dc818
lea ecx, [ebp - 8]
call fcn.1809ce95
mov edx, str.MinidumpContext_could_not_be_compared_against_MDRawSystemInfo
mov ecx, dword [eax]
call fcn.18026699
push dword [ebp - 8]
call fcn.18097f69
pop ecx
xor al, al
jmp 0x1808e3e3
movzx edi, word [ecx]
mov edx, 0x1000000
mov ecx, dword [ebp + 8]
xor eax, eax
cmp ecx, edx
ja 0x1808e317
je 0x1808e30f
cmp ecx, 0x10000
je 0x1808e2f6
cmp ecx, 0x40000
je 0x1808e2f1
cmp ecx, 0x80000
je 0x1808e2e6
cmp ecx, 0x100000
je 0x1808e2e1
cmp ecx, 0x400000
jne 0x1808e352
cmp edi, 0xc
jmp 0x1808e34b
cmp edi, 9
jmp 0x1808e34b
cmp edi, 0x8004
jmp 0x1808e3f0
cmp edi, 1
jmp 0x1808e34b
test edi, edi
je 0x1808e3f6
cmp edi, 0xa
je 0x1808e3f6
cmp edi, 9
jmp 0x1808e3f0
cmp edi, 0x8002
jmp 0x1808e34b
cmp ecx, 0x10000000
je 0x1808e3ea
cmp ecx, 0x20000000
je 0x1808e348
cmp ecx, 0x40000000
je 0x1808e343
cmp ecx, 0x80000000
jne 0x1808e352
cmp edi, 0x8003
jmp 0x1808e34b
cmp edi, 5
jmp 0x1808e34b
cmp edi, 3
sete bl
test bl, bl
jne 0x1808e3c2
push 0x4f3
push str.D:_a_work1omaha_src_third_party_breakpad_srcprocessorminidump.cc
push 1
push 0x181dc920
lea ecx, [ebp - 0xc]
call fcn.1809ce95
mov edx, str.MinidumpContext_CPU
mov ecx, dword [eax]
call fcn.18026699
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x3c]
mov esi, eax
call fcn.1809d063
mov edx, eax
mov ecx, esi
call fcn.1803a531
mov edx, str._wrong_for_MinidumpSystemInfo_CPU
mov ecx, eax
call fcn.18026699
mov edx, edi
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.1809d126
mov edx, eax
mov ecx, esi
call fcn.1803a531
push 0x1c
pop eax
and eax, 0xffffffef
lea ecx, [ebp - 0x24]
mov dword [ebp - 8], eax
call fcn.18014b5c
mov eax, dword [ebp - 8]
test al, 8
je 0x1808e3d4
lea ecx, [ebp - 0x3c]
mov dword [ebp - 8], eax
call fcn.18014b5c
mov eax, dword [ebp - 8]
test al, 4
je 0x1808e3e1
push dword [ebp - 0xc]
call fcn.18097f69
pop ecx
mov al, bl
pop edi
pop esi
pop ebx
leave
ret 4
cmp edi, 0x8001
jne 0x1808e352
mov bl, 1
jmp 0x1808e3c2
Function at 0x18095c90
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 0x18095cb7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.18038aa0
jmp 0x18095d80
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 0x18095cdf
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x18095ce5
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 0x18095d4d
jg 0x18095cfc
test esi, esi
je 0x18095d4d
test ecx, ecx
jl 0x18095d48
jg 0x18095d06
test eax, eax
je 0x18095d48
cmp edi, ecx
jg 0x18095d1a
jl 0x18095d10
cmp esi, eax
jae 0x18095d1a
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.18136ba0
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 0x18095d50
mov ecx, dword [ebp + 8]
jmp 0x18095d5a
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x18095d74
jg 0x18095d5a
test esi, esi
je 0x18095d74
cmp dword [ebx + 0x4c], 0
je 0x18095d74
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.1815f6ca
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 0x18095d90
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 0x18095dbe
jl 0x18095db5
test edi, edi
jne 0x18095dbe
xor eax, eax
xor edx, edx
jmp 0x18095e73
cmp dword [ebx + 0x38], 0
je 0x18095dd1
push eax
push edi
push edx
call fcn.18038ba0
jmp 0x18095e73
mov eax, dword [ebx + 0x1c]
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x18095e12
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x18095e12
cmp eax, edi
jb 0x18095df3
mov eax, edi
mov dword [esp + 0x14], edi
push eax
push ecx
push edx
call fcn.18136ba0
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 0x18095e69
mov ecx, ebx
call fcn.18096f07
mov ecx, dword [esp + 0x10]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x18095e54
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.1815fb56
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 0x18095e69
jmp 0x18095e25
test edx, edx
je 0x18095e69
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.1815fb56
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 0x18096160
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x181d700c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
cmp ebx, 0xffffffff
jne 0x18096183
xor eax, eax
jmp 0x1809625d
mov eax, dword [edi + 0x20]
push esi
mov ecx, dword [eax]
test ecx, ecx
je 0x180961af
mov edx, dword [edi + 0x30]
mov esi, dword [edx]
lea eax, [esi + ecx]
cmp ecx, eax
jae 0x180961af
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 0x18096255
cmp dword [edi + 0x4c], 0
je 0x18096259
mov ecx, edi
call fcn.18096f07
mov eax, dword [edi + 0x38]
mov cl, bl
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x180961d2
push dword [edi + 0x4c]
push ecx
jmp 0x18096219
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 [0x181663e8]
mov ecx, dword [ebp - 0x34]
call esi
sub eax, 0
je 0x18096229
sub eax, 1
je 0x18096229
dec eax
sub eax, 1
jne 0x18096259
push dword [edi + 0x4c]
push dword [ebp - 0x28]
call fcn.1808c21c
pop ecx
pop ecx
test al, al
jne 0x18096255
or ebx, 0xffffffff
jmp 0x18096255
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x18096249
lfence
push dword [edi + 0x4c]
push esi
push 1
push eax
call fcn.1815f6ca
add esp, 0x10
cmp esi, eax
jne 0x18096259
lea eax, [ebp - 0x28]
mov byte [edi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x18096259
mov eax, ebx
jmp 0x1809625c
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.18122478
leave
ret 4
Function at 0x180a0046
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov eax, dword [0x181d700c]
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.180a048a
and dword [ebp - 8], 0
call fcn.18006f9c
push eax
lea ecx, [ebp - 8]
call fcn.180076af
push 0xc02
lea ecx, [ebp - 8]
call fcn.180076e8
xor eax, eax
mov dword [ebp - 0x44], 0x181a1c68
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.18137120
add esp, 0xc
lea eax, [ebp - 0x44]
push esi
push ecx
push eax
lea ecx, [ebp - 0x198]
call fcn.181162ec
lea ecx, [ebp - 0x198]
call fcn.18116474
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
test eax, eax
jns 0x180a0124
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 0x180a0169
push 0
lea ecx, [ebp - 0x194]
call fcn.1800bc34
xor ebx, ebx
inc ebx
push ebx
push dword [ebp - 0x194]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x181da0e8
call fcn.18026d51
lea ecx, [ebp - 0x44]
call fcn.1809fabb
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.181163c5
lea ecx, [ebp - 0x44]
call fcn.18046693
lea ecx, [edi - 0x10]
call fcn.18006f72
lea ecx, [esi - 0x10]
call fcn.18006f72
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18122478
leave
ret
Function at 0x180a02d9
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
mov eax, dword [0x181d700c]
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.180a048a
and dword [ebp - 8], 0
call fcn.18006f9c
push eax
lea ecx, [ebp - 8]
call fcn.180076af
push dword [esi]
lea eax, [ebp - 8]
push 0xbff
push eax
call fcn.18044387
xor eax, eax
mov dword [ebp - 0x44], 0x181a1c68
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.18137120
pop ecx
pop ecx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x180]
call fcn.1811697e
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x180]
call fcn.18116aaf
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
test eax, eax
jns 0x180a03ba
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 0x180a03ea
push 0
lea ecx, [ebp - 0x17c]
call fcn.1800bc34
xor ebx, ebx
inc ebx
push ebx
push dword [ebp - 0x17c]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x44]
call fcn.1809fabb
mov ecx, dword [ebp - 0x184]
mov al, byte [ebp - 0x54]
mov byte [ecx], al
lea ecx, [ebp - 0x180]
call fcn.18116a35
lea ecx, [ebp - 0x44]
call fcn.18046693
lea ecx, [edi - 0x10]
call fcn.18006f72
lea ecx, [esi - 0x10]
call fcn.18006f72
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18122478
leave
ret
Function at 0x180a3551
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x181d700c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
call fcn.1801f853
mov edi, eax
call fcn.18011f9e
xor ebx, ebx
push ebx
push 0x989680
push edx
push eax
call fcn.1815dc40
mov ecx, str.HKLMSoftwareMicrosoftEdgeUpdate_
lea esi, [eax + 0x49ef6f00]
cmp byte [ebp - 8], bl
jne 0x180a3597
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.1801a4f1
mov ecx, dword [ebp - 0xc]
add esp, 0xc
test eax, eax
jns 0x180a35b7
mov ecx, ebx
cmp esi, ecx
jae 0x180a35c5
lea eax, [esi + 0x15180]
cmp ecx, eax
jbe 0x180a3614
push ebx
lea eax, [ebp - 0xe]
mov byte [ebp - 0xe], bl
push eax
mov ecx, edi
call fcn.18021779
mov esi, eax
test esi, esi
jne 0x180a361b
movzx ecx, byte [0x181dd05a]
neg ecx
sbb ecx, ecx
and ecx, 0x181dcf50
je 0x180a3614
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.18008b5d
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push str._ShouldCheckForUpdates_returned_0__checks_disabled_
push eax
call fcn.18007230
pop ecx
pop ecx
xor al, al
jmp 0x180a36b8
push dword [ebp - 8]
call fcn.18021ab9
mov edi, eax
call fcn.1801f853
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.18024374
test eax, eax
js 0x180a364f
cmp byte [ebp - 0xd], bl
jne 0x180a36b6
cmp edi, esi
jl 0x180a36b6
lea eax, [esi + 0xe10]
cmp edi, eax
jge 0x180a36b4
cmp byte [ebp - 0xe], bl
jne 0x180a36b4
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.1801a4f1
add esp, 0xc
test eax, eax
js 0x180a368c
cmp dword [ebp - 8], ebx
setne al
test al, al
jne 0x180a36b4
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 0x180a36b6
mov bl, 1
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18122478
leave
ret
Function at 0x180ac691
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x181d700c]
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.18006f9c
push eax
lea ecx, [ebp - 0x14]
call fcn.180076af
push str.F3C4FE00_EFD5_403B_9569_398A20F1BA4A
lea ecx, [ebp - 0x10]
call fcn.180074fa
mov cl, byte [esi]
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x10]
call fcn.18034732
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.18006f72
lea ecx, [ebp - 0x14]
call fcn.1800c099
cmp edx, 0x10003
ja 0x180ac703
jb 0x180ac6f9
cmp eax, ebx
jae 0x180ac703
mov ebx, 0x80004001
jmp 0x180ac811
mov edx, edi
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x10]
call fcn.18012790
mov dword [ebp - 8], ebx
call fcn.18006f9c
push eax
lea ecx, [ebp - 8]
call fcn.180076af
lea edx, [ebp - 8]
lea ecx, [ebp - 0x10]
call fcn.180130bd
push 0x34
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.18137120
add esp, 0xc
lea ecx, [ebp - 0x48]
push 0x1e
call fcn.1803ab48
mov edi, dword [ebp - 8]
lea ecx, [ebp - 0xc]
mov edx, edi
push dword [edi - 0xc]
call fcn.18012851
pop ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.18009e8a
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.18006f72
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
lea ecx, [ebp - 0x48]
call fcn.1803acba
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.18027372
mov esi, dword [ebp - 0xc]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x180ac7e0
cmp dword [ebp + 0xc], 0
je 0x180ac7de
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
and dword [ebp - 0xc], 0
test eax, eax
jne 0x180ac7c4
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x180ac7d7
mov ebx, dword [ebp - 0xc]
jmp 0x180ac7e0
cmp eax, 0x102
jne 0x180ac7d7
push 0xa0432501
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x80004005
jmp 0x180ac7e0
xor ebx, ebx
test esi, esi
je 0x180ac7eb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18006f72
lea ecx, [ebp - 0x48]
call fcn.1803abe5
lea ecx, [edi - 0x10]
call fcn.18006f72
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.18006f72
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.18006f72
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18122478
leave
ret 8
Function at 0x180b5c1a
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x181d700c]
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.1801f853
cmp byte [ebp - 9], bl
je 0x180b5c8a
mov dword [ebp - 0x14], ebx
call fcn.18006f9c
push eax
lea ecx, [ebp - 0x14]
call fcn.180076af
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.180074fa
push 0x26
mov edx, eax
pop ecx
call fcn.1801ea42
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.18006f72
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 8]
mov dword [ebp - 0x18], ebx
jmp 0x180b5cd4
mov dword [ebp - 8], ebx
call fcn.18006f9c
push eax
lea ecx, [ebp - 8]
call fcn.180076af
lea eax, [ebp - 8]
push eax
push 1
push str.MicrosoftCrashReports
lea ecx, [ebp - 0x10]
call fcn.180074fa
push 0x1c
mov edx, eax
pop ecx
call fcn.1801ea42
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.18006f72
mov edi, dword [ebp - 8]
mov eax, edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], 2
lea ecx, [eax - 0x10]
call fcn.1800a0da
lea esi, [eax + 0x10]
mov dword [ebp - 8], esi
cmp dword [ebp - 0x18], ebx
je 0x180b5cef
lea ecx, [edi - 0x10]
call fcn.18006f72
cmp dword [ebp - 0x10], ebx
je 0x180b5cff
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.18006f72
cmp byte [ebp - 9], bl
je 0x180b5d1f
cmp dword [esi - 0xc], ebx
je 0x180b5d24
lea ecx, [ebp - 8]
call fcn.180b5aaa
mov esi, dword [ebp - 8]
test eax, eax
jns 0x180b5d1f
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp dword [esi - 0xc], ebx
jne 0x180b5d4f
lea ecx, [ebp - 0x10]
call fcn.18015061
push eax
lea ecx, [ebp - 8]
call fcn.18009e8a
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.18006f72
mov esi, dword [ebp - 8]
cmp dword [esi - 0xc], ebx
jne 0x180b5d4f
mov ebx, 0x8004fffc
jmp 0x180b5d61
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x180b5d61
lea ecx, [ebp - 8]
push ecx
mov ecx, eax
call fcn.18009e8a
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.18122478
leave
ret