joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409e04
Capabilities:
Check if file exists

Disassembly:
push 0x28c
mov eax, 0x419039
call fcn.0040bccb
lea eax, [ebp - 0x290]
push eax
push str.PPTAssist.Addins
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
test eax, eax
js 0x409ec4
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x298]
push eax
push 0x41c900
push 1
push ebx
lea eax, [ebp - 0x290]
push eax
mov dword [ebp - 0x298], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x409ec4
push ebx
mov esi, str.HKEY_CURRENT_USERSoftwareClassesPPTAssist.ControlCLSID_
push esi
call fcn.0040517b
pop ecx
pop ecx
cmp al, bl
je 0x409ec4
xor eax, eax
push 0x62
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push ebx
push eax
call fcn.0040b4c0
push ebx
push 0x32
lea eax, [ebp - 0x74]
push eax
push esi
call fcn.00404f04
add esp, 0x1c
push str.1077138E_896C_445E_BD31_CFCFFA4636C4
lea ecx, [ebp - 0x294]
call fcn.0040313e
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x294]
mov dword [ebp - 4], ebx
call fcn.004041a3
test eax, eax
je 0x409ecc
mov ecx, dword [ebp - 0x294]
add ecx, 0xfffffff0
call fcn.0040124f
xor al, al
call fcn.0040bd4e
ret
push ebx
push str.HKEY_CURRENT_USERSoftwareClassesCLSID1077138E_896C_445E_BD31_CFCFFA4636C4InprocServer32_
call fcn.0040517b
pop ecx
pop ecx
test al, al
je 0x409eb6
xor eax, eax
push 0x208
mov word [ebp - 0x280], ax
lea eax, [ebp - 0x27e]
push ebx
push eax
call fcn.0040b4c0
push ebx
push 0x104
lea eax, [ebp - 0x280]
push eax
push str.HKEY_CURRENT_USERSoftwareClassesCLSID034DF736_A378_4292_ACAE_A561088999F5InprocServer32_
call fcn.00404f04
add esp, 0x1c
lea eax, [ebp - 0x280]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x294]
add ecx, 0xfffffff0
test eax, eax
je 0x409ebf
call fcn.0040124f
mov al, 1
jmp 0x409ec6
Function at 0x409f35
Capabilities:
Check if file exists

Disassembly:
push 0x484
mov eax, 0x41906c
call fcn.0040bccb
push 0
mov edi, str.HKEY_CURRENT_USERSoftwareClassesCLSID034DF736_A378_4292_ACAE_A561088999F5InprocServer32_
push edi
call fcn.0040517b
pop ecx
pop ecx
test al, al
je 0x40a011
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x280], ax
lea eax, [ebp - 0x27e]
push eax
call fcn.0040b4c0
mov esi, 0x100
push esi
push 0x104
lea eax, [ebp - 0x280]
push eax
push edi
call fcn.00404f04
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x1c
lea eax, [ebp - 0x280]
push eax
call ebx
test eax, eax
je 0x40a011
push 0
push str.HKEY_CURRENT_USERSoftwareClassesPPTAssist.ControlCLSID_
call fcn.0040517b
pop ecx
pop ecx
test al, al
je 0x40a011
xor eax, eax
push 0x62
push eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push eax
call fcn.0040b4c0
push esi
push 0x32
lea eax, [ebp - 0x74]
push eax
push str.HKEY_CURRENT_USERSoftwareClassesPPTAssist.ControlCLSID_
call fcn.00404f04
add esp, 0x1c
push str.1077138E_896C_445E_BD31_CFCFFA4636C4
lea ecx, [ebp - 0x490]
call fcn.0040313e
and dword [ebp - 4], 0
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x490]
call fcn.004041a3
test eax, eax
je 0x40a019
mov ecx, dword [ebp - 0x490]
add ecx, 0xfffffff0
call fcn.0040124f
xor al, al
call fcn.0040bd4e
ret
push esi
push str.HKEY_CURRENT_USERSoftwareClassesCLSID1077138E_896C_445E_BD31_CFCFFA4636C4InprocServer32_
call fcn.0040517b
pop ecx
pop ecx
test al, al
je 0x40a003
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x48c], ax
lea eax, [ebp - 0x48a]
push eax
call fcn.0040b4c0
push esi
push 0x104
lea eax, [ebp - 0x48c]
push eax
push edi
call fcn.00404f04
add esp, 0x1c
lea eax, [ebp - 0x48c]
push eax
call ebx
mov ecx, dword [ebp - 0x490]
add ecx, 0xfffffff0
test eax, eax
je 0x40a00c
call fcn.0040124f
mov al, 1
jmp 0x40a013
Function at 0x40a3c3
Capabilities:
Enumerate processes

Disassembly:
push 0x458
mov eax, 0x41911b
call fcn.0040bccb
mov edi, dword [ebp + 8]
call fcn.0040751f
xor ebx, ebx
push str.psapi.dll
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x454], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x458], eax
cmp eax, ebx
je 0x40a5d0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetProcessImageFileNameW
push eax
call esi
push str.GetModuleFileNameExW
push dword [ebp - 0x458]
mov dword [ebp - 0x45c], eax
call esi
push ebx
push 2
mov dword [ebp - 0x460], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, 0x22c
push esi
mov dword [ebp - 0x450], eax
lea eax, [ebp - 0x444]
push ebx
push eax
call fcn.0040b4c0
add esp, 0xc
push edi
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x444], esi
call fcn.0040313e
push ebx
push 0x41a800
lea ecx, [ebp - 0x448]
mov dword [ebp - 4], ebx
call fcn.004059b4
mov ecx, dword [ebp - 0x448]
mov ecx, dword [ecx - 0xc]
sub ecx, eax
push ecx
lea eax, [ebp - 0x44c]
push eax
lea ecx, [ebp - 0x448]
call fcn.004094c6
push eax
lea ecx, [ebp - 0x448]
mov byte [ebp - 4], 1
call fcn.00404a7c
mov ecx, dword [ebp - 0x44c]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.0040124f
lea ecx, [ebp - 0x448]
call fcn.00405be8
lea eax, [ebp - 0x444]
push eax
push dword [ebp - 0x450]
call sub.KERNEL32.dll_Process32FirstW
cmp eax, ebx
je 0x40a5aa
mov esi, 0x104
push dword [ebp - 0x43c]
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebx
je 0x40a589
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.0040b4c0
add esp, 0xc
push esi
lea eax, [ebp - 0x218]
push eax
cmp dword [ebp - 0x464], ebx
jne 0x40a52f
push ebx
push edi
call dword [ebp - 0x460]
jmp 0x40a536
push edi
call dword [ebp - 0x45c]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x44c]
call fcn.0040313e
lea ecx, [ebp - 0x44c]
mov byte [ebp - 4], 2
call fcn.00405be8
push ebx
push dword [ebp - 0x448]
lea ecx, [ebp - 0x44c]
call fcn.004059b4
cmp eax, 0xffffffff
jle 0x40a578
mov dword [ebp - 0x454], 1
mov ecx, dword [ebp - 0x44c]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.0040124f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x444]
push eax
push dword [ebp - 0x450]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40a4db
push dword [ebp - 0x450]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x458]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x448]
add ecx, 0xfffffff0
call fcn.0040124f
mov eax, dword [ebp - 0x454]
call fcn.0040bd4e
ret
Function at 0x40ad05
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x423758], 0
push esi
push edi
jne 0x40ac7b
call fcn.0040abe7
test eax, eax
je 0x40acc0
mov eax, dword [0x423758]
cmp eax, 1
jne 0x40ac9c
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x40acc0
jmp 0x40ad02
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x40ad02
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x40acc4
xor eax, eax
jmp 0x40ad02
mov eax, dword [esi]
push dword [0x423758]
call edi
mov edi, eax
test edi, edi
je 0x40ace6
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x40ad02
lea edi, [esi + 0xff0]
push esi
push dword [0x423758]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x40acec
mov eax, esi
pop edi
pop esi
ret
jmp 0x40ac67

Function at 0x40b555
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4223b0]
jne 0x40b55f
repz ret
jmp fcn.0040f20f
Function at 0x413b32
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4223b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040dde2
and dword [ebp - 0x14], 0
cmp dword [0x424564], 0
mov dword [ebp - 0x18], eax
jne 0x413be5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x413c8d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x413c8d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x41d984
push ebx
mov dword [0x424564], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x424568], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42456c], eax
call edi
push eax
call esi
mov dword [0x424574], eax
test eax, eax
je 0x413be5
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x424570], eax
mov eax, dword [0x424570]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x413c3e
cmp dword [0x424574], ecx
je 0x413c3e
push eax
call esi
push dword [0x424574]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x413c3e
test ebx, ebx
je 0x413c3e
call edi
test eax, eax
je 0x413c35
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x413c35
test byte [ebp - 8], 1
jne 0x413c3e
or dword [ebp + 0x10], 0x200000
jmp 0x413c71
mov eax, dword [0x424568]
cmp eax, dword [ebp - 0x18]
je 0x413c71
push eax
call esi
test eax, eax
je 0x413c71
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x413c71
mov eax, dword [0x42456c]
cmp eax, dword [ebp - 0x18]
je 0x413c71
push eax
call esi
test eax, eax
je 0x413c71
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x424564]
call esi
test eax, eax
je 0x413c8d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x413c8f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b555
leave
ret
Function at 0x1002d5c
Capabilities:
Parse pe header

Disassembly:
push 0x28
push 0x10012c0
call fcn.01002f14
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x1002d97
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002d97
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1002daf
cmp eax, 0x20b
je 0x1002d9c
mov dword [ebp - 0x1c], edi
jmp 0x1002dc3
cmp dword [ecx + 0x84], 0xe
jbe 0x1002d97
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x1002dbd
cmp dword [ecx + 0x74], 0xe
jbe 0x1002d97
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x10068e8], 0xffffffff
or dword [0x10068ec], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1005848]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1005844]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x10068f0], eax
call fcn.01002f0a
cmp dword [0x100523c], edi
jne 0x1002e1e
push fcn.01002f0a
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01002ef3
push 0x1005010
push 0x100500c
call sub.msvcrt.dll__initterm
mov eax, dword [0x1005840]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x100583c]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x34], eax
push 0x1005008
push section..data
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.010029f9
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x1002e95
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1002eca
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01002f4f
ret

Function at 0x40106f
Capabilities:
Access peb ldr_data

Disassembly:
xor eax, eax
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ebx, dword [eax + 0x14]
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x4010b1
mov dword [0x4030e4], ecx
xor edi, edi
xor eax, eax
cld
mov esi, dword [0x4030e4]
lodsw ax, word [esi]
test ax, ax
je 0x4010a3
ror edi, 0xd
add edi, eax
jmp 0x401095
cmp edi, dword [0x4030f0]
je 0x4010b5
mov ebx, dword [ebx]
test ebx, ebx
jne 0x40107d
xor eax, eax
jmp 0x4010d6
mov eax, dword [ebx + 0x10]
mov dword [0x4030ec], eax
mov edx, dword [eax + 0x3c]
add edx, eax
mov edx, dword [edx + 0x78]
add edx, eax
mov dword [0x4030e8], edx
mov eax, 1
jmp 0x4010d6
ret
Function at 0x10017ca
Capabilities:
Parse pe header

Disassembly:
push 0x28
push 0x1001250
call fcn.01001968
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x1001805
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001805
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x100181d
cmp eax, 0x20b
je 0x100180a
mov dword [ebp - 0x1c], edi
jmp 0x1001831
cmp dword [ecx + 0x84], 0xe
jbe 0x1001805
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x100182b
cmp dword [ecx + 0x74], 0xe
jbe 0x1001805
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x10020c8], 0xffffffff
or dword [0x10020cc], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x10020c4]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x10020c0]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x10020d0], eax
call fcn.01001962
cmp dword [0x100201c], edi
jne 0x100188c
push fcn.01001962
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01001950
push 0x10010b8
push 0x10010b4
call sub.msvcrt.dll__initterm
mov eax, dword [0x10020bc]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x10020b8]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x30], eax
push 0x10010b0
push 0x10010ac
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x24]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.010012b0
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x1c], edi
jne 0x1001903
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1001938
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.010019a1
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x417da0
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, dword [edi]
test esi, esi
je 0x417e02
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
mov dword [edi], 0
lea esp, [esp]
cmp esi, 0x400000
mov eax, 0x400000
ja 0x417dcf
mov eax, esi
mov edx, dword [ebp]
push 0
lea ecx, [esp + 0x20]
push ecx
push eax
push ebx
push edx
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x1c]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x417e07
test ecx, ecx
je 0x417e00
test esi, esi
ja 0x417dc0
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
ret
pop ebp
pop ebx
pop edi
pop esi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x417e20
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, dword [edi]
test esi, esi
je 0x417e82
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
mov dword [edi], 0
lea esp, [esp]
cmp esi, 0x400000
mov eax, 0x400000
ja 0x417e4f
mov eax, esi
mov edx, dword [ebp]
push 0
lea ecx, [esp + 0x20]
push ecx
push eax
push ebx
push edx
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x1c]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x417e87
test ecx, ecx
je 0x417e80
test esi, esi
ja 0x417e40
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
ret
pop ebp
pop ebx
pop edi
pop esi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x4181f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x547fc0], ecx
add edx, 1
cmp edx, 0x100
jl 0x4181f2
cmp edx, 0x800
jae 0x4182db
mov edi, edi
mov eax, dword [edx*4 + 0x547bc0]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x547fc0]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x547fbc], eax
jb 0x4182b0
mov dword [0x544960], 0x41a820
call fcn.0041a9f0
test eax, eax
jne 0x4182f8
mov dword [0x544960], 0x41a8d0
ret
Function at 0x41e870
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
mov ecx, dword [esp + 0x14]
push ebp
mov ebp, dword [ecx]
mov ecx, dword [esp + 0x10]
xor eax, eax
and ebp, 7
cmp ecx, 5
jae 0x41e889
pop ebp
pop ecx
ret
mov edx, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [esp + 0x1c]
add esi, 5
lea edx, [edx + ecx - 4]
push edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x10], edx
jmp 0x41e8b0
mov ecx, dword [esp + 0x18]
lea edi, [eax + ecx]
cmp edi, edx
jae 0x41e8cf
jmp 0x41e8c0
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x41e8cf
add edi, 1
cmp edi, edx
jb 0x41e8c0
mov eax, edi
sub eax, ecx
mov ecx, eax
sub ecx, dword [esp + 0x1c]
cmp edi, edx
jae 0x41e9e5
cmp ecx, 3
jbe 0x41e905
xor ebp, ebp
mov cl, byte [edi + 4]
test cl, cl
mov dword [esp + 0x1c], eax
je 0x41e943
cmp cl, 0xff
je 0x41e943
and ebp, 3
add ebp, ebp
or ebp, 1
add eax, 1
jmp 0x41e8b0
add ecx, 0xffffffff
shl ebp, cl
and ebp, 7
je 0x41e8e8
movzx ecx, byte [ebp + 0x4fd9c4]
mov ebx, edi
sub ebx, ecx
cmp byte [ebp + 0x4fd9bc], 0
mov cl, byte [ebx + 4]
je 0x41e92f
test cl, cl
je 0x41e92f
cmp cl, 0xff
jne 0x41e8e8
and ebp, 3
add ebp, ebp
mov dword [esp + 0x1c], eax
or ebp, 1
add eax, 1
jmp 0x41e8b0
xor edx, edx
mov dh, cl
movzx ecx, byte [edi + 2]
mov dl, byte [edi + 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, ecx
lea esp, [esp]
cmp dword [esp + 0x28], 0
je 0x41e96e
lea ebx, [edx + eax]
add ebx, esi
jmp 0x41e974
sub edx, eax
sub edx, esi
mov ebx, edx
test ebp, ebp
je 0x41e9b6
movzx esi, byte [ebp + 0x4fd9c4]
add esi, esi
add esi, esi
add esi, esi
mov ecx, 0x18
sub ecx, esi
mov edx, ebx
shr edx, cl
test dl, dl
je 0x41e999
cmp dl, 0xff
jne 0x41e9b2
mov ecx, 0x20
sub ecx, esi
mov esi, dword [esp + 0x20]
mov edx, 1
shl edx, cl
sub edx, 1
xor edx, ebx
jmp 0x41e960
mov esi, dword [esp + 0x20]
mov edx, ebx
shr edx, 0x18
and dl, 1
sub dl, 1
not dl
mov byte [edi + 4], dl
mov edx, ebx
shr edx, 8
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 2], dl
mov edx, dword [esp + 0x10]
mov byte [edi + 3], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x41e8b0
cmp ecx, 3
pop edi
pop esi
pop ebx
jbe 0x41e9f8
mov ecx, dword [esp + 0x18]
xor ebp, ebp
mov dword [ecx], ebp
pop ebp
pop ecx
ret
add ecx, 0xffffffff
shl ebp, cl
mov ecx, dword [esp + 0x18]
and ebp, 7
mov dword [ecx], ebp
pop ebp
pop ecx
ret

Function at 0x4258a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x4258bd
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call fcn.00425880
add esp, 4
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
je 0x4258dd
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
cmp eax, 0x2f
je 0x4258dd
push str.Comments_must_start_with__
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
push ecx
call fcn.00425900
add esp, 8
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov esp, ebp
pop ebp
ret 4
Function at 0x425900
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0xffffffff
jne 0x425919
mov eax, dword [ebp + 8]
push eax
call fcn.004b6330
add esp, 4
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
push ecx
call fcn.004b8525
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42593c
push str.Failed_to_allocate_string_value_buffer
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004b6960
add esp, 0xc
mov edx, dword [ebp - 4]
add edx, dword [ebp + 0xc]
mov byte [edx], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x426950
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
shl ecx, 0x18
sar ecx, 0x18
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 7
ja case.default.0x42697c
mov edx, dword [ebp - 0xc]
jmp dword [edx*4 + 0x426a34]
push 0x4fde57
mov ecx, dword [ebp + 8]
call fcn.004025b0
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
jmp 0x426a2c
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0
je 0x4269b3
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
jmp 0x4269ba
mov dword [ebp - 0x10], 0x4fde58
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004025b0
mov edx, dword [ebp - 4]
or edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
jmp 0x426a2c
mov eax, dword [ebp - 8]
movzx ecx, byte [eax]
test ecx, ecx
je 0x4269e7
mov dword [ebp - 0x14], 0x4fde5c
jmp 0x4269ee
mov dword [ebp - 0x14], 0x4fde64
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp + 8]
call fcn.004025b0
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
jmp 0x426a2c
push str.Type_is_not_convertible_to_string
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x4fde59
mov ecx, dword [ebp + 8]
call fcn.004025b0
mov ecx, dword [ebp - 4]
or ecx, 1
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 4