joyce8/EMBER2024-capa huggingface dataset:
Function at 0x63a67
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x63ae4
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x63ac0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x63ad0
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0xffffffff
pop esi
je 0x6e30e
mov eax, dword [ebp - 8]
leave
ret
Function at 0x64267
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [0x7b00c], esi
jne 0x642be
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x62c6f
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x7b00c], eax
cmp eax, esi
je 0x6e4ec
push 0xffffffffffffffff
push dword [0x7b014]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x7b014]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
cmp dword [0x7b018], esi
jl 0x6e50a
pop esi
leave
ret

Function at 0x64441
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x64498
call fcn.00062712
xor eax, eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x64490
cmp ecx, 0xffffffff
je 0x64490
and dword [ebp - 4], eax
mov edx, 0x5a4d
cmp word [ecx], dx
jne 0x64489
mov edx, dword [ecx + 0x3c]
test edx, edx
jl 0x64489
cmp edx, 0x10000000
jae 0x64489
lea eax, [edx + ecx]
mov dword [ebp - 0x1c], eax
cmp dword [eax], 0x4550
jne 0x6e892
mov dword [ebp - 4], 0xfffffffe
call fcn.00062757
ret 4

Function at 0x6681f
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [str.E__]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov esi, ecx
inc eax
cmp dword [esi + 0x2c], 0
jne 0x66933
push edi
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov edi, 0x105
push edi
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 0x420], eax
cmp eax, edi
ja 0x6ed16
lea eax, [ebp - 0x41c]
push eax
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.000621cb
test eax, eax
jl 0x66932
mov ecx, dword [ebp - 0x420]
cmp word [ebp + ecx*2 - 0x210], 0x5c
je 0x668c3
push 0x66994
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.00062436
test eax, eax
jl 0x66932
push 0x66980
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.00062436
test eax, eax
jl 0x66932
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x2c], eax
test eax, eax
je 0x6ed20
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x66970
push eax
call edi
push 0x6695c
push dword [esi + 0x2c]
mov dword [esi + 0x30], eax
call edi
push 0x66948
push dword [esi + 0x2c]
mov dword [esi + 0x34], eax
call edi
cmp dword [esi + 0x30], 0
mov dword [esi + 0x38], eax
je 0x66940
cmp dword [esi + 0x34], 0
je 0x66940
test eax, eax
je 0x66940
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.000620d4
leave
ret
mov eax, 0x8007007f
jmp 0x66932
Function at 0x671f8
Capabilities:
Identify system language via api

Disassembly:
push 0x2c
mov eax, 0x7608c
call fcn.000639dd
lea ecx, [ebp - 0x34]
call fcn.00066c55
and dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
push 0
call fcn.0006758b
test eax, eax
jl 0x6722c
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.000672a7
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx esi, ax
mov eax, 0x409
mov edi, 0x67298
cmp ax, si
jne 0x6e4b4
and esi, 0x3ff
push esi
push edi
lea eax, [ebp - 0x30]
push 8
push eax
call fcn.00061451
add esp, 0x10
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0006758b
mov esi, eax
test esi, esi
jl 0x67280
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.000672a7
mov esi, eax
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
call fcn.0006760b
mov eax, esi
call fcn.00062b9f
ret

Function at 0x6791d
Capabilities:
Identify system language via api

Disassembly:
lea eax, [ebp - 0x30]
push eax
call esi
push 8
pop eax
push dword [ebp + 0x10]
mov word [ebp - 0x30], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x28], eax
cmp eax, ebx
je 0x6dc4f
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 0x82
lea edx, [ebp - 0x30]
push edx
push 0x67900
push eax
call dword [ecx + 0x10]
mov esi, eax
lea eax, [ebp - 0x30]
push eax
call edi
cmp esi, ebx
jl 0x679a8
push 1
lea ecx, [ebp - 0x20]
call fcn.000679e3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x20]
push edx
push 0x678ec
push eax
call dword [ecx + 0x10]
mov esi, eax
lea eax, [ebp - 0x20]
push eax
call edi
push eax
call fcn.000671e0
cmp esi, ebx
jl 0x679a8
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
push 3
movzx eax, ax
pop ecx
mov word [ebp - 0x20], cx
mov dword [ebp - 0x18], eax
jmp 0x67992
push 0x24
mov eax, 0x75c85
call fcn.000626dd
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x20]
push eax
call esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
mov dword [ebp - 0x10], ebx
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [ebp + 0xc], ebx
je 0x67854
push 1
lea ecx, [ebp - 0x20]
call fcn.000679e3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x20]
push edx
push 0x63984
push eax
call dword [ecx + 0x10]
cmp eax, ebx
jl 0x679a6
push 3
pop eax
mov word [ebp - 0x20], ax
mov dword [ebp - 0x18], 0x409
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x20]
push edx
push 0x679d0
push eax
call dword [ecx + 0x10]
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.00067455
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x20]
push eax
call edi
push eax
call fcn.000671e0
mov eax, esi
call fcn.00061390
ret 0xc
Function at 0x67b05
Capabilities:
Identify system language via api

Disassembly:
push 0x50
mov eax, 0x75fc0
call fcn.000639dd
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor esi, esi
push esi
mov dword [ebp - 0x5c], ecx
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x54], esi
call fcn.00067c2b
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x58]
mov ebx, eax
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, si
jne 0x67b34
sub eax, ecx
sar eax, 1
mov edi, eax
je 0x67b63
movzx eax, word [ebx + esi*2]
push eax
call dword [sym.imp.msvcrt.dll_iswxdigit]
pop ecx
test eax, eax
je 0x67b5b
inc esi
cmp esi, edi
jb 0x67b46
cmp esi, edi
jb 0x67c0e
xor eax, eax
mov edx, ebx
test edi, edi
jbe 0x67c0e
cmp word [edx], 0x30
jne 0x67b7c
inc eax
inc edx
inc edx
cmp eax, edi
jb 0x67b6f
cmp eax, edi
jae 0x67c0e
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x67b89
sub eax, esi
sar eax, 1
cmp eax, 3
ja 0x67c0e
push 0x10
push 0
push edx
call dword [sym.imp.msvcrt.dll_wcstoul]
add esp, 0xc
movzx esi, ax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
cmp cx, si
jne 0x67c03
movzx eax, ax
movzx eax, ax
push eax
push 0x67c18
lea eax, [ebp - 0x50]
push 0x20
push eax
call fcn.00061451
mov ecx, dword [ebp - 0x5c]
add esp, 0x10
lea eax, [ebp - 0x50]
push eax
call fcn.00066c60
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
call fcn.0006760b
mov eax, dword [ebp - 0x54]
call fcn.00062b9f
ret 8
or esi, 0x400
movzx eax, si
jmp 0x67bc6
mov dword [ebp - 0x54], 0x80041001
jmp 0x67be9

Function at 0x67f3e
Capabilities:
Create directory

Disassembly:
push 0x10
mov eax, 0x76a7d
call fcn.00061350
mov dword [ebp - 0x1c], ecx
xor esi, esi
mov ebx, 0x8007000e
mov dword [ebp - 0x14], esi
cmp dword [ebp + 8], esi
je 0x68046
push 1
call fcn.0006227c
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0x6803c
mov dword [ebp - 4], esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call esi
push dword [ebp + 8]
mov edi, eax
call esi
lea esi, [eax + edi + 1]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.000613e0
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x67fcd
push dword [ebp - 0x18]
inc edi
push edi
push eax
call fcn.000621cb
mov ebx, eax
test ebx, ebx
jl 0x68024
push dword [ebp + 8]
push esi
push dword [ebp - 0x14]
call fcn.00062436
mov ebx, eax
test ebx, ebx
jl 0x68024
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0x68024
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x67ff6
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0x6f33c
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0x68024
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x44], eax
cmp eax, 0xffffffff
je 0x6f353
cmp dword [ebp - 0x14], 0
je 0x68033
push dword [ebp - 0x14]
call fcn.000613c0
pop ecx
push dword [ebp - 0x18]
call fcn.000613c0
pop ecx
mov eax, ebx
call fcn.00061390
ret 4
mov ebx, 0x80070057
jmp 0x6803c
Function at 0x685f1
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [str.E__]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x44]
test eax, eax
je 0x68684
cmp eax, 0xffffffff
je 0x68684
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x68684
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
and dword [ebp - 0xc], 0
push ebx
call esi
push ebx
mov dword [ebp - 0x10], eax
call esi
lea esi, [eax + eax + 2]
mov eax, esi
call fcn.000685b5
mov eax, esp
push esi
push ebx
push eax
call fcn.00068692
mov esi, dword [ebp - 0x10]
mov edi, dword [edi + 0x44]
push 0
lea ecx, [ebp - 0xc]
push ecx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x6f2da
cmp esi, dword [ebp - 0xc]
jne 0x6f2f6
mov eax, dword [ebp - 8]
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.000620d4
leave
ret 4
mov dword [ebp - 8], 0x80070057
jmp 0x6866d

