joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005ea0
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x2d
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cwde
shr eax, 0x10
test eax, eax
je 0x10005eea
cmp byte [0x1005ab40], 0
je 0x10005edc
cmp dword [0x1005ab44], 0
je 0x10005ef1
call edi
cmp dword [0x1005ab44], eax
ja 0x10005ef1
mov byte [0x1005ab40], 1
mov eax, 1
jmp 0x10005ef3
mov byte [0x1005ab40], 0
xor eax, eax
test al, 1
je 0x10005f08
xor ecx, ecx
cmp dword [0x10056ea4], ecx
sete cl
mov dword [0x10056ea4], ecx
cmp dword [0x1005a83c], 0
je 0x10005f51
push 0xa2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10005f51
lea edx, [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
add edx, 2
mov dword [0x10056eb0], ecx
mov dword [0x10056eb4], edx
cmp dword [0x10056ea4], 0
je 0x100060cf
push 0x26
call esi
cwde
shr eax, 0x10
test eax, eax
je 0x10005f94
cmp byte [0x1005ab08], 0
je 0x10005f86
cmp dword [0x1005ab0c], 0
je 0x10005f9b
call edi
cmp dword [0x1005ab0c], eax
ja 0x10005f9b
mov byte [0x1005ab08], 1
mov eax, 1
jmp 0x10005f9d
mov byte [0x1005ab08], 0
xor eax, eax
test al, 1
je 0x10005fd4
mov ecx, dword [0x1005b428]
mov eax, dword [0x1005b42c]
mov edx, 2
dec eax
jns 0x10005fb7
lea eax, [ecx - 1]
lea esi, [eax*8]
sub esi, eax
cmp dword [esi*4 + 0x10059930], edx
je 0x10005fb1
pop edi
mov dword [0x1005b42c], eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x28
call fcn.10001040
test al, 1
mov eax, dword [0x1005b42c]
je 0x10006016
mov ecx, dword [0x1005b428]
mov edx, 2
inc eax
cmp eax, ecx
jne 0x10005ff9
xor eax, eax
lea esi, [eax*8]
sub esi, eax
cmp dword [esi*4 + 0x10059930], edx
je 0x10005ff2
pop edi
mov dword [0x1005b42c], eax
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [eax*8]
sub ecx, eax
cmp dword [ecx*4 + 0x10059928], 0
je 0x100060cf
xor esi, esi
lea eax, [esi + 0x25]
call fcn.10001040
test al, 1
je 0x10006057
mov eax, dword [0x1005b42c]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [edx*4 + 0x10059928]
cmp dword [eax], esi
jle 0x10006057
or esi, 0xffffffff
mov eax, 0x27
call fcn.10001040
mov ecx, dword [0x1005b42c]
test al, 1
je 0x10006091
lea eax, [ecx*8]
sub eax, ecx
add eax, eax
mov edx, dword [eax + eax + 0x1005992c]
add eax, eax
mov eax, dword [eax + 0x10059928]
dec edx
cmp dword [eax], edx
jge 0x10006091
mov esi, 1
jmp 0x10006095
test esi, esi
je 0x100060cf
lea eax, [ecx*8]
sub eax, ecx
add eax, eax
mov ecx, dword [eax + eax + 0x10059928]
add dword [ecx], esi
add eax, eax
mov eax, dword [eax + 0x10059930]
cmp eax, 1
jne 0x100060c0
mov dword [0x1005b428], 0
cmp eax, 4
jne 0x100060cf
mov dword [0x1005b428], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10006ab0
Capabilities:
Execute command
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10056cc0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10056ea0], 1
push esi
mov esi, dword [0x1005b264]
jne 0x10006b3a
push 0x100598c0
push str.Arial
push 0
push 2
push 7
push 1
push 0
push 1
push 0x2bc
push 0
push 0xf
push esi
call fcn.1000a6b3
push 0x1005b3dc
push str.Hud_Small_Font
push 0
push 0
push 7
push 1
push 0
push 0
push 0x190
push 0
push 0x10
push esi
call fcn.1000a6b3
push 0x1005b3e4
push esi
call fcn.1000a644
push 0x1005b22c
push esi
call fcn.1000a568
mov dword [0x10056ea0], 0
push 0x7b
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x10006b65
push edi
mov edi, 0x85869128
lea esi, [ebp - 0x24]
call fcn.1000a0c0
push eax
call dword [sym.imp.MSVCR100.dll_system]
add esp, 4
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1003884a
mov esp, ebp
pop ebp
ret
Function at 0x100078f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1005b2cc]
sub esp, 8
push ebx
xor ebx, ebx
cmp dword [eax], ebx
jbe 0x10007916
cmp byte [0x1005b3d6], bl
jne 0x10007916
call fcn.10006c70
mov byte [0x1005b3d6], 1
mov ecx, dword [0x1005b1d8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5064]
mov dword [0x1005b264], eax
cmp eax, ebx
je 0x10007a82
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
cmp eax, 0x88760868
je 0x10007a82
mov eax, dword [0x1005b264]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc0]
push esi
push 0x1005b2a8
push eax
call edx
mov eax, dword [0x1005b264]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc0]
push 0x1005b390
push eax
call edx
call fcn.10006ab0
mov esi, dword [0x1005b264]
cmp dword [0x1005b424], ebx
jne 0x100079b4
cmp dword [0x1005b428], ebx
jne 0x1000798f
call fcn.100060e0
fild dword [0x10056eb4]
sub esp, 8
mov ecx, esi
fstp dword [esp + 4]
fild dword [0x10056eb0]
fstp dword [esp]
call fcn.10005c00
add esp, 8
call fcn.10005ea0
push edi
call fcn.10006b80
mov eax, dword [0x1005b2d8]
cmp dword [eax], ebx
jbe 0x10007a48
call fcn.10004f20
cmp dword [0x1005a9a8], ebx
je 0x100079de
call fcn.10004500
call fcn.10004660
call fcn.10004af0
call fcn.100051b0
mov esi, dword [0x1005b3ac]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, dword [0x1005b200]
lea ecx, [ebp - 4]
push ecx
push 0x40
push 4
push esi
call ebx
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push eax
push 4
push esi
mov dword [esi], edi
call ebx
call fcn.10003420
call fcn.10005810
call fcn.10005700
call fcn.10005400
call fcn.100054b0
call fcn.10005560
call fcn.10005640
call fcn.10005790
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [0x1005b3ac]
mov edi, dword [0x1005b248]
lea ecx, [ebp - 4]
push ecx
push 0x40
push 4
mov dword [0x1005a808], ebx
mov dword [0x1005b3b4], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
call ebx
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push eax
push 4
push esi
mov dword [esi], edi
call ebx
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10008060
Capabilities:
Create thread
Execute command

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10039888
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10056cc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x1005b3d7], 0
jne 0x1000812a
mov edi, 0x1004ab14
sub edi, 0x2d826f0a
lea esi, [ebp - 0x20]
call fcn.1000a1b0
push eax
mov dword [ebp - 4], 0
call fcn.10005920
add esp, 4
mov edi, 0x2a39e5e1
lea esi, [ebp - 0x30]
call fcn.1000a080
push eax
call dword [sym.imp.MSVCR100.dll_system]
mov edi, 0x1004ab20
add esp, 4
sub edi, 0x478e0309
lea esi, [ebp - 0x20]
call fcn.1000a1f0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call ebx
mov edi, 0x1004ab30
sub edi, 0x5854b0b5
lea esi, [ebp - 0x24]
mov dword [0x1005b2c0], eax
call fcn.1000a230
push eax
call ebx
mov edi, 0x30d0f47f
lea esi, [ebp - 0x20]
mov dword [0x100598c4], eax
call fcn.1000a270
push eax
call ebx
mov dword [0x1005a9d4], eax
mov byte [0x1005b3d7], 1
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x10001aa0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x100058b0
push 0
push 0
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003884a
mov esp, ebp
pop ebp
ret

Function at 0x10008200
Capabilities:
Create thread
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10056cc0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
mov ecx, 6
xor eax, eax
jmp 0x10008220
mov dl, byte [eax + str.VoqzRHc]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x18], dl
jns 0x1000823d
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x13
jl 0x10008220
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x100598fc], eax
test eax, eax
je 0x1000829f
cmp dword [ebp + 0xc], 1
jne 0x1000829f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push edi
call esi
mov ecx, dword [0x1005b2c0]
push ecx
call esi
mov edx, dword [0x100598c4]
push edx
call esi
mov eax, dword [0x1005a9d4]
push eax
call esi
call fcn.10001270
push 0
push 0
push 0
push 0x10008170
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop edi
call fcn.1003884a
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10008fd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10039548
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10056cc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebx + 0x44], 0
je 0x10009162
cmp byte [ebx + 0x49], 0
je 0x10009162
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, ebx
call edx
cmp eax, 0xffffffff
je 0x10009156
lea esi, [ebp - 0x2c]
call fcn.10008f70
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x10009043
lea edx, [ebp - 0x2c]
mov eax, edx
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, edx
push ecx
mov ecx, dword [ebx + 0x44]
push eax
lea eax, [ebx + 0x4c]
push eax
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x1000907b
dec eax
je 0x1000907f
sub eax, 2
lea esi, [ebp - 0x2c]
je 0x1000915d
call fcn.100082c0
xor al, al
jmp 0x10009164
mov byte [ebx + 0x49], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x1000908f
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0x100090bd
cmp edi, 0x10
jae 0x1000909e
lea eax, [ebp - 0x2c]
mov edx, dword [ebx + 0x54]
push edx
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x1000914e
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [ebx + 0x49], 0
je 0x1000915a
test esi, esi
jne 0x10009037
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, ecx
cmp edx, 8
jbe 0x1000917f
lea esi, [ecx + 8]
cmp esi, 0xfffffffe
ja 0x1000917f
cmp edi, esi
jae 0x10009137
push ecx
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.10009360
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
test esi, esi
je 0x10009037
mov ecx, eax
cmp edi, 0x10
jae 0x10009113
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
jae 0x1000912e
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x10009031
test esi, esi
jne 0x10009109
mov dword [ebp - 0x1c], esi
cmp edi, 0x10
jae 0x10009146
lea eax, [ebp - 0x2c]
mov byte [eax], 0
jmp 0x10009031
lea esi, [ebp - 0x2c]
call fcn.100082c0
xor al, al
jmp 0x10009164
lea esi, [ebp - 0x2c]
call fcn.100082c0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003884a
mov esp, ebp
pop ebp
ret
push str.string_too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
int3

Function at 0x10009e80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 2
xor ecx, ecx
jmp 0x10009e90
mov al, byte [edi + ecx + 0x40176828]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x10009ead
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0x10
jl 0x10009e90
mov byte [esi + 0x10], 0
mov eax, esi
ret
Function at 0x1000a270
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x86
xor ecx, ecx
jmp 0x1000a280
mov al, byte [edi + ecx - 0x20cc493b]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1000a29d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1000a280
mov byte [esi + 0xc], 0
mov eax, esi
ret
Function at 0x10017d66
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x1003c5f0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10017dbf
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
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 0x10017dbf
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x10017dbf
xor eax, eax
inc eax
jmp 0x10017dc1
xor eax, eax
leave
ret 0x10

Function at 0x10017ded
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push 0x1003c5f0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x10017e5d
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 0x10017e54
cmp dword [ebp - 0xc], 4
jne 0x10017e54
cmp dword [ebp - 0x10], edi
je 0x10017e54
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x1004d250], edi
xor eax, eax
jmp 0x10017e9c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x1004d250], edi
jge 0x10017e97
lea eax, [ebp - 0x34]
push eax
mov dword [0x1004d250], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x10017e97
cmp word [ebp - 0x14], 5
jb 0x10017e97
call fcn.10017dc5
test eax, eax
je 0x10017e97
emms
mov dword [0x1004d250], 1
mov eax, dword [0x1004d250]
pop edi
leave
ret
Function at 0x1002462f
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
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 - 0x14], eax
jae 0x10024752
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 - 4], ecx
jae 0x10024736
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], 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 + 0x10]
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 - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
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 + 0x10]
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 - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x10024688
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 - 0x14]
mov dword [ebp + 0xc], edx
jb 0x10024666
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18
Function at 0x10024a0e
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x20]
push ebx
mov ebx, dword [edx + 0x20]
push esi
mov esi, dword [edx + 0x6c]
imul esi, dword [edx + 0x60]
add esi, ebx
cmp ebx, esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], esi
jae 0x10024b3c
mov eax, 0xf81f
push edi
mov edi, dword [edx + 0x60]
mov edx, dword [edx + 0x68]
lea edx, [ebx + edx*2]
add edi, ebx
cmp ebx, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x20], edx
jae 0x10024b1c
movzx ecx, word [edi]
movzx edx, word [edi + 2]
movzx esi, word [ebx + 2]
mov dword [ebp - 4], ecx
movzx ecx, word [ebx]
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 - 0xc]
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 - 0x10]
add ebx, 4
add edi, 4
cmp ebx, dword [ebp - 0x20]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
jb 0x10024a67
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov edi, dword [edx + 4]
add ecx, dword [edi + 0x60]
mov edx, dword [edx]
mov edi, dword [edx + 0x60]
lea ebx, [ebx + edi*2]
cmp ebx, esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
jb 0x10024a48
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x10024c47
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ecx + 4]
push ebx
mov dword [ebp - 0x28], ecx
mov ecx, dword [ecx]
mov ebx, dword [ecx + 0x20]
push esi
mov esi, dword [eax + 0x20]
mov eax, dword [ecx + 0x6c]
imul eax, dword [ecx + 0x60]
add eax, ebx
cmp ebx, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2c], eax
jae 0x10024d6a
mov eax, 0x83e0
mov edx, 0x7c1f
push edi
mov edi, dword [ecx + 0x60]
mov ecx, dword [ecx + 0x68]
lea ecx, [ebx + ecx*2]
add edi, ebx
cmp ebx, ecx
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], ecx
jae 0x10024d46
movzx ecx, word [ebx + 2]
movzx esi, word [edi + 2]
mov dword [ebp - 8], ecx
movzx ecx, word [edi]
movzx edi, word [ebx]
mov dword [ebp - 4], ecx
mov ebx, edi
and ebx, eax
mov ecx, esi
and ecx, eax
add ecx, ebx
mov ebx, dword [ebp - 4]
and ebx, eax
add ecx, ebx
mov ebx, dword [ebp - 8]
and ebx, eax
lea ebx, [ecx + ebx + 0x10040]
mov dword [ebp - 0x20], edi
and edi, edx
mov ecx, esi
and ecx, edx
add ecx, edi
mov edi, dword [ebp - 4]
and edi, edx
add ecx, edi
mov edi, dword [ebp - 8]
and edi, edx
lea ecx, [ecx + edi + 0x802]
shr ecx, 2
mov edi, dword [ebp - 0x14]
shr ebx, 2
xor ebx, 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 bx, dx
and ecx, eax
lea ecx, [esi + ecx + 0x10040]
shr ecx, 2
add edi, 4
mov dword [ebp - 0x14], edi
xor ebx, ecx
mov ecx, dword [ebp - 0xc]
add dword [ebp - 0xc], 2
mov word [ecx], bx
mov ebx, dword [ebp - 0x10]
add ebx, 4
cmp ebx, dword [ebp - 0x24]
mov dword [ebp - 0x10], ebx
jb 0x10024ca3
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
mov edi, dword [ecx + 4]
mov esi, dword [ebp - 0x18]
add esi, dword [edi + 0x60]
mov ecx, dword [ecx]
mov edi, dword [ecx + 0x60]
lea ebx, [ebx + edi*2]
cmp ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
jb 0x10024c84
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x10024d70
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x20]
push ebx
mov ebx, dword [edx + 0x20]
push esi
mov esi, dword [edx + 0x6c]
imul esi, dword [edx + 0x60]
add esi, ebx
cmp ebx, esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], esi
jae 0x10024ea1
mov eax, 0xf0f0
push edi
mov edi, dword [edx + 0x60]
mov edx, dword [edx + 0x68]
lea edx, [ebx + edx*2]
add edi, ebx
cmp ebx, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x20], edx
jae 0x10024e81
movzx ecx, word [edi]
movzx edx, word [edi + 2]
movzx esi, word [ebx + 2]
mov dword [ebp - 4], ecx
movzx ecx, word [ebx]
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 - 0xc]
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 - 0x10]
add ebx, 4
add edi, 4
cmp ebx, dword [ebp - 0x20]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
jb 0x10024dc9
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov edi, dword [edx + 4]
add ecx, dword [edi + 0x60]
mov edx, dword [edx]
mov edi, dword [edx + 0x60]
lea ebx, [ebx + edi*2]
cmp ebx, esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
jb 0x10024daa
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x10024ea7
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, ecx
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x20]
push ebx
push edi
mov dword [ebp - 0x28], eax
mov eax, dword [eax]
mov edi, dword [eax + 0x6c]
imul edi, dword [eax + 0x60]
mov ebx, dword [eax + 0x20]
add edi, ebx
cmp ebx, edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], edi
jae 0x10024fbf
push esi
mov esi, 0xe3
mov edx, dword [eax + 0x60]
mov eax, dword [eax + 0x68]
add eax, ebx
add edx, ebx
cmp ebx, eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], eax
jae 0x10024f9f
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
movzx edi, byte [ebx + 1]
mov dword [ebp - 4], ecx
movzx ecx, byte [ebx]
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]
mov ebx, dword [ebp - 0xc]
and cx, si
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 - 0x10]
inc ebx
inc ebx
inc edx
inc edx
cmp ebx, dword [ebp - 0x20]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edx
jb 0x10024eff
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 4]
add ecx, dword [edx + 0x60]
mov eax, dword [eax]
mov edx, dword [eax + 0x60]
lea ebx, [ebx + edx*2]
cmp ebx, edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
jb 0x10024ee1
pop esi
pop edi
xor eax, eax
pop ebx
leave
ret