joyce8/EMBER2024-capa huggingface dataset:
Function at 0x70a440
Capabilities:
Encode data using base64

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov esi, dword [edx]
test esi, esi
je 0x70a51f
mov ebx, dword [esp + 0x28]
test byte [edx + 0x5c], 2
mov eax, 0x9ab36a
mov edi, esi
mov esi, 0x9ab329
cmove esi, eax
test edi, edi
jle 0x70a526
mov dword [esp + 4], esi
lea ebp, [edx + 9]
mov dword [esp], 4
mov esi, edi
nop dword [eax + eax]
movzx eax, byte [ebp - 1]
mov edi, eax
shl edi, 0x10
cmp esi, 2
mov dword [esp + 8], esi
jbe 0x70a535
movzx ebx, byte [ebp]
shl ebx, 8
movzx ecx, byte [ebp + 1]
mov dword [esp + 0xc], ecx
lea edx, [ebx + ecx]
or ebx, edi
shr eax, 2
mov esi, dword [esp + 4]
movzx eax, byte [esi + eax]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp]
mov byte [edi + ecx - 4], al
shr ebx, 0xc
and ebx, 0x3f
movzx eax, byte [esi + ebx]
mov byte [edi + ecx - 3], al
shr edx, 6
and edx, 0x3f
movzx eax, byte [esi + edx]
mov byte [edi + ecx - 2], al
mov eax, dword [esp + 0xc]
and eax, 0x3f
movzx eax, byte [esi + eax]
mov esi, dword [esp + 8]
mov byte [edi + ecx - 1], al
add ecx, 4
mov dword [esp], ecx
add ebp, 3
add esi, 0xfffffffd
jne 0x70a490
mov ebx, dword [esp + 0x28]
mov esi, dword [esp]
lea eax, [esi + ebx]
add eax, 0xfffffffc
add esi, 0xfffffffc
jmp 0x70a587
xor esi, esi
jmp 0x70a5a7
xor esi, esi
mov eax, ebx
mov byte [eax], 0
test byte [edx + 0x5c], 1
je 0x70a598
jmp 0x70a59d
jne 0x70a540
movzx eax, byte [ebp]
shl eax, 8
or edi, eax
mov eax, edi
shr eax, 0x12
mov edx, dword [esp + 4]
movzx eax, byte [edx + eax]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp]
mov byte [ebx + esi - 4], al
mov eax, edi
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [edx + eax]
mov byte [ebx + esi - 3], al
mov cl, 0x3d
cmp dword [esp + 8], 1
je 0x70a57b
shr edi, 6
and edi, 0x3f
movzx ecx, byte [edx + edi]
lea eax, [ebx + esi]
mov byte [ebx + esi - 2], cl
mov byte [ebx + esi - 1], 0x3d
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov byte [eax], 0
test byte [edx + 0x5c], 1
jne 0x70a59d
mov byte [ebx + esi], 0xa
inc esi
mov byte [ebx + esi], 0
mov dword [edx], 0
mov dword [ecx], esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x739de0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov ebx, dword [esp + 0x18]
xor esi, esi
test ebx, ebx
jle 0x739e00
nop
movzx eax, byte [ecx + esi]
cmp al, byte [edx + esi]
jne 0x739e00
inc esi
cmp ebx, esi
jne 0x739df0
mov esi, ebx
mov ebp, ebx
sar ebp, 0x1f
and ebp, ebx
lea eax, [ebp - 1]
mov dword [esp], eax
lea edi, [ebx - 1]
mov eax, ebx
lea ebx, [edi + 1]
test ebx, ebx
jle 0x739e2d
cmp byte [ecx + edi], 0
jne 0x739e3d
cmp byte [edx + edi], 0xff
lea edi, [edi - 1]
lea ebx, [eax - 1]
je 0x739e10
jmp 0x739e32
mov eax, ebp
mov ebx, dword [esp]
mov ebp, 0xffffffff
cmp esi, ebx
jge 0x739e4a
jmp 0x739eb5
mov eax, ebx
mov ebx, edi
mov ebp, 0xffffffff
cmp esi, ebx
jl 0x739eb5
cmp esi, eax
jge 0x739e78
movzx ecx, byte [ecx + esi]
movzx edx, byte [edx + esi]
mov ch, dl
xor ch, cl
movzx eax, ch
lea ebx, [eax - 1]
cmp ebx, 0x1e
ja 0x739e7f
mov edi, 7
jmp dword [ebx*4 + 0x9b41e8]
shl esi, 3
mov ebp, esi
jmp 0x739eb5
cmp eax, 0x3f
je 0x739ea5
cmp eax, 0x7f
jne 0x739eb5
mov edi, 1
jmp 0x739eaa
mov edi, 2
not dl
or cl, dl
test ch, cl
jne 0x739eb5
lea ebp, [edi + esi*8]
mov eax, ebp
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x787c10
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x787c35
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x787c40
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x787c35
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test si, si
je 0x787c88
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x787c7e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x787c8a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x787c70
xor eax, eax
pop ebx
pop esi
ret