Function at 0x688ef
Capabilities:
Get geographical location

Disassembly:
push 0x210
mov eax, 0x76be9
call fcn.000620e6
xor eax, eax
push 0x1fe
mov word [ebp - 0x214], ax
xor ebx, ebx
lea eax, [ebp - 0x212]
push ebx
push eax
call sub.msvcrt.dll_memset
mov esi, dword [ebp + 8]
add esp, 0xc
push 0x100
lea eax, [ebp - 0x214]
push eax
push 0x1001
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp - 0x214]
and esi, 0x3ff
push eax
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x218], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
add esi, 7
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.000613e0
mov edi, eax
pop ecx
cmp edi, ebx
je 0x68999
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x21c]
push 0x689a4
push esi
push edi
call fcn.00061451
add esp, 0x14
mov eax, edi
call fcn.00062126
ret 4
Function at 0x70d7d
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [ecx + eax + 0x18]
test esi, esi
jbe 0x70dba
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x70db2
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x70dbc
inc edx
add eax, 0x28
cmp edx, esi
jb 0x70da2
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x402da0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470f80
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x48d030]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea edx, [ebp - 0x218]
mov eax, edx
mov esi, 0x104
sub ecx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
nop dword [eax]
lea eax, [esi + 0x7ffffefa]
test eax, eax
je 0x402e0e
movzx eax, word [ecx + edx]
test ax, ax
je 0x402e0e
mov word [edx], ax
add edx, 2
sub esi, 1
jne 0x402df0
test esi, esi
lea eax, [edx - 2]
cmovne eax, edx
xor ecx, ecx
mov word [eax], cx
mov ecx, 0x104
lea eax, [ebp - 0x218]
cmp word [eax], 0
je 0x402e34
add eax, 2
sub ecx, 1
jne 0x402e26
mov edx, 0x104
mov esi, ecx
mov eax, edx
sub eax, ecx
neg esi
sbb esi, esi
and esi, eax
test ecx, ecx
je 0x402e88
lea ecx, [ebp - 0x218]
lea ecx, [ecx + esi*2]
sub edx, esi
je 0x402e7b
mov edi, 0x4804a4
mov eax, accept
sub edi, ecx
test eax, eax
je 0x402e7b
movzx esi, word [edi + ecx]
test si, si
je 0x402e7b
mov word [ecx], si
dec eax
add ecx, 2
sub edx, 1
jne 0x402e62
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push eax
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov esi, eax
test esi, esi
jne 0x402ec6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x402eb1
xor edi, edi
jmp 0x402ef9
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0xc9
call fcn.004028f0
add esp, 4
mov edi, eax
jmp 0x402ef9
lea edx, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
mov ecx, esi
call fcn.00402c00
mov edi, eax
test edi, edi
jns 0x402eff
mov ecx, dword [ebp + 4]
mov edx, 0xcf
push edi
push 0x480410
call fcn.004028d0
add esp, 8
test esi, esi
jne 0x402f0d
jmp 0x402f1a
mov eax, dword [ebp - 0x21c]
xor edi, edi
cdq
mov dword [ebx], eax
mov dword [ebx + 4], edx
push esi
mov dword [ebp - 4], 2
call fcn.004029a0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046fb30
mov esp, ebp
pop ebp
ret
Function at 0x403910
Capabilities:
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47108e
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x48d030]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x39], dl
mov esi, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], 0
push 0
movups xmmword [esi], xmm0
push 0x480274
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00417640
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x40], 1
push eax
mov dword [ebp - 0x38], 0x10
mov dword [ebp - 0x34], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x4039f5
lea ecx, [ebp - 0x20]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4039a6
sub ecx, edx
lea eax, [ebp - 0x20]
push ecx
push eax
mov ecx, esi
call fcn.00415860
cmp byte [ebp - 0x39], 0
je 0x4039f5
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x4039f5
lea ecx, [ebp - 0x30]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4039e0
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
mov ecx, esi
call fcn.00415860
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046fb30
mov esp, ebp
pop ebp
ret
Function at 0x4161c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472680
mov eax, dword fs:[0]
push eax
mov eax, 0x145c
call fcn.00470470
push ebx
push esi
push edi
mov eax, dword [0x48d030]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x1468], ecx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1464], eax
mov esi, dword [ebp + 0x18]
xor eax, eax
mov dword [ebp - 4], 0
push esi
mov word [ebp - 0x1410], ax
mov byte [ebp - 0x410], al
call fcn.00401790
add esp, 4
mov dword [ebp - 0x1460], 3
mov edi, eax
mov dword [ebp - 0x145c], esi
mov ecx, 1
lock xadd dword [0x491cbc], ecx
inc ecx
mov dword [ebp - 0x1458], ecx
mov dword [ebp - 0x1454], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x1450], eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1464]
mov dword [ebp - 0x1418], eax
mov eax, dword [ebp - 0x1468]
mov dword [ebp - 0x1414], eax
mov eax, dword [0x491a18]
mov dword [ebp - 0x1444], str.C:Codes_ALLE_LearningOmarRaeiaWebView2Browser_mainpackagesMicrosoft.Windows.ImplementationLibrary.1.0.191107.2includewil_resource.h
mov dword [ebp - 0x1440], ebx
mov dword [ebp - 0x143c], edi
mov dword [ebp - 0x144c], 0
mov dword [ebp - 0x1448], 0
mov dword [ebp - 0x1438], 0
movq qword [ebp - 0x1428], xmm0
mov dword [ebp - 0x1420], 0
movq qword [ebp - 0x1434], xmm0
mov dword [ebp - 0x142c], 0
test eax, eax
je 0x4162e4
call eax
mov dword [ebp - 0x141c], eax
jmp 0x4162ee
mov dword [ebp - 0x141c], 0
mov eax, dword [0x4919f4]
test eax, eax
je 0x41630c
push 0x400
lea ecx, [ebp - 0x410]
push ecx
lea ecx, [ebp - 0x1460]
push ecx
call eax
mov eax, dword [0x4919ec]
test eax, eax
je 0x41631e
lea ecx, [ebp - 0x1460]
push ecx
call eax
mov eax, dword [0x491a04]
test eax, eax
je 0x416330
lea ecx, [ebp - 0x1460]
push ecx
call eax
mov eax, dword [ebp - 0x145c]
mov ecx, 0x8000ffff
test eax, eax
cmovns eax, ecx
cmp byte [0x4919d4], 0
mov dword [ebp - 0x145c], eax
jne 0x416390
mov eax, dword [0x4919cc]
test eax, eax
je 0x41635f
call eax
movzx eax, al
jmp 0x41636b
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb eax, eax
neg eax
test eax, eax
jne 0x416390
mov eax, dword [0x4919d8]
test eax, eax
je 0x4163e8
cmp byte [0x4919e4], 0
jne 0x4163e8
push 0
push 0
lea ecx, [ebp - 0x1460]
push ecx
call eax
jmp 0x4163e8
mov eax, dword [0x4919d8]
test eax, eax
je 0x4163b7
cmp byte [0x4919e4], 0
jne 0x4163b7
push 0x800
lea ecx, [ebp - 0x1410]
push ecx
lea ecx, [ebp - 0x1460]
push ecx
call eax
cmp word [ebp - 0x1410], 0
jne 0x4163db
lea eax, [ebp - 0x1460]
mov edx, 0x800
push eax
lea ecx, [ebp - 0x1410]
call fcn.00401410
add esp, 4
lea eax, [ebp - 0x1410]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp byte [0x4919dc], 0
je 0x4163fc
mov eax, dword [0x4919fc]
test eax, eax
je 0x4163fc
call eax
lea ecx, [ebp - 0x1460]
mov dword [ebp - 4], 0xffffffff
call fcn.004027b0
int3

