joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4013c5
Capabilities:
Encode data using xor

Disassembly:
jmp 0x4159d0
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x415b7a
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
sub byte [esi + ebx], 0x55
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xa5
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
xor byte [esi + ebx], 0x6b
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xa
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x91
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
add esp, 0x44
push eax
call fcn.0040616d
add byte [esi + ebx], 0x7c
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xc
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x18
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xc9
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xb9
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x29
add esp, 0x40
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xcd
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
xor byte [esi + ebx], 0x44
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x6c
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xa5
add esp, 0x30
inc esi
cmp esi, edi
jb 0x4159f0
pop ebx
pop edi
pop esi
ret

Function at 0x4035f3
Capabilities:
Terminate process

Disassembly:
jmp 0x453df9
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x453e0a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405948
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 0x40371f
Capabilities:
Query environment variable

Disassembly:
jmp 0x49c842
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49c853
pop esi
ret
push ebx
push edi
push esi
call fcn.0049c729
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fe4
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49c87b
push ebx
push esi
push edi
call fcn.0040572c
add esp, 0xc
push 0
call fcn.004062b2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40301c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x403028
push 0x403024
push 0x403020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x403028]
push dword [0x403024]
push dword [0x403020]
mov dword [0x403014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x4659a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x457015
lea edi, [esi - 0x56015]
push edi
or ebp, 0xffffffff
jmp 0x4659c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4659c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4659b8
mov eax, 1
add ebx, ebx
jne 0x4659db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4659d0
jne 0x4659ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4659d0
xor ecx, ecx
sub eax, 3
jb 0x465a00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x465a72
mov ebp, eax
add ebx, ebx
jne 0x465a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x465a18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x465a3c
inc ecx
add ebx, ebx
jne 0x465a28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x465a1d
jne 0x465a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465a1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x465a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x465a4d
jmp 0x4659be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x465a5c
add edi, ecx
jmp 0x4659be
pop esi
mov edi, esi
mov ecx, 0x33e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x465a7a
cmp byte [edi], 0
jne 0x465a7a
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 eax, ebx
loop 0x465a7f
lea edi, [esi + 0x63000]
mov eax, dword [edi]
or eax, eax
je 0x465aee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x651f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x65254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x465aac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x65258]
or eax, eax
je 0x465ae8
mov dword [ebx], eax
add ebx, 4
jmp 0x465ac9
call dword [esi + 0x6525c]
popal
jmp 0x40da18
Function at 0x401040
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebx
push str.Executing_shellcode..._n
call fcn.00401010
add esp, 4
push 0x40
push 0x1000
push 0x206f
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
jne 0x40107a
push str.Error_allocating_memory_for_shellcode._n
call fcn.00401010
add esp, 4
lea eax, [ebx + 1]
pop ebx
ret
push esi
push edi
push str.hello
call fcn.00401010
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 4
xor esi, esi
push 0
call edi
mov al, byte [esi + 0x402190]
add al, 3
push esi
push 0x402158
mov byte [esi + 0x4073e8], al
call fcn.00401010
inc esi
add esp, 8
cmp esi, 0x206f
jb 0x401091
xor esi, esi
nop dword [eax]
mov eax, esi
imul eax, esi
push eax
push 0x40215c
call fcn.00401010
inc esi
add esp, 8
cmp esi, 0x64
jl 0x4010c0
push 0x206f
push 0x206f
push 0x206f
push str._d__d__d
call fcn.00401010
add esp, 0x10
xor esi, esi
push 0
call edi
mov al, byte [esi + 0x4073e8]
sub al, 3
push esi
push 0x402158
mov byte [esi + 0x405378], al
call fcn.00401010
inc esi
add esp, 8
cmp esi, 0x206f
jb 0x4010f7
pop edi
pop esi
push 0x40216c
call fcn.00401010
push 0x206f
push 0x405378
push ebx
call sub.VCRUNTIME140.dll_memcpy
call ebx
push str.Shellcode_execution_complete._n
call fcn.00401010
add esp, 0x14
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
pop ebx
ret

Function at 0x401962
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4019a1
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4019a1
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4019a1
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4019a1
cmp dword [ecx + 0x74], 0xe
jbe 0x4019a1
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4078cd
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push ebp
push esi
xor esi, esi
push edi
mov edi, ecx
mov eax, esi
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmmword [0x6f48d290]
movups xmmword [edi + eax*4], xmm0
add eax, 4
cmp eax, 0x100
jl 0x4078d7
mov ebp, dword [esp + 0x14]
mov ebx, esi
xor edx, edx
mov eax, ebx
div dword [esp + 0x18]
movzx eax, byte [edx + ebp]
add eax, dword [edi + ebx*4]
add esi, eax
and esi, 0x800000ff
jns 0x40791d
dec esi
or esi, 0xffffff00
inc esi
mov cl, byte [edi + ebx*4]
mov eax, dword [edi + esi*4]
mov dword [edi + ebx*4], eax
inc ebx
movzx eax, cl
mov dword [edi + esi*4], eax
cmp ebx, 0x100
jl 0x4078fc
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x40793c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x400
lea eax, [esp]
push ebx
push esi
push edi
push 0x400
push ecx
xor esi, esi
push eax
mov edi, esi
call fcn.00437450
mov edx, dword [esp + 0x420]
add esp, 0xc
mov ebx, esi
add edx, 1
je 0x4079cc
push ebp
mov ebp, dword [esp + 0x414]
inc esi
and esi, 0x800000ff
jns 0x407982
dec esi
or esi, 0xffffff00
inc esi
mov eax, dword [esp + esi*4 + 0x10]
add edi, eax
and edi, 0x800000ff
jns 0x407998
dec edi
or edi, 0xffffff00
inc edi
mov cl, al
mov eax, dword [esp + edi*4 + 0x10]
mov dword [esp + esi*4 + 0x10], eax
movzx eax, cl
mov dword [esp + edi*4 + 0x10], eax
mov ecx, dword [esp + esi*4 + 0x10]
add ecx, eax
and ecx, 0x800000ff
jns 0x4079bf
dec ecx
or ecx, 0xffffff00
inc ecx
mov al, byte [esp + ecx*4 + 0x10]
xor byte [ebx + ebp], al
inc ebx
cmp ebx, edx
jb 0x407971
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x400
ret 8
Function at 0x402da0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470db0
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, 0x480484
mov eax, bind
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 0x4803f0
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.0046f931
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 0x470ebe
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 0x480254
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.004170d0
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.004152f0
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.004152f0
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.0046f931
mov esp, ebp
pop ebp
ret
Function at 0x415c50
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472600
mov eax, dword fs:[0]
push eax
mov eax, 0x145c
call fcn.00470270
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 [0x491c14], 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 [0x491970]
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 0x415d74
call eax
mov dword [ebp - 0x141c], eax
jmp 0x415d7e
mov dword [ebp - 0x141c], 0
mov eax, dword [0x49194c]
test eax, eax
je 0x415d9c
push 0x400
lea ecx, [ebp - 0x410]
push ecx
lea ecx, [ebp - 0x1460]
push ecx
call eax
mov eax, dword [0x491944]
test eax, eax
je 0x415dae
lea ecx, [ebp - 0x1460]
push ecx
call eax
mov eax, dword [0x49195c]
test eax, eax
je 0x415dc0
lea ecx, [ebp - 0x1460]
push ecx
call eax
mov eax, dword [ebp - 0x145c]
mov ecx, 0x8000ffff
test eax, eax
cmovns eax, ecx
cmp byte [0x49192c], 0
mov dword [ebp - 0x145c], eax
jne 0x415e20
mov eax, dword [0x491924]
test eax, eax
je 0x415def
call eax
movzx eax, al
jmp 0x415dfb
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb eax, eax
neg eax
test eax, eax
jne 0x415e20
mov eax, dword [0x491930]
test eax, eax
je 0x415e78
cmp byte [0x49193c], 0
jne 0x415e78
push 0
push 0
lea ecx, [ebp - 0x1460]
push ecx
call eax
jmp 0x415e78
mov eax, dword [0x491930]
test eax, eax
je 0x415e47
cmp byte [0x49193c], 0
jne 0x415e47
push 0x800
lea ecx, [ebp - 0x1410]
push ecx
lea ecx, [ebp - 0x1460]
push ecx
call eax
cmp word [ebp - 0x1410], 0
jne 0x415e6b
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 [0x491934], 0
je 0x415e8c
mov eax, dword [0x491954]
test eax, eax
je 0x415e8c
call eax
lea ecx, [ebp - 0x1460]
mov dword [ebp - 4], 0xffffffff
call fcn.004027b0
int3

