joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48e1d0
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f26e1
push eax
mov eax, 0x2898
mov dword fs:[0], esp
call fcn.004e33a0
push esi
mov dword [ebp - 4], 0
push edi
mov dword [ebp - 0x18], 0
mov edi, dword [ebp + 8]
mov ecx, edi
push 0x4fd088
mov dword [ebp - 0x10], 0
call dword [sym.imp.mfc140.dll_Ordinal_310]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
push eax
push 0
push 0
push 0
push 2
mov dword [ebp - 0x18], 1
call esi
cmp eax, 0x6f
jne 0x48e300
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_265]
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x20], ebx
push eax
push ebx
push 0
push 0
push 2
call esi
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x2880
push eax
lea eax, [ebp - 0x28a4]
push eax
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x48e2f5
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_316]
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 1
call dword [sym.imp.mfc140.dll_Ordinal_316]
xor esi, esi
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2714], esi
jbe 0x48e2df
mov ebx, dword [sym.imp.mfc140.dll_Ordinal_4807]
nop dword [eax]
movzx eax, byte [ebp + esi - 0x2710]
push eax
lea eax, [ebp - 0x14]
push str._02x
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call dword [sym.imp.mfc140.dll_Ordinal_1692]
inc esi
cmp esi, dword [ebp - 0x2714]
jb 0x48e2b0
mov ebx, dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc140.dll_Ordinal_1044]
push ebx
call dword [sym.imp.mfc140.dll_Ordinal_266]
add esp, 4
pop ebx
mov ecx, edi
call dword [sym.imp.mfc140.dll_Ordinal_8679]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x490e40
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e3b60
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 0x218]
mov dword [esi], vtable.CRALFIIDoc.0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 4], 0
cmp dword [esi + 0x89c], 0
mov ebx, dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
jbe 0x490ea4
mov eax, dword [esi + 0x898]
push dword [eax]
call ebx
push ecx
lea ecx, [esi + 0x898]
call fcn.00464120
cmp dword [esi + 0x89c], 0
ja 0x490e85
lea ecx, [esi + 0x898]
call fcn.00434a50
mov dword [ebp - 4], 1
cmp dword [esi + 0x22c], 0
jbe 0x490ede
mov eax, dword [esi + 0x228]
push dword [eax]
call ebx
push ecx
lea ecx, [esi + 0x228]
call fcn.00464120
cmp dword [esi + 0x22c], 0
ja 0x490ebf
lea ecx, [esi + 0x280]
call fcn.00406ba0
lea ecx, [esi + 0x228]
call fcn.00434a50
mov dword [ebp - 4], 0xffffffff
or edi, 0xffffffff
mov edx, dword [esi + 0x218]
mov eax, edi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x490f1b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esi + 0x214]
mov eax, edi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x490f38
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esi + 0x210]
mov eax, edi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x490f55
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esi + 0x204]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov edx, dword [esi + 0x1f0]
mov eax, edi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x490f7e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esi + 0x1ec]
mov eax, edi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x490f9b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esi + 0x1e8]
mov eax, edi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x490fb8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esi + 0x1e4]
mov eax, edi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x490fd5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esi + 0x1d0]
sub edx, 0x10
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x490ff0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esi + 0x118]
call fcn.0045c7b0
lea ecx, [esi + 0x104]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov ecx, esi
call dword [sym.imp.mfc140.dll_Ordinal_1126]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x491030
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2c84
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
push esi
push edi
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x11c]
mov dword [ebp - 4], 2
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x220]
push eax
push 0
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140.dll_Ordinal_5096]
push eax
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x220]
push eax
mov ecx, edi
call dword [sym.imp.mfc140.dll_Ordinal_310]
mov eax, dword [edi]
mov ecx, edi
mov dword [ebp - 0x10], 1
mov eax, dword [eax - 0xc]
add eax, 0xfffffffd
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_8322]
mov esi, eax
mov ecx, esi
mov byte [ebp - 4], 4
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_305]
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi]
mov dword [ebp - 0x10], 3
push dword [eax - 0xc]
push eax
push dword [ecx - 0xc]
lea eax, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call dword [sym.imp.mfc140.dll_Ordinal_1526]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], 1
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140.dll_Ordinal_1044]
cmp byte [ebp + 0x14], 0
je 0x491144
mov ecx, edi
call dword [sym.imp.mfc140.dll_Ordinal_8672]
push eax
mov ecx, edi
call dword [sym.imp.mfc140.dll_Ordinal_1526]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x491691
Capabilities:
Delete file

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov ebx, dword [esi + 0x10c]
test ebx, ebx
je 0x4916fc
mov edx, dword [esi + 0x108]
add edx, 0x2d8
mov ecx, dword [edx]
test ecx, ecx
je 0x4916fc
cmp dword [ecx + 8], ebx
mov edi, ecx
mov ecx, dword [ecx]
je 0x4916c0
test ecx, ecx
jne 0x4916b1
jmp 0x4916fc
cmp edi, dword [edx]
jne 0x4916c8
mov dword [edx], ecx
jmp 0x4916cd
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov ecx, dword [edi + 4]
cmp edi, dword [edx + 4]
jne 0x4916da
mov dword [edx + 4], ecx
jmp 0x4916df
mov eax, dword [edi]
mov dword [eax + 4], ecx
mov eax, dword [edx + 0x10]
mov dword [edi], eax
add dword [edx + 8], 0xffffffff
mov dword [edx + 0x10], edi
jne 0x4916f4
mov ecx, edx
call fcn.004bed80
push ecx
mov ecx, ebx
call fcn.004beb60
mov eax, dword [esi + 0x210]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [esi + 0x10c], 0
cmp dword [eax - 0xc], 0
jle 0x49171b
push eax
call edi
mov eax, dword [esi + 0x214]
cmp dword [eax - 0xc], 0
jle 0x49172a
push eax
call edi
mov eax, dword [esi + 0x208]
test eax, eax
je 0x491748
push eax
call dword [sym.imp.mfc140.dll_Ordinal_266]
add esp, 4
mov dword [esi + 0x208], 0
pop edi
mov ecx, esi
pop esi
pop ebx
jmp dword [sym.imp.mfc140.dll_Ordinal_9154]
Function at 0x4a8460
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b0
mov eax, dword [0x53b040]
xor eax, ebp
mov dword [ebp - 4], eax
push str.RtlGetVersion
push str.ntdll
mov dword [ebp - 0x1a4], 3
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4a855b
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0x1a0], 0x11c
push ecx
call eax
cmp dword [ebp - 0x190], 1
jne 0x4a856e
cmp dword [ebp - 0x198], 0
jne 0x4a856e
lea eax, [ebp - 0x1a8]
push eax
push 1
push 0
push str.Control_PanelDesktop
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4a856e
lea eax, [ebp - 0x1ac]
mov dword [ebp - 0x1ac], 0x80
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x1b0]
push eax
push 0
push str.WheelScrollLines
push dword [ebp - 0x1a8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4a853b
push 0xa
push eax
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
add esp, 0xc
mov dword [ebp - 0x1a4], eax
push dword [ebp - 0x1a8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x1a4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e22fe
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x1a4]
push eax
push 0
push 0x68
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1a4]
xor ecx, ebp
call fcn.004e22fe
mov esp, ebp
pop ebp
ret
Function at 0x4d4540
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f75b5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
push edi
lea edi, [ecx + 0x34]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x40]
xor esi, esi
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ecx
cmp dword [edi], 0
jne 0x4d46ea
xor ebx, ebx
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 4], ebx
call fcn.00401bb0
mov ecx, eax
test ecx, ecx
je 0x4d4711
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
push esi
mov byte [ebp - 4], 1
push dword [eax]
push dword [eax + 0x30]
lea eax, [ebp - 0x20]
push str._sSurvey_ldqb_d.dat
push eax
call fcn.004063e0
mov esi, dword [ebp - 0x20]
add esp, 0x14
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x4d45f4
call fcn.00464790
test eax, eax
js 0x4d46b2
jmp 0x4d45f9
mov ebx, eax
mov dword [ebp - 0x38], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x30], eax
cmp eax, 0xffffffff
jne 0x4d4618
call fcn.00464790
test eax, eax
js 0x4d461f
mov eax, dword [ebp - 0x30]
mov ecx, eax
mov dword [ebp - 0x18], ecx
jmp 0x4d4622
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.mfc140.dll_Ordinal_265]
add esp, 4
mov dword [edi], eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push 0
push ecx
mov ecx, dword [ebp - 0x18]
push ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4d4650
call fcn.00464790
mov ecx, dword [ebp - 0x14]
mov edi, dword [ecx]
mov dword [ecx + 0xc], edi
mov eax, dword [edi + 2]
add eax, edi
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 6]
add eax, edi
mov dword [ecx + 0x14], eax
mov eax, dword [edi + 0xa]
add eax, edi
mov dword [ecx + 0x18], eax
mov eax, dword [edi + 0xe]
add eax, edi
mov dword [ecx + 0x1c], eax
mov eax, dword [edi + 0x12]
add eax, edi
mov dword [ecx + 0x20], eax
mov eax, 0x24924925
mov ecx, dword [edi + 6]
sub ecx, dword [edi + 2]
mul ecx
mov eax, dword [ebp - 0x14]
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 3
mov dword [eax + 4], ecx
mov eax, 0x88888889
mov ecx, dword [edi + 0x16]
sub ecx, dword [edi + 0xe]
mov edi, dword [ebp - 0x14]
mul ecx
shr edx, 4
mov dword [edi + 8], edx
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4d46ce
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x4d46e7
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x38], 0
mov esi, dword [ebp - 0x1c]
inc esi
add edi, 0x24
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], edi
cmp esi, 4
jl 0x4d4576
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00401f30
int3
Function at 0x4e279f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4e27de
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4e27de
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4e27de
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4e27de
cmp dword [ecx + 0x74], 0xe
jbe 0x4e27de
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x7e7a5be3
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..rsrc
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x73322142
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x405e30
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4a2600]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor edx, edx
push edi
mov edi, dword [ebp + 0xc]
nop dword [eax + eax]
mov cl, byte [edx + esi]
lea eax, [ecx - 0x41]
cmp al, 0x19
ja 0x405e62
movsx eax, cl
sub eax, 0x41
jmp 0x405ea4
lea eax, [ecx - 0x61]
cmp al, 0x19
ja 0x405e71
movsx eax, cl
sub eax, 0x47
jmp 0x405ea4
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x405e80
movsx eax, cl
add eax, 4
jmp 0x405ea4
cmp cl, 0x2b
jne 0x405e8c
mov eax, 0x3e
jmp 0x405ea4
cmp cl, 0x2f
jne 0x405e98
mov eax, 0x3f
jmp 0x405ea4
cmp cl, 0x3d
jne 0x405f21
or eax, 0xffffffff
mov dword [ebp + edx*4 - 0x14], eax
inc edx
cmp edx, 4
jl 0x405e50
mov edx, dword [ebp - 0x14]
cmp edx, 0xffffffff
je 0x405f21
mov esi, dword [ebp - 0x10]
cmp esi, 0xffffffff
je 0x405f21
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
cmp ecx, 0xffffffff
jne 0x405ed2
cmp eax, ecx
jne 0x405f21
lea ebx, [ecx + 2]
jmp 0x405edd
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
add ebx, 2
shl edx, 6
and ecx, 0x3f
or edx, esi
and eax, 0x3f
shl edx, 6
or edx, ecx
shl edx, 6
or edx, eax
mov eax, edx
shr eax, 0x10
mov byte [edi], al
cmp ebx, 1
jbe 0x405f06
mov ecx, edx
shr ecx, 8
mov byte [edi + 1], cl
cmp ebx, 2
jbe 0x405f0e
mov byte [edi + 2], dl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429c12
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00429c12
mov esp, ebp
pop ebp
ret

Function at 0x406c60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
test esi, esi
je 0x406c95
push ebx
mov ebx, dword [ebp + 0xc]
sub ebx, eax
nop word [eax + eax]
movzx edx, byte [ebx + eax]
lea eax, [eax + 1]
movzx ecx, byte [eax - 1]
xor edx, ecx
or edi, edx
sub esi, 1
jne 0x406c80
pop ebx
mov eax, pe_nt_image_headers32
sub eax, edi
pop edi
shr eax, 8
pop esi
pop ebp
ret
Function at 0x407380
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x4a2600]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x40], edi
movups xmm0, xmmword [edi + 0x3c8]
movups xmmword [ebp - 0x34], xmm0
test ebx, ebx
jle 0x4074e5
dec ebx
add edx, 3
shr ebx, 4
inc ebx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ebx
push esi
movzx ecx, byte [edx - 3]
lea esi, [edx - 1]
movzx eax, byte [edx - 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], ecx
movzx ecx, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 6]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], ecx
movzx ecx, byte [edx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xa]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0xc], ecx
movzx ecx, byte [edx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xc]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 0x14]
push eax
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], ecx
call fcn.00407360
add esp, 8
xor edi, edi
mov edx, dword [ebp + edi - 0x34]
lea esi, [esi + 4]
mov ebx, dword [ebp + edi - 0x14]
mov ecx, edx
shr ecx, 0x18
mov eax, ebx
shr eax, 0x18
xor cl, al
mov eax, ebx
mov byte [esi - 6], cl
mov ecx, edx
shr ecx, 0x10
shr eax, 0x10
xor cl, al
mov eax, ebx
mov byte [esi - 5], cl
mov ecx, edx
shr eax, 8
xor dl, bl
shr ecx, 8
xor cl, al
mov byte [esi - 3], dl
mov eax, dword [ebp + edi - 0x24]
mov dword [ebp + edi - 0x34], eax
add edi, 4
mov byte [esi - 4], cl
cmp edi, 0x10
jl 0x407464
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x40]
add edx, 0x10
sub dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], edx
jne 0x4073c0
movups xmm0, xmmword [ebp - 0x34]
mov eax, edi
pop esi
pop edi
pop ebx
movups xmmword [eax + 0x3c8], xmm0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429c12
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
movups xmmword [edi + 0x3c8], xmm0
pop edi
xor ecx, ebp
pop ebx
call fcn.00429c12
mov esp, ebp
pop ebp
ret
Function at 0x408240
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4a2600]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
movups xmm0, xmmword [ebx + 0x3c8]
mov edi, dword [ebp + 0xc]
movups xmmword [ebp - 0x14], xmm0
test edi, edi
jle 0x40839d
mov edx, dword [ebp - 8]
dec edi
shr edi, 4
add esi, 2
inc edi
nop word [eax + eax]
movzx ecx, byte [esi - 2]
movzx eax, byte [esi - 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 3]
xor dword [ebp - 0x14], ecx
movzx ecx, byte [esi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 7]
xor dword [ebp - 0x10], ecx
movzx ecx, byte [esi + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xb]
xor dword [ebp - 0xc], ecx
movzx ecx, byte [esi + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xc]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xd]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 0x14]
push eax
xor edx, ecx
push ebx
mov dword [ebp - 8], edx
call fcn.00408220
mov ecx, dword [ebp - 0x14]
add esp, 8
mov eax, ecx
mov byte [esi + 1], cl
shr eax, 0x18
mov byte [esi - 2], al
mov eax, ecx
shr eax, 0x10
mov byte [esi - 1], al
mov eax, ecx
mov ecx, dword [ebp - 0x10]
shr eax, 8
mov byte [esi], al
mov eax, ecx
shr eax, 0x18
mov byte [esi + 2], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 3], al
mov eax, ecx
shr eax, 8
mov byte [esi + 4], al
mov byte [esi + 5], cl
mov ecx, dword [ebp - 0xc]
mov eax, ecx
shr eax, 0x18
mov byte [esi + 6], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 7], al
mov eax, ecx
shr eax, 8
mov edx, dword [ebp - 8]
lea esi, [esi + 0x10]
mov byte [esi - 8], al
mov eax, edx
shr eax, 0x18
mov byte [esi - 6], al
mov eax, edx
shr eax, 0x10
mov byte [esi - 5], al
mov eax, edx
shr eax, 8
mov byte [esi - 7], cl
mov byte [esi - 4], al
mov byte [esi - 3], dl
sub edi, 1
jne 0x408280
movups xmm0, xmmword [ebp - 0x14]
mov ecx, dword [ebp - 4]
pop edi
pop esi
movups xmmword [ebx + 0x3c8], xmm0
xor ecx, ebp
pop ebx
call fcn.00429c12
mov esp, ebp
pop ebp
ret
Function at 0x4095e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x4a2600]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov ecx, edx
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov dword [ebp - 0x8c], eax
lea esi, [ecx + 1]
mov eax, dword [ebp + 0x18]
push edi
mov dword [ebp - 0x94], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409610
lea eax, [ebp - 0x84]
sub ecx, esi
push eax
push ecx
push edx
call fcn.0041e730
mov eax, dword [ebp + 0x1c]
xor edi, edi
add eax, 0x1f
mov dword [ebp - 0x88], edi
cdq
add esp, 0xc
and edx, 0x1f
lea ebx, [edx + eax]
sar ebx, 5
test ebx, ebx
jle 0x4096fe
mov eax, dword [ebp + 0x14]
nop dword [eax]
mov ecx, dword [ebp - 0x8c]
xorps xmm0, xmm0
mov edx, dword [ebp + 0x10]
xor esi, esi
movups xmmword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x14], xmm0
test eax, eax
jle 0x4096c6
lea eax, [edi + 1]
mov dword [ebp - 0x90], eax
mov edi, eax
lea eax, [ebp - 0x44]
push eax
push edx
push ecx
lea eax, [ebp - 0x84]
xor ecx, ecx
push eax
test esi, esi
mov eax, edi
cmovne eax, ecx
push eax
call fcn.00409440
add esp, 0x14
lea ecx, [ebp - 0x44]
mov edx, 0x20
xor eax, eax
nop
movups xmm0, xmmword [ebp + eax - 0x24]
movups xmm1, xmmword [ebp + eax - 0x44]
xorps xmm1, xmm0
movups xmmword [ebp + eax - 0x24], xmm1
add eax, 0x10
cmp eax, 0x20
jl 0x4096a0
inc esi
cmp esi, dword [ebp + 0x14]
jl 0x409675
mov edi, dword [ebp - 0x88]
mov esi, dword [ebp + 0x1c]
mov ecx, edi
cmp edi, esi
jge 0x4096ec
mov edi, dword [ebp - 0x94]
lea edx, [ebp - 0x24]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [edi + ecx], al
add ecx, ebx
cmp ecx, esi
jl 0x4096d8
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0x14]
inc edi
mov dword [ebp - 0x88], edi
cmp edi, ebx
jl 0x409650
lea eax, [ebp - 0x84]
push 0x40
push eax
call fcn.004248d0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00429c12
mov esp, ebp
pop ebp
ret