Function at 0x416420
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041bd70
Function at 0x4231f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473556
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x48d030]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 0
push 0x60
mov dword [ebp - 0x14], eax
mov dword [ebx], 0
call fcn.0046fd40
xorps xmm0, xmm0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x5c], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x18], 0
movups xmmword [eax + 0x20], xmm0
movups xmmword [eax + 0x30], xmm0
movups xmmword [eax + 0x40], xmm0
movq qword [eax + 0x50], xmm0
mov dword [eax + 0x58], 0
mov dword [ebx], eax
mov dword [eax + 0x14], esi
mov ecx, dword [ebx]
mov eax, dword [ebp + 0xc]
push 0x4801f8
push 0x10
mov dword [ecx + 0x18], eax
mov edi, dword [ebx]
mov dword [ebp - 0x1c], 3
call fcn.0046fd70
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4232f1
mov dword [ebp - 4], 1
mov ecx, dword [0x491cac]
mov dword [esi + 8], 1
mov dword [esi], vtable.Microsoft::WRL::RuntimeClass_struct_Microsoft::WRL::RuntimeClassFlags_2___struct_ICoreWebView2WebMessageReceivedEventHandler_.0
test ecx, ecx
je 0x4232e4
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov dword [esi + 0xc], edi
mov eax, esi
mov dword [esi], method.Microsoft::WRL::RuntimeClass_struct_Microsoft::WRL::RuntimeClassFlags_2___struct_ICoreWebView2WebMessageReceivedEventHandler_.virtual_0
jmp 0x4232f3
xor eax, eax
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x58], eax
mov dword [ebp - 4], 2
test ecx, ecx
je 0x42330a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebx]
xor esi, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push 0x4801f8
push 0x14
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
mov al, byte [ebp + 0x10]
mov byte [ebp - 0x28], al
call fcn.0046fd70
mov edi, eax
add esp, 8
test edi, edi
je 0x423371
mov dword [ebp - 4], 4
mov ecx, dword [0x491cac]
mov dword [edi + 8], 1
mov dword [edi], vtable.Microsoft::WRL::RuntimeClass_struct_Microsoft::WRL::RuntimeClassFlags_2___struct_ICoreWebView2CreateCoreWebView2ControllerCompletedHandler_.0
test ecx, ecx
je 0x42335b
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov eax, dword [ebp - 0x28]
mov esi, edi
mov ecx, dword [ebp - 0x10]
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], eax
mov dword [edi], method.Microsoft::WRL::RuntimeClass_struct_Microsoft::WRL::RuntimeClassFlags_2___struct_ICoreWebView2CreateCoreWebView2ControllerCompletedHandler_.virtual_0
jmp 0x423374
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x24], esi
push esi
mov dword [ebp - 4], 5
push dword [ecx + 0x14]
push dword [ebp - 0x14]
call dword [ebp - 0x18]
mov dword [ebp - 4], 6
test esi, esi
je 0x423399
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4238a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [0x48d030]
xor eax, esp
mov dword [esp + 8], eax
mov eax, dword [ecx]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push dword [eax + 0x18]
mov ecx, dword [ecx + 4]
call fcn.0040c400
mov edx, str.Cant_update_reload_button
mov ecx, eax
call fcn.0040fa00
push 0x48d060
push 0x491c38
push 0
push 0x18
push str.ProxyEnable
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x42396a
cmp dword [0x491c38], 1
jne 0x42396a
mov eax, dword [esi]
push 1
push esi
call dword [eax + 0x20]
lea eax, [esp + 4]
mov dword [esp + 8], 0
push eax
push 2
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x423953
push 1
lea eax, [esp + 0xc]
push eax
push 4
push 0
push str.ProxyEnable
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [esp + 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80004004
pop esi
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.0046fb30
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0xc]
xor eax, eax
pop esi
xor ecx, esp
call fcn.0046fb30
mov esp, ebp
pop ebp
ret 8