Function at 0x415eb0
Capabilities:
Print debug messages

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4734d6
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.0046fb41
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 0x4801d0
push 0x10
mov dword [ecx + 0x18], eax
mov edi, dword [ebx]
mov dword [ebp - 0x1c], 3
call fcn.0046fb71
mov esi, eax
add esp, 0xc
test esi, esi
je 0x422bd1
mov dword [ebp - 4], 1
mov ecx, dword [0x491c04]
mov dword [esi + 8], 1
mov dword [esi], vtable.Microsoft::WRL::RuntimeClass_struct_Microsoft::WRL::RuntimeClassFlags_2___struct_ICoreWebView2WebMessageReceivedEventHandler_.0
test ecx, ecx
je 0x422bc4
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 0x422bd3
xor eax, eax
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x58], eax
mov dword [ebp - 4], 2
test ecx, ecx
je 0x422bea
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 0x4801d0
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.0046fb71
mov edi, eax
add esp, 8
test edi, edi
je 0x422c51
mov dword [ebp - 4], 4
mov ecx, dword [0x491c04]
mov dword [edi + 8], 1
mov dword [edi], vtable.Microsoft::WRL::RuntimeClass_struct_Microsoft::WRL::RuntimeClassFlags_2___struct_ICoreWebView2CreateCoreWebView2ControllerCompletedHandler_.0
test ecx, ecx
je 0x422c3b
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 0x422c54
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 0x422c79
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 0x42c7b0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
sub esp, 0x18
mov eax, dword [0x48d030]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov esi, dword [esp + 0x20]
test esi, esi
je 0x42c87b
lea eax, [esp + 4]
push eax
push esi
push 2
call fcn.00449140
add esp, 0xc
test eax, eax
jne 0x42c87b
lea eax, [esp + 8]
push eax
push esi
push 0x17
call fcn.00449140
add esp, 0xc
test eax, eax
jne 0x42c87b
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x42c804
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.00449110
add esp, 0xc
test eax, eax
je 0x42c838
sub eax, esi
push eax
push 0x2e
push esi
call fcn.00449110
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x42c83a
inc ebx
mov ecx, esi
sub ecx, ebx
add edi, ecx
test ebx, ebx
cmovne esi, ebx
mov ebx, 0x1505
add edi, esi
cmp esi, edi
jae 0x42c866
mov al, byte [esi]
push eax
call fcn.0043b030
movsx ecx, al
inc esi
mov eax, ebx
add esp, 4
shl eax, 5
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp esi, edi
jb 0x42c848
pop edi
movzx eax, bl
pop ebx
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0046f931
add esp, 0x18
ret
mov ecx, dword [esp + 0x18]
xor eax, eax
pop esi
xor ecx, esp
call fcn.0046f931
add esp, 0x18
ret
Function at 0x4373d0
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp byte [edi + 0xb42], 0
je 0x43745b
cmp dword [edi + 0x600], 0
push esi
je 0x43741d
push 1
push edi
call fcn.004282f0
push dword [edi + 0x594]
mov eax, dword [edi + 0x600]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push edi
call eax
push 0
push edi
mov esi, eax
call fcn.004282f0
add esp, 0x24
mov eax, esi
pop esi
pop edi
ret
mov eax, dword [esp + 0x10]
cmp eax, 2
ja 0x437456
push dword [edi + 0x590]
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
lea eax, [eax + eax*2]
push 1
add eax, 0x4759b0
push 2
push eax
call esi
push dword [edi + 0x590]
push 1
push dword [esp + 0x30]
push dword [esp + 0x30]
call esi
add esp, 0x20
pop esi
xor eax, eax
pop edi
ret
xor eax, eax
pop edi
ret

Function at 0x437a30
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub esp, 0x10c
mov eax, dword [0x48d030]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x118]
mov edx, dword [esp + 0x114]
push ebx
mov ebx, dword [esp + 0x114]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x124]
mov dword [esp + 4], eax
xor eax, eax
mov ecx, dword [ebx + 0x424]
cmp edx, ecx
push ebp
sete al
push esi
mov esi, 0x448
push edi
lea eax, [eax*4 + 0x420]
mov ebp, dword [eax + ebx]
mov eax, 0x458
cmove esi, eax
mov eax, dword [ebx + 0x568]
add esi, ebx
mov edi, dword [esi + 4]
sub edi, dword [esi + 8]
test byte [eax + 0x40], 3
je 0x437b2f
xor eax, eax
cmp edx, ecx
sete al
lea eax, [eax*4 + 0x438]
cmp dword [eax + ebx], 0x437700
jne 0x437b2f
cmp dword [esi], 0
je 0x437ac8
test edi, edi
je 0x437b2f
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebp
call fcn.004463e0
add esp, 0x14
cmp eax, 0xffffffff
je 0x437b2f
test al, 1
je 0x437b2f
mov ecx, dword [esi]
test ecx, ecx
jne 0x437b18
mov eax, dword [ebx]
mov eax, dword [eax + 0x91c]
add eax, eax
push eax
mov dword [esi + 4], eax
call dword [section..data]
mov ecx, eax
add esp, 4
mov dword [esi], ecx
test ecx, ecx
je 0x437b63
mov edi, dword [esi + 4]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov eax, dword [esi + 8]
push 0
push edi
add eax, ecx
push eax
push ebp
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x437b2f
add dword [esi + 8], eax
push 0
push dword [esp + 0x130]
push dword [esp + 0x1c]
push ebp
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
xor eax, eax
cmp esi, 0xffffffff
jne 0x437ba1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2733
jne 0x437b74
xor esi, esi
lea eax, [esi + 0x51]
jmp 0x437ba1
mov ecx, dword [esp + 0x10]
mov eax, 0x1b
mov dword [ecx], 0xffffffff
jmp 0x437ba7
push 0x100
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.004618f0
push eax
push str.Send_failure:__s
push dword [ebx]
call fcn.00437460
mov eax, dword [ebx]
add esp, 0x18
mov dword [eax + 0xd9c], edi
mov eax, 0x37
mov ecx, dword [esp + 0x10]
mov dword [ecx], esi
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046f931
add esp, 0x10c
ret
Function at 0x437f80
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 4]
cmp byte [eax + 0x474], 0
je 0x437f9d
push eax
call fcn.00431180
add esp, 4
test eax, eax
jne 0x437fbc
xor al, al
ret
mov eax, dword [eax + 0x420]
cmp eax, 0xffffffff
je 0x437f9a
push 2
push 1
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x437f9a
mov al, 1
ret