joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429e50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1d000]
push edi
or ebp, 0xffffffff
jmp 0x429e72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x429e79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x429e68
mov eax, 1
add ebx, ebx
jne 0x429e8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x429e80
jne 0x429e9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x429e80
xor ecx, ecx
sub eax, 3
jb 0x429eb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x429f22
mov ebp, eax
add ebx, ebx
jne 0x429ebb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x429ec8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x429eec
inc ecx
add ebx, ebx
jne 0x429ed8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x429ecd
jne 0x429ee9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x429ecd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x429f0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x429efd
jmp 0x429e6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x429f0c
add edi, ecx
jmp 0x429e6e
pop esi
mov edi, esi
mov ecx, 0x35b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x429f2a
cmp byte [edi], 4
jne 0x429f2a
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 0x429f2f
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x429fa7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x31280]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x31328]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x429f5c
mov ecx, edi
jns 0x429f8b
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 + 0x31330]
or eax, eax
je 0x429fa1
mov dword [ebx], eax
add ebx, 4
jmp 0x429f79
call dword [esi + 0x3132c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x429fd8
cmp al, 0xef
ja 0x429fcb
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x429fad
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x429fba
mov ebp, dword [esi + 0x31334]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x42a00c
sub esp, 0xffffff80
jmp 0x407a80
Function at 0x401ad0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x4380c0], 0x24e1
mov eax, dword [0x4380c0]
sub eax, 0x24e1
mov dword [0x4380c0], eax
mov ecx, 1
test ecx, ecx
je 0x401b7b
mov edx, dword [0x4380c0]
cmp edx, dword [ebp + 0xc]
jb 0x401b07
jmp 0x401b7b
cmp dword [0x4380c0], 0
jne 0x401b25
push 0x263
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x401b25
xor eax, eax
jmp 0x401b7b
mov eax, dword [ebp + 8]
add eax, dword [0x4380c0]
mov ecx, dword [eax]
add ecx, dword [0x4380c0]
mov edx, dword [ebp + 8]
add edx, dword [0x4380c0]
mov dword [edx], ecx
mov dword [ebp - 4], 0x64b60
mov eax, dword [0x4380c0]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 2]
push edx
mov eax, dword [ebp + 8]
add eax, dword [0x4380c0]
push eax
call fcn.00401200
add esp, 8
mov ecx, dword [0x4380c0]
add ecx, 4
mov dword [0x4380c0], ecx
jmp 0x401aed
mov esp, ebp
pop ebp
ret

Function at 0x408957
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x4085d8
mov eax, esi
call fcn.00408976
xor dword [edi], ecx
or esi, esi
inc edi
sub esp, 4
mov dword [esp], eax
pop esi
cmp edi, ebx
jne fcn.00408957
ret
Function at 0x415d50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
ja 0x415d69
call fcn.00438ad0
jmp fcn.00415d50
sub esp, 0x30
mov ebx, dword [esp + 0x38]
cmp ebx, 0
jne 0x415d79
add esp, 0x30
ret
call fcn.00435f90
mov eax, dword [esp]
xor ebx, ebx
cmp eax, ebx
je 0x415e3c
cmp dword [eax + 0x70], 0
je 0x415e3c
mov edi, dword [eax + 0x74]
mov edx, dword [eax + 0x78]
mov esi, dword [eax + 0x78]
cmp esi, edx
jb 0x415e35
cmp edx, edi
jb 0x415e35
mov dword [esp + 0x14], eax
mov eax, dword [eax + 0x70]
mov ebp, edx
sub ebp, edi
mov edx, esi
sub edx, edi
cmp edx, 0
je 0x415dc8
mov ebx, edi
add ebx, eax
mov eax, ebx
mov esi, eax
mov eax, ebp
mov dword [esp + 0x2c], edx
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], ecx
cmp ecx, eax
jge 0x415dee
mov eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], esi
mov dword [esp], esi
mov dword [esp + 0x18], ebp
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
call fcn.0043aad0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [edx + 0x74]
add ecx, eax
mov eax, dword [edx + 0x78]
cmp eax, ecx
jb 0x415e2e
mov ebp, dword [edx + 0x70]
mov dword [edx + 0x70], ebp
mov dword [edx + 0x74], ecx
mov dword [edx + 0x78], eax
add esp, 0x30
ret
call fcn.00414c80
ud2
call fcn.00414c80
ud2
mov eax, dword [esp + 0x38]
mov dword [esp], 2
cmp dword [esp + 0x38], 0
jbe 0x415e63
mov ebx, dword [esp + 0x34]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.0042cd30
add esp, 0x30
ret
call fcn.00414c30
ud2
Function at 0x4381a0
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 0xc]
ja 0x4381b9
call fcn.00437ce0
jmp fcn.004381a0
sub esp, 0x20
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 4]
movzx eax, byte [ecx]
cmp eax, 0xe9
jne 0x4381df
mov eax, dword [ecx + 1]
mov ecx, dword [edx + 4]
add eax, ecx
add eax, 5
mov dword [edx + 4], eax
add esp, 0x20
ret
movzx eax, byte [ecx]
cmp eax, 0xeb
jne 0x4381fc
movsx eax, byte [ecx + 1]
mov ecx, dword [edx + 4]
add eax, ecx
add eax, 2
mov dword [edx + 4], eax
add esp, 0x20
ret
movzx eax, byte [ecx]
cmp eax, 0xcc
jne 0x43820a
add esp, 0x20
ret
mov eax, str.runtime:_pc_p__x__x__x__x__x_n
mov dword [esp], eax
mov dword [esp + 4], ecx
movzx eax, byte [ecx]
mov dword [esp + 8], eax
movzx eax, byte [ecx + 1]
mov dword [esp + 0xc], eax
movzx eax, byte [ecx + 2]
mov dword [esp + 0x10], eax
movzx eax, byte [ecx + 3]
mov dword [esp + 0x14], eax
movzx eax, byte [ecx + 4]
mov dword [esp + 0x18], eax
call fcn.00415d10
mov eax, str.runtime:_misuse_of_rewindmorestack
mov dword [esp], eax
call fcn.00415b60
add esp, 0x20
ret

Function at 0x8b4dd8
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
add edx, dword [edx + 0x3c]
movzx esi, word [edx + 6]
movzx eax, word [edx + 0x14]
test esi, esi
lea eax, [edx + eax + 0x18]
je 0x8b4e10
xor edx, edx
nop
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
ja 0x8b4e06
add ecx, dword [eax + 8]
cmp ebx, ecx
jb 0x8b4e12
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x8b4df8
xor eax, eax
pop ebx
pop esi
ret

Function at 0x408959
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4085d8
dec ecx
call fcn.0040897d
xor dword [edi], eax
mov ecx, ecx
inc edi
or ecx, esi
cmp edi, edx
jne fcn.00408959
add ecx, 1
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x40b252
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x40b261
pop dword [ebp - 0xc]
mov eax, 0x2d997a57
sub eax, 0x2d58c7f6
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x373db
push 0
mov eax, 0xed8d7ce9
sub eax, 0xed4c9c11
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0x3fad
xor edx, edx
add edx, eax
mov ebx, 0xd1ba3ded
sub ebx, 0xd1790229
add ebx, dword [ebp - 0xc]
mov edi, 0xa467a1bd
xor dword [ebp - 8], esi
mov esi, dword [ebx]
xor dword [ebp - 4], eax
sub esi, edi
mov dword [edx], esi
mov dword [ebp - 4], 0xbe9a3ad3
add edx, 4
add ebx, 0x14addacd
sub ebx, 0x14addac9
loop 0x40b2b6
add eax, 0xf187
mov ebx, eax
add eax, 0x63f2fa3d
sub eax, 0x63f2fa38
mov ecx, 0x5e7746f8
add ecx, 0xa1c8b908
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x414680
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x41468f
pop dword [ebp - 0x40]
mov eax, 0x41468f
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x976c9136
add dword [ebp - 0x50], 0xb6e5b415
mov dword [ebp - 0x4c], 0x92670002
sub dword [ebp - 0x4c], 0x6033b3bd
mov dword [ebp - 0x48], 0xe9fbe2fd
sub dword [ebp - 0x48], 0x9daf9ecf
mov dword [ebp - 0x44], 0xf9269f18
sub dword [ebp - 0x44], 0xf9269f18
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x7c1320ae
sub dword [ebp - 0x50], 0x7a0b758
mov dword [ebp - 0x4c], 0x64ffc6b5
add dword [ebp - 0x4c], 0xdc6c9ac0
mov dword [ebp - 0x48], 0x1f780476
add dword [ebp - 0x48], 0x43f767f6
mov dword [ebp - 0x44], 0x258cd619
sub dword [ebp - 0x44], 0x258cd619
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x6a906
push 0
call eax
mov ecx, 0x39b8ca30
add ecx, 0xc647718e
mov edx, eax
mov ebx, 0xcf43a253
sub ebx, 0xcef74453
add ebx, dword [ebp - 0x40]
mov esi, 0x692a8444
add esi, 0x50e4fc60
xor dword [ebp - 0x18], 0x42c81cf7
mov edi, dword [ebx]
xor dword [ebp - 0xc], 0x518953d0
add edi, esi
add dword [ebp - 0x30], esi
mov dword [edx], edi
xor dword [ebp - 0x34], ecx
add edx, 0x5689064e
add edx, 0xa976f9b6
add ebx, 0x6dcf8eea
sub ebx, 0x6dcf8ee6
loop 0x4147a2
add eax, 0xe67058ac
add eax, 0x1990891f
mov ebx, eax
add eax, 0x94de508b
add eax, 0x6b21af7a
mov ecx, 0xc5854284
sub ecx, 0xc5454284
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x412d00
push ebx
mov ebx, dword [esp + 0xc]
push edi
xor edi, edi
test ebx, ebx
je 0x412e87
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
nop dword [eax]
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xcb
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xbb
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x17
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 3
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x70
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x94
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x66
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xdd
push 0
push 0
push 0
call esi
add byte [edi + ebp], 3
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x89
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x7a
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x74
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x17
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x53
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x70
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xeb
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xe
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xd0
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xab
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xee
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xce
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x47
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x2f
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xb7
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xbc
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xe8
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x26
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x39
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xae
inc edi
cmp edi, ebx
jb 0x412d20
pop esi
pop ebp
pop edi
pop ebx
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x451c59
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x451c6a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405902
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49b112
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49b123
pop esi
ret
push ebx
push edi
push esi
call fcn.0049aff9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fd5
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49b14b
push ebx
push esi
push edi
call fcn.004056f5
add esp, 0xc
push 0
call fcn.0040623f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x412d00
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x412eaa
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
sub byte [esi + ebx], 0x42
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xea
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0xf8
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x1e
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x91
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0x49
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xa
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xd4
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x37
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x6f
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x1d
add esp, 0x40
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xe0
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0xa6
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x60
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xa5
add esp, 0x30
inc esi
cmp esi, edi
jb 0x412d20
pop ebx
pop edi
pop esi
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x451ba9
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x451bba
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405907
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49b052
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49b063
pop esi
ret
push ebx
push edi
push esi
call fcn.0049af39
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fda
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49b08b
push ebx
push esi
push edi
call fcn.004056fa
add esp, 0xc
push 0
call fcn.00406244
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x40104a
Capabilities:
Check if file exists
Get file attributes
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov esi, dword [ebp + 8]
mov dword [esp], 0x422630
mov ecx, esi
call fcn.0040206c
sub esp, 4
mov dword [esp], str.EBWebViewx86EmbeddedBrowserWebView.dll
mov ecx, esi
call fcn.0040206c
sub esp, 4
mov ecx, esi
call fcn.00402140
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
sub esp, 4
cmp eax, 0xffffffff
je 0x4010d3
mov ecx, esi
call fcn.00402140
mov edi, eax
movaps xmm0, xmmword [0x422370]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
sub esp, 0x1c
mov esi, eax
cmp eax, 0xffffffff
je 0x4010d7
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4010fe
xor eax, eax
jmp 0x401107
mov dword [esp], str.WebView2:_skipped_inaccessible
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call ebx
sub esp, 4
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
sub esp, 4
mov dword [esp], 0x422696
call ebx
sub esp, 4
cmp esi, 0xffffffff
setne al
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4011b4
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 [0x430034]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ecx, esi
push 0x104
call fcn.00401f1e
mov ecx, esi
push dword [ebp + 8]
call fcn.00401f9c
mov ecx, esi
call fcn.00402140
mov edi, eax
mov ecx, esi
call fcn.00402138
cmp eax, 3
jb 0x40122a
movzx eax, word [edi + 2]
cmp ax, 0x3a
jne 0x40121a
cmp word [edi + 4], 0x5c
jne 0x40122a
movzx eax, word [edi]
and eax, 0xffffffdf
add eax, 0xffffffbf
cmp ax, 0x1a
jae 0x40122a
jmp 0x4012b8
cmp word [edi], 0x5c
jne 0x40122a
cmp ax, 0x5c
je 0x4012b8
xor eax, eax
dec eax
lea edi, [ebp - 0x1c]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ecx, edi
call fcn.00401eac
push edi
push 0
call fcn.0040110f
add esp, 8
test eax, eax
js 0x4012f0
lea edi, [ebp - 0x1c]
mov ecx, edi
call fcn.00402138
mov ebx, eax
mov ecx, edi
call fcn.00402140
mov ecx, esi
push ebx
push eax
call fcn.00401fc6
mov ecx, edi
call fcn.00402140
push 0x5c
push eax
call fcn.0040ff20
add esp, 8
test eax, eax
je 0x4012ff
mov ebx, eax
lea edi, [ebp - 0x1c]
mov ecx, edi
call fcn.00402140
sub ebx, eax
add ebx, 2
sar ebx, 1
mov ecx, edi
call fcn.00402140
mov ecx, esi
push ebx
push eax
call fcn.00401fc6
mov ecx, esi
push dword [ebp + 8]
call fcn.0040206c
mov ecx, edi
call fcn.00401ebe
xor edi, edi
push esi
call fcn.0040104a
add esp, 4
test al, al
jne 0x40130c
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.00402140
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x422696
call edi
mov edi, 0x80070002
jmp 0x40130c
mov edi, eax
push str.WebView2:_Failed_to_find_the_app_exe_path._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x401304
mov edi, 0x80004005
lea ecx, [ebp - 0x1c]
call fcn.00401ebe
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040e688
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401c2f
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 [0x430034]
xor eax, ebp
mov dword [esp + 0x228], eax
lea eax, [esp + 0x20]
push 0x208
push 0xff
push eax
call fcn.0040ffd0
add esp, 0xc
mov dword [esp + 0xc], 0x104
lea eax, [esp + 8]
mov dword [eax], 0xffffffff
mov ecx, closesocket
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 0x401d2c
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 0x401d2a
cmp dword [esp + 0xc], 3
mov ebx, 0
jb 0x401d2c
mov esi, dword [ebp + 0xc]
mov ecx, esi
push edi
call fcn.00401f9c
mov ecx, esi
call fcn.00402140
push 0x5c
push eax
call fcn.0040ff20
add esp, 8
test eax, eax
je 0x401d2a
mov edi, eax
add edi, 2
pcmpeqd xmm0, xmm0
lea edx, [esp + 0x10]
movdqa xmmword [edx], xmm0
mov ecx, edi
call fcn.00401b09
test al, al
je 0x401d2a
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x401d1b
push edi
call fcn.00401f9c
lea ecx, [esp + 0x10]
mov edx, esi
call fcn.00401d44
mov ebx, eax
jmp 0x401d2c
xor ebx, ebx
mov ecx, dword [esp + 0x228]
xor ecx, ebp
call fcn.0040e688
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x401d44
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
xor eax, eax
mov edx, dword [eax + 0x422928]
cmp dword [ecx + eax], edx
ja 0x401d62
jb 0x401d6d
add eax, 4
cmp eax, 0x10
jne 0x401d4d
push esi
call fcn.0040104a
add esp, 4
jmp 0x401d91
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.WebView2:_skipped_an_incompatible_version
call edi
mov ecx, esi
call fcn.00402140
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x422696
call edi
xor eax, eax
pop esi
pop edi
pop ebp
ret
Function at 0x40266e
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 [0x430034]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ebx, ebx
je 0x4026e9
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 0x402703
mov ecx, edi
mov edx, esi
push dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
push esi
call fcn.0040272d
add esp, 8
test al, al
je 0x402713
mov eax, dword [esi]
test eax, eax
je 0x402729
push 0xa
push 0
push eax
call fcn.004154b0
add esp, 0xc
cmp eax, 1
jmp 0x402707
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040e688
mov ecx, edi
mov edx, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.0040272d
cmp dword [ebp - 0x14], 1
sete al
movzx eax, al
mov dword [ebx], eax
mov bl, 1
jmp 0x402715
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040e688
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x40270a

Function at 0x40272d
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 [0x430034]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea esi, [ebp - 0x218]
push 0x208
push ebx
push esi
call fcn.0040ffd0
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 0x4027a4
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, edi
lea eax, [ebp - 0x218]
push eax
call fcn.00401f9c
mov ecx, edi
call fcn.00402140
mov dword [ebx], eax
test esi, esi
sete bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040e688
mov eax, ebx
add esp, 0x214
pop esi
pop edi
pop ebx
pop ebp
ret