joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453200
Capabilities:
Create directory

Disassembly:
push 0
push str.Undo
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
call fcn.00453230
push 0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
call fcn.00453860
mov dword [esi + 4], 0xffffffff
ret

Function at 0x453230
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
mov eax, dword [0x54a050]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push esi
push edi
lea eax, [esp + 0x10]
push eax
push str.Undo.mop
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4532df
mov dx, word [0x533568]
mov ecx, dword [str.Undo_]
lea eax, [esp + 0x3c]
mov word [esp + 0x154], dx
mov dword [esp + 0x150], ecx
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x453286
lea edi, [esp + 0x150]
sub eax, edx
add edi, 0xffffffff
jmp 0x4532a0
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4532a0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x150]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x10]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x453264
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004d1930
mov esp, ebp
pop ebp
ret

Function at 0x453300
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x511ca2
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x54a050]
xor eax, esp
mov dword [esp + 0x14c], eax
push ebx
push ebp
push esi
mov eax, dword [0x54a050]
xor eax, esp
push eax
lea eax, [esp + 0x160]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x168], esi
push 0x52ea50
mov ecx, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
call fcn.00407ac0
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x16c], esi
push str.Undo.mop
mov dword [esp + 0x1c], 1
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
or esi, 0xffffffff
cmp ebx, 0xffffffff
je 0x4533cb
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x50]
push 0x534934
push edx
call fcn.004d4870
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp eax, esi
jle 0x4533b8
push eax
push str.UndoUndo_d.mop
push edi
call fcn.004018d0
mov esi, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
push ebx
call ebp
test eax, eax
jne 0x453386
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
mov ecx, dword [esp + 0x160]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14c]
xor ecx, esp
call fcn.004d1930
add esp, 0x15c
ret
Function at 0x4537b0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x5126f8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x54a050]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
call fcn.004a7b93
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4537ec
push 0x80004005
call fcn.00401710
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0xc]
push str.UndoUndo_d.mop
push edx
mov dword [esp + 0x20], 0
call fcn.004018d0
mov esi, dword [esp + 0x14]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esi - 0x10]
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45384a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x46dabb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x46db13
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x46db13
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x46db13
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret

Function at 0x46db3d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x46dbab
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push str.DisableMMX
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x46dba2
cmp dword [ebp - 0xc], 4
jne 0x46dba2
cmp dword [ebp - 0x10], edi
je 0x46dba2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x5441d0], edi
xor eax, eax
jmp 0x46dbd3
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x5441d0], edi
jge 0x46dbce
mov dword [0x5441d0], edi
call fcn.0046db17
test eax, eax
je 0x46dbce
emms
mov dword [0x5441d0], 1
mov eax, dword [0x5441d0]
pop edi
leave
ret

Function at 0x46dcb3
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push ebx
push edi
push 0x25
pop ecx
xor eax, eax
lea edi, [ebp - 0x98]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x98]
xor bl, bl
and byte [ebp - 1], bl
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x46dcf1
inc bl
mov byte [ebp - 1], 1
cmp dword [ebp - 0x88], 1
jne 0x46dd1f
cmp dword [ebp - 0x94], 4
ja 0x46dd2c
jne 0x46dd19
cmp dword [ebp - 0x90], 0xa
jb 0x46dd19
cmp word [ebp - 0x8c], 0x55d
jae 0x46dd2c
mov byte [ebp - 1], 1
jmp 0x46dd2c
cmp dword [ebp - 0x88], 2
jne 0x46dd42
test bl, bl
je 0x46dd5d
mov eax, dword [ebp + 8]
sub eax, 6
je 0x46dd4d
dec eax
je 0x46dd46
sub eax, 3
jne 0x46dd42
cmp byte [ebp - 1], 0
je 0x46dd6e
xor eax, eax
jmp 0x46dd76
call fcn.0046dbd6
jmp 0x46dd76
cmp byte [ebp - 1], 0
jne 0x46dd42
call fcn.0046dc0e
and eax, 4
jmp 0x46dd76
cmp dword [ebp + 8], 0xa
je 0x46dd6e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
jmp 0x46dd76
call fcn.0046dc0e
and eax, 8
pop edi
pop ebx
leave
ret
Function at 0x46de9c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
mov eax, dword [0x5441d8]
cmp eax, 0xffffffff
jne 0x46dec6
push 0
push str.debug
push str.Direct3D
call dword [sym.imp.KERNEL32.dll_GetProfileIntA]
mov dword [0x5441d8], eax
cmp dword [ebp + 8], eax
ja 0x46df23
cmp dword [0x54b840], 0
jne 0x46df23
push esi
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
mov esi, 0x100
lea eax, [ebp - 0x100]
push esi
push eax
call fcn.004dc7a0
and byte [ebp - 1], 0
lea eax, [ebp - 0x100]
push eax
push str.D3DX:__s_r_n
lea eax, [ebp - 0x200]
push esi
push eax
call fcn.004dc460
and byte [ebp - 0x101], 0
add esp, 0x20
lea eax, [ebp - 0x200]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop esi
leave
ret

Function at 0x46df25
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
push dword [ebp + 0x10]
xor edi, edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.Assertion_failure____s__d_:__s
push edi
call fcn.0046de9c
xor ebx, ebx
add esp, 0x14
inc ebx
cmp dword [0x54b84c], edi
jne 0x46dfe5
mov esi, str.kernel32.dll
push esi
mov dword [ebp - 4], 4
mov dword [0x54b84c], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, edi
jne 0x46df81
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, edi
je 0x46df92
push 0x51523c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x54b848], eax
lea eax, [ebp - 8]
push eax
push str.SOFTWAREMicrosoftDirect3D
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x46e04a
lea eax, [ebp - 4]
push eax
push 0x54b844
lea eax, [ebp - 0xc]
push eax
push edi
push str.D3DX
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
jne 0x46e04a
cmp dword [ebp - 0xc], 4
jne 0x46e04a
cmp dword [ebp - 4], 4
jne 0x46e04a
mov eax, dword [0x54b844]
cmp eax, edi
je 0x46e04a
cmp eax, ebx
je 0x46e05a
cmp eax, 3
je 0x46e006
mov eax, dword [0x54b848]
cmp eax, edi
je 0x46e04a
call eax
test eax, eax
jne 0x46e04a
push dword [ebp + 0x10]
lea eax, [ebp - 0x10c]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.File:_t__s_nLine:_t__d_nAssertion:_t_s_n_nDo_you_want_to_invoke_the_debugger_
push 0x100
push eax
call fcn.004dc460
add esp, 0x18
push 0x1003
push str.D3DX_Assertion_Failure
lea eax, [ebp - 0x10c]
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
dec eax
dec eax
je 0x46e04e
sub eax, 4
je 0x46e05a
dec eax
xor eax, eax
jmp 0x46e05c
push str.D3DX_Assertion_Failure.._Application_terminated
push edi
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x47120e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x18], eax
jae 0x47132f
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
jae 0x471313
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 0xc], edi
shr edi, 2
and edi, esi
mov dword [ebp - 4], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp - 4]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 0xc]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp - 4]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 0xc]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp - 4]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0x10]
add ecx, 8
dec dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov esi, 0xffc03fc0
jne 0x471265
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x18]
mov dword [ebp + 0xc], edx
jb 0x471243
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret
Function at 0x4715fb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x18]
push ebx
mov ebx, dword [edx + 0x1050]
push esi
mov esi, dword [edx + 0x105c]
imul esi, ebx
push edi
mov edi, dword [edx + 0x18]
add esi, edi
cmp edi, esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x24], esi
jae 0x471734
mov eax, 0xf81f
mov edx, dword [edx + 0x1058]
lea edx, [edi + edx*2]
add ebx, edi
cmp edi, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x20], edx
jae 0x47170f
movzx ecx, word [ebx]
movzx edx, word [ebx + 2]
movzx esi, word [edi + 2]
mov dword [ebp - 4], ecx
movzx ecx, word [edi]
mov ebx, ecx
and bx, ax
mov edi, edx
and di, ax
mov dword [ebp - 0x1c], ecx
and ecx, 0xffff07e0
add edi, ebx
mov ebx, dword [ebp - 4]
and bx, ax
add edi, ebx
mov ebx, esi
and bx, ax
lea edi, [edi + ebx + 0x1002]
mov ebx, edx
and ebx, 0xffff07e0
add ebx, ecx
mov ecx, dword [ebp - 4]
and ecx, 0xffff07e0
add ebx, ecx
mov ecx, esi
and ecx, 0xffff07e0
lea ecx, [ebx + ecx + 0x40]
mov ebx, dword [ebp - 0x10]
shr ecx, 2
shr edi, 2
xor edi, ecx
mov ecx, dword [ebp - 0x1c]
and ecx, eax
and edx, eax
add edx, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
add edx, ecx
and esi, eax
and edi, 0xffff07e0
lea ecx, [edx + esi + 0x1002]
shr ecx, 2
xor edi, ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 2
mov word [ecx], di
mov edi, dword [ebp - 0xc]
add edi, 4
add ebx, 4
cmp edi, dword [ebp - 0x20]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], ebx
jb 0x47165a
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov ebx, dword [edx + 4]
add ecx, dword [ebx + 0x1050]
mov edx, dword [edx]
mov ebx, dword [edx + 0x1050]
lea edi, [edi + ebx*2]
cmp edi, esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edi
jb 0x47163b
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x471850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ecx + 4]
push ebx
mov ebx, dword [eax + 0x18]
push esi
mov esi, dword [ecx]
mov eax, dword [esi + 0x105c]
mov dword [ebp - 0x28], ecx
mov ecx, dword [esi + 0x1050]
imul eax, ecx
push edi
mov edi, dword [esi + 0x18]
add eax, edi
cmp edi, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x2c], eax
jae 0x47197e
mov eax, 0x83e0
mov edx, 0x7c1f
mov esi, dword [esi + 0x1058]
lea esi, [edi + esi*2]
add ecx, edi
cmp edi, esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], esi
jae 0x471955
movzx esi, word [ecx + 2]
movzx ecx, word [ecx]
movzx ebx, word [edi + 2]
mov dword [ebp - 4], ecx
movzx ecx, word [edi]
mov dword [ebp - 8], ebx
mov ebx, ecx
and ebx, eax
mov edi, esi
and edi, eax
add edi, ebx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x20], ecx
and ecx, edx
and ebx, eax
add edi, ebx
mov ebx, dword [ebp - 8]
and ebx, eax
lea edi, [edi + ebx + 0x10040]
mov ebx, esi
and ebx, edx
add ebx, ecx
mov ecx, dword [ebp - 4]
and ecx, edx
add ebx, ecx
mov ecx, dword [ebp - 8]
and ecx, edx
lea ecx, [ebx + ecx + 0x802]
shr ecx, 2
shr edi, 2
xor edi, ecx
mov ecx, dword [ebp - 0x20]
and ecx, eax
and esi, eax
add esi, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
add esi, ecx
mov ecx, dword [ebp - 8]
and di, dx
and ecx, eax
lea ecx, [esi + ecx + 0x10040]
shr ecx, 2
xor edi, ecx
mov ecx, dword [ebp - 0xc]
add dword [ebp - 0xc], 2
mov word [ecx], di
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
add edi, 4
add ecx, 4
cmp edi, dword [ebp - 0x24]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], ecx
jb 0x4718b2
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
mov esi, dword [ecx + 4]
mov ebx, dword [ebp - 0x18]
add ebx, dword [esi + 0x1050]
mov esi, dword [ecx]
mov ecx, dword [esi + 0x1050]
lea edi, [edi + ecx*2]
cmp edi, dword [ebp - 0x2c]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
jb 0x471893
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x471985
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x18]
push ebx
mov ebx, dword [edx + 0x1050]
push esi
mov esi, dword [edx + 0x105c]
imul esi, ebx
push edi
mov edi, dword [edx + 0x18]
add esi, edi
cmp edi, esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x24], esi
jae 0x471ac1
mov eax, 0xf0f0
mov edx, dword [edx + 0x1058]
lea edx, [edi + edx*2]
add ebx, edi
cmp edi, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x20], edx
jae 0x471a9c
movzx ecx, word [ebx]
movzx edx, word [ebx + 2]
movzx esi, word [edi + 2]
mov dword [ebp - 4], ecx
movzx ecx, word [edi]
mov ebx, ecx
and bx, ax
mov edi, edx
and di, ax
mov dword [ebp - 0x1c], ecx
and ecx, 0xffff0f0f
add edi, ebx
mov ebx, dword [ebp - 4]
and bx, ax
add edi, ebx
mov ebx, esi
and bx, ax
lea edi, [edi + ebx + 0x2020]
mov ebx, edx
and ebx, 0xffff0f0f
add ebx, ecx
mov ecx, dword [ebp - 4]
and ecx, 0xffff0f0f
add ebx, ecx
mov ecx, esi
and ecx, 0xffff0f0f
lea ecx, [ebx + ecx + 0x202]
mov ebx, dword [ebp - 0x10]
shr ecx, 2
shr edi, 2
xor edi, ecx
mov ecx, dword [ebp - 0x1c]
and ecx, eax
and edx, eax
add edx, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
add edx, ecx
and esi, eax
and edi, 0xffff0f0f
lea ecx, [edx + esi + 0x2020]
shr ecx, 2
xor edi, ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 2
mov word [ecx], di
mov edi, dword [ebp - 0xc]
add edi, 4
add ebx, 4
cmp edi, dword [ebp - 0x20]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], ebx
jb 0x4719e4
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov ebx, dword [edx + 4]
add ecx, dword [ebx + 0x1050]
mov edx, dword [edx]
mov ebx, dword [edx + 0x1050]
lea edi, [edi + ebx*2]
cmp edi, esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edi
jb 0x4719c5
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x471ac8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, ecx
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x18]
push ebx
push edi
mov dword [ebp - 0x28], eax
mov eax, dword [eax]
mov ebx, dword [eax + 0x1050]
mov edi, dword [eax + 0x105c]
mov edx, dword [eax + 0x18]
imul edi, ebx
add edi, edx
cmp edx, edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x24], edi
jae 0x471bec
push esi
mov esi, 0xe3
mov eax, dword [eax + 0x1058]
add eax, edx
add ebx, edx
cmp edx, eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x20], eax
jae 0x471bc6
movzx ecx, byte [ebx]
movzx eax, byte [ebx + 1]
movzx edi, byte [edx + 1]
mov dword [ebp - 4], ecx
movzx ecx, byte [edx]
mov ebx, ecx
and ebx, 0x1c
mov edx, eax
and edx, 0x1c
add edx, ebx
mov ebx, dword [ebp - 4]
and ebx, 0x1c
add edx, ebx
mov dword [ebp - 0x1c], ecx
and cx, si
mov ebx, edi
and ebx, 0x1c
lea edx, [edx + ebx + 8]
mov ebx, eax
and bx, si
shr edx, 2
and ax, si
add ebx, ecx
mov ecx, dword [ebp - 4]
and cx, si
add ebx, ecx
mov ecx, edi
and cx, si
and di, si
lea ecx, [ebx + ecx + 0x42]
shr ecx, 2
xor dl, cl
mov ecx, dword [ebp - 0x1c]
and cx, si
mov ebx, dword [ebp - 0x10]
and dl, 0x1c
add eax, ecx
mov ecx, dword [ebp - 4]
and cx, si
add eax, ecx
lea eax, [eax + edi + 0x42]
shr eax, 2
xor dl, al
mov eax, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [eax], dl
mov edx, dword [ebp - 0xc]
inc edx
inc edx
inc ebx
inc ebx
cmp edx, dword [ebp - 0x20]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ebx
jb 0x471b26
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax + 4]
add ecx, dword [ebx + 0x1050]
mov eax, dword [eax]
mov ebx, dword [eax + 0x1050]
lea edx, [edx + ebx*2]
cmp edx, edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jb 0x471b08
pop esi
pop edi
xor eax, eax
pop ebx
leave
ret
Function at 0x471c8d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
push ebx
mov ebx, dword [edx + 0x18]
push esi
mov esi, dword [edx + 0x105c]
mov dword [ebp - 0x28], ecx
mov ecx, dword [edx + 0x1050]
imul esi, ecx
add esi, ebx
cmp ebx, esi
push edi
mov edi, dword [eax + 0x18]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], esi
jae 0x471dbe
mov eax, 0xff1c
mov edx, dword [edx + 0x1058]
lea edx, [ebx + edx*2]
add ecx, ebx
cmp ebx, edx
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], edx
jae 0x471d99
movzx esi, word [ecx + 2]
movzx ecx, word [ecx]
movzx edx, word [ebx]
movzx edi, word [ebx + 2]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov ebx, esi
mov ecx, 0xe3
and bx, cx
and dx, cx
add ebx, edx
mov edx, dword [ebp - 4]
and dx, cx
add ebx, edx
mov edx, edi
and dx, cx
mov ecx, esi
and cx, ax
and esi, eax
lea edx, [ebx + edx + 0x42]
mov ebx, dword [ebp - 0xc]
and bx, ax
shr edx, 2
add ecx, ebx
mov ebx, dword [ebp - 4]
and bx, ax
add ecx, ebx
mov ebx, edi
and bx, ax
and edi, eax
lea ecx, [ecx + ebx + 0x208]
mov ebx, dword [ebp - 0x10]
shr ecx, 2
xor dl, cl
mov ecx, dword [ebp - 0xc]
and ecx, eax
add esi, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
add esi, ecx
lea ecx, [esi + edi + 0x208]
shr ecx, 2
and edx, 0xffff00e3
xor edx, ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 2
mov word [ecx], dx
mov ecx, dword [ebp - 0x14]
add ebx, 4
add ecx, 4
cmp ebx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ecx
jb 0x471cea
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
add edi, dword [edx + 0x1050]
mov edx, dword [ecx]
mov ecx, dword [edx + 0x1050]
lea ebx, [ebx + ecx*2]
cmp ebx, esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
jb 0x471ccb
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x471ede
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
push ebx
mov ebx, dword [edx + 0x18]
push esi
mov esi, dword [edx + 0x105c]
mov dword [ebp - 0x28], ecx
mov ecx, dword [edx + 0x1050]
imul esi, ecx
add esi, ebx
cmp ebx, esi
push edi
mov edi, dword [eax + 0x18]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], esi
jae 0x47200f
mov eax, 0xff00
mov edx, dword [edx + 0x1058]
lea edx, [ebx + edx*2]
add ecx, ebx
cmp ebx, edx
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], edx
jae 0x471fea
movzx esi, word [ecx + 2]
movzx ecx, word [ecx]
movzx edx, word [ebx]
movzx edi, word [ebx + 2]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov ebx, esi
mov ecx, 0xff
and bx, cx
and dx, cx
add ebx, edx
mov edx, dword [ebp - 4]
and dx, cx
add ebx, edx
mov edx, edi
and dx, cx
mov ecx, esi
and cx, ax
and esi, eax
lea edx, [ebx + edx + 2]
mov ebx, dword [ebp - 0xc]
and bx, ax
shr edx, 2
add ecx, ebx
mov ebx, dword [ebp - 4]
and bx, ax
add ecx, ebx
mov ebx, edi
and bx, ax
and edi, eax
lea ecx, [ecx + ebx + 0x200]
mov ebx, dword [ebp - 0x10]
shr ecx, 2
xor dl, cl
mov ecx, dword [ebp - 0xc]
and ecx, eax
add esi, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
add esi, ecx
lea ecx, [esi + edi + 0x200]
shr ecx, 2
and edx, 0xffff00ff
xor edx, ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 2
mov word [ecx], dx
mov ecx, dword [ebp - 0x14]
add ebx, 4
add ecx, 4
cmp ebx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ecx
jb 0x471f3b
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
add edi, dword [edx + 0x1050]
mov edx, dword [ecx]
mov ecx, dword [edx + 0x1050]
lea ebx, [ebx + ecx*2]
cmp ebx, esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
jb 0x471f1c
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret