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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x181d700c]
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 0x1808785f
xor al, al
jmp 0x180878ca
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 0x180878be
mov esi, dword [ebx + 0x10]
jmp 0x180878a5
mov eax, dword [esi]
cmp eax, dword [ebp - 0x14]
jne 0x180878a2
mov eax, dword [ebp - 0x18]
mov ecx, edi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.180187a0
add esi, 4
cmp esi, dword [ebx + 0x14]
jne 0x1808788a
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 0x18087885
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.181224f8
leave
ret 4

Function at 0x180878db
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 0x18087936
push ebx
push dword [ecx + edi*4]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x18087910
mov dl, 1
mov byte [ebp - 1], dl
jmp 0x18087913
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 0x180878fb
test dl, dl
je 0x18087936
push dword [ebp + 8]
mov ecx, esi
call fcn.18086e79
neg eax
sbb ebx, ebx
inc ebx
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 4

Function at 0x18087ae6
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 0x18087b11
test eax, eax
je 0x18087b0c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], esi
mov eax, esi
test eax, eax
je 0x18087b23
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne bl
pop edi
pop esi
mov al, bl
pop ebx
ret
Function at 0x18088f21
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x181d700c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea ecx, [ebp - 0x88]
call fcn.1803ec19
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea edx, [ebp - 0x88]
mov ecx, eax
call fcn.180aba5d
mov dword [esi], eax
test eax, eax
jns 0x18088f9a
movzx ecx, byte [0x181dd05a]
neg ecx
sbb ecx, ecx
and ecx, 0x181dcf50
je 0x1808900e
push 7
pop eax
push 0xfffffffffffffffe
pop edx
push edx
push eax
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], edx
call fcn.18008b5d
push dword [esi]
push str._ParseCommandLine_failed___08x_
jmp 0x18088ff9
cmp dword [ebp - 0x88], 0xc
je 0x18088fb1
cmp dword [ebp - 0x88], 0xe
je 0x18088fb1
xor eax, eax
inc eax
jmp 0x18088fb3
xor eax, eax
push eax
call dword [sym.imp.api_ms_win_core_winrt_l1_1_0.dll_RoInitialize]
mov dword [esi], eax
test eax, eax
jns 0x1808900e
movzx ecx, byte [0x181dd05a]
neg ecx
sbb ecx, ecx
and ecx, 0x181dcf50
je 0x1808900e
push 7
pop eax
push 0xfffffffffffffffe
pop edx
push edx
push eax
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], edx
call fcn.18008b5d
push dword [esi]
push str._RoInitialize_failed___08x_
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x98]
push eax
call fcn.18007230
add esp, 0xc
lea ecx, [ebp - 0x88]
call fcn.1803f091
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.181224f8
leave
ret
Function at 0x1808a256
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 0x1808a289
push str.DRIVE_UNKNOWN
mov ecx, ebx
call fcn.180074fa
jmp 0x1808a3da
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 0x1808a3c3
push 2
lea ecx, [ebp - 8]
call fcn.18009fe4
cmp ax, 0x5c
jne 0x1808a3c3
and dword [ebp - 0xc], 0
lea ecx, [ebp - 0xc]
call fcn.18014fd3
mov esi, dword [ebp - 0xc]
cmp dword [esi - 0xc], 0
je 0x1808a353
mov ecx, dword [edi]
mov edx, esi
call fcn.18016616
test al, al
je 0x1808a2fd
push str.DRIVE_SYS
mov ecx, ebx
call fcn.180074fa
lea ecx, [esi - 0x10]
call fcn.18006f72
jmp 0x1808a3cf
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 0x1808a350
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 0x1808a3dc
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
sub eax, 0
je 0x1808a3bc
sub eax, 1
je 0x1808a3b5
sub eax, 1
je 0x1808a3ae
sub eax, 1
je 0x1808a3a7
sub eax, 1
je 0x1808a3a0
sub eax, 1
je 0x1808a399
sub eax, 1
jne 0x1808a3bc
push str.DRIVE_RAMDISK
mov ecx, ebx
call fcn.180074fa
lea ecx, [esi - 0x10]
call fcn.18006f72
lea ecx, [edi - 0x10]
jmp 0x1808a3d5
push str.DRIVE_CDROM
jmp 0x1808a385
push str.DRIVE_REMOTE
jmp 0x1808a385
push str.DRIVE_FIXED
jmp 0x1808a385
push str.DRIVE_REMOVABLE
jmp 0x1808a385
push str.DRIVE_NO_ROOT_DIR
jmp 0x1808a385
push str.DRIVE_UNKNOWN
jmp 0x1808a385
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.181224f8
leave
ret
Function at 0x1808b955
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 0x1808b9b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1808b9b0
call fcn.1801bab5
jmp 0x1808b9dd
mov eax, 0x8007000d
jmp 0x1808b9dd
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.1808b9eb
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.181224f8
leave
ret

Function at 0x1808be93
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x1808bea8
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 0x1808be30
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
test eax, eax
jne 0x1808bed6
xor al, al
jmp 0x1808bee7
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 0x1808e292
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 0x1808e2ee
push 0x4a9
push str.D:_a_work1omaha_src_third_party_breakpad_srcprocessorminidump.cc
push ebx
push 0x181dc818
lea ecx, [ebp - 8]
call fcn.1809cf15
mov edx, str.MinidumpContext_could_not_be_compared_against_MinidumpSystemInfo
mov ecx, dword [eax]
call fcn.18026699
push dword [ebp - 8]
call fcn.18097fe9
pop ecx
mov al, 1
jmp 0x1808e473
lea eax, [ecx + 0x10]
movzx ecx, byte [ecx + 4]
neg ecx
sbb ecx, ecx
and ecx, eax
jne 0x1808e331
push 0x4b1
push str.D:_a_work1omaha_src_third_party_breakpad_srcprocessorminidump.cc
push ebx
push 0x181dc818
lea ecx, [ebp - 8]
call fcn.1809cf15
mov edx, str.MinidumpContext_could_not_be_compared_against_MDRawSystemInfo
mov ecx, dword [eax]
call fcn.18026699
push dword [ebp - 8]
call fcn.18097fe9
pop ecx
xor al, al
jmp 0x1808e473
movzx edi, word [ecx]
mov edx, 0x1000000
mov ecx, dword [ebp + 8]
xor eax, eax
cmp ecx, edx
ja 0x1808e3a7
je 0x1808e39f
cmp ecx, 0x10000
je 0x1808e386
cmp ecx, 0x40000
je 0x1808e381
cmp ecx, 0x80000
je 0x1808e376
cmp ecx, 0x100000
je 0x1808e371
cmp ecx, 0x400000
jne 0x1808e3e2
cmp edi, 0xc
jmp 0x1808e3db
cmp edi, 9
jmp 0x1808e3db
cmp edi, 0x8004
jmp 0x1808e480
cmp edi, 1
jmp 0x1808e3db
test edi, edi
je 0x1808e486
cmp edi, 0xa
je 0x1808e486
cmp edi, 9
jmp 0x1808e480
cmp edi, 0x8002
jmp 0x1808e3db
cmp ecx, 0x10000000
je 0x1808e47a
cmp ecx, 0x20000000
je 0x1808e3d8
cmp ecx, 0x40000000
je 0x1808e3d3
cmp ecx, 0x80000000
jne 0x1808e3e2
cmp edi, 0x8003
jmp 0x1808e3db
cmp edi, 5
jmp 0x1808e3db
cmp edi, 3
sete bl
test bl, bl
jne 0x1808e452
push 0x4f3
push str.D:_a_work1omaha_src_third_party_breakpad_srcprocessorminidump.cc
push 1
push 0x181dc920
lea ecx, [ebp - 0xc]
call fcn.1809cf15
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.1809d0e3
mov edx, eax
mov ecx, esi
call fcn.1803a511
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.1809d1a6
mov edx, eax
mov ecx, esi
call fcn.1803a511
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 0x1808e464
lea ecx, [ebp - 0x3c]
mov dword [ebp - 8], eax
call fcn.18014b5c
mov eax, dword [ebp - 8]
test al, 4
je 0x1808e471
push dword [ebp - 0xc]
call fcn.18097fe9
pop ecx
mov al, bl
pop edi
pop esi
pop ebx
leave
ret 4
cmp edi, 0x8001
jne 0x1808e3e2
mov bl, 1
jmp 0x1808e452
Function at 0x18095d10
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 0x18095d37
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.18038a80
jmp 0x18095e00
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 0x18095d5f
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x18095d65
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 0x18095dcd
jg 0x18095d7c
test esi, esi
je 0x18095dcd
test ecx, ecx
jl 0x18095dc8
jg 0x18095d86
test eax, eax
je 0x18095dc8
cmp edi, ecx
jg 0x18095d9a
jl 0x18095d90
cmp esi, eax
jae 0x18095d9a
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.18136c20
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 0x18095dd0
mov ecx, dword [ebp + 8]
jmp 0x18095dda
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x18095df4
jg 0x18095dda
test esi, esi
je 0x18095df4
cmp dword [ebx + 0x4c], 0
je 0x18095df4
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.1815f77a
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 0x18095e10
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 0x18095e3e
jl 0x18095e35
test edi, edi
jne 0x18095e3e
xor eax, eax
xor edx, edx
jmp 0x18095ef3
cmp dword [ebx + 0x38], 0
je 0x18095e51
push eax
push edi
push edx
call fcn.18038b80
jmp 0x18095ef3
mov eax, dword [ebx + 0x1c]
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x18095e92
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x18095e92
cmp eax, edi
jb 0x18095e73
mov eax, edi
mov dword [esp + 0x14], edi
push eax
push ecx
push edx
call fcn.18136c20
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 0x18095ee9
mov ecx, ebx
call fcn.18096f87
mov ecx, dword [esp + 0x10]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x18095ed4
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.1815fc06
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 0x18095ee9
jmp 0x18095ea5
test edx, edx
je 0x18095ee9
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.1815fc06
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 0x180961e0
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 0x18096203
xor eax, eax
jmp 0x180962dd
mov eax, dword [edi + 0x20]
push esi
mov ecx, dword [eax]
test ecx, ecx
je 0x1809622f
mov edx, dword [edi + 0x30]
mov esi, dword [edx]
lea eax, [esi + ecx]
cmp ecx, eax
jae 0x1809622f
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 0x180962d5
cmp dword [edi + 0x4c], 0
je 0x180962d9
mov ecx, edi
call fcn.18096f87
mov eax, dword [edi + 0x38]
mov cl, bl
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x18096252
push dword [edi + 0x4c]
push ecx
jmp 0x18096299
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 0x180962a9
sub eax, 1
je 0x180962a9
dec eax
sub eax, 1
jne 0x180962d9
push dword [edi + 0x4c]
push dword [ebp - 0x28]
call fcn.1808c2ac
pop ecx
pop ecx
test al, al
jne 0x180962d5
or ebx, 0xffffffff
jmp 0x180962d5
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x180962c9
lfence
push dword [edi + 0x4c]
push esi
push 1
push eax
call fcn.1815f77a
add esp, 0x10
cmp esi, eax
jne 0x180962d9
lea eax, [ebp - 0x28]
mov byte [edi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x180962d9
mov eax, ebx
jmp 0x180962dc
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.181224f8
leave
ret 4
Function at 0x180a00c6
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.180a050a
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.181371a0
add esp, 0xc
lea eax, [ebp - 0x44]
push esi
push ecx
push eax
lea ecx, [ebp - 0x198]
call fcn.1811637c
lea ecx, [ebp - 0x198]
call fcn.18116504
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
test eax, eax
jns 0x180a01a4
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 0x180a01e9
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.1809fb3b
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.18116455
lea ecx, [ebp - 0x44]
call fcn.18046663
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.181224f8
leave
ret
Function at 0x180a0359
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.180a050a
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.18044357
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.181371a0
pop ecx
pop ecx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x180]
call fcn.18116a0e
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x180]
call fcn.18116b3f
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
test eax, eax
jns 0x180a043a
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 0x180a046a
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.1809fb3b
mov ecx, dword [ebp - 0x184]
mov al, byte [ebp - 0x54]
mov byte [ecx], al
lea ecx, [ebp - 0x180]
call fcn.18116ac5
lea ecx, [ebp - 0x44]
call fcn.18046663
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.181224f8
leave
ret
Function at 0x180a35d1
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.1815dcc0
mov ecx, str.HKLMSoftwareMicrosoftEdgeUpdate_
lea esi, [eax + 0x49ef6f00]
cmp byte [ebp - 8], bl
jne 0x180a3617
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 0x180a3637
mov ecx, ebx
cmp esi, ecx
jae 0x180a3645
lea eax, [esi + 0x15180]
cmp ecx, eax
jbe 0x180a3694
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 0x180a369b
movzx ecx, byte [0x181dd05a]
neg ecx
sbb ecx, ecx
and ecx, 0x181dcf50
je 0x180a3694
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 0x180a3738
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.18024377
test eax, eax
js 0x180a36cf
cmp byte [ebp - 0xd], bl
jne 0x180a3736
cmp edi, esi
jl 0x180a3736
lea eax, [esi + 0xe10]
cmp edi, eax
jge 0x180a3734
cmp byte [ebp - 0xe], bl
jne 0x180a3734
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 0x180a370c
cmp dword [ebp - 8], ebx
setne al
test al, al
jne 0x180a3734
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 0x180a3736
mov bl, 1
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181224f8
leave
ret