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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x181d400c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push esi
push 0x18084bd0
mov eax, dword [esi + 0x20]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x30], eax
mov dword [esi + 0x38], ebx
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
je 0x18084ba7
mov eax, dword [esi + 0x30]
push edi
mov edi, dword [esi + 0x2c]
mov dword [ebp - 0xc], eax
cmp edi, eax
je 0x18084ba6
sub eax, edi
sar eax, 2
cmp eax, dword [esi + 0x38]
ja 0x18084ba6
mov eax, dword [edi]
lea ecx, [esi + 0x20]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.18085211
add edi, 4
cmp edi, dword [ebp - 0xc]
jne 0x18084b8b
xor ebx, ebx
pop edi
mov eax, dword [esi + 0x20]
cmp eax, dword [esi + 0x24]
jne 0x18084bbc
mov eax, dword [esi + 0x2c]
cmp eax, dword [esi + 0x30]
je 0x18084bbe
cmp dword [esi + 0x38], ebx
jbe 0x18084bbe
mov bl, 1
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.1811e228
leave
ret

Function at 0x18084f82
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x20]
call fcn.18084b3e
test al, al
jne 0x18084fbc
mov eax, dword [esi]
push edi
push 0x18084f20
mov dword [esi + 4], eax
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
je 0x18084fb5
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jne 0x18084fbc
xor eax, eax
jmp 0x1808504d
mov ecx, dword [esi + 4]
xor ebx, ebx
mov eax, dword [esi]
inc ebx
mov byte [ebp - 1], 0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
cmp eax, ecx
je 0x1808504b
mov esi, dword [eax]
push 0
push 0xf060
push 0x112
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
test eax, eax
je 0x1808502a
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
shr eax, 0x1d
test al, 1
je 0x18085004
push 8
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x18085015
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [edi + 0x40], 0
je 0x18085023
push ebx
push esi
call dword [sym.imp.USER32.dll_FlashWindow]
mov cl, bl
mov byte [ebp - 1], cl
jmp 0x1808502d
mov cl, byte [ebp - 1]
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 8], eax
cmp eax, dword [ebp - 0xc]
jne 0x18084fd2
test cl, cl
je 0x1808504b
push dword [ebp + 8]
mov ecx, edi
call fcn.1808474c
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x18085102
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x181d400c]
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 0x18085131
xor al, al
jmp 0x1808519c
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 0x18085190
mov esi, dword [ebx + 0x10]
jmp 0x18085177
mov eax, dword [esi]
cmp eax, dword [ebp - 0x14]
jne 0x18085174
mov eax, dword [ebp - 0x18]
mov ecx, edi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.18018792
add esi, 4
cmp esi, dword [ebx + 0x14]
jne 0x1808515c
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 0x18085157
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.1811e228
leave
ret 4

Function at 0x180851ad
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 0x18085208
push ebx
push dword [ecx + edi*4]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x180851e2
mov dl, 1
mov byte [ebp - 1], dl
jmp 0x180851e5
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 0x180851cd
test dl, dl
je 0x18085208
push dword [ebp + 8]
mov ecx, esi
call fcn.1808474c
neg eax
sbb ebx, ebx
inc ebx
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x181d400c]
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 0x1808782b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x18087824
call fcn.1801baa5
jmp 0x18087851
mov eax, 0x8007000d
jmp 0x18087851
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.1808785f
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.1811e228
leave
ret

Function at 0x18087d13
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x18087d28
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 0x18087cb0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
test eax, eax
jne 0x18087d56
xor al, al
jmp 0x18087d67
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 0x1808a112
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 [0x181623e8]
mov ecx, edi
call esi
mov ecx, eax
test ecx, ecx
jne 0x1808a16e
push 0x4a9
push str.D:_a_work1omaha_src_third_party_breakpad_srcprocessorminidump.cc
push ebx
push 0x181d9818
lea ecx, [ebp - 8]
call fcn.18098d95
mov edx, str.MinidumpContext_could_not_be_compared_against_MinidumpSystemInfo
mov ecx, dword [eax]
call fcn.18026329
push dword [ebp - 8]
call fcn.18093e69
pop ecx
mov al, 1
jmp 0x1808a2f3
lea eax, [ecx + 0x10]
movzx ecx, byte [ecx + 4]
neg ecx
sbb ecx, ecx
and ecx, eax
jne 0x1808a1b1
push 0x4b1
push str.D:_a_work1omaha_src_third_party_breakpad_srcprocessorminidump.cc
push ebx
push 0x181d9818
lea ecx, [ebp - 8]
call fcn.18098d95
mov edx, str.MinidumpContext_could_not_be_compared_against_MDRawSystemInfo
mov ecx, dword [eax]
call fcn.18026329
push dword [ebp - 8]
call fcn.18093e69
pop ecx
xor al, al
jmp 0x1808a2f3
movzx edi, word [ecx]
mov edx, 0x1000000
mov ecx, dword [ebp + 8]
xor eax, eax
cmp ecx, edx
ja 0x1808a227
je 0x1808a21f
cmp ecx, 0x10000
je 0x1808a206
cmp ecx, 0x40000
je 0x1808a201
cmp ecx, 0x80000
je 0x1808a1f6
cmp ecx, 0x100000
je 0x1808a1f1
cmp ecx, 0x400000
jne 0x1808a262
cmp edi, 0xc
jmp 0x1808a25b
cmp edi, 9
jmp 0x1808a25b
cmp edi, 0x8004
jmp 0x1808a300
cmp edi, 1
jmp 0x1808a25b
test edi, edi
je 0x1808a306
cmp edi, 0xa
je 0x1808a306
cmp edi, 9
jmp 0x1808a300
cmp edi, 0x8002
jmp 0x1808a25b
cmp ecx, 0x10000000
je 0x1808a2fa
cmp ecx, 0x20000000
je 0x1808a258
cmp ecx, 0x40000000
je 0x1808a253
cmp ecx, 0x80000000
jne 0x1808a262
cmp edi, 0x8003
jmp 0x1808a25b
cmp edi, 5
jmp 0x1808a25b
cmp edi, 3
sete bl
test bl, bl
jne 0x1808a2d2
push 0x4f3
push str.D:_a_work1omaha_src_third_party_breakpad_srcprocessorminidump.cc
push 1
push 0x181d9920
lea ecx, [ebp - 0xc]
call fcn.18098d95
mov edx, str.MinidumpContext_CPU
mov ecx, dword [eax]
call fcn.18026329
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x3c]
mov esi, eax
call fcn.18098f63
mov edx, eax
mov ecx, esi
call fcn.180385d1
mov edx, str._wrong_for_MinidumpSystemInfo_CPU
mov ecx, eax
call fcn.18026329
mov edx, edi
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.18099026
mov edx, eax
mov ecx, esi
call fcn.180385d1
push 0x1c
pop eax
and eax, 0xffffffef
lea ecx, [ebp - 0x24]
mov dword [ebp - 8], eax
call fcn.18014aad
mov eax, dword [ebp - 8]
test al, 8
je 0x1808a2e4
lea ecx, [ebp - 0x3c]
mov dword [ebp - 8], eax
call fcn.18014aad
mov eax, dword [ebp - 8]
test al, 4
je 0x1808a2f1
push dword [ebp - 0xc]
call fcn.18093e69
pop ecx
mov al, bl
pop edi
pop esi
pop ebx
leave
ret 4
cmp edi, 0x8001
jne 0x1808a262
mov bl, 1
jmp 0x1808a2d2
Function at 0x18091b90
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 0x18091bb7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.18036b40
jmp 0x18091c80
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 0x18091bdf
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x18091be5
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 0x18091c4d
jg 0x18091bfc
test esi, esi
je 0x18091c4d
test ecx, ecx
jl 0x18091c48
jg 0x18091c06
test eax, eax
je 0x18091c48
cmp edi, ecx
jg 0x18091c1a
jl 0x18091c10
cmp esi, eax
jae 0x18091c1a
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.18132950
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 0x18091c50
mov ecx, dword [ebp + 8]
jmp 0x18091c5a
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x18091c74
jg 0x18091c5a
test esi, esi
je 0x18091c74
cmp dword [ebx + 0x4c], 0
je 0x18091c74
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.1815b49a
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 0x18091c90
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 0x18091cbe
jl 0x18091cb5
test edi, edi
jne 0x18091cbe
xor eax, eax
xor edx, edx
jmp 0x18091d73
cmp dword [ebx + 0x38], 0
je 0x18091cd1
push eax
push edi
push edx
call fcn.18036c40
jmp 0x18091d73
mov eax, dword [ebx + 0x1c]
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x18091d12
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x18091d12
cmp eax, edi
jb 0x18091cf3
mov eax, edi
mov dword [esp + 0x14], edi
push eax
push ecx
push edx
call fcn.18132950
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 0x18091d69
mov ecx, ebx
call fcn.18092e07
mov ecx, dword [esp + 0x10]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x18091d54
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.1815b926
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 0x18091d69
jmp 0x18091d25
test edx, edx
je 0x18091d69
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.1815b926
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 0x18092060
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x181d400c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
cmp ebx, 0xffffffff
jne 0x18092083
xor eax, eax
jmp 0x1809215d
mov eax, dword [edi + 0x20]
push esi
mov ecx, dword [eax]
test ecx, ecx
je 0x180920af
mov edx, dword [edi + 0x30]
mov esi, dword [edx]
lea eax, [esi + ecx]
cmp ecx, eax
jae 0x180920af
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 0x18092155
cmp dword [edi + 0x4c], 0
je 0x18092159
mov ecx, edi
call fcn.18092e07
mov eax, dword [edi + 0x38]
mov cl, bl
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x180920d2
push dword [edi + 0x4c]
push ecx
jmp 0x18092119
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 [0x181623e8]
mov ecx, dword [ebp - 0x34]
call esi
sub eax, 0
je 0x18092129
sub eax, 1
je 0x18092129
dec eax
sub eax, 1
jne 0x18092159
push dword [edi + 0x4c]
push dword [ebp - 0x28]
call fcn.1808812c
pop ecx
pop ecx
test al, al
jne 0x18092155
or ebx, 0xffffffff
jmp 0x18092155
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x18092149
lfence
push dword [edi + 0x4c]
push esi
push 1
push eax
call fcn.1815b49a
add esp, 0x10
cmp esi, eax
jne 0x18092159
lea eax, [ebp - 0x28]
mov byte [edi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x18092159
mov eax, ebx
jmp 0x1809215c
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1811e228
leave
ret 4
Function at 0x1809bf46
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov eax, dword [0x181d400c]
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.1809c38a
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], 0x181a10b0
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.18132ed0
add esp, 0xc
lea eax, [ebp - 0x44]
push esi
push ecx
push eax
lea ecx, [ebp - 0x198]
call fcn.18110a7c
lea ecx, [ebp - 0x198]
call fcn.18110c04
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
test eax, eax
jns 0x1809c024
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 0x1809c069
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, 0x181d70e8
call fcn.180269e1
lea ecx, [ebp - 0x44]
call fcn.1809b9bb
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.18110b55
lea ecx, [ebp - 0x44]
call fcn.180448d3
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.1811e228
leave
ret
Function at 0x1809c1d9
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
mov eax, dword [0x181d400c]
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.1809c38a
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.180425c7
xor eax, eax
mov dword [ebp - 0x44], 0x181a10b0
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.18132ed0
pop ecx
pop ecx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x180]
call fcn.1811110e
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x180]
call fcn.1811123f
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
test eax, eax
jns 0x1809c2ba
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 0x1809c2ea
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.1809b9bb
mov ecx, dword [ebp - 0x184]
mov al, byte [ebp - 0x54]
mov byte [ecx], al
lea ecx, [ebp - 0x180]
call fcn.181111c5
lea ecx, [ebp - 0x44]
call fcn.180448d3
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.1811e228
leave
ret
Function at 0x1809e94d
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x181d400c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
call fcn.1801fa5a
mov edi, eax
call fcn.18011f7e
xor ebx, ebx
push ebx
push 0x989680
push edx
push eax
call fcn.18159a10
mov ecx, str.HKLMSoftwareMicrosoftEdgeUpdate_
lea esi, [eax + 0x49ef6f00]
cmp byte [ebp - 8], bl
jne 0x1809e993
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.1801a4e1
mov ecx, dword [ebp - 0xc]
add esp, 0xc
test eax, eax
jns 0x1809e9b3
mov ecx, ebx
cmp esi, ecx
jae 0x1809e9c1
lea eax, [esi + 0x15180]
cmp ecx, eax
jbe 0x1809ea10
push ebx
lea eax, [ebp - 0xe]
mov byte [ebp - 0xe], bl
push eax
mov ecx, edi
call fcn.180217fa
mov esi, eax
test esi, esi
jne 0x1809ea17
movzx ecx, byte [0x181da05a]
neg ecx
sbb ecx, ecx
and ecx, 0x181d9f50
je 0x1809ea10
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 0x1809eab4
push dword [ebp - 8]
call fcn.18021b3a
mov edi, eax
call fcn.1801fa5a
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.18024021
test eax, eax
js 0x1809ea4b
cmp byte [ebp - 0xd], bl
jne 0x1809eab2
cmp edi, esi
jl 0x1809eab2
lea eax, [esi + 0xe10]
cmp edi, eax
jge 0x1809eab0
cmp byte [ebp - 0xe], bl
jne 0x1809eab0
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.1801a4e1
add esp, 0xc
test eax, eax
js 0x1809ea88
cmp dword [ebp - 8], ebx
setne al
test al, al
jne 0x1809eab0
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 0x1809eab2
mov bl, 1
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1811e228
leave
ret
Function at 0x180a79eb
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x181d400c]
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.1802ca81
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 0x180a7a5d
jb 0x180a7a53
cmp eax, ebx
jae 0x180a7a5d
mov ebx, 0x80004001
jmp 0x180a7b6b
mov edx, edi
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x10]
call fcn.18012770
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.1801309d
push 0x34
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.18132ed0
add esp, 0xc
lea ecx, [ebp - 0x48]
push 0x1e
call fcn.18038be8
mov edi, dword [ebp - 8]
lea ecx, [ebp - 0xc]
mov edx, edi
push dword [edi - 0xc]
call fcn.18012831
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.18038d5a
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.18027002
mov esi, dword [ebp - 0xc]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x180a7b3a
cmp dword [ebp + 0xc], 0
je 0x180a7b38
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
and dword [ebp - 0xc], 0
test eax, eax
jne 0x180a7b1e
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x180a7b31
mov ebx, dword [ebp - 0xc]
jmp 0x180a7b3a
cmp eax, 0x102
jne 0x180a7b31
push 0xa0432501
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x80004005
jmp 0x180a7b3a
xor ebx, ebx
test esi, esi
je 0x180a7b45
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.18038c85
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.1811e228
leave
ret 8