joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008639
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x18
push 0x10025490
call fcn.100137a8
xor esi, esi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x10008655
xor eax, eax
jmp 0x100086e9
mov dword [ebp - 4], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov eax, dword [edi + 0x3c]
mov ebx, dword [eax + edi + 0x78]
add ebx, edi
mov eax, dword [ebx + 0x1c]
add eax, edi
mov dword [ebp + 8], eax
mov edx, dword [ebx + 0x20]
add edx, edi
mov dword [ebp - 0x20], edx
mov ecx, dword [ebx + 0x24]
add ecx, edi
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0xc]
test ecx, 0xffff0000
jne 0x10008692
movzx eax, cx
sub eax, dword [ebx + 0x10]
jmp 0x100086b9
mov ebx, dword [ebx + 0x18]
mov dword [ebp - 0x28], ebx
mov eax, ebx
dec ebx
mov dword [ebp - 0x28], ebx
test eax, eax
je 0x100086e3
mov eax, dword [edx]
add eax, edi
push ecx
push eax
call fcn.100142d8
pop ecx
pop ecx
test eax, eax
mov eax, dword [ebp - 0x1c]
jne 0x100086c3
movzx eax, word [eax]
mov esi, dword [ebp + 8]
mov esi, dword [esi + eax*4]
add esi, edi
jmp 0x100086e0
mov edx, dword [ebp - 0x20]
add edx, 4
mov dword [ebp - 0x20], edx
add eax, 2
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0xc]
jmp 0x10008698
mov dword [ebp - 0x24], esi
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.100137e3
ret 8

Function at 0x100086f1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov edx, 0x10b
push edi
mov eax, dword [esi + 0x3c]
add eax, esi
movzx ecx, word [eax + 0x18]
cmp cx, dx
jne 0x10008716
xor edi, edi
add eax, 0x78
jmp 0x1000872c
mov edx, 0x20b
cmp cx, dx
jne 0x100087bf
xor edi, edi
inc edi
add eax, 0x88
push edi
push esi
push dword [eax]
call fcn.10008f5f
push edi
push esi
lea ebx, [esi + eax]
push dword [ebx + 0x20]
call fcn.10008f5f
push edi
push esi
push dword [ebx + 0x24]
add eax, esi
mov dword [ebp + 8], eax
call fcn.10008f5f
add eax, esi
add esp, 0x24
test dword [ebp + 0xc], 0xffff0000
mov dword [ebp - 4], eax
jne 0x10008789
push edi
push esi
push edi
push esi
push dword [ebx + 0x1c]
call fcn.10008f5f
mov ecx, dword [ebp + 0xc]
add esp, 0xc
movzx ecx, cx
sub ecx, dword [ebx + 0x10]
add eax, esi
push dword [eax + ecx*4]
call fcn.10008f5f
add esp, 0xc
jmp 0x100087c1
mov eax, dword [ebx + 0x18]
jmp 0x100087bb
dec eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push edi
push esi
push dword [eax]
call fcn.10008f5f
push dword [ebp + 0xc]
add eax, esi
push eax
call fcn.100161a8
add esp, 0x14
test eax, eax
jne 0x100087c8
add dword [ebp + 8], 4
add dword [ebp - 4], 2
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1000878e
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push esi
push edi
push esi
push dword [ebx + 0x1c]
call fcn.10008f5f
mov ecx, dword [ebp - 4]
add esp, 0xc
movzx ecx, word [ecx]
jmp 0x1000877a
Function at 0x100089b6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
cmp dword [ebp + 0x10], ecx
jbe 0x100089d9
mov edx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov eax, ecx
and eax, 3
mov al, byte [eax + esi]
xor byte [ecx + edx], al
inc ecx
cmp ecx, dword [ebp + 0x10]
jb 0x100089c7
pop esi
pop ebp
ret

Function at 0x1000cd31
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x18
push 0x10025490
call fcn.10017ea0
xor esi, esi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x1000cd4d
xor eax, eax
jmp 0x1000cde1
mov dword [ebp - 4], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov eax, dword [edi + 0x3c]
mov ebx, dword [eax + edi + 0x78]
add ebx, edi
mov eax, dword [ebx + 0x1c]
add eax, edi
mov dword [ebp + 8], eax
mov edx, dword [ebx + 0x20]
add edx, edi
mov dword [ebp - 0x20], edx
mov ecx, dword [ebx + 0x24]
add ecx, edi
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0xc]
test ecx, 0xffff0000
jne 0x1000cd8a
movzx eax, cx
sub eax, dword [ebx + 0x10]
jmp 0x1000cdb1
mov ebx, dword [ebx + 0x18]
mov dword [ebp - 0x28], ebx
mov eax, ebx
dec ebx
mov dword [ebp - 0x28], ebx
test eax, eax
je 0x1000cddb
mov eax, dword [edx]
add eax, edi
push ecx
push eax
call fcn.100189d0
pop ecx
pop ecx
test eax, eax
mov eax, dword [ebp - 0x1c]
jne 0x1000cdbb
movzx eax, word [eax]
mov esi, dword [ebp + 8]
mov esi, dword [esi + eax*4]
add esi, edi
jmp 0x1000cdd8
mov edx, dword [ebp - 0x20]
add edx, 4
mov dword [ebp - 0x20], edx
add eax, 2
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0xc]
jmp 0x1000cd90
mov dword [ebp - 0x24], esi
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.10017edb
ret 8
Function at 0x1000cde9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov edx, 0x10b
push edi
mov eax, dword [esi + 0x3c]
add eax, esi
movzx ecx, word [eax + 0x18]
cmp cx, dx
jne 0x1000ce0e
xor edi, edi
add eax, 0x78
jmp 0x1000ce24
mov edx, 0x20b
cmp cx, dx
jne 0x1000ceb7
xor edi, edi
inc edi
add eax, 0x88
push edi
push esi
push dword [eax]
call fcn.1000d657
push edi
push esi
lea ebx, [esi + eax]
push dword [ebx + 0x20]
call fcn.1000d657
push edi
push esi
push dword [ebx + 0x24]
add eax, esi
mov dword [ebp + 8], eax
call fcn.1000d657
add eax, esi
add esp, 0x24
test dword [ebp + 0xc], 0xffff0000
mov dword [ebp - 4], eax
jne 0x1000ce81
push edi
push esi
push edi
push esi
push dword [ebx + 0x1c]
call fcn.1000d657
mov ecx, dword [ebp + 0xc]
add esp, 0xc
movzx ecx, cx
sub ecx, dword [ebx + 0x10]
add eax, esi
push dword [eax + ecx*4]
call fcn.1000d657
add esp, 0xc
jmp 0x1000ceb9
mov eax, dword [ebx + 0x18]
jmp 0x1000ceb3
dec eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push edi
push esi
push dword [eax]
call fcn.1000d657
push dword [ebp + 0xc]
add eax, esi
push eax
call fcn.1001a8a0
add esp, 0x14
test eax, eax
jne 0x1000cec0
add dword [ebp + 8], 4
add dword [ebp - 4], 2
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1000ce86
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push esi
push edi
push esi
push dword [ebx + 0x1c]
call fcn.1000d657
mov ecx, dword [ebp - 4]
add esp, 0xc
movzx ecx, word [ecx]
jmp 0x1000ce72

Function at 0x1000d0ae
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
cmp dword [ebp + 0x10], ecx
jbe 0x1000d0d1
mov edx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov eax, ecx
and eax, 3
mov al, byte [eax + esi]
xor byte [ecx + edx], al
inc ecx
cmp ecx, dword [ebp + 0x10]
jb 0x1000d0bf
pop esi
pop ebp
ret
Function at 0x100148a8
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
jmp 0x100148d0
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x50]
mov edx, dword [edi + 0x2c]
and edx, ebx
movzx esi, byte [eax + ebx + 2]
mov eax, dword [edi + 0x40]
shl eax, cl
mov ecx, dword [edi + 0x38]
xor esi, eax
and esi, dword [edi + 0x4c]
ja 0x100148f6
ja 0x100148f6
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x40], esi
mov ax, word [eax + esi*2]
mov word [ecx + edx*2], ax
mov ecx, dword [edi + 0x40]
mov eax, dword [edi + 0x3c]
mov word [eax + ecx*2], bx
inc ebx
cmp ebx, dword [ebp + 8]
jbe 0x1001488d
jmp 0x1001483b
pop edi
pop esi
pop ebx
pop ebp
ret
je 0x10014a40
push 0x38
push eax
push edi
call fcn.100194d4
push 0x16bc
push 1
push dword [edi + 0x28]
call dword [edi + 0x20]
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x10014922
push 0xfffffffffffffffc
jmp 0x10014a42
push 0x16bc
push ebx
push esi
mov dword [edi + 0x1c], esi
call fcn.100194d4
push 2
push dword [esi + 0x24]
mov dword [esi], edi
push dword [edi + 0x28]
call dword [edi + 0x20]
push 2
push dword [esi + 0x24]
mov dword [esi + 0x30], eax
push dword [edi + 0x28]
call dword [edi + 0x20]
push 2
push dword [esi + 0x44]
mov dword [esi + 0x38], eax
push dword [edi + 0x28]
call dword [edi + 0x20]
push 4
push dword [esi + 0x1694]
mov dword [esi + 0x3c], eax
push dword [edi + 0x28]
call dword [edi + 0x20]
add esp, 0x3c
mov dword [ebp + 0xc], eax
cmp dword [esi + 0x30], 0
mov dword [esi + 8], eax
je 0x10014a34
cmp dword [esi + 0x38], 0
je 0x10014a34
cmp dword [esi + 0x3c], 0
je 0x10014a34
test eax, eax
je 0x10014a34
mov eax, dword [esi + 0x24]
add eax, eax
push eax
push dword [ebx + 0x30]
push dword [esi + 0x30]
call fcn.100194d4
mov eax, dword [esi + 0x24]
add eax, eax
push eax
push dword [ebx + 0x38]
push dword [esi + 0x38]
call fcn.100194d4
mov eax, dword [esi + 0x44]
add eax, eax
push eax
push dword [ebx + 0x3c]
push dword [esi + 0x3c]
call fcn.100194d4
push dword [esi + 0xc]
push dword [ebx + 8]
push dword [esi + 8]
call fcn.100194d4
mov eax, dword [ebx + 0x10]
add esp, 0x30
les esi, [eax]
sub eax, dword [ebx + 8]
add eax, dword [esi + 8]
mov ecx, dword [esi + 0x1694]
mov edx, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov eax, ecx
shr eax, 1
lea eax, [edx + eax*2]
mov dword [esi + 0x169c], eax
imul eax, ecx, 3
add eax, dword [esi + 8]
mov dword [esi + 0x1690], eax
lea eax, [esi + 0x8c]
mov dword [esi + 0xb10], eax
lea eax, [esi + 0x980]
mov dword [esi + 0xb1c], eax
lea eax, [esi + 0xa74]
mov dword [esi + 0xb28], eax
push edi
call fcn.10014376
pop ecx
jmp 0x1001491b
push 0xfffffffffffffffe
pop eax
Function at 0x100158ed
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x24]
mov esi, dword [edi + 0x34]
mov ecx, dword [edi + 0x64]
sub esi, ecx
sub esi, dword [edi + 0x6c]
mov dword [ebp - 8], esi
jne 0x1001591b
test ecx, ecx
jne 0x10015925
cmp dword [edi + 0x6c], ecx
jne 0x10015925
mov esi, ebx
jmp 0x100159a2
cmp esi, 0xffffffff
jne 0x10015925
push 0xfffffffffffffffe
pop esi
jmp 0x100159a2
mov eax, dword [edi + 0x24]
add eax, 0xfffffefa
add eax, ebx
cmp ecx, eax
jb 0x100159a2
mov ecx, dword [edi + 0x30]
push ebx
lea eax, [ecx + ebx]
push eax
push ecx
call fcn.100194d4
mov ecx, dword [edi + 0x44]
add esp, 0xc
mov eax, dword [edi + 0x3c]
mov esi, ecx
sub dword [edi + 0x68], ebx
sub dword [edi + 0x64], ebx
sub dword [edi + 0x54], ebx
mov dword [ebp - 4], ecx
lea edi, [eax + ecx*2]
lea edi, [edi - 2]
xor ecx, ecx
movzx edx, word [edi]
mov eax, edx
sub eax, ebx
cmp edx, ebx
movzx eax, ax
cmovae ecx, eax
mov word [edi], cx
dec esi
jne 0x1001595b
mov edi, dword [ebp + 8]
mov esi, ebx
mov eax, dword [edi + 0x38]
lea edi, [eax + ebx*2]
lea edi, [edi - 2]
xor ecx, ecx
movzx edx, word [edi]
mov eax, edx
sub eax, ebx
cmp edx, ebx
movzx eax, ax
cmovae ecx, eax
mov word [edi], cx
dec esi
jne 0x10015980
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
add esi, ebx
mov ecx, dword [edi]
cmp dword [ecx + 4], 0
je 0x100159fb
mov eax, dword [edi + 0x6c]
add eax, dword [edi + 0x64]
add eax, dword [edi + 0x30]
push esi
push eax
push ecx
call fcn.10016132
add dword [edi + 0x6c], eax
add esp, 0xc
cmp dword [edi + 0x6c], 3
jb 0x100159e6
mov edx, dword [edi + 0x64]
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x50]
movzx esi, byte [edx + eax]
mov dword [edi + 0x40], esi
movzx eax, byte [edx + eax + 1]
shl esi, cl
xor esi, eax
and esi, dword [edi + 0x4c]
mov dword [edi + 0x40], esi
cmp dword [edi + 0x6c], 0x106
jae 0x100159fb
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x100158fb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001ed35
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x24]
mov esi, dword [edi + 0x34]
mov ecx, dword [edi + 0x64]
sub esi, ecx
sub esi, dword [edi + 0x6c]
mov dword [ebp - 8], esi
jne 0x1001ed63
test ecx, ecx
jne 0x1001ed6d
cmp dword [edi + 0x6c], ecx
jne 0x1001ed6d
mov esi, ebx
jmp 0x1001edea
cmp esi, 0xffffffff
jne 0x1001ed6d
push 0xfffffffffffffffe
pop esi
jmp 0x1001edea
mov eax, dword [edi + 0x24]
add eax, 0xfffffefa
add eax, ebx
cmp ecx, eax
jb 0x1001edea
mov ecx, dword [edi + 0x30]
push ebx
lea eax, [ecx + ebx]
push eax
push ecx
call 0x1002291c
mov ecx, dword [edi + 0x44]
add esp, 0xc
mov eax, dword [edi + 0x3c]
mov esi, ecx
sub dword [edi + 0x68], ebx
sub dword [edi + 0x64], ebx
sub dword [edi + 0x54], ebx
mov dword [ebp - 4], ecx
lea edi, [eax + ecx*2]
lea edi, [edi - 2]
xor ecx, ecx
movzx edx, word [edi]
mov eax, edx
sub eax, ebx
cmp edx, ebx
movzx eax, ax
cmovae ecx, eax
mov word [edi], cx
dec esi
jne 0x1001eda3
mov edi, dword [ebp + 8]
mov esi, ebx
mov eax, dword [edi + 0x38]
lea edi, [eax + ebx*2]
lea edi, [edi - 2]
xor ecx, ecx
movzx edx, word [edi]
mov eax, edx
sub eax, ebx
cmp edx, ebx
movzx eax, ax
cmovae ecx, eax
mov word [edi], cx
dec esi
jne 0x1001edc8
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
add esi, ebx
mov ecx, dword [edi]
cmp dword [ecx + 4], 0
je 0x1001ee43
mov eax, dword [edi + 0x6c]
add eax, dword [edi + 0x64]
add eax, dword [edi + 0x30]
push esi
push eax
push ecx
call fcn.1001f57a
add dword [edi + 0x6c], eax
add esp, 0xc
cmp dword [edi + 0x6c], 3
jb 0x1001ee2e
mov edx, dword [edi + 0x64]
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x50]
movzx esi, byte [edx + eax]
mov dword [edi + 0x40], esi
movzx eax, byte [edx + eax + 1]
shl esi, cl
xor esi, eax
and esi, dword [edi + 0x4c]
mov dword [edi + 0x40], esi
cmp dword [edi + 0x6c], 0x106
jae 0x1001ee43
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x1001ed43
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40104d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401064
pop esi
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x401099
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x401095
cmp edi, eax
jae 0x401099
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x401087
cmp edi, eax
jb 0x40109d
xor eax, eax
jmp 0x4010a6
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret
Function at 0x403424
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x41a090]
xor eax, ebp
mov dword [ebp + 0x18c], eax
push esi
lea eax, [ebp - 0x80]
xor esi, esi
push eax
push esi
push esi
mov dword [ebp - 0x80], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x403489
push edi
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push esi
push esi
push 0x104
push ebx
push 0xffffffffffffffff
mov edi, eax
lea eax, [ebp - 0x7c]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push dword [ebp - 0x80]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, edi
pop edi
jmp 0x40348b
xor eax, eax
mov ecx, dword [ebp + 0x18c]
xor ecx, ebp
pop esi
call fcn.004051c7
add ebp, 0x190
leave
ret
Function at 0x4034a1
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
lea ebp, [esp - 0x7b8]
sub esp, 0x838
mov eax, dword [0x41a090]
xor eax, ebp
mov dword [ebp + 0x7b4], eax
mov eax, dword [ebp + 0x7c0]
push ebx
xor ebx, ebx
mov dword [ebp - 0x80], eax
cmp eax, ebx
jne 0x4034d3
xor eax, eax
jmp 0x40365c
lea eax, [ebp - 0x74]
push eax
push 0x4152c8
push 1
push ebx
push 0x4153c8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4034cc
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
lea edx, [ebp - 0x78]
push edx
push 0x415398
push eax
call dword [ecx]
cmp eax, ebx
mov dword [ebp - 0x7c], eax
jge 0x403511
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4034cc
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, 0x104
push esi
lea eax, [ebp + 0x19c]
push eax
push 0xffffffffffffffff
push ebx
push ebx
push ebx
call edi
mov eax, dword [ebp - 0x74]
push dword [0x41b6d8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
push esi
lea eax, [ebp - 0x6c]
push eax
push 0xffffffffffffffff
push ebx
push ebx
push ebx
call edi
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x3c]
push ebx
push ebx
push esi
lea eax, [ebp + 0x5ac]
push eax
push 0xffffffffffffffff
push dword [0x41b6d8]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp + 0x5ac]
push 0x5c
push eax
mov byte [ebp - 0x6d], bl
call fcn.00405cf0
pop ecx
pop ecx
cmp eax, ebx
jne 0x40359d
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x40365a
push eax
push dword [ebp - 0x80]
lea eax, [ebp + 0x6b0]
push str._s_s
push eax
call fcn.00405874
add esp, 0x10
lea ecx, [ebp + 0x6b0]
lea eax, [ebp + 0x5ac]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4035df
cmp dl, bl
je 0x4035db
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4035df
inc eax
inc eax
inc ecx
inc ecx
cmp dl, bl
jne 0x4035c1
xor eax, eax
jmp 0x4035e4
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4035ec
mov byte [ebp - 0x6d], 1
lea eax, [ebp + 0x6b0]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4035f5
sub eax, edx
lea eax, [ebp + eax + 0x6b0]
mov byte [eax - 3], 0x6c
mov byte [eax - 2], 0x6e
mov byte [eax - 1], 0x6b
cmp byte [ebp - 0x6d], bl
je 0x403640
push esi
lea eax, [ebp + 0x3a4]
push eax
push 0xffffffffffffffff
lea eax, [ebp + 0x6b0]
push eax
push ebx
push ebx
call edi
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
push 1
lea edx, [ebp + 0x3a4]
push edx
push eax
call dword [ecx + 0x18]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
cmp dword [ebp - 0x7c], ebx
setge al
pop edi
pop esi
mov ecx, dword [ebp + 0x7b4]
xor ecx, ebp
pop ebx
call fcn.004051c7
add ebp, 0x7b8
leave
ret

Function at 0x4051c7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41a090]
jne 0x4051d1
repz ret
jmp fcn.00406a68
Function at 0x40f973
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040899d
and dword [ebp - 4], 0
cmp dword [0x41c140], 0
mov ebx, eax
jne 0x40fa24
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40fad5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40fad5
push eax
call fcn.0040892b
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41c140], eax
call esi
push eax
call fcn.0040892b
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41c144], eax
call esi
push eax
call fcn.0040892b
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41c148], eax
call esi
push eax
call fcn.0040892b
pop ecx
mov dword [0x41c150], eax
test eax, eax
je 0x40fa24
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040892b
pop ecx
mov dword [0x41c14c], eax
mov eax, dword [0x41c14c]
cmp eax, ebx
je 0x40fa7c
cmp dword [0x41c150], ebx
je 0x40fa7c
push eax
call fcn.004089a6
push dword [0x41c150]
mov esi, eax
call fcn.004089a6
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40fa7c
test edi, edi
je 0x40fa7c
call esi
test eax, eax
je 0x40fa73
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40fa73
test byte [ebp - 0xc], 1
jne 0x40fa7c
or dword [ebp + 0x10], 0x200000
jmp 0x40fab5
mov eax, dword [0x41c144]
cmp eax, ebx
je 0x40fab5
push eax
call fcn.004089a6
pop ecx
test eax, eax
je 0x40fab5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40fab5
mov eax, dword [0x41c148]
cmp eax, ebx
je 0x40fab5
push eax
call fcn.004089a6
pop ecx
test eax, eax
je 0x40fab5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41c140]
call fcn.004089a6
pop ecx
test eax, eax
je 0x40fad5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40fad7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000104a
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], 0x1018a080
mov ecx, esi
call fcn.10002422
sub esp, 4
mov dword [esp], str.EBWebViewx86EmbeddedBrowserWebView.dll
mov ecx, esi
call fcn.10002422
sub esp, 4
mov ecx, esi
call fcn.10002502
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
sub esp, 4
cmp eax, 0xffffffff
je 0x100010d3
mov ecx, esi
call fcn.10002502
mov edi, eax
movaps xmm0, xmmword [0x10189d70]
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 0x100010d7
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100010fe
xor eax, eax
jmp 0x10001107
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], 0x1018a0e6
call ebx
sub esp, 4
cmp esi, 0xffffffff
setne al
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
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 [0x101e2e94]
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.10159841
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 0x1018a0e6
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.10157841
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret