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

Disassembly:
push 0xffffffffffffffff
push 0x1006da2d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1009b004]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push ecx
mov ecx, esp
push 0x1009c70c
call dword [sym.imp.Qt5Sql.dll_public:_void___thiscall_QSqlDatabase::constructor_class_QSqlDatabase_const__]
lea ecx, [esp + 8]
call dword [sym.imp.Qt5Sql.dll_public:_void___thiscall_QSqlQuery::constructor_class_QSqlDatabase_]
push 0x27
push str.insert_into__1_mpath_mdate__values_____
mov dword [esp + 0x38], 0
call dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
mov dword [esp + 0x10], eax
add esp, 4
mov byte [esp + 0x14], 0x20
mov ecx, esp
mov byte [esp + 0x34], 1
push dword [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0
push dword [esp + 0x40]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QString::arg_class_QString_const___int__class_QChar_]
lea ecx, [esp + 8]
mov byte [esp + 0x30], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 8]
call dword [sym.imp.Qt5Sql.dll_public:_bool___thiscall_QSqlQuery::prepare_class_QString_const__]
push dword [esp + 0x3c]
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_class_QString_const__]
push ecx
mov eax, esp
mov byte [esp + 0x34], 4
lea ecx, [esp + 8]
mov dword [eax], 1
lea eax, [esp + 0x1c]
push eax
push 0
call dword [sym.imp.Qt5Sql.dll_public:_void___thiscall_QSqlQuery::bindValue_int__class_QVariant_const___class_QFlags_enum_QSql::ParamTypeFlag__]
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::destructor_void_]
push dword [esp + 0x40]
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_class_QString_const__]
push ecx
mov eax, esp
mov byte [esp + 0x34], 5
lea ecx, [esp + 8]
mov dword [eax], 1
lea eax, [esp + 0x1c]
push eax
push 1
call dword [sym.imp.Qt5Sql.dll_public:_void___thiscall_QSqlQuery::bindValue_int__class_QVariant_const___class_QFlags_enum_QSql::ParamTypeFlag__]
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::destructor_void_]
lea ecx, [esp + 4]
call dword [sym.imp.Qt5Sql.dll_public:_bool___thiscall_QSqlQuery::exec_void_]
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 4]
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.Qt5Sql.dll_public:_void___thiscall_QSqlQuery::destructor_void_]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
add esp, 0x30
ret 0xc
Function at 0x1004ac90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1006dd69
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x1009b004]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CWinFileSearchControl.0
lea eax, [esp + 8]
mov dword [esp + 0x2c], 2
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
push str.xigou_filesearchcontrol
mov ecx, eax
mov byte [esp + 0x30], 3
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
mov ecx, dword [esi + 0xc]
mov byte [esp + 0x2c], 1
mov eax, dword [ecx]
test eax, eax
je 0x1004ad27
cmp eax, 0xffffffff
je 0x1004ad33
or eax, 0xffffffff
lock xadd dword [ecx], eax
setne al
test al, al
jne 0x1004ad33
push dword [esi + 0xc]
call dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data__]
add esp, 4
lea ecx, [esi + 8]
mov byte [esp + 0x2c], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, esi
mov dword [esp + 0x2c], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public_virtual:_void___thiscall_QObject::destructor_void_]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret

Function at 0x1004ad70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1006ddb9
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x1009b004]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CWinFileSearchMonitor.0
lea eax, [esp + 8]
mov dword [esp + 0x2c], 2
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
push str.xigou_filesearch_monitor
mov ecx, eax
mov byte [esp + 0x30], 3
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
lea ecx, [esi + 0x18]
mov byte [esp + 0x2c], 1
call dword [sym.imp.Qt5Sql.dll_public:_void___thiscall_QSqlDatabase::destructor_void_]
lea ecx, [esi + 0x14]
mov byte [esp + 0x2c], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, esi
mov dword [esp + 0x2c], 0xffffffff
call fcn.1002dd90
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret
Function at 0x1004c400
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x1006e226
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
mov eax, dword [0x1009b004]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x18]
push eax
call fcn.10007290
push 0x100724c0
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x38], 0
push eax
call fcn.10003b10
push str.qstsch.sat
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x44], 1
push eax
call fcn.10003b10
add esp, 0x1c
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 4
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [esp + 0x20]
push eax
call fcn.10007290
push 0x100724c0
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x38], 5
push eax
call fcn.10003b10
lea ecx, [esi + 0x14]
mov byte [esp + 0x3c], 6
push ecx
push eax
lea eax, [esp + 0x24]
push eax
call fcn.10003aa0
add esp, 0x1c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 8
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c], 9
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov esi, dword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const]
lea ecx, [esp + 0x10]
push 0
call esi
push eax
lea ecx, [esp + 0x14]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
mov byte [esp + 0x2c], 4
lea ecx, [esp + 0xc]
setne bl
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov al, bl
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x24
ret
Function at 0x1004cfd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1006e462
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
mov eax, dword [0x1009b004]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
call fcn.1004ce20
add esp, 4
mov esi, dword [esp + 0xc]
lea ecx, [esp + 8]
xorps xmm0, xmm0
mov dword [esp + 0x54], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0x1004d0f0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], esi
movdqu xmmword [esp + 0x38], xmm0
call dword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_RegisterClassW]
mov eax, dword [esp + 0x48]
push 0
push esi
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
jne 0x1004d0b5
lea eax, [esp + 0xc]
push eax
push esi
push esi
push esi
lea ecx, [esp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::warning_void_]
push str.QDeviceWatcherPrivate:_Failed_to_create_internal_window:__d
mov ecx, eax
mov byte [esp + 0x58], 1
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
lea ecx, [esp + 0xc]
mov byte [esp + 0x54], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
jmp 0x1004d0c7
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x1004d0c7
push eax
push 0xffffffffffffffeb
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea ecx, [esp + 8]
mov dword [esp + 0x54], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x50
ret
Function at 0x1004dae0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x1006e62a
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x1009b004]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x24]
mov ecx, esi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
push 0x208
mov dword [esp + 0x20], 0
mov dword [esp + 0x10], 1
call fcn.10061588
add esp, 4
mov edi, eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x1004db72
push 0x104
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push eax
lea eax, [esp + 0x14]
push edi
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_]
add esp, 0xc
mov ecx, esi
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x10]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push edi
call sub.MSVCR120.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 4
Function at 0x10050850
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1006ece4
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1009b004]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0x33
push str.HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControl
call dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esp + 4], eax
push 0
push 0
lea eax, [esp + 0xc]
mov dword [esp + 0x30], 0
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QSettings::constructor_class_QString_const___enum_QSettings::Format__class_QObject__]
push dword [esp + 0x30]
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_int_]
push 0x22
push str.StorageDevicePolicies_WriteProtect
mov byte [esp + 0x30], 2
call dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esp + 0x30], eax
lea eax, [esp + 0x10]
mov byte [esp + 0x28], 3
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QSettings::setValue_class_QString_const___class_QVariant_const__]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::destructor_void_]
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call dword [sym.imp.Qt5Core.dll_public_virtual:_void___thiscall_QSettings::destructor_void_]
lea ecx, [esp + 4]
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
add esp, 0x28
ret 4
Function at 0x10053310
Capabilities:
Read file via mapping

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
jne 0x100533bc
cmp byte [0x1009ca50], 0
je 0x1005332e
push dword [0x1009ca60]
jmp 0x10053334
push dword [0x1009ca54]
push 0
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [esi + 4], eax
test eax, eax
jne 0x100533aa
cmp byte [0x1009ca50], al
je 0x10053355
push dword [0x1009ca60]
jmp 0x1005335b
push dword [0x1009ca54]
push 0x28a4
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esi + 4]
test eax, eax
je 0x100533a0
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push 0x28a4
push 0
push eax
mov dword [esi + 8], eax
call sub.MSVCR120.dll_memset
add esp, 0xc
xor eax, eax
cmp dword [esi + 4], eax
pop esi
setne al
ret
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 8], eax
mov al, 1
pop esi
ret

Function at 0x100533c0
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push 0xffffffffffffffff
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push dword [esp + 0x10]
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_]
mov eax, dword [esp + 0x14]
add esp, 0x10
ret
Function at 0x10054d70
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x1006f5fa
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1009b004]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
mov ebp, dword [esp + 0x28]
mov ecx, ebp
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_void_]
mov ebx, dword [esp + 0x2c]
mov ecx, ebp
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], 1
mov eax, dword [ebx]
push dword [eax + 4]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::resize_int_]
mov ecx, ebx
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::begin_void_const]
mov ecx, ebp
mov esi, eax
call dword [sym.imp.Qt5Core.dll_public:_char____thiscall_QByteArray::begin_void_]
mov ecx, ebx
mov edi, eax
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::end_void_const]
cmp esi, eax
je 0x10054e06
sub edi, esi
lea esp, [esp]
mov cl, byte [esi]
xor cl, byte [esp + 0x30]
mov byte [edi + esi], cl
mov ecx, ebx
inc esi
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::end_void_const]
cmp esi, eax
jne 0x10054df0
mov eax, ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x10057520
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1006f808
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x1009b004]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
push 0
push 0x1007c1b4
push ecx
mov dword [esp + 0x18], 0
call dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QMetaObject::activate_class_QObject___struct_QMetaObject_const___int__void___]
mov esi, dword [esp + 0x30]
add esp, 0x10
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x1005759b
cmp eax, 0xffffffff
je 0x100575be
or eax, 0xffffffff
lock xadd dword [esi], eax
setne al
test al, al
jne 0x100575be
mov esi, dword [esp + 0x20]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x100575b4
call fcn.10009950
push 8
push dword [esi + 0xc]
mov ecx, esi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMapDataBase::freeTree_struct_QMapNodeBase___int_]
push esi
call dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QMapDataBase::freeData_struct_QMapDataBase__]
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret 4
Function at 0x100591a0
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
push 0xc
call fcn.10058bb0
mov esi, eax
add esp, 4
test esi, esi
jne 0x100591b8
mov eax, 0xfffff027
pop esi
ret
mov eax, dword [esp + 0xc]
push edi
push 0
push 4
push esi
push 0x10058e20
mov dword [esi], eax
mov eax, dword [esp + 0x24]
push 0
push 0
mov dword [esi + 4], eax
call dword [sym.imp.MSVCR120.dll__beginthreadex]
mov ecx, eax
add esp, 0x18
test ecx, ecx
jne 0x10059201
call dword [sym.imp.MSVCR120.dll__errno]
push esi
mov edi, dword [eax]
call fcn.10058b90
add esp, 4
cmp edi, 0x16
jbe 0x10059213
pop edi
mov eax, 0xfffff01a
pop esi
ret
mov eax, dword [esp + 0xc]
xor edi, edi
push ecx
mov dword [eax], ecx
mov dword [esi + 8], ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
movzx eax, byte [edi + 0x10059254]
jmp dword [eax*4 + 0x10059240]
Function at 0x1005a0a0
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
sub esp, 0x40c
mov eax, dword [0x1009b004]
xor eax, esp
mov dword [esp + 0x408], eax
lea eax, [esp + 0x278]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1005a21c
push 0x1009f4a0
push eax
push str.0.0.0.0
call fcn.10058bc0
add esp, 0xc
test eax, eax
je 0x1005a0ec
call dword [sym.imp.MSVCR120.dll_abort]
push 0x1009f480
push 0
push 0x1007e198
call fcn.10058c00
add esp, 0xc
test eax, eax
je 0x1005a10a
call dword [sym.imp.MSVCR120.dll_abort]
push esi
push edi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0xffffffff
je 0x1005a17c
lea eax, [esp + 8]
mov dword [esp + 8], 0x274
push eax
lea eax, [esp + 0x10]
push eax
push 0x2005
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x1005a227
test dword [esp + 0xc], 0x20000
mov ecx, 1
mov eax, dword [0x1009f4b4]
cmove eax, ecx
push edi
mov dword [0x1009f4b4], eax
call dword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
jne 0x1005a18f
jmp 0x1005a238
call esi
push eax
call fcn.1005a070
add esp, 4
test eax, eax
je 0x1005a249
push 0
push 1
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
je 0x1005a1f6
lea eax, [esp + 8]
mov dword [esp + 8], 0x274
push eax
lea eax, [esp + 0x10]
push eax
push 0x2005
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x1005a256
test dword [esp + 0xc], 0x20000
mov ecx, 1
mov eax, dword [0x1009f4b0]
cmove eax, ecx
push edi
mov dword [0x1009f4b0], eax
call dword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
jne 0x1005a205
jmp 0x1005a263
call esi
push eax
call fcn.1005a070
add esp, 4
test eax, eax
je 0x1005a270
mov ecx, dword [esp + 0x410]
pop edi
pop esi
xor ecx, esp
call fcn.1006169e
add esp, 0x40c
ret
push str.WSAStartup
push eax
call fcn.10059650
push str.getsockopt
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.10059650
push str.closesocket
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.10059650
push str.socket
call esi
push eax
call fcn.10059650
push str.getsockopt
call esi
push eax
call fcn.10059650
push str.closesocket
call esi
push eax
call fcn.10059650
push str.socket
call esi
push eax
call fcn.10059650
int3
Function at 0x1005cf20
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x1005cf2c
pop ebp
ret
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.1005cf40

Function at 0x1005d210
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.1005d220
Function at 0x1005f4c0
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Manually build aes constants

Disassembly:
sub esp, 0x808
mov eax, dword [0x1009b004]
xor eax, esp
mov dword [esp + 0x804], eax
push ebx
push ebp
push esi
push edi
xor esi, esi
mov edx, 1
nop
mov eax, edx
mov dword [esp + esi*4 + 0x414], edx
and al, 0x80
mov dword [esp + edx*4 + 0x14], esi
movsx ecx, al
lea eax, [edx + edx]
neg ecx
sbb ecx, ecx
inc esi
and ecx, 0x1b
xor ecx, eax
xor edx, ecx
and edx, 0xff
cmp esi, 0x100
jl 0x1005f4e0
mov esi, 1
mov edx, 0x1009f128
lea esp, [esp]
mov eax, esi
mov dword [edx], esi
and al, 0x80
movsx ecx, al
neg ecx
sbb ecx, ecx
add esi, esi
and ecx, 0x1b
add edx, 4
xor esi, ecx
and esi, 0xff
cmp edx, 0x1009f150
jl 0x1005f520
mov eax, 1
mov byte [0x1009cf28], 0x63
mov byte [0x1009e08b], 0
mov dword [esp + 0x10], eax
lea esp, [esp]
mov ecx, dword [esp + eax*4 + 0x14]
lea eax, [esp + 0x810]
shl ecx, 2
sub eax, ecx
mov ebx, dword [eax]
mov ecx, ebx
sar ecx, 7
lea eax, [ebx + ebx]
or ecx, eax
and ecx, 0xff
mov edx, ecx
xor ebx, ecx
sar edx, 7
lea eax, [ecx + ecx]
or edx, eax
and edx, 0xff
mov esi, edx
xor ebx, edx
sar esi, 7
lea eax, [edx + edx]
or esi, eax
and esi, 0xff
mov ecx, esi
sar ecx, 7
lea eax, [esi + esi]
or ecx, eax
mov eax, dword [esp + 0x10]
xor ecx, 0x63
and ecx, 0xff
xor ecx, esi
xor ebx, ecx
mov byte [eax + 0x1009cf28], bl
mov byte [ebx + 0x1009e028], al
inc eax
mov dword [esp + 0x10], eax
cmp eax, 0x100
jl 0x1005f560
xor esi, esi
mov ebp, 0xff
movzx edx, byte [esi + 0x1009cf28]
mov eax, edx
and al, 0x80
movsx ecx, al
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
and ecx, 0xff
mov eax, ecx
xor eax, edx
shl eax, 8
xor eax, edx
shl eax, 8
xor eax, edx
shl eax, 8
xor eax, ecx
movzx ecx, byte [esi + 0x1009e028]
mov dword [esi*4 + 0x1009d028], eax
rol eax, 8
mov dword [esi*4 + 0x1009d428], eax
rol eax, 8
mov dword [esi*4 + 0x1009d828], eax
rol eax, 8
mov dword [esi*4 + 0x1009dc28], eax
test ecx, ecx
je 0x1005f68e
mov ecx, dword [esp + ecx*4 + 0x14]
mov eax, dword [esp + 0x4c]
add eax, ecx
cdq
idiv ebp
mov eax, dword [esp + 0x38]
add eax, ecx
mov edi, dword [esp + edx*4 + 0x414]
cdq
idiv ebp
mov eax, dword [esp + 0x48]
add eax, ecx
mov ebx, dword [esp + edx*4 + 0x414]
cdq
idiv ebp
mov eax, dword [esp + 0x40]
add eax, ecx
mov ecx, 0xff
mov ebp, dword [esp + edx*4 + 0x414]
cdq
idiv ecx
mov eax, dword [esp + edx*4 + 0x414]
jmp 0x1005f696
xor edi, edi
xor ebx, ebx
xor ebp, ebp
xor eax, eax
shl eax, 8
xor eax, ebp
mov ebp, 0xff
shl eax, 8
xor eax, ebx
shl eax, 8
xor eax, edi
mov dword [esi*4 + 0x1009e128], eax
rol eax, 8
mov dword [esi*4 + 0x1009e528], eax
rol eax, 8
mov dword [esi*4 + 0x1009e928], eax
rol eax, 8
mov dword [esi*4 + 0x1009ed28], eax
inc esi
cmp esi, 0x100
jl 0x1005f5e0
mov ecx, dword [esp + 0x814]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1006169e
add esp, 0x808
ret