joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4db6a0
Capabilities:
Get http document via iwebbrowser2

Disassembly:
push 0xffffffffffffffff
push 0x584575
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62d414]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov esi, dword [edi + 0xc]
test esi, esi
jne 0x4db826
mov ecx, dword [0x680b30]
call fcn.00497920
push 0xa8
mov ebp, eax
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x50], ebx
test esi, esi
je 0x4db730
push 0x5d1aa8
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [esp + 0x50], 1
lea eax, [esp + 0x2c]
push eax
mov ebx, 1
push ebp
mov ecx, esi
mov dword [esp + 0x1c], ebx
call fcn.0041c410
mov esi, eax
jmp 0x4db732
xor esi, esi
mov dword [esp + 0x50], 0xffffffff
test bl, 1
je 0x4db750
and ebx, 0xfffffffe
lea ecx, [esp + 0x2c]
mov dword [esp + 0x14], ebx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
xor ecx, ecx
cmp byte [edi + 0x66], cl
sete cl
xor eax, eax
lea ecx, [ecx + ecx + 1]
mov dword [esi + 0x64], ecx
mov dx, word [edi + 0x64]
mov word [esi + 0x60], dx
cmp ax, word [edi + 0x64]
je 0x4db816
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
movzx eax, word [edi + 0x64]
mov edx, eax
and edx, 0x2000
xor ecx, ecx
cmp cx, dx
jne 0x4db7dc
movzx eax, ax
add eax, 0xfffffffe
cmp eax, 0x11
ja case.0x4db7ac.9
movzx edx, byte [eax + 0x4db854]
jmp dword [edx*4 + 0x4db848]
fldz
mov eax, 5
fstp qword [esp + 0x24]
mov word [esp + 0x1c], ax
jmp case.0x4db7ac.9
mov ecx, 8
push 0x5d1aa8
mov word [esp + 0x20], cx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
jmp 0x4db7f6
mov word [esp + 0x1c], ax
mov edx, dword [esp + 0x1c]
push 1
push 0
and edx, 0xdfff
push edx
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
mov dword [esp + 0x24], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x80]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call edx
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [edi + 0xc], esi
mov edx, dword [ebp]
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
mov esi, dword [edi + 0xc]
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov eax, esi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
Function at 0x4e2d40
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x584f4b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62d414]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 2
mov edx, dword [esp + 0x68]
mov ebp, 8
mov bl, 1
cmp dword [esp + 0x7c], ebp
jae 0x4e2d8a
lea edx, [esp + 0x68]
mov ecx, dword [esp + 0x4c]
cmp dword [esp + 0x60], ebp
jae 0x4e2d98
lea ecx, [esp + 0x4c]
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], ebp
jae 0x4e2da6
lea eax, [esp + 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edx
push 1
push ecx
push eax
call edi
mov edx, dword [esp + 0x68]
mov esi, eax
cmp dword [esp + 0x7c], ebp
jae 0x4e2dc3
lea edx, [esp + 0x68]
mov ecx, dword [esp + 0x4c]
cmp dword [esp + 0x60], ebp
jae 0x4e2dd1
lea ecx, [esp + 0x4c]
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], ebp
jae 0x4e2ddf
lea eax, [esp + 0x30]
push edx
push 2
push ecx
push eax
call edi
cmp esi, 1
jne 0x4e2e3c
cmp eax, 2
jne 0x4e2e3c
mov esi, dword [esp + 0x68]
cmp dword [esp + 0x7c], ebp
jae 0x4e2dfe
lea esi, [esp + 0x68]
mov edx, dword [esp + 0x4c]
cmp dword [esp + 0x60], ebp
jae 0x4e2e0c
lea edx, [esp + 0x4c]
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x44], ebp
jae 0x4e2e1a
lea ecx, [esp + 0x30]
mov eax, dword [0x63dd80]
mov edi, dword [eax]
push esi
push edx
push ecx
mov ecx, dword [edi]
push str.ERROR:_Could_not_retrieve_value_for___ls__ls_from_file__ls.
push str.COPCReadReq::GetIntFromINIFile
push 1
push eax
call ecx
add esp, 0x1c
xor bl, bl
jmp 0x4e2e42
mov edx, dword [esp + 0x14]
mov dword [edx], esi
mov byte [esp + 0x20], 1
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [esp + 0x20], 0
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x64]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov al, bl
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x58
Function at 0x5043f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x586cb3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x62d414]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.pxpil::CRefObject.0
mov dword [esi + 4], 0
mov dword [esp + 0x14], 0
lea ecx, [esi + 8]
mov dword [esi], vtable.COPCAdvConn.0
call fcn.00460700
mov byte [esp + 0x14], 1
mov ecx, dword [esp + 0x1c]
push str..OPCAdvConn.cpp
push 0xc
push 0x5b34f8
mov dword [esi + 0x24], ecx
call fcn.004b7610
mov ecx, eax
call fcn.0041ac10
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov dword [esi + 0x2c], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x30], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x34], ecx
mov edx, dword [eax + 0xc]
mov ecx, dword [esp + 0x24]
push 0
push 0x5d1d25
mov dword [esi + 0x38], edx
mov eax, dword [eax + 0x10]
mov edx, dword [esp + 0x30]
push str..OPCAdvConn.cpp
push 0x13
mov dword [esi + 0x40], ecx
mov ecx, dword [esi + 0x24]
push 0x5b34f8
mov dword [esi + 0x3c], eax
mov dword [esi + 0x28], edx
call fcn.004b7610
mov ecx, eax
call fcn.0041aca0
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x10

Function at 0x504990
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x586d20
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x62d414]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebx, ebx
mov dword [esi], vtable.pxpil::CRefObject.0
mov dword [esi + 4], ebx
mov dword [esp + 0x1c], ebx
mov dword [esi], vtable.COPCStream.0
mov edi, 1
mov dword [esp + 0x1c], edi
push str..OPCReadStream.cpp
push 0x33
mov dword [esi], vtable.COPCReadStream.0
mov ecx, dword [0x63dd80]
push 0x5b36b8
call fcn.0041ac10
mov al, byte [esp + 0x34]
xor ecx, ecx
cmp al, bl
setne cl
mov dword [esi + 8], edi
mov edi, dword [esp + 0x24]
mov byte [esi + 0x34], al
mov edx, edi
shl edx, 4
mov dword [esi + 0x10], ebx
lea ecx, [ecx*8 + 0xc]
imul ecx, edi
lea eax, [ecx + 0x14]
mov dword [esi + 0x30], eax
mov dword [esi + 0x20], eax
add eax, edx
push eax
push 0x42
mov dword [esi + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [esi + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esi + 0x14], eax
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x30]
push ebx
mov dword [eax + 4], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
push 0x5d1d25
push str..OPCReadStream.cpp
add eax, 0x14
push 0x56
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], edi
mov ecx, dword [0x63dd80]
push 0x5b36b8
call fcn.0041aca0
mov dword [esp + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x14
Function at 0x507840
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x586d20
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x62d414]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebx, ebx
mov dword [esi], vtable.pxpil::CRefObject.0
mov dword [esi + 4], ebx
mov dword [esp + 0x1c], ebx
mov dword [esi], vtable.COPCStream.0
mov edi, 1
mov dword [esp + 0x1c], edi
push str..OPCWriteStream.cpp
push 8
mov dword [esi], vtable.COPCWriteStream.0
mov ecx, dword [0x63dd80]
push 0x5b42d8
call fcn.0041ac10
mov dword [esi + 8], edi
mov edi, dword [esp + 0x24]
lea eax, [edi*8 + 0x10]
push eax
push 0x40
mov dword [esi + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esi + 0xc], eax
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
push ebx
mov dword [eax], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
push 0x5d1d25
push str..OPCWriteStream.cpp
add eax, 0x10
push 0x1d
mov dword [esi + 0x1c], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], edi
mov ecx, dword [0x63dd80]
push 0x5b42d8
call fcn.0041aca0
mov dword [esp + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x10
Function at 0x50cae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x587ad7
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x62d414]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
sub esp, 0x1c
lea eax, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov dword [esp + 0x58], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x30]
push ecx
call fcn.0050ca60
add esp, 0x20
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x38], 1
jb 0x50cb48
mov edx, dword [eax + 4]
mov dword [esp + 0xc], edx
jmp 0x50cb4f
add eax, 4
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call dword [sym.imp.MSVCR90.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea edi, [esi + 0xc]
mov ecx, edi
mov dword [esi], vtable.ServerToolkit::EBase.0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esp + 0x40]
push ecx
mov ecx, edi
mov byte [esp + 0x3c], 4
call dword [sym.imp.MSVCP90.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_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 0x1c
Function at 0x519430
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58981a
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x62d414]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax + 0x88]
test ecx, ecx
je 0x519478
xor al, al
jmp 0x519512
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx + 4]
test eax, eax
jne 0x5194f2
mov dword [ebp - 4], 0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x78], eax
mov edx, dword [ebp - 0x18]
add edx, 0x7c
push edx
push 0
mov eax, dword [ebp - 0x18]
push eax
push 0x518dd0
push 0
push 0
call dword [sym.imp.MSVCR90.dll__beginthreadex]
add esp, 0x18
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x80], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x80], 0
jbe 0x5194d8
mov byte [ebp - 0x11], 1
jmp 0x5194dc
mov byte [ebp - 0x11], 0
jmp 0x5194eb
mov dword [ebp - 4], 0xffffffff
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x51950f
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + 5]
test edx, edx
jne 0x51950f
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x5194fa
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x51ed00
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x62d414]
jne 0x51ed0a
repz ret
jmp fcn.0051f38b

Function at 0x5215b0
Capabilities:
Create thread

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push esi
lea eax, [esp + 4]
push eax
xor esi, esi
push esi
push ecx
push edx
push esi
push esi
call dword [sym.imp.MSVCR90.dll__beginthreadex]
add esp, 0x18
test eax, eax
jne 0x5215e3
mov edx, dword [esp + 0x18]
mov ecx, 0xffffe957
mov dword [edx], eax
mov eax, ecx
pop esi
pop ecx
ret
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, esi
pop esi
pop ecx
ret

Function at 0x521670
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x62d414]
xor eax, esp
mov dword [esp + 0x190], eax
cmp dword [0x63e1f8], 0
jne 0x5216c4
lea eax, [esp]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [0x63e1f8], 1
test eax, eax
je 0x5216c4
mov eax, 0xffffe8ed
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.0051ed00
add esp, 0x194
ret
mov ecx, dword [esp + 0x190]
xor ecx, esp
xor eax, eax
call fcn.0051ed00
add esp, 0x194
ret

Function at 0x5217b0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push edi
xor edi, edi
test ecx, ecx
je 0x5217e0
mov edx, dword [esp + 0xc]
test edx, edx
je 0x5217e0
push esi
mov esi, dword [esp + 0x14]
test esi, esi
je 0x5217db
lea esp, [esp]
mov al, byte [edx]
xor byte [ecx], al
inc ecx
inc edx
sub esi, 1
jne 0x5217d0
pop esi
mov eax, edi
pop edi
ret
mov eax, 0xffffe88f
pop edi
ret
Function at 0x5246d0
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0x6c
mov eax, dword [0x62d414]
xor eax, esp
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x70]
push esi
mov esi, dword [esp + 0x78]
lea eax, [esp + 4]
mov dword [esp + 4], 0x67452301
mov dword [esp + 8], 0xefcdab89
mov dword [esp + 0xc], 0x98badcfe
mov dword [esp + 0x10], 0x10325476
mov dword [esp + 0x14], 0xc3d2e1f0
call fcn.00523860
mov ecx, dword [esp + 4]
mov eax, ecx
shr eax, 0x18
mov byte [esi], al
mov edx, ecx
shr edx, 0x10
mov byte [esi + 1], dl
lea eax, [esi + 1]
inc eax
mov edx, ecx
shr edx, 8
mov byte [eax], dl
mov byte [eax + 1], cl
mov ecx, dword [esp + 8]
mov edx, ecx
shr edx, 0x18
mov byte [esi + 4], dl
lea eax, [esi + 4]
inc eax
inc eax
mov edx, ecx
shr edx, 0x10
mov byte [eax - 1], dl
mov edx, ecx
shr edx, 8
mov byte [eax], dl
mov byte [eax + 1], cl
mov ecx, dword [esp + 0xc]
mov edx, ecx
shr edx, 0x18
mov byte [esi + 8], dl
lea eax, [esi + 8]
inc eax
mov edx, ecx
shr edx, 0x10
mov byte [eax], dl
inc eax
mov edx, ecx
shr edx, 8
mov byte [eax], dl
mov byte [eax + 1], cl
mov ecx, dword [esp + 0x10]
mov edx, ecx
shr edx, 0x18
mov byte [esi + 0xc], dl
lea eax, [esi + 0xc]
inc eax
mov edx, ecx
shr edx, 0x10
mov byte [eax], dl
inc eax
mov edx, ecx
shr edx, 8
mov byte [eax], dl
mov byte [eax + 1], cl
mov ecx, dword [esp + 0x14]
lea eax, [esi + 0x10]
mov edx, ecx
shr edx, 0x18
mov byte [eax], dl
inc eax
mov edx, ecx
shr edx, 0x10
mov byte [eax], dl
inc eax
mov edx, ecx
shr edx, 8
mov byte [eax], dl
mov byte [eax + 1], cl
xor eax, eax
pop esi
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0051ed00
add esp, 0x6c
ret

Function at 0x524ae0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x90
mov eax, dword [0x62d414]
xor eax, esp
mov dword [esp + 0x8c], eax
call sub.KERNEL32.dll_GetTickCount
mov dword [esp], eax
xor eax, eax
mov edi, edi
movzx ecx, byte [esp + eax]
movzx edx, byte [eax + 0x63e208]
xor ecx, edx
mov byte [eax + 0x63e208], cl
inc eax
cmp eax, 4
jb 0x524b00
push esi
lea eax, [esp + 8]
push edi
push eax
call fcn.00521610
lea edi, [esp + 0x10]
add esp, 4
mov eax, 1
mov esi, 0x63e247
dec edi
movzx ecx, byte [edi + eax]
movzx edx, byte [esi]
xor ecx, edx
mov byte [esi], cl
inc eax
dec esi
cmp eax, 9
jb 0x524b37
xor eax, eax
jmp 0x524b50
movzx ecx, al
lea esi, [eax + 4]
and esi, 0x3f
movzx edx, byte [esi + 0x63e208]
add cl, 0x67
lea esi, [esi + 0x63e208]
inc eax
xor ecx, edx
mov byte [esi], cl
cmp eax, 0x40
jb 0x524b50
xor eax, eax
movzx edx, byte [esp + eax + 0x14]
mov ecx, eax
and ecx, 0x3f
lea esi, [ecx + 0x63e208]
movzx ecx, byte [esi]
xor edx, ecx
inc eax
mov byte [esi], dl
cmp eax, 0x80
jb 0x524b75
mov esi, 0x63e208
lea esp, [esp]
push esi
push 0x63e208
call fcn.005246d0
add esi, 0x14
add esp, 8
cmp esi, 0x63e258
jl 0x524ba0
mov ecx, dword [esp + 0x94]
pop edi
pop esi
xor ecx, esp
call fcn.0051ed00
add esp, 0x90
ret
Function at 0x525390
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push eax
push ecx
push esi
call fcn.00524e80
lea edi, [eax*4]
add esp, 0xc
xor ebx, ebx
mov dword [esp + 0xc], eax
test edi, edi
jle 0x525405
lea edx, [esi + edi*4 + 8]
lea ecx, [esi + 8]
push ebp
mov eax, dword [edx - 8]
mov ebp, dword [ecx - 8]
mov dword [ecx - 8], eax
mov dword [edx - 8], ebp
mov ebp, dword [edx - 4]
mov eax, dword [ecx - 4]
mov dword [ecx - 4], ebp
mov ebp, dword [edx]
mov dword [edx - 4], eax
mov eax, dword [ecx]
mov dword [ecx], ebp
mov ebp, dword [edx + 4]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [ecx + 4], ebp
mov dword [edx + 4], eax
add ebx, 4
sub edi, 4
add ecx, 0x10
sub edx, 0x10
cmp ebx, edi
jl 0x5253c4
mov eax, dword [esp + 0x10]
pop ebp
cmp eax, 1
jle 0x5255c0
lea edx, [eax - 1]
mov ecx, dword [esi + 0x10]
movzx ebx, byte [esi + 0x11]
mov ebx, dword [ebx*4 + str.ccccwwww]
add esi, 0x10
mov edi, ecx
shr edi, 0x18
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff
mov edi, dword [edi*4 + 0x5bb5d0]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x5bbdd0]
movzx ebx, byte [esi + 2]
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x5bb9d0]
movzx ebx, byte [esi + 5]
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff
xor edi, dword [ecx*4 + 0x5bc1d0]
mov ecx, dword [esi + 4]
mov dword [esi], edi
mov ebx, dword [ebx*4 + str.ccccwwww]
mov edi, ecx
shr edi, 0x18
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff
mov edi, dword [edi*4 + 0x5bb5d0]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x5bbdd0]
movzx ebx, byte [esi + 6]
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x5bb9d0]
movzx ebx, byte [esi + 9]
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff
xor edi, dword [ecx*4 + 0x5bc1d0]
mov ecx, dword [esi + 8]
mov dword [esi + 4], edi
mov ebx, dword [ebx*4 + str.ccccwwww]
mov edi, ecx
shr edi, 0x18
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff
mov edi, dword [edi*4 + 0x5bb5d0]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x5bbdd0]
movzx ebx, byte [esi + 0xa]
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x5bb9d0]
movzx ebx, byte [esi + 0xd]
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff
xor edi, dword [ecx*4 + 0x5bc1d0]
mov ecx, dword [esi + 0xc]
mov dword [esi + 8], edi
mov ebx, dword [ebx*4 + str.ccccwwww]
mov edi, ecx
shr edi, 0x18
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff
mov edi, dword [edi*4 + 0x5bb5d0]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x5bbdd0]
movzx ebx, byte [esi + 0xe]
mov ebx, dword [ebx*4 + str.ccccwwww]
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x5bb9d0]
and ecx, 0xff
xor edi, dword [ecx*4 + 0x5bc1d0]
sub edx, 1
mov dword [esi + 0xc], edi
jne 0x525411
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x5276b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
xor edx, edx
push edi
xor eax, eax
mov ecx, ebp
mov edi, edi
mov byte [ecx], al
inc eax
mov esi, 0x100
inc ecx
cmp ax, si
jl 0x5276c0
mov byte [ebp + 0x100], dl
mov byte [ebp + 0x101], dl
xor bl, bl
mov ecx, ebp
mov dword [esp + 0x1c], esi
mov al, byte [ecx]
movzx esi, dl
mov edx, dword [esp + 0x14]
movzx edx, byte [esi + edx]
add dl, al
add bl, dl
movzx edx, bl
lea edi, [edx + ebp]
movzx edx, byte [edi]
mov byte [ecx], dl
mov byte [edi], al
lea eax, [esi + 1]
cdq
idiv dword [esp + 0x18]
inc ecx
sub dword [esp + 0x1c], 1
jne 0x5276e2
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x5279b0
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ecx
mov ecx, dword [esp + 8]
mov eax, dword [ecx]
push ebx
push ebp
push esi
mov esi, dword [ecx + 4]
mov ecx, eax
shr ecx, 4
xor ecx, esi
and ecx, 0xf0f0f0f
xor esi, ecx
shl ecx, 4
xor eax, ecx
mov ecx, eax
shr ecx, 0x10
xor ecx, esi
and ecx, 0xffff
xor esi, ecx
shl ecx, 0x10
xor eax, ecx
mov ecx, esi
shr ecx, 2
xor ecx, eax
and ecx, 0x33333333
xor eax, ecx
add ecx, ecx
add ecx, ecx
xor esi, ecx
mov ecx, esi
shr ecx, 8
xor ecx, eax
and ecx, 0xff00ff
xor eax, ecx
shl ecx, 8
xor ecx, esi
rol ecx, 1
mov esi, ecx
xor ecx, eax
and ecx, 0xaaaaaaaa
xor esi, ecx
xor ecx, eax
rol ecx, 1
push edi
mov edi, ecx
mov dword [esp + 0x10], 8
jmp 0x527a30
mov eax, esi
ror eax, 4
xor eax, dword [edx]
add edx, 4
mov ecx, eax
shr ecx, 0x18
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x5bd880]
or ecx, dword [ebx*4 + 0x5bda80]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or ecx, dword [ebx*4 + 0x5bdc80]
and eax, 0x3f
or ecx, dword [eax*4 + 0x5bde80]
mov eax, dword [edx]
xor eax, esi
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x5bd980]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x5bdb80]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x5bdd80]
and eax, 0x3f
or ebx, dword [eax*4 + 0x5bdf80]
add edx, 4
or ebx, ecx
xor edi, ebx
mov eax, edi
ror eax, 4
xor eax, dword [edx]
add edx, 4
mov ecx, eax
shr ecx, 0x18
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x5bd880]
or ecx, dword [ebx*4 + 0x5bda80]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or ecx, dword [ebx*4 + 0x5bdc80]
and eax, 0x3f
or ecx, dword [eax*4 + 0x5bde80]
mov eax, dword [edx]
xor eax, edi
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x5bd980]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x5bdb80]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x5bdd80]
and eax, 0x3f
or ebx, dword [eax*4 + 0x5bdf80]
add edx, 4
or ebx, ecx
xor esi, ebx
sub dword [esp + 0x10], 1
jne 0x527a30
ror esi, 1
mov eax, esi
xor eax, edi
and eax, 0xaaaaaaaa
xor esi, eax
xor eax, edi
ror eax, 1
mov ecx, eax
shr ecx, 8
xor ecx, esi
and ecx, 0xff00ff
xor esi, ecx
shl ecx, 8
xor eax, ecx
mov ecx, eax
shr ecx, 2
xor ecx, esi
and ecx, 0x33333333
xor esi, ecx
lea edx, [ecx*4]
mov ecx, esi
shr ecx, 0x10
xor eax, edx
mov edx, dword [esp + 0x18]
xor ecx, eax
and ecx, 0xffff
xor eax, ecx
shl ecx, 0x10
xor esi, ecx
mov ecx, esi
shr ecx, 4
xor ecx, eax
and ecx, 0xf0f0f0f
mov edi, ecx
shl edi, 4
xor edi, esi
mov dword [edx], edi
pop edi
pop esi
xor ecx, eax
pop ebp
mov dword [edx + 4], ecx
pop ebx
pop ecx
ret