joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001a06d
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0xf0
mov esi, ecx
push 0x41e
push dword [esi + 0xb8]
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
push ebx
push 0x41d
push dword [esi + 0xb8]
call edi
mov ebp, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebp
push ebx
push 0x417
push dword [esi + 0xb8]
call edi
push eax
call ebp
test ebx, ebx
jne 0x1001a0df
push 0x10044d40
push 0x417
push dword [esi + 0xb8]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
pop edi
pop esi
pop ebp
pop ebx
ret
lea ecx, [esi + 0x54]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push 0x417
push dword [esi + 0xb8]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
pop edi
mov ecx, esi
pop esi
pop ebp
pop ebx
jmp fcn.10019e2a

Function at 0x1001a105
Capabilities:
Copy file

Disassembly:
push 8
mov eax, 0x10041a22
call fcn.1003e7e6
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 0xb0], bl
je 0x1001a1f5
push ebx
push ebx
push 0xf0
push 0x41e
push dword [esi + 0xb8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1001a1f5
lea edi, [esi + 0x54]
push ebx
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
mov ecx, 0x100732f4
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1001a1f5
lea eax, [ebp - 0x10]
push 0x1186
push eax
call fcn.100012eb
mov ecx, eax
call fcn.100194e4
mov ecx, edi
mov dword [ebp - 4], ebx
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
lea ecx, [ebp - 0x10]
call fcn.10006250
push 0x10046fc8
lea ecx, [ebp - 0x10]
call fcn.10006250
lea eax, [ebp - 0x14]
push eax
call fcn.100064fc
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.10005022
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.1000167f
push 0x10
push 0x10044fac
lea ecx, [ebp - 0x10]
call fcn.10003da6
push eax
push dword [esi + 0xb8]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.1000167f
xor al, al
jmp 0x1001a1f7
mov al, 1
call fcn.1003e8be
ret
Function at 0x1001a36f
Capabilities:
Create thread
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x10071ef0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push 0x7f02
mov byte [esi + 0xb0], bl
push ebx
mov dword [0x100730c4], ebx
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov edi, 0x206
push edi
mov dword [0x100730cc], eax
lea eax, [ebp - 0x20a]
push ebx
push eax
mov word [ebp - 0x20c], bx
call sub.MSVCR80.dll_memset
push edi
lea eax, [ebp - 0x412]
push ebx
push eax
mov word [ebp - 0x414], bx
call sub.MSVCR80.dll_memset
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0x70]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
lea eax, [ebp - 0x414]
push eax
push ebx
push 0x10046fe4
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x414]
push eax
mov ecx, 0x100732f4
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
lea eax, [ebp - 0x418]
push eax
push ebx
push dword [esi + 0xc0]
push 0x1001a327
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi + 0xbc], eax
pop esi
xor ecx, ebp
pop ebx
call fcn.1003e70b
leave
ret

Function at 0x1001afe9
Capabilities:
Create process on windows

Disassembly:
push 5
xor eax, eax
push eax
push eax
push dword [ecx + 8]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret
Function at 0x1001b7f4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push str.https:__secure.disc_soft.com_payment_dtLite_1
push eax
mov esi, ecx
call fcn.100069de
pop ecx
pop ecx
push 5
xor ecx, ecx
push ecx
push ecx
push dword [eax]
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.1000167f
push 1
push dword [esi]
call dword [sym.imp.USER32.dll_EndDialog]
pop esi
leave
ret

Function at 0x1001bb1f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov esi, ecx
push dword [esi + 4]
mov ebx, 0x3ef
push ebx
push dword [esi + 0x30]
lea ecx, [esi + 0xc]
call fcn.1001c2a1
push 0x10044fac
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [esi]
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x3ed
push dword [esi + 0x30]
call edi
push dword [esi + 4]
push ebx
push dword [esi + 0x30]
call edi
lea eax, [ebp - 4]
push 0x138b
push eax
call fcn.100012eb
mov ecx, eax
call fcn.100194e4
push dword [eax]
push 2
push dword [esi + 0x30]
call edi
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.1000167f
lea eax, [ebp - 4]
push 0x1180
push eax
call fcn.100012eb
mov ecx, eax
call fcn.100194e4
push dword [eax]
push 1
push dword [esi + 0x30]
call edi
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.1000167f
mov eax, dword [esi + 8]
test eax, eax
je 0x1001bbcf
cmp word [eax], 0
je 0x1001bbcf
call fcn.10005446
test eax, eax
jne 0x1001bc44
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 1
push dword [esi + 0x30]
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x24]
push eax
push dword [esi + 0x30]
call ebx
lea eax, [ebp - 0x14]
push eax
push 2
push dword [esi + 0x30]
call edi
push eax
call ebx
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
sar ecx, 1
cdq
sub eax, edx
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x30]
sar ebx, 1
sub ebx, ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
push 1
xor eax, eax
push eax
push eax
push dword [ebp - 0x10]
push ebx
push eax
push 2
push dword [esi + 0x30]
call edi
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001be50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push edi
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x3c]
push 0
push eax
mov esi, ecx
call sub.MSVCR80.dll_memset
mov eax, dword [esi + 4]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x2c], eax
xor edi, edi
add esp, 0xc
lea eax, [ebp - 0x3c]
inc edi
push eax
mov dword [ebp - 0x30], str.open
mov dword [ebp - 0x20], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [esi + 0x18], edi
pop edi
pop esi
leave
ret
Function at 0x1001d776
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x10071ef0]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 8
mov eax, 0x10041bc0
call fcn.1003e7e6
mov eax, dword [ebp + 0x80c]
mov eax, dword [eax]
mov edx, dword [ebp + 0x814]
mov edx, dword [edx]
mov ecx, dword [ebp + 0x810]
mov ecx, dword [ecx]
mov edi, dword [ebp + 0x818]
push eax
push 0x400
lea eax, [ebp]
push eax
mov esi, 0x10044d40
push esi
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.10002f76
and dword [ebp - 4], 0
push esi
lea ecx, [ebp - 0x10]
call fcn.10004d01
neg eax
sbb eax, eax
neg eax
mov dword [edi], eax
lea eax, [ebp - 0x14]
push eax
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.10002c4c
call fcn.1001d513
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.1000167f
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.1003e70b
add ebp, 0x804
leave
ret 0x10
Function at 0x10021166
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, edx
shr eax, 4
xor eax, ecx
and eax, 0xf0f0f0f
xor ecx, eax
shl eax, 4
xor edx, eax
mov eax, edx
shr eax, 0x10
xor eax, ecx
and eax, 0xffff
xor ecx, eax
shl eax, 0x10
xor edx, eax
mov eax, ecx
shr eax, 2
xor eax, edx
and eax, 0x33333333
xor edx, eax
shl eax, 2
xor ecx, eax
mov eax, ecx
shr eax, 8
xor eax, edx
and eax, 0xff00ff
xor edx, eax
shl eax, 8
xor eax, ecx
rol eax, 1
mov ecx, eax
push ebx
xor ecx, edx
and ecx, 0xaaaaaaaa
push esi
xor eax, ecx
push edi
xor ecx, edx
rol ecx, 1
push 0x3f
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 8
pop edi
mov ecx, dword [ebp + 0xc]
mov esi, eax
ror esi, 4
xor esi, dword [ecx]
add ecx, 4
mov edx, esi
shr edx, 0x18
mov ebx, esi
shr ebx, 0x10
and ebx, edi
and edx, edi
mov edx, dword [edx*4 + 0x1006e6b8]
or edx, dword [ebx*4 + 0x1006e8b8]
mov ebx, esi
shr ebx, 8
and ebx, edi
or edx, dword [ebx*4 + 0x1006eab8]
and esi, edi
or edx, dword [esi*4 + 0x1006ecb8]
mov esi, dword [ecx]
add ecx, 4
mov dword [ebp + 0xc], ecx
xor esi, eax
mov ecx, esi
shr ecx, 0x18
and ecx, edi
mov ecx, dword [ecx*4 + 0x1006e7b8]
mov ebx, esi
shr ebx, 0x10
and ebx, edi
or ecx, dword [ebx*4 + 0x1006e9b8]
mov ebx, esi
shr ebx, 8
and ebx, edi
or ecx, dword [ebx*4 + 0x1006ebb8]
and esi, edi
or ecx, dword [esi*4 + 0x1006edb8]
or ecx, edx
xor dword [ebp - 4], ecx
mov esi, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
ror esi, 4
xor esi, dword [ecx]
add ecx, 4
mov edx, esi
shr edx, 0x18
mov ebx, esi
shr ebx, 0x10
and ebx, edi
and edx, edi
mov edx, dword [edx*4 + 0x1006e6b8]
or edx, dword [ebx*4 + 0x1006e8b8]
mov ebx, esi
shr ebx, 8
and ebx, edi
or edx, dword [ebx*4 + 0x1006eab8]
and esi, edi
or edx, dword [esi*4 + 0x1006ecb8]
mov esi, dword [ecx]
xor esi, dword [ebp - 4]
add ecx, 4
mov dword [ebp + 0xc], ecx
mov ecx, esi
shr ecx, 0x18
and ecx, edi
mov ecx, dword [ecx*4 + 0x1006e7b8]
mov ebx, esi
shr ebx, 0x10
and ebx, edi
or ecx, dword [ebx*4 + 0x1006e9b8]
mov ebx, esi
shr ebx, 8
and ebx, edi
or ecx, dword [ebx*4 + 0x1006ebb8]
and esi, edi
or ecx, dword [esi*4 + 0x1006edb8]
or ecx, edx
xor eax, ecx
dec dword [ebp - 8]
jne 0x100211e1
ror eax, 1
mov edx, eax
xor edx, dword [ebp - 4]
pop edi
and edx, 0xaaaaaaaa
xor eax, edx
xor edx, dword [ebp - 4]
ror edx, 1
mov ecx, edx
shr ecx, 8
xor ecx, eax
and ecx, 0xff00ff
xor eax, ecx
shl ecx, 8
xor edx, ecx
mov ecx, edx
shr ecx, 2
xor ecx, eax
and ecx, 0x33333333
xor eax, ecx
shl ecx, 2
xor edx, ecx
mov ecx, eax
shr ecx, 0x10
xor ecx, edx
and ecx, 0xffff
xor edx, ecx
shl ecx, 0x10
xor eax, ecx
mov ecx, eax
shr ecx, 4
xor ecx, edx
and ecx, 0xf0f0f0f
mov esi, ecx
shl esi, 4
xor esi, eax
mov eax, dword [ebp + 8]
mov dword [eax], esi
xor ecx, edx
pop esi
mov dword [eax + 4], ecx
pop ebx
leave
ret
Function at 0x1002144c
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
mov eax, dword [0x10071ef0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x7c], eax
xor edx, edx
movzx ecx, byte [edx + 0x1006e640]
mov esi, dword [ebp + 0xc]
mov eax, ecx
sar eax, 3
mov al, byte [eax + esi]
and ecx, 7
test byte [ecx*2 + 0x1006e5d0], al
setne al
mov byte [ebp + edx - 0x74], al
inc edx
cmp edx, 0x38
jl 0x1002146c
mov dword [ebp - 0x78], ebx
mov edi, dword [ebp - 0x78]
lea ecx, [edi + edi]
lea edx, [ebp + ecx*4 - 0xf8]
lea esi, [ebp + ecx*4 - 0xfc]
movzx ecx, byte [edi + 0x1006e678]
mov dword [edx], ebx
mov dword [esi], ebx
xor eax, eax
mov edi, ecx
cmp edi, 0x1c
jge 0x100214c6
mov bl, byte [ebp + edi - 0x74]
jmp 0x100214cd
mov bl, byte [ebp + edi - 0x90]
mov byte [ebp + eax - 0x3c], bl
inc eax
inc edi
cmp eax, 0x1c
jl 0x100214bb
push 0x1c
pop edi
add ecx, edi
cmp ecx, 0x38
jge 0x100214e8
mov al, byte [ebp + ecx - 0x74]
jmp 0x100214ef
mov al, byte [ebp + ecx - 0x90]
mov byte [ebp + edi - 0x3c], al
inc edi
inc ecx
cmp edi, 0x38
jl 0x100214dd
xor ebx, ebx
xor eax, eax
lea ecx, [eax + 0x1006e6a0]
movzx edi, byte [ecx - 0x18]
cmp byte [ebp + edi - 0x3c], bl
je 0x10021517
mov edi, dword [eax*4 + 0x1006e5e0]
or dword [esi], edi
movzx ecx, byte [ecx]
cmp byte [ebp + ecx - 0x3c], bl
je 0x10021529
mov ecx, dword [eax*4 + 0x1006e5e0]
or dword [edx], ecx
inc eax
cmp eax, 0x18
jl 0x100214fe
inc dword [ebp - 0x78]
cmp dword [ebp - 0x78], 0x10
jl 0x10021498
push dword [ebp + 0x10]
mov eax, dword [ebp - 0x7c]
lea ecx, [ebp - 0xfc]
call fcn.100210bb
push 0x38
lea eax, [ebp - 0x74]
push ebx
push eax
call sub.MSVCR80.dll_memset
push 0x38
lea eax, [ebp - 0x3c]
push ebx
push eax
call sub.MSVCR80.dll_memset
push 0x80
lea eax, [ebp - 0xfc]
push ebx
push eax
call sub.MSVCR80.dll_memset
mov ecx, dword [ebp - 4]
add esp, 0x28
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003e70b
leave
ret
Function at 0x1002599b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, eax
cmp dword [esi + 0x114], 0
je 0x10025ac8
push ebx
push edi
mov edi, dword [esi + 0x114]
lea eax, [edx + ecx]
add eax, edi
xor byte [eax], 1
mov dword [ebp - 4], edx
shr dword [ebp - 4], 1
mov ebx, ecx
imul ebx, ebx, 0x1a
cmp edx, 0x8bc
jae 0x10025a37
movzx eax, word [ebp - 4]
imul ecx, ecx, 0x2b
cdq
push 0x2b
pop edi
idiv edi
add eax, 0xe5
mov dword [ebp - 8], eax
lea eax, [ecx + edx]
mov ecx, eax
imul ecx, ecx, 0x1a
lea edi, [eax + esi + 0x12f8]
movzx eax, byte [edi]
lea ecx, [ecx + esi + 0x118]
jmp 0x10025a0d
movzx edx, byte [ecx]
cmp edx, dword [ebp - 8]
je 0x10025a11
dec eax
inc ecx
test eax, eax
ja 0x10025a03
cmp eax, 1
jbe 0x10025a28
dec eax
push eax
lea eax, [ecx + 1]
push eax
push ecx
call dword [sym.imp.MSVCR80.dll_memmove]
add esp, 0xc
jmp 0x10025a2d
jne 0x10025a2d
mov byte [ecx], 0
mov al, byte [edi]
test al, al
jbe 0x10025a37
dec al
mov byte [edi], al
cmp word [ebp - 4], 0x45e
movzx edi, word [ebp - 4]
mov eax, edi
cdq
jae 0x10025a54
push 0x2b
pop ecx
idiv ecx
sub eax, edx
add eax, 0x34
movzx eax, ax
cdq
push 0x1a
pop ecx
idiv ecx
lea ecx, [ebx + edx]
mov eax, ecx
imul eax, eax, 0x2d
cmp word [ebp - 4], 0x45e
lea ebx, [eax + esi + 0x9d4]
mov eax, edi
cdq
jae 0x10025a7c
push 0x2b
pop edi
idiv edi
mov eax, edx
jmp 0x10025a81
push 0x1a
pop edi
idiv edi
lea esi, [ecx + esi + 0x134e]
lea edx, [eax + 0xd2]
movzx eax, byte [esi]
jmp 0x10025a9c
movzx ecx, byte [ebx]
cmp ecx, edx
je 0x10025aa0
dec eax
inc ebx
test eax, eax
ja 0x10025a93
cmp eax, 1
jbe 0x10025ab7
dec eax
push eax
lea eax, [ebx + 1]
push eax
push ebx
call dword [sym.imp.MSVCR80.dll_memmove]
add esp, 0xc
jmp 0x10025abc
jne 0x10025abc
mov byte [ebx], 0
mov al, byte [esi]
test al, al
pop edi
pop ebx
jbe 0x10025ac8
dec al
mov byte [esi], al
pop esi
leave
ret

Function at 0x10026c6d
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
push edi
sub ecx, esi
xor edi, edi
lea edx, [eax + esi]
inc ecx
movzx eax, byte [edx]
xor eax, edi
and eax, 0xff
shr edi, 8
xor edi, dword [eax*4 + 0x1006f330]
inc edx
dec ecx
jne 0x10026c83
mov eax, edi
pop edi
pop esi
ret
Function at 0x10026d3a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0xac
lea esi, [edi + 0x810]
push 0
push esi
call sub.MSVCR80.dll_memset
add esp, 0xc
and dword [ebp + 8], 0
xor edx, edx
movzx eax, byte [edi]
inc edi
movzx ecx, byte [edi]
add eax, edx
mov bl, byte [eax + 0x10052cf0]
xor byte [esi], bl
add ecx, edx
mov bl, byte [ecx + 0x10052cf0]
inc edi
inc esi
xor byte [esi], bl
mov al, byte [eax + 0x10052df0]
add esi, 0x55
xor byte [esi], al
mov al, byte [ecx + 0x10052df0]
inc esi
xor byte [esi], al
add edx, 0x200
sub esi, 0x55
cmp edx, 0x5400
jle 0x10026d5f
movzx eax, byte [edi]
mov dl, byte [eax + 0x100582f0]
inc edi
movzx ecx, byte [edi]
xor byte [esi], dl
mov dl, byte [ecx + 0x100582f0]
add eax, 0x5600
add ecx, 0x5600
inc edi
inc esi
xor byte [esi], dl
mov al, byte [eax + 0x10052df0]
add esi, 0x55
xor byte [esi], al
mov al, byte [ecx + 0x10052df0]
inc esi
xor byte [esi], al
sub esi, 0xab
cmp dword [ebp + 8], 0x17
jge 0x10026ded
inc dword [ebp + 8]
jmp 0x10026d5d
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x1002a6d4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, eax
push edi
lea eax, [esi + 0x810]
mov dword [ebp - 0xc], 0x2b
and dword [ebp - 8], 0
and dword [ebp - 4], 0
mov ecx, esi
mov edx, 0x1300
movzx edi, byte [ecx]
add edi, edx
mov di, word [edi*2 + 0x10057d28]
xor word [ebp - 4], di
inc ecx
movzx edi, byte [ecx]
add edi, edx
mov di, word [edi*2 + 0x10057d28]
xor word [ebp - 8], di
add edx, 0x100
add ecx, 0x55
cmp edx, 0x2b00
jl 0x1002a6fa
mov cl, byte [ebp - 3]
mov byte [eax], cl
mov cl, byte [ebp - 4]
mov byte [eax + 0x56], cl
mov cl, byte [ebp - 7]
mov byte [eax + 1], cl
mov cl, byte [ebp - 8]
mov byte [eax + 0x57], cl
inc eax
inc eax
inc esi
inc esi
dec dword [ebp - 0xc]
jne 0x1002a6eb
pop edi
xor eax, eax
pop esi
leave
ret

Function at 0x1002a7d8
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
push esi
lea esi, [eax + edx]
mov eax, dword [esp + 0x10]
sub eax, edx
xor ecx, ecx
inc eax
cdq
and edx, 3
push edi
add eax, edx
mov edi, eax
sar edi, 2
dec edi
js 0x1002a84c
mov edx, 0xff
movzx eax, byte [esi]
xor eax, ecx
and eax, edx
shr ecx, 8
xor ecx, dword [eax*4 + 0x1006f730]
inc esi
movzx eax, byte [esi]
xor eax, ecx
and eax, edx
shr ecx, 8
xor ecx, dword [eax*4 + 0x1006f730]
inc esi
movzx eax, byte [esi]
xor eax, ecx
and eax, edx
shr ecx, 8
xor ecx, dword [eax*4 + 0x1006f730]
inc esi
movzx eax, byte [esi]
xor eax, ecx
and eax, edx
shr ecx, 8
xor ecx, dword [eax*4 + 0x1006f730]
inc esi
dec edi
jns 0x1002a801
pop edi
mov eax, ecx
pop esi
ret

Function at 0x1002dc5d
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
push edi
xor ecx, ecx
movzx edx, byte [ecx + esi]
xor ebx, ebx
movzx edi, ax
mov bh, al
shr edi, 8
xor edx, edi
xor bx, word [edx*2 + 0x1006fb68]
inc ecx
cmp ecx, 0xa
movzx eax, bx
jl 0x1002dc68
mov cl, ah
not cl
not al
pop edi
mov byte [esi + 0xa], cl
mov byte [esi + 0xb], al
pop esi
pop ebx
ret
Function at 0x1002dd66
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [sym.imp.MSVCR80.dll_memmove]
push esi
mov esi, dword [ebp + 8]
xor eax, eax
cmp byte [ebp + 0xc], 1
push edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov edi, 0xff
jne 0x1002ddbd
movzx ecx, byte [eax + esi]
xor ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
and ecx, edi
shr edx, 8
xor edx, dword [ecx*4 + 0x1006fd68]
inc eax
cmp eax, 0x810
mov dword [ebp - 4], edx
jb 0x1002dd8a
push 4
lea eax, [esi + 0x810]
push eax
lea eax, [ebp - 8]
push eax
call ebx
add esp, 0xc
cmp byte [ebp + 0xc], 2
jne 0x1002de28
cmp byte [ebp + 0x10], 1
push 0x10
pop eax
jne 0x1002ddf5
movzx ecx, byte [eax + esi]
xor ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
and ecx, edi
shr edx, 8
xor edx, dword [ecx*4 + 0x1006fd68]
inc eax
cmp eax, 0x818
mov dword [ebp - 4], edx
jb 0x1002ddcc
add esi, 0x818
jmp 0x1002de1c
movzx ecx, byte [eax + esi]
xor ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
and ecx, edi
shr edx, 8
xor edx, dword [ecx*4 + 0x1006fd68]
inc eax
cmp eax, 0x92c
mov dword [ebp - 4], edx
jb 0x1002ddf5
add esi, 0x92c
push 4
lea eax, [ebp - 8]
push esi
push eax
call ebx
add esp, 0xc
mov ecx, dword [ebp - 8]
xor eax, eax
cmp dword [ebp - 4], ecx
pop edi
pop esi
sete al
pop ebx
leave
ret

Function at 0x1002de38
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0xac
push 0
push esi
call sub.MSVCR80.dll_memset
mov edx, dword [ebp + 8]
add esp, 0xc
push 0xc
pop edi
lea eax, [esi + 1]
mov dword [ebp - 4], 0x2b
xor esi, esi
movzx ecx, byte [edx + edi]
add ecx, esi
mov bl, byte [ecx + 0x100742e8]
xor byte [eax - 1], bl
mov cl, byte [ecx + 0x10075ae8]
xor byte [eax + 0x55], cl
movzx ecx, byte [edx + edi + 1]
add ecx, esi
mov bl, byte [ecx + 0x100742e8]
xor byte [eax], bl
mov cl, byte [ecx + 0x10075ae8]
xor byte [eax + 0x56], cl
add esi, 0x100
add edi, 0x56
cmp esi, 0x1800
jl 0x1002de64
inc eax
inc eax
sub edi, 0x80e
dec dword [ebp - 4]
jne 0x1002de62
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1002deb7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x68
push 0
push esi
call sub.MSVCR80.dll_memset
mov edi, dword [ebp + 8]
add esp, 0xc
xor edx, edx
lea eax, [esi + 1]
mov dword [ebp - 4], 0x1a
xor esi, esi
mov ecx, dword [edx*4 + 0x1007c8e8]
movzx ecx, byte [edi + ecx]
add ecx, esi
mov bl, byte [ecx + 0x100772e8]
xor byte [eax - 1], bl
mov cl, byte [ecx + 0x10079de8]
xor byte [eax + 0x33], cl
mov ecx, dword [edx*4 + 0x1007c8ec]
movzx ecx, byte [edi + ecx]
add ecx, esi
mov bl, byte [ecx + 0x100772e8]
xor byte [eax], bl
mov cl, byte [ecx + 0x10079de8]
xor byte [eax + 0x34], cl
add esi, 0x100
add edx, 0x58
cmp esi, 0x2b00
jl 0x1002dedf
inc eax
inc eax
sub edx, 0xe72
dec dword [ebp - 4]
jne 0x1002dedd
pop edi
pop esi
pop ebx
leave
ret