Function at 0x401010
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x21004
call fcn.004013e0
mov eax, dword [0x41a004]
xor eax, esp
mov dword [esp + 0x21000], eax
push esi
mov esi, dword [esp + 0x21010]
lea eax, [esp + 4]
push 0x1000
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push str.HotA_Data
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0x10000
lea eax, [esp + 0x1008]
push eax
push str.PATH
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea eax, [esp + 0x1004]
push eax
lea eax, [esp + 8]
push eax
push str._s__s
lea eax, [esp + 0x11010]
push 0x10000
push eax
call fcn.00401150
lea eax, [esp + 0x11018]
push eax
push str.PATH
call fcn.00403539
add esp, 0x1c
push str..HotA_Datahota_te.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x4010eb
push 0x10
push str.Error
push str.Could_not_find_HotA_Data_hota_te.dll
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 1
pop esi
mov ecx, dword [esp + 0x21000]
xor ecx, esp
call fcn.004013cf
add esp, 0x21004
ret
push str._run__YAHHQAPAD_Z
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x401129
push 0x10
push str.Error
push str.Could_not_find_function_run_in_HotA_Data_hota_te.dll
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 2
pop esi
mov ecx, dword [esp + 0x21000]
xor ecx, esp
call fcn.004013cf
add esp, 0x21004
ret
push esi
push dword [esp + 0x21010]
call eax
mov ecx, dword [esp + 0x2100c]
add esp, 8
xor eax, eax
pop esi
xor ecx, esp
call fcn.004013cf
add esp, 0x21004
ret

Function at 0x40700f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00406b62
Function at 0x4b1a80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6f000]
push edi
jmp 0x4b1a9a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b1aa1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b1a90
mov eax, 1
add ebx, ebx
jne 0x4b1ab3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b1ac4
jne 0x4b1ae3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b1ae3
dec eax
add ebx, ebx
jne 0x4b1ad0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b1aa8
add ebx, ebx
jne 0x4b1adf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b1b35
xor ecx, ecx
sub eax, 3
jb 0x4b1afb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b1b6a
sar eax, 1
mov ebp, eax
jmp 0x4b1b06
add ebx, ebx
jne 0x4b1b06
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b1ad4
inc ecx
add ebx, ebx
jne 0x4b1b14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b1ad4
add ebx, ebx
jne 0x4b1b21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b1b16
jne 0x4b1b32
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b1b16
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b1b54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b1b46
jmp 0x4b1a96
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b1b54
add edi, ecx
jmp 0x4b1a96
pop esi
mov edi, esi
mov ecx, 0x377e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b1b72
cmp byte [edi], 0x11
jne 0x4b1b72
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4b1b77
lea edi, [esi + 0xad000]
mov eax, dword [edi]
or eax, eax
je 0x4b1bef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb250c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb2660]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b1ba4
mov ecx, edi
jns 0x4b1bd3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb2664]
or eax, eax
je 0x4b1be9
mov dword [ebx], eax
add ebx, 4
jmp 0x4b1bc1
call dword [esi + 0xb2674]
mov ebp, dword [esi + 0xb2668]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4b1c23
sub esp, 0xffffff80
jmp 0x416310
Function at 0x40e87a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [ebp - 0x3a]
test dword [esi + 0x25fffffc], edi
lea eax, [ebp - 0x354]
push eax
call fcn.0040dffb
pop ecx
push eax

Function at 0x40e8c4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
invalid
Function at 0x404c17
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
movzx esi, word [esp + 0xc]
push 2
push esi
call sub.MFC42.DLL_AfxFindResourceHandle
mov edi, eax
push 2
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x404c5e
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x404c5e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x404c5e
push eax
call fcn.00404be4
add esp, 4
cmp ax, 0x10
je 0x404c62
xor eax, eax
jmp 0x404c6b
push 0
push esi
push edi
call sub.MFC42.DLL_AfxLoadSysColorBitmap
pop edi
pop esi
ret
Function at 0x401c50
Capabilities:
Read .ini file

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x400
call fcn.0040bd07
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x30]
push ebx
push 0x400
push esi
push ebp
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, 0x3ff
jl 0x401cba
push esi
lea edi, [eax + 0x400]
call fcn.0040bd30
push edi
call fcn.0040bd07
mov edx, dword [esp + 0x38]
add esp, 8
mov esi, eax
mov eax, dword [esp + 0x24]
push ebx
push edi
push esi
push ebp
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
dec edi
cmp eax, edi
jge 0x401c8a
push esi
xor edi, edi
call dword [0x4167b8]
add esp, 4
test eax, eax
je 0x401cd6
push eax
push esi
call fcn.004024a0
add esp, 8
mov edi, eax
push esi
call fcn.0040bd30
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x401e30
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
lea eax, [esp + 0x14]
push edi
push eax
mov dword [esp + 0x1c], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [esp + 0x84]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x44], 1
je case.0x401e71.2
mov ecx, dword [esp + 0x7c]
lea eax, [ecx - 1]
cmp eax, 5
ja case.0x401e71.2
jmp dword [eax*4 + 0x401efc]
mov word [esp + 0x48], di
jmp 0x401eaa
mov word [esp + 0x48], 2
jmp 0x401eaa
mov word [esp + 0x48], 3
jmp 0x401eaa
mov word [esp + 0x48], 4
jmp 0x401eaa
mov word [esp + 0x48], 7
jmp 0x401eaa
mov word [esp + 0x48], 5
lea edx, [esp + 8]
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x18]
push edx
push eax
push edi
push edi
push edi
push 1
push edi
push edi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
cmp esi, edi
je 0x401ef4
cmp dword [esp + 0x70], edi
je 0x401ee0
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0xc]
push ecx
call edi
mov eax, esi
pop edi
pop esi
add esp, 0x54
ret

Function at 0x4102c5
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4102f3
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x410311
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041022b
jmp 0x410311
mov eax, dword [esi + 0x14]
test eax, eax
je 0x410311
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0041022b
test edi, edi
mov eax, edi
jne 0x4102fb
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x100011b4
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, dword [ebp + 0xc]
mov eax, dword [0x101ebe94]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ecx, esi
push 0x104
call fcn.100022da
mov ecx, esi
push dword [ebp + 8]
call fcn.10002352
mov ecx, esi
call fcn.10002502
mov edi, eax
mov ecx, esi
call fcn.100024ee
cmp eax, 3
jb 0x1000122a
movzx eax, word [edi + 2]
cmp ax, 0x3a
jne 0x1000121a
cmp word [edi + 4], 0x5c
jne 0x1000122a
movzx eax, word [edi]
and eax, 0xffffffdf
add eax, 0xffffffbf
cmp ax, 0x1a
jae 0x1000122a
jmp 0x100012bc
cmp word [edi], 0x5c
jne 0x1000122a
cmp ax, 0x5c
je 0x100012bc
pcmpeqd xmm0, xmm0
lea edi, [ebp - 0x1c]
movq qword [edi], xmm0
mov dword [edi + 8], 0xffffffff
mov ecx, edi
call fcn.10002264
push edi
push 0
call fcn.1000110f
add esp, 8
test eax, eax
js 0x100012f4
lea edi, [ebp - 0x1c]
mov ecx, edi
call fcn.100024ee
mov ebx, eax
mov ecx, edi
call fcn.10002502
mov ecx, esi
push ebx
push eax
call fcn.1000237c
mov ecx, edi
call fcn.10002502
push 0x5c
push eax
call fcn.1015fd51
add esp, 8
test eax, eax
je 0x10001303
mov ebx, eax
lea edi, [ebp - 0x1c]
mov ecx, edi
call fcn.10002502
sub ebx, eax
add ebx, 2
sar ebx, 1
mov ecx, edi
call fcn.10002502
mov ecx, esi
push ebx
push eax
call fcn.1000237c
mov ecx, esi
push dword [ebp + 8]
call fcn.10002422
mov ecx, edi
call fcn.10002278
xor edi, edi
push esi
call fcn.1000104a
add esp, 4
test al, al
jne 0x10001310
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.WebView2:_Failed_to_find_the_WebView2_client_dll_at:
call edi
mov ecx, esi
call fcn.10002502
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x10192116
call edi
mov edi, 0x80070002
jmp 0x10001310
mov edi, eax
push str.WebView2:_Failed_to_find_the_app_exe_path._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x10001308
mov edi, 0x80004005
lea ecx, [ebp - 0x1c]
call fcn.10002278
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1015dd59
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10001fe7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x230
mov edi, edx
mov esi, ecx
mov eax, dword [0x101ebe94]
xor eax, ebp
mov dword [esp + 0x228], eax
lea eax, [esp + 0x20]
push 0x208
push 0xff
push eax
call fcn.1015fe00
add esp, 0xc
mov dword [esp + 0xc], 0x104
lea eax, [esp + 8]
mov dword [eax], 0xffffffff
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
sub ecx, edi
push eax
push 0x20219
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
jne 0x100020e4
lea eax, [esp + 0xc]
push eax
lea edi, [esp + 0x24]
push edi
push ebx
push ebx
push str.EBWebView
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x100020e2
cmp dword [esp + 0xc], 3
mov ebx, 0
jb 0x100020e4
mov esi, dword [ebp + 0xc]
mov ecx, esi
push edi
call fcn.10002352
mov ecx, esi
call fcn.10002502
push 0x5c
push eax
call fcn.1015fd51
add esp, 8
test eax, eax
je 0x100020e2
mov edi, eax
add edi, 2
pcmpeqd xmm0, xmm0
lea edx, [esp + 0x10]
movdqa xmmword [edx], xmm0
mov ecx, edi
call fcn.10001e94
test al, al
je 0x100020e2
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x100020d3
push edi
call fcn.10002352
lea ecx, [esp + 0x10]
mov edx, esi
call fcn.100020fc
mov ebx, eax
jmp 0x100020e4
xor ebx, ebx
mov ecx, dword [esp + 0x228]
xor ecx, ebp
call fcn.1015dd59
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x100020fc
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
xor eax, eax
mov edx, dword [eax + 0x10192498]
cmp dword [ecx + eax], edx
ja 0x1000211a
jb 0x10002125
add eax, 4
cmp eax, 0x10
jne 0x10002105
push esi
call fcn.1000104a
add esp, 4
jmp 0x10002149
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.WebView2:_skipped_an_incompatible_version
call edi
mov ecx, esi
call fcn.10002502
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x10192116
call edi
xor eax, eax
pop esi
pop edi
pop ebp
ret
Function at 0x10002a46
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, edx
mov edi, ecx
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [0x101ebe94]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ebx, ebx
je 0x10002ac1
mov dword [ebp - 0x1c], ecx
xor eax, eax
lea ecx, [ebp - 0x14]
mov dword [ecx], eax
lea edx, [ebp - 0x18]
mov dword [edx], 4
push edx
push ecx
push eax
push 0x10
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x10002adb
mov ecx, edi
mov edx, esi
push dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
push esi
call fcn.10002b05
add esp, 8
test al, al
je 0x10002aeb
mov eax, dword [esi]
test eax, eax
je 0x10002b01
push 0xa
push 0
push eax
call fcn.10167c00
add esp, 0xc
cmp eax, 1
jmp 0x10002adf
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1015dd59
mov ecx, edi
mov edx, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.10002b05
cmp dword [ebp - 0x14], 1
sete al
movzx eax, al
mov dword [ebx], eax
mov bl, 1
jmp 0x10002aed
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1015dd59
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x10002ae2

Function at 0x10002b05
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x214
mov edi, edx
mov dword [ebp - 0x220], ecx
mov eax, dword [0x101ebe94]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea esi, [ebp - 0x218]
push 0x208
push ebx
push esi
call fcn.1015fe00
add esp, 0xc
lea eax, [ebp - 0x21c]
mov dword [eax], 0x104
push eax
push esi
push ebx
push 2
push edi
push ebx
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov esi, eax
test eax, eax
jne 0x10002b7c
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, edi
lea eax, [ebp - 0x218]
push eax
call fcn.10002352
mov ecx, edi
call fcn.10002502
mov dword [ebx], eax
test esi, esi
sete bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1015dd59
mov eax, ebx
add esp, 0x214
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10002c24
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [0x101ebe94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x10002c82
mov edi, eax
push str.CreateWebViewEnvironmentWithOptionsInternal
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10002cf8
mov ecx, eax
mov esi, dword [ebp + 0x1c]
mov bl, byte [ebp + 0xc]
call dword [0x10191a68]
movzx eax, bl
push esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call ecx
mov esi, eax
mov dword [ebp - 0x14], eax
jmp 0x10002d67
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
lea ebx, [ebp - 0x14]
mov dword [ebx], esi
pcmpeqd xmm0, xmm0
lea edi, [ebp - 0x20]
movq qword [edi], xmm0
mov dword [edi + 8], 0xffffffff
mov ecx, edi
call fcn.10002264
push edi
push 1
push 4
push ebx
call fcn.10002b98
add esp, 0x10
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.WebView2:_CoreWebView2Environment_failed_when_trying_to_LoadLibrary:_hr0x
call ebx
mov ecx, edi
call fcn.10002502
push eax
call ebx
push str._path
call ebx
push dword [ebp + 8]
call ebx
push 0x10192852
call ebx
mov ecx, edi
call fcn.10002278
jmp 0x10002d7e
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
lea eax, [ebp - 0x14]
mov dword [eax], esi
pcmpeqd xmm0, xmm0
lea ebx, [ebp - 0x20]
movq qword [ebx], xmm0
mov dword [ebx + 8], 0xffffffff
mov ecx, ebx
call fcn.10002264
push ebx
push 1
push 4
lea eax, [ebp - 0x14]
push eax
call fcn.10002b98
add esp, 0x10
push str.WebView2:_CoreWebView2Environment_failed_when_trying_to_call_into_EmbeddedBrowserWebView.dll._hr0x
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, ebx
call fcn.10002502
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x10192852
call eax
mov ecx, ebx
call fcn.10002278
push str.DllCanUnloadNow
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10002d7e
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1015dd59
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10006808
Capabilities:
Get common file path

Disassembly:
push 0x810
mov eax, 0x1017f246
call fcn.1015ea3a
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x81c], edi
push 0x800
xor ebx, ebx
mov dword [ebp - 0x81c], edi
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.1015fe00
add esp, 0xc
mov dword [ebp - 0x814], ebx
call fcn.10016bf7
push eax
lea ecx, [ebp - 0x814]
call fcn.100050a8
mov dword [ebp - 4], ebx
sub esi, 1
je 0x10006946
sub esi, 1
je 0x1000693e
sub esi, 3
je 0x10006937
sub esi, 4
je 0x100068ab
sub esi, 1
je 0x100068a6
sub esi, 1
je 0x100068a1
sub esi, 1
jne 0x10006978
push ebx
push 0x1c
lea eax, [ebp - 0x810]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
jmp 0x10006958
push ebx
push 0x23
jmp 0x1000688e
push ebx
push 0x1a
jmp 0x1000688e
push 1
push 2
pop edx
lea ecx, [ebp - 0x818]
call fcn.10006808
mov byte [ebp - 4], 1
mov dword [esp], str.Links
push eax
lea eax, [ebp - 0x81c]
push eax
call fcn.10004c73
add esp, 0xc
push eax
lea ecx, [ebp - 0x814]
mov byte [ebp - 4], 2
call fcn.10005058
mov ecx, dword [ebp - 0x81c]
lea ecx, [ecx - 0x10]
call fcn.10003bf1
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x818]
add ecx, 0xfffffff0
call fcn.10003bf1
push ecx
mov esi, esp
mov dword [ebp - 0x818], esi
mov eax, dword [ebp - 0x814]
add eax, 0xfffffff0
push eax
call fcn.10005109
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x818]
mov edx, ebx
mov dword [esi], eax
call fcn.10006707
pop ecx
mov byte [ebp - 4], 3
jmp 0x100069a8
push ebx
push ebx
jmp 0x1000688e
push ebx
push 6
jmp 0x1000688e
lea eax, [ebp - 0x810]
push eax
push 0x800
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x810]
push eax
call fcn.1000503e
pop ecx
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x814]
call fcn.1000522b
push ecx
mov esi, esp
mov dword [ebp - 0x818], esi
mov eax, dword [ebp - 0x814]
add eax, 0xfffffff0
push eax
call fcn.10005109
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x818]
mov edx, ebx
mov dword [esi], eax
call fcn.10006707
pop ecx
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x814]
call fcn.10005058
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x818]
lea ecx, [ecx - 0x10]
call fcn.10003bf1
mov esi, dword [ebp - 0x814]
add esi, 0xfffffff0
push esi
call fcn.10005109
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.10003bf1
mov eax, edi
call fcn.1015e9e9
ret