joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c6c40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4c6c48
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4c6e3a
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4c6e50
mov eax, esi
call fcn.004c4acc
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404684
lea ecx, [ebp - 0x10]
mov edx, 0x4c6e64
mov eax, esi
call fcn.004c4acc
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404684
lea ecx, [ebp - 0x14]
mov edx, 0x4c6e7c
mov eax, esi
call fcn.004c4acc
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404684
lea ecx, [ebp - 0x18]
mov edx, 0x4c6e98
mov eax, esi
call fcn.004c4acc
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404684
lea ecx, [ebp - 0x1c]
mov edx, 0x4c6eb4
mov eax, esi
call fcn.004c4acc
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404684
lea ecx, [ebp - 0x24]
mov edx, 0x4c6ecc
mov eax, esi
call fcn.004c4acc
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408ce8
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00409230
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4c6ee4
mov eax, esi
call fcn.004c4acc
mov eax, dword [ebp - 0x28]
call fcn.004bc54c
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4c6ef4
mov eax, esi
call fcn.004c4acc
mov eax, dword [ebp - 0x2c]
call fcn.004bc54c
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4c6f0c
mov eax, esi
call fcn.004c4acc
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00409230
inc eax
je 0x4c6ddd
lea ecx, [ebp - 0x34]
mov edx, 0x4c6f0c
mov eax, esi
call fcn.004c4acc
mov eax, dword [ebp - 0x34]
call fcn.004091f4
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040ac44
fstp qword [ebp - 0x3c]
wait
call fcn.0040b008
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4c6df8
lea ecx, [ebp - 0x40]
mov edx, 0x4c6f0c
mov eax, esi
call fcn.004c4acc
mov eax, dword [ebp - 0x40]
call fcn.004bc54c
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4c6f1c
mov eax, esi
call fcn.004c4acc
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404684
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c6e41
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404654
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404654
ret
Function at 0x4cdb5c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4cdbb6
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004cdb4c
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004bb1b8
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004badb8
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cdbbd
lea eax, [ebp - 4]
call fcn.00404630
ret
Function at 0x4ef228
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x4ef244
cmp dword [esi + 4], 0
je 0x4ef271
test byte [ebx + 0x55], 1
jne 0x4ef263
mov eax, ebx
call fcn.00450848
test eax, eax
jne 0x4ef263
mov edx, esi
mov eax, ebx
call fcn.004558a4
jmp 0x4ef362
mov edx, esi
mov eax, ebx
call fcn.004517cc
jmp 0x4ef362
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
call fcn.0044ccc8
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x54]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4ef35b
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00453b50
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, eax
mov edx, 0x14
mov eax, ebx
call fcn.0044e4e4
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004ef228
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x54]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00453b50
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ef362
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4fc1a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebp, ecx
mov ebx, edx
mov dword [esp], eax
mov eax, ebp
mov edx, dword [esp]
call fcn.00404684
mov esi, ebx
mov eax, dword [ebp]
call fcn.004048f0
test ax, ax
jbe 0x4fc20b
mov word [esp + 4], ax
mov bx, 1
mov eax, ebp
call fcn.00404b48
movzx edi, bx
mov edx, dword [ebp]
mov dl, byte [edx + edi - 1]
movzx ecx, si
shr ecx, 8
xor dl, cl
mov byte [eax + edi - 1], dl
mov eax, dword [esp]
movzx eax, byte [eax + edi - 1]
add si, ax
imul ax, si, 0xcad8
add ax, 0x566a
mov esi, eax
inc ebx
dec word [esp + 4]
jne 0x4fc1d0
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x516bd8
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
mov dword [esp], pe_nt_image_headers32
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x101
call fcn.004048a0
add esp, 0x108
pop ebx
ret
Function at 0x41d3e3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41d422
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41d422
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41d422
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41d422
cmp dword [ecx + 0x74], 0xe
jbe 0x41d422
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x42f550
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42f57d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42f57d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4015a0
Capabilities:
Terminate process

Disassembly:
call fcn.00401940
jmp fcn.004012d0

Function at 0x4015b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x403008]
jne 0x4015ba
repz ret
jmp fcn.004019f0

Function at 0x4dcabc
Capabilities:
Encode data using xor

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], ch
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add al, 0xe0
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add bh, cl
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add bh, cl
add dword [edi], ecx
adc al, 0
or ah, byte [edx + 0xa0028a8]
add byte [edx], ch
stosd dword es:[edi], eax
in eax, dx
xor ebp, dword [ebx]
add eax, 0x80aa4225
dec eax
sub dword [edi], edx
jns 0x4dca82
add dword [edx + ebp - 0x6c], edx
stosb byte es:[edi], al
adc al, 5
add byte [ecx + 0x29], dl
dec edx
xchg edx, eax
push ebp
sub bh, byte [ebp - 0x53d6f300]
mov byte [0x7829aa14], al
add esp, eax
out dx, al
mov al, byte [eax]
push ecx
out 0xde, al
add byte [ebx], 0xd8
pop ss
jb 0x4dcb69
fiadd word [eax + 0x7217d803]
pop esi
insb byte es:[edi], dx
loopne 0x4dcb0e
add byte [eax], al
add byte [ecx], al
in eax, dx
rcr esi, 1
mov bh, 0x78
jb 0x4dcb80
push ds
pop es
mov bh, 0x78
jbe 0x4dcb00
mov esp, 0x57dd3b0b
or eax, eax
sbb dword [ecx + 0xbc74cf], ebp
or edi, dword [eax + 0x2d]
push ds
lock add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ebx], al
jne 0x4dcb2c
scasb al, byte es:[edi]
jae 0x4dcb04
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], ch
add byte [esi], bl
hlt
loopne 0x4dcb6b
add byte [eax], al
add byte [eax], al
add byte [eax], al
mul dword [eax]
hlt
add byte [eax], 0
add byte [esi], cl
jmp 0x4dcb4e
Function at 0x40254d
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x14]
movzx edx, ax
mov eax, dword [ebp - 0xc]
add eax, edx
add eax, 0x18
mov dword [ebp - 4], eax
jmp 0x4025ac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [ebp + 0xc], eax
jb 0x4025a4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x4025a4
mov eax, dword [ebp - 4]
jmp 0x4025c0
add dword [ebp - 8], 1
add dword [ebp - 4], 0x28
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 6]
movzx eax, ax
cmp dword [ebp - 8], eax
jb 0x402581
mov eax, 0
leave
ret

Function at 0x402cf4
Capabilities:
Copy file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
sub esp, 0x2c
mov dword [ebp - 0x1c], edx
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
mov dword [ebp - 0x20], ecx
mov dword [esp + 4], 0x405044
mov dword [esp], eax
call edi
test eax, eax
je 0x402dcd
mov dword [esp + 8], 2
mov ebx, eax
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fseek
mov dword [esp], ebx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_ftell
test eax, eax
mov dword [ebp - 0x24], eax
js 0x402dcd
mov dword [esp], ebx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov dword [esp + 4], esi
sub edx, dword [ebp - 0x20]
mov dword [esp + 8], 0
mov dword [esp], eax
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
sub esp, 0xc
test ebx, ebx
jle 0x402dcd
mov dword [esp], esi
mov dword [esp + 4], 0x40504a
call edi
mov esi, eax
test eax, eax
je 0x402dcd
mov dword [esp], ebx
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov edi, eax
mov dword [esp], eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 1
mov dword [esp], edi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov dword [esp], esi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x402ff3
Capabilities:
Create thread
Enumerate files on windows
Get disk information
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov edx, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
mov dword [esp + 0xc], 0x34
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x1c], edx
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], 0x4050ff
mov dword [esp + 4], str.insert_warning_message
mov dword [esp], 0
call dword [sym.imp.USER32.dll_MessageBoxA]
sub esp, 0x10
cmp eax, 7
je 0x403053
mov edx, dword [ebp - 0x1c]
mov dword [ebp + 0x10], edi
mov dword [ebp + 0xc], esi
mov dword [ebp + 8], ebx
mov dword [ebp + 0x14], edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00402dd8
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
Function at 0x413037
Capabilities:
Packed with generic packer

Disassembly:
pushal
call 0x41303d
pop eax
sub eax, 0x3d
push eax
lea edi, [eax - 0x12000]
push edi
lea esi, [eax + 0x1e8]
or ebp, 0xffffffff
xor ebx, ebx
nop
nop
nop
nop
add ebx, ebx
jne 0x413063
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x413070
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
jmp 0x413058
mov eax, 1
add ebx, ebx
jne 0x413080
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
ja 0x413075
jne 0x413091
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x413075
xor ecx, ecx
sub eax, 3
jb 0x4130ff
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41311a
mov ebp, eax
add ebx, ebx
jne 0x4130b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4130bd
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4130e1
inc ecx
add ebx, ebx
jne 0x4130cd
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
ja 0x4130c2
jne 0x4130de
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4130c2
add ecx, 2
cmp eax, 0xfffff300
adc ecx, 1
lea edx, [edi + eax]
cmp eax, 0xfffffffc
jle 0x413104
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4130f1
jmp 0x413058
mov eax, ebp
jmp 0x4130a5
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x413104
add edi, ecx
jmp 0x413058
pop esi
pop ebp
sub edi, dword [edi - 4]
push edi
lea edi, [esi]
mov ecx, 0x25d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41312b
cmp byte [edi], 1
jne 0x41312b
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 0x413130
pop edi
mov eax, dword [edi]
or eax, eax
je 0x413195
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x11000]
add ebx, esi
push eax
add edi, 8
call dword [ebp]
xchg edx, eax
mov al, byte [edi]
inc edi
or al, al
je 0x413158
push edx
mov ecx, edi
jns 0x413185
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push edx
call dword [ebp + 4]
pop edx
mov dword [ebx], eax
add ebx, 4
jmp 0x413172
lea ebx, [esi - 4]
add edi, 4
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4131c6
cmp al, 0xef
ja 0x4131b9
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x41319b
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4131a8
popal
jmp section.UPX0
Function at 0x401c00
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x483600]
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 0x401c32
movsx eax, cl
sub eax, 0x41
jmp 0x401c74
lea eax, [ecx - 0x61]
cmp al, 0x19
ja 0x401c41
movsx eax, cl
sub eax, 0x47
jmp 0x401c74
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x401c50
movsx eax, cl
add eax, 4
jmp 0x401c74
cmp cl, 0x2b
jne 0x401c5c
mov eax, 0x3e
jmp 0x401c74
cmp cl, 0x2f
jne 0x401c68
mov eax, 0x3f
jmp 0x401c74
cmp cl, 0x3d
jne 0x401cf1
or eax, 0xffffffff
mov dword [ebp + edx*4 - 0x14], eax
inc edx
cmp edx, 4
jl 0x401c20
mov edx, dword [ebp - 0x14]
cmp edx, 0xffffffff
je 0x401cf1
mov esi, dword [ebp - 0x10]
cmp esi, 0xffffffff
je 0x401cf1
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
cmp ecx, 0xffffffff
jne 0x401ca2
cmp eax, ecx
jne 0x401cf1
lea ebx, [ecx + 2]
jmp 0x401cad
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 0x401cd6
mov ecx, edx
shr ecx, 8
mov byte [edi + 1], cl
cmp ebx, 2
jbe 0x401cde
mov byte [edi + 2], dl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fa94
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.0041fa94
mov esp, ebp
pop ebp
ret

Function at 0x402a30
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 0x402a65
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 0x402a50
pop ebx
mov eax, 0x100
sub eax, edi
pop edi
shr eax, 8
pop esi
pop ebp
ret
Function at 0x405e90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x483600]
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 0x405ff5
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.00405e70
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 0x405f74
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x40]
add edx, 0x10
sub dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], edx
jne 0x405ed0
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.0041fa94
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.0041fa94
mov esp, ebp
pop ebp
ret
Function at 0x406d50
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x483600]
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 0x406ead
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.00406d30
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 0x406d90
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.0041fa94
mov esp, ebp
pop ebp
ret
Function at 0x40aec0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, dword [esi + 0x80]
mov eax, dword [esi + 0x84]
mov dword [ebp - 4], ebx
mov dword [ebp + 0x10], eax
test edx, edx
je 0x40afdb
mov ecx, dword [ebp + 8]
lea eax, [edx - 1]
add ecx, 2
shr eax, 3
inc eax
mov dword [ebp + 0xc], ecx
mov dword [ebp - 8], eax
push edi
nop dword [eax]
movzx ebx, byte [ecx - 2]
movzx eax, byte [ecx - 1]
movzx edi, byte [ecx + 2]
shl ebx, 8
or ebx, eax
shl edi, 8
movzx eax, byte [ecx]
shl ebx, 8
or ebx, eax
movzx eax, byte [ecx + 1]
shl ebx, 8
or ebx, eax
movzx eax, byte [ecx + 3]
or edi, eax
movzx eax, byte [ecx + 4]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 5]
shl edi, 8
or edi, eax
lea eax, [esi + 0x110]
push eax
push edi
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.0040b2f0
lea eax, [esi + 0x88]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x10]
push dword [ebp - 0x10]
push eax
call fcn.0040bcd0
push esi
push dword [ebp - 0xc]
lea eax, [ebp - 0x10]
push dword [ebp - 0x10]
push eax
call fcn.0040b2f0
mov ecx, dword [ebp + 0xc]
add esp, 0x30
mov eax, dword [ebp + 0x10]
xor eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
xor edx, dword [ebp - 0x10]
mov dword [ebp + 0x10], eax
mov eax, edx
shr eax, 0x18
mov byte [ecx - 2], al
mov eax, edx
shr eax, 0x10
mov byte [ecx - 1], al
mov eax, edx
shr eax, 8
mov byte [ecx], al
mov byte [ecx + 1], dl
mov edx, dword [ebp + 0x10]
mov eax, edx
shr eax, 0x18
mov byte [ecx + 2], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 3], al
mov eax, edx
shr eax, 8
mov byte [ecx + 4], al
mov eax, edi
mov byte [ecx + 5], dl
add ecx, 8
sub dword [ebp - 8], 1
mov dword [ebp + 0xc], ecx
mov dword [ebp - 4], ebx
mov dword [ebp + 0x10], eax
jne 0x40af00
pop edi
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret