joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004316c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x1005b278]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100431b2
cmp word [ebx], dx
jne 0x100431b2
or byte [eax + edi + 0x28], 4
jmp 0x100431b7
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x1004331a
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x100432fa
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x100431f8
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x1004322e
cmp eax, edx
jae 0x1004323c
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x100431d3
jmp 0x1004331a
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100432f5
cmp dword [ebp - 0x18], 0
je 0x100432f5
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x1005b278]
test byte [eax + edi + 0x28], 0x48
je 0x100432cb
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x1004328f
mov word [esi], cx
jmp 0x100432c6
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x1005b278]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x1005b278]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x1005b278]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x1004331a
pop eax
cmp word [ebp - 4], ax
jne 0x100432db
cmp esi, ebx
jne 0x100432db
mov word [esi], ax
jmp 0x10043317
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.10042f8f
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x1004331a
push 0xd
pop eax
jmp 0x100432d6
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x1005b278]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x10043314
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x1004331a
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10044d52
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.10044cce
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x10044ec1
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x10044ec1
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10044e76
jg 0x10044dae
test eax, eax
je 0x10044e6c
push 1
push 0x1000
call fcn.1003d57a
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10044dd1
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10044e63
push 0x8000
push ebx
call fcn.10044bff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x10044dfa
jg 0x10044df5
cmp ecx, 0x1000
jb 0x10044dfa
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.1003cdab
add esp, 0x10
cmp eax, 0xffffffff
je 0x10044e3f
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x10044df5
jl 0x10044e26
test ecx, ecx
jne 0x10044de7
push dword [ebp - 0xc]
push ebx
call fcn.10044bff
push esi
call fcn.10039499
add esp, 0xc
xor ebx, ebx
jmp 0x10044ecf
cmp byte [edi + 0x24], 0
je 0x10044e56
cmp dword [edi + 0x20], 5
jne 0x10044e56
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10044e61
mov ebx, dword [edi + 0x18]
jmp 0x10044e63
xor ebx, ebx
push esi
call fcn.10039499
pop ecx
jmp 0x10044ecf
test ecx, ecx
jg 0x10044e38
jl 0x10044e76
test eax, eax
jae 0x10044e38
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10042f8f
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10044e96
cmp byte [edi + 0x1c], 0
je 0x10044e38
jmp 0x10044ec7
push ebx
call fcn.1004216a
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10044e38
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10044ecf
cmp byte [edi + 0x1c], 0
je 0x10044ecc
mov ebx, dword [edi + 0x18]
jmp 0x10044ecf
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.10042f8f
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4c2950
Capabilities:
Inspect section memory permissions

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, 0x40
xor ecx, ecx
mov esi, edi
and esi, 0xe0000000
cmp esi, 0xe0000000
cmovne eax, ecx
mov edx, eax
or edx, 0x80
cmp esi, 0xa0000000
cmovne edx, eax
mov eax, edx
or eax, 0x20
cmp esi, 0x60000000
cmovne eax, edx
mov ecx, eax
or ecx, 0x10
cmp esi, 0x20000000
cmovne ecx, eax
mov eax, ecx
or eax, 4
cmp esi, 0xc0000000
cmovne eax, ecx
mov ecx, eax
or ecx, 8
cmp esi, 0x80000000
cmovne ecx, eax
mov eax, ecx
or eax, 2
cmp esi, 0x40000000
cmovne eax, ecx
mov ecx, eax
or ecx, 1
test esi, esi
cmovne ecx, eax
mov eax, ecx
or eax, 0x200
test edi, 0x4000000
pop edi
cmove eax, ecx
pop esi
ret
Function at 0x10004246
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x9c
mov eax, dword [0x10067010]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor edi, edi
lea ebx, [ebp - 0xa4]
mov dword [ebx], edi
push ebx
push 0x20106
push edi
push str.SoftwareAppDataLowSoftwareMicrosoftEdgeIEToEdge
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x100042d7
mov esi, eax
push 2
call fcn.1000f515
add esp, 4
test al, al
je 0x100042d0
lea edi, [ebp - 0xa4]
mov ecx, edi
push 2
push 0x200
push str....._third_partyie_to_edge_bho_bho.cc
call fcn.1000f55e
mov ecx, edi
call fcn.10002a70
push 0x22
push str.Failed_to_open_kStateKey_reg_key:
push eax
call fcn.10006876
add esp, 0xc
mov ecx, eax
push esi
call fcn.10001bc0
mov ecx, edi
call fcn.1000f8ba
xor ebx, ebx
jmp 0x1000438d
mov edx, dword [ebp - 0xa4]
xor eax, eax
dec eax
lea ecx, [ebp - 0x18]
mov dword [ecx], eax
lea esi, [ebp - 0x14]
mov dword [esi], eax
mov dword [ebp - 0xa4], 4
push ebx
push ecx
push esi
push edi
push str.DisableNeedEdgeForEnterprise
mov dword [ebp - 0xa8], edx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [esi], 4
mov ebx, 0xd
cmove ebx, edi
test eax, eax
cmovne ebx, eax
cmp ebx, 2
je 0x1000437a
test ebx, ebx
jne 0x1000432d
cmp dword [ebp - 0x18], 1
jne 0x1000437a
mov bl, 1
jmp 0x1000437c
push 2
call fcn.1000f515
add esp, 4
test al, al
je 0x1000437a
lea edi, [ebp - 0xa4]
mov ecx, edi
push 2
push 0x1fc
push str....._third_partyie_to_edge_bho_bho.cc
call fcn.1000f55e
mov ecx, edi
call fcn.10002a70
push 0x38
push str.Failed_to_read_kDisableNeedEdgeForEnterprise_reg_value:
push eax
call fcn.10006876
add esp, 0xc
mov ecx, eax
push ebx
call fcn.10001bc0
mov ecx, edi
call fcn.1000f8ba
xor ebx, ebx
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x1000438d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002c1aa
mov eax, ebx
add esp, 0x9c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10004770
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x10067010]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor edi, edi
mov ebx, 0xfffffff8
xor esi, esi
mov dword [ebp - 0x1c], 0xffffffff
mov eax, dword [ebx + str.SOFTWAREPoliciesMicrosoftInternet_ExplorerMain]
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0x14]
push ecx
push 0x20106
push edi
push str.SOFTWAREPoliciesMicrosoftInternet_ExplorerMain
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x100047bd
add ebx, 4
jne 0x1000478c
jmp 0x1000480a
test esi, esi
je 0x100047d1
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x14]
test eax, eax
jne 0x100047b6
jmp 0x100047d4
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push str.NotifyDisableIEOptions
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100047b6
cmp dword [ebp - 0x18], 4
jne 0x100047b6
mov bl, 1
jmp 0x1000480c
xor ebx, ebx
test esi, esi
je 0x10004817
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002c1aa
mov eax, ebx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10005fc6
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov edx, dword [ebp + 0x10]
mov eax, dword [0x10067010]
xor eax, ebp
mov dword [esp + 0x78], eax
movzx edi, word [edx + 6]
mov esi, 0x80004005
cmp di, 8
jg 0x1000611e
mov dword [esp + 0x1c], ecx
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
xor edx, edx
mov word [esp + 0xe], di
test di, di
lea eax, [esp + 0x50]
pcmpeqd xmm0, xmm0
movdqa xmmword [eax + 0x10], xmm0
movdqa xmmword [eax], xmm0
cmove eax, edx
cmp dword [ebx + 0xc], 0
je 0x10006063
mov esi, 0x80004005
cmp word [esp + 0xe], 0
je 0x1000611e
xor esi, esi
xor edx, edx
mov edi, dword [ebx + 4]
mov edi, dword [edi + edx*4]
cmp edi, 7
ja 0x10006119
mov ecx, dword [ebx]
add ecx, esi
mov dword [eax + edi*4], ecx
inc edx
add esi, 0x10
cmp edx, dword [ebx + 0xc]
jb 0x10006044
cmp edx, dword [ebx + 8]
mov dword [esp + 0x10], eax
jae 0x100060a2
cmp word [esp + 0xe], 0
je 0x10006119
mov esi, edx
not esi
mov edi, edx
shl edi, 4
mov ecx, dword [ebx]
add ecx, edi
mov eax, dword [ebp + 0x10]
movsx eax, word [eax + 6]
add eax, esi
mov ebx, dword [esp + 0x10]
mov dword [ebx + eax*4], ecx
mov ebx, dword [ebp + 0x14]
inc edx
dec esi
add edi, 0x10
cmp edx, dword [ebx + 8]
jb 0x10006081
mov esi, dword [ebp + 0x18]
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff4
lea eax, [esp + 0x48]
mov dword [eax + 4], 0xffffffff
mov dword [eax], 0x1002c130
mov dword [eax - 0x10], eax
mov dword [eax - 0xc], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax - 8], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax - 4], ecx
pxor xmm0, xmm0
lea ebx, [esp + 0x20]
movdqa xmmword [ebx], xmm0
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
test esi, esi
cmove esi, ebx
mov eax, dword [ebp + 0x10]
lea edi, [eax + 8]
movsx ecx, word [eax + 6]
movzx edx, word [eax + 4]
push esi
push dword [esp + 0x14]
push edi
push ecx
push edx
push dword [eax]
push 0
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantChangeTypeEx]
mov esi, eax
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x1000611e
mov esi, 0x80004005
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.1002c1aa
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
Function at 0x10006bc4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x98
mov eax, dword [0x10067010]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor edi, edi
lea ebx, [ebp - 0xa4]
mov dword [ebx], edi
push ebx
push 0x20119
push edi
push str.SoftwareAppDataLowSoftwareMicrosoftEdgeIEToEdge
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10006c57
mov esi, eax
push 2
call fcn.1000f515
add esp, 4
test al, al
je 0x10006ce8
lea ebx, [ebp - 0xa4]
mov ecx, ebx
push 2
push 0xc2
push str....._third_partyie_to_edge_bhocampaign_util.cc
call fcn.1000f55e
mov ecx, ebx
call fcn.10002a70
push 0x22
push str.Failed_to_open_kStateKey_reg_key:
push eax
call fcn.10006876
add esp, 0xc
mov ecx, eax
push esi
call fcn.10001bc0
mov ecx, ebx
call fcn.1000f8ba
jmp 0x10006ce8
mov edi, dword [ebp - 0xa4]
xor eax, eax
dec eax
lea ecx, [ebp - 0x18]
mov dword [ecx], eax
lea esi, [ebp - 0x14]
mov dword [esi], eax
mov dword [ebp - 0xa4], 4
xor eax, eax
push ebx
push ecx
push esi
push eax
xor ebx, ebx
push str.DisableCampaignRedirect
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [esi], 4
mov esi, 0xd
cmove esi, ebx
test eax, eax
cmovne esi, eax
cmp esi, 2
je 0x10006ce8
test esi, esi
jne 0x10006cae
cmp dword [ebp - 0x18], 1
jne 0x10006ce8
xor eax, eax
jmp case.0x10006d1f.0
push 2
call fcn.1000f515
add esp, 4
test al, al
je 0x10006ce8
lea ebx, [ebp - 0xa4]
mov ecx, ebx
push 2
push 0xbe
push str....._third_partyie_to_edge_bhocampaign_util.cc
call fcn.1000f55e
mov ecx, ebx
call fcn.10002a70
push 0x33
push str.Failed_to_read_kDisableCampaignRedirect_reg_value:
jmp 0x10006c3a
lea eax, [ebp - 0xa4]
mov bl, byte [ebp + 0xc]
mov dword [ebp - 0xa4], 0xffffffff
push eax
push str.CampaignMode
call fcn.1000e6de
add esp, 8
mov ecx, dword [ebp - 0xa4]
xor edx, edx
inc edx
cmp ecx, 4
cmovae ecx, edx
test eax, eax
cmovne ecx, edx
xor eax, eax
jmp dword [ecx*4 + 0x1005d500]
not bl
and bl, byte [ebp + 8]
jmp 0x10006d30
xor bl, 1
mov eax, ebx
jmp case.0x10006d1f.0
mov ebx, eax
test edi, edi
je 0x10006d43
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002c1aa
mov eax, ebx
add esp, 0x98
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100082ec
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2a4
mov eax, dword [0x10067010]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x218]
push 0x208
push 0
push ebx
call fcn.1002eba0
add esp, 0xc
push 0x104
push ebx
call fcn.1000dad7
add esp, 8
test eax, eax
js 0x1000847e
mov eax, dword [ebp + 8]
xor ecx, ecx
dec ecx
lea esi, [ebp - 0x2b0]
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
push eax
push esi
call fcn.100084e6
push 0
call fcn.1000f515
add esp, 4
test al, al
je 0x100083d4
lea edi, [ebp - 0x2a4]
mov ecx, edi
push 0
push 0x42
push str....._third_partyie_to_edge_bhoie_to_edge_core.cc
call fcn.1000f55e
mov ecx, edi
call fcn.10002a70
push str.InvokeEdge:
push eax
call fcn.1000347a
add esp, 8
mov edi, eax
push ebx
call fcn.1004044f
add esp, 4
push eax
push ebx
push edi
call fcn.10006876
add esp, 0xc
push 0x1005d629
push eax
call fcn.1000347a
add esp, 8
lea ecx, [ebp - 0x2b0]
movzx edx, byte [ecx + 0xb]
mov edi, edx
and edi, 0x7f
test dl, dl
cmovs edi, dword [ecx + 4]
cmovs ecx, dword [ecx]
push edi
push ecx
push eax
call fcn.10006876
add esp, 0xc
lea ecx, [ebp - 0x2a4]
call fcn.1000f8ba
cmp byte [ebp - 0x2a5], 0
jns 0x100083e3
mov esi, dword [ebp - 0x2b0]
xor eax, eax
push 1
push eax
push esi
push ebx
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
cmp eax, 0x20
ja 0x1000845f
push 2
call fcn.1000f515
add esp, 4
test al, al
je 0x1000845f
lea edi, [ebp - 0x2a4]
mov ecx, edi
push 2
push 0x47
push str....._third_partyie_to_edge_bhoie_to_edge_core.cc
call fcn.1000f55e
mov ecx, edi
call fcn.10002a70
push str.Could_not_start_Edge__Error:
push eax
call fcn.1000347a
add esp, 8
mov ecx, eax
push esi
call fcn.100021f0
push 0x1005d629
push eax
call fcn.1000347a
add esp, 8
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
push eax
call fcn.10001dd0
mov ecx, edi
call fcn.1000f8ba
cmp esi, 0x21
setae bl
cmp byte [ebp - 0x2a5], 0
jns 0x100084cc
push dword [ebp - 0x2b0]
call fcn.1002b724
add esp, 4
jmp 0x100084cc
mov esi, eax
push 2
call fcn.1000f515
add esp, 4
test al, al
je 0x100084ca
lea edi, [ebp - 0x2a4]
mov ecx, edi
push 2
push 0x3c
push str....._third_partyie_to_edge_bhoie_to_edge_core.cc
call fcn.1000f55e
mov ecx, edi
call fcn.10002a70
push 0x25
push str.Failed_to_get_current_stub_location:
push eax
call fcn.10006876
add esp, 0xc
mov ecx, eax
push esi
call fcn.10001bc0
mov ecx, edi
call fcn.1000f8ba
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002c1aa
mov eax, ebx
add esp, 0x2a4
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x10008f9a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x90
mov esi, ecx
mov eax, dword [0x10067010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, dword [ecx]
mov ebx, dword [ecx + 4]
push 0
call fcn.1000f515
add esp, 4
cmp edi, ebx
je 0x1000902b
test al, al
je 0x10008ffd
lea edi, [ebp - 0x9c]
mov ecx, edi
push 0
push 0x3a
push str....._third_partyie_to_edge_bho_repeating_task_scheduler.cc
call fcn.1000f55e
mov ecx, edi
call fcn.10002a70
push 0x1c
push str.RepeatingTaskScheduler_Start
push eax
call fcn.10006876
add esp, 0xc
mov ecx, edi
call fcn.1000f8ba
sub esp, 0x10
movaps xmm0, xmmword [0x1005d6f0]
movups xmmword [esp], xmm0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x14], eax
xor eax, eax
push eax
push eax
push esi
push 0x10009080
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x10], eax
jmp 0x10009063
test al, al
je 0x10009063
lea esi, [ebp - 0x9c]
mov ecx, esi
push 0
push 0x36
push str....._third_partyie_to_edge_bho_repeating_task_scheduler.cc
call fcn.1000f55e
mov ecx, esi
call fcn.10002a70
push 0x25
push str.No_tasks__skipping_scheduler_creation
push eax
call fcn.10006876
add esp, 0xc
mov ecx, esi
call fcn.1000f8ba
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002c1aa
add esp, 0x90
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000b2c4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x270
mov eax, dword [0x10067010]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x218]
push 0x208
push 0
push edi
call fcn.1002eba0
add esp, 0xc
push 0x104
push edi
call fcn.1000dad7
add esp, 8
test eax, eax
js 0x1000b3d1
mov ebx, dword [ebp + 8]
push edi
call fcn.1004044f
add esp, 4
add eax, 0x28
xor ecx, ecx
dec ecx
lea esi, [ebp - 0x224]
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov ecx, esi
push eax
call fcn.1000b462
mov eax, dword [esi]
mov ecx, dword [esi + 4]
sub ecx, eax
sar ecx, 1
push ebx
push edi
push str.__s____create_cache_container_d
push ecx
push eax
call fcn.1000b4d1
add esp, 0x14
test eax, eax
js 0x1000b3d5
xorps xmm0, xmm0
lea eax, [ebp - 0x268]
movups xmmword [eax + 0x34], xmm0
movups xmmword [eax + 0x24], xmm0
movups xmmword [eax + 0x14], xmm0
movups xmmword [eax + 4], xmm0
mov dword [eax], 0x44
lea ecx, [ebp - 0x278]
movups xmmword [ecx], xmm0
mov edx, dword [ebp - 0x224]
sub esp, 0x28
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], edx
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1000b3d9
push 0xffffffffffffffff
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1000b3ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x1000b41c
mov esi, eax
jmp 0x1000b44b
mov esi, eax
jmp 0x1000b432
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x1000b432
lea eax, [ebp - 0x27c]
mov dword [eax], 0xffffffff
push eax
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x1000b3bb
mov eax, dword [ebp - 0x27c]
test eax, eax
mov esi, 0x80004005
cmove esi, eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x274]
call edi
push dword [ebp - 0x278]
call edi
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x1000b44b
mov dword [ebp - 0x220], eax
push eax
call fcn.1002b724
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002c1aa
mov eax, esi
add esp, 0x270
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000b55f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x10067010]
xor ecx, ebp
mov dword [ebp - 0xc], ecx
mov esi, 0x80070057
cmp eax, 0x104
jb 0x1000b5dc
lea esi, [ebp - 0x20]
mov dword [esi], 0xffffffff
call fcn.1000e273
mov ecx, 0x10054050
mov edx, 0x10054060
test al, al
cmovne edx, ecx
movups xmm0, xmmword [edx]
lea eax, [ebp - 0x1c]
movups xmmword [eax], xmm0
xor edi, edi
push esi
push edi
push edi
push eax
call sub.SHELL32.dll_SHGetKnownFolderPath
mov esi, eax
test eax, eax
jne 0x1000b5dc
push dword [ebp + 8]
push dword [ebp - 0x20]
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
mov eax, 0x80004005
cmove edi, eax
push dword [ebp - 0x20]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov esi, edi
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1002c1aa
mov eax, esi
add esp, 0x18
pop esi
pop edi
pop ebp
ret

Function at 0x1000b9ae
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov eax, dword [0x10067010]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ebx, ebx
je 0x1000b9d0
mov word [edi], 0
mov esi, 0x80070002
cmp dword [ecx], 0
jne 0x1000ba85
xor eax, eax
lea esi, [ebp - 0x14]
mov dword [esi], eax
push esi
push 0x20119
push eax
push str.SoftwareAppDataLowSoftwareMicrosoftEdgeIEToEdge
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1000ba10
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x1000ba85
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x14], 0xffffffff
add ebx, ebx
lea eax, [ebp - 0x18]
mov dword [eax], ebx
mov ebx, ecx
push eax
push edi
push esi
push 0
push str.CurrentVersion
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
je 0x1000ba47
jle 0x1000ba7a
movzx esi, si
or esi, 0x80070000
jmp 0x1000ba7a
mov eax, dword [ebp - 0x14]
add eax, 0xfffffffd
cmp eax, 0xfffffffe
jae 0x1000ba59
mov esi, 0x8007000d
jmp 0x1000ba7a
test edi, edi
je 0x1000ba7a
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1000ba75
test al, 1
jne 0x1000ba52
and eax, 0xfffffffe
cmp word [eax + edi - 2], 0
jne 0x1000ba52
jmp 0x1000ba7a
mov word [edi], 0
test ebx, ebx
je 0x1000ba85
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002c1aa
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 8