joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4803bd
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x50acba
call fcn.00484660
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x5242a0
lea ecx, [esi + 0x78]
mov dword [ebp - 4], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [esi + 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [esi + 0xc]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x480b8c
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x50ad2c
call fcn.00484660
sub esp, 0xc
cmp dword [ebp + 8], 0
je 0x480c66
cmp dword [ebp + 0xc], 0
je 0x480c66
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.004818c3
and dword [ebp - 4], 0
mov dword [esp], 0x5242b4
push eax
lea eax, [ebp - 0x14]
push eax
call sub.MFC42.DLL_operator_3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x14]
push 0xffffffffffffffff
push str.Flag1
push str.STAT
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x480bfb
mov esi, 0x80004005
jmp 0x480c55
test esi, esi
je 0x480bf4
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_5
push dword [ebp + 8]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push dword [ebp + 0xc]
push str.__s___RU__G___s_
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
cmp esi, 2
jne 0x480c2b
xor esi, esi
jmp 0x480c37
dec esi
neg esi
sbb esi, esi
and esi, 0x80004004
inc esi
push dword [ebp - 0x10]
call fcn.00480868
test eax, eax
pop ecx
jne 0x480c49
mov esi, 0x80004005
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov eax, esi
pop esi
jmp 0x480c6b
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x481339
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x50ae60
call fcn.00484660
sub esp, 0x1c
push ebx
push esi
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], esp
call sub.MFC42.DLL_CString::CString_5
and dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
call fcn.004818c3
mov dword [esp], 0x5242b4
push dword [eax]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push 0x51a438
push eax
call sub.MFC42.DLL_CString::Format
and byte [ebp - 4], 0
add esp, 0x10
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edi, str.STAT
push 0xffffffffffffffff
push str.Flag2
push edi
call esi
cmp eax, 0xffffffff
je 0x4813b4
test eax, eax
je 0x4813b4
push 1
pop esi
jmp 0x4814b6
push dword [ebp - 0x14]
mov ebx, str.NewItemAdd
push 0xffffffffffffffff
push ebx
push edi
call esi
push 1
pop esi
cmp eax, esi
je 0x4814b6
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_5
push dword [ebp + 8]
lea eax, [ebp - 0x18]
xor edi, edi
mov byte [ebp - 4], 3
push str.SoftwareTencentQQUpdate
push str._sGlobal_s
push eax
mov dword [ebp - 0x24], edi
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [ebp - 0x20]
push SysStringLen
call fcn.00482123
push edi
push 0xf003f
push edi
lea eax, [ebp - 0x24]
push 0x51a314
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
push eax
call fcn.00482334
cmp dword [ebp - 0x24], edi
mov byte [ebp - 4], 5
je 0x48146f
lea eax, [ebp + 8]
lea ecx, [ebp - 0x1c]
push eax
push ebx
mov dword [ebp + 8], edi
call fcn.004823af
cmp dword [ebp + 8], esi
jne 0x48146f
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.004821e8
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.004821e8
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
jmp 0x4814b6
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.004821e8
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.004821e8
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
jmp 0x4814b4
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x48183f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
xor esi, esi
push 0x44
lea eax, [ebp - 0x54]
push esi
push eax
call sub.MSVCRT.dll_memset
mov ax, word [ebp + 0xc]
add esp, 0xc
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
mov dword [ebp - 0x54], 0x44
push dword [ebp + 8]
mov dword [ebp - 0x28], 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x48189d
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
push 0x21
jmp 0x4818bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec eax
dec eax
je 0x4818bd
dec eax
je 0x4818b9
sub eax, 0xbe
je 0x4818b5
xor eax, eax
jmp 0x4818c0
push 0xb
jmp 0x4818bf
push 3
jmp 0x4818bf
push 2
pop eax
pop esi
leave
ret

Function at 0x481a5f
Capabilities:
Encode data using base64

Disassembly:
mov eax, 0x50aed3
call fcn.00484660
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov eax, edi
push 3
cdq
pop ecx
xor ebx, ebx
idiv ecx
push 0x40
mov dword [ebp - 0x20], ebx
pop esi
lea ecx, [eax + edi + 3]
mov eax, ecx
cdq
idiv esi
lea esi, [ecx + eax*2]
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_5
push esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 1
call sub.MFC42.DLL_CString::GetBuffer
xor ecx, ecx
cmp edi, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], ebx
mov dword [ebp + 0x10], ebx
jle 0x481b30
mov eax, dword [ebp + 0xc]
movzx esi, byte [ecx + eax]
inc ecx
shl esi, 8
cmp ecx, edi
jge 0x481acd
movzx edx, byte [ecx + eax]
or esi, edx
inc ecx
jmp 0x481ad0
inc dword [ebp + 0x10]
shl esi, 8
cmp ecx, edi
jge 0x481ae0
movzx eax, byte [ecx + eax]
or esi, eax
inc ecx
jmp 0x481ae3
inc dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
lea edx, [eax + 4]
cmp edx, eax
mov dword [ebp - 0x1c], edx
je 0x481b26
dec edx
cmp dword [ebp + 0x10], 0
je 0x481b0d
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp + 0x10]
add eax, 4
cmp edx, eax
jl 0x481b0d
mov eax, dword [ebp - 0x18]
mov byte [edx + eax], 0x3d
jmp 0x481b1e
mov ebx, dword [ebp - 0x18]
mov eax, esi
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + ebx], al
shr esi, 6
cmp edx, dword [ebp - 0x10]
jne 0x481af0
mov eax, dword [ebp - 0x1c]
cmp ecx, edi
mov dword [ebp - 0x10], eax
jl 0x481ab5
push dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call sub.MFC42.DLL_CString::CString_4
mov dword [ebp - 0x20], 1
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x481e23
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
je 0x481ea4
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x481ea4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0x200000
ja 0x481ea4
lea edi, [esi + 1]
push edi
call sub.MFC42.DLL_operatornew
cmp eax, ebx
pop ecx
mov dword [ebp - 4], eax
jne 0x481e85
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x481ea4
push edi
call sub.MFC42.DLL_operatornew
mov edi, eax
pop ecx
cmp edi, ebx
jne 0x481eab
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 4]
call sub.MFC42.DLL_operatordelete
pop ecx
xor eax, eax
jmp 0x481f36
mov eax, dword [ebp - 4]
push ebx
push ebx
push ebx
push dword [ebp + 8]
mov byte [eax + esi], bl
mov byte [edi + esi], bl
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 8]
push ebx
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 8], ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x481f1b
cmp esi, dword [ebp - 8]
jne 0x481f1b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
push edi
push 0x5242e4
push esi
push dword [ebp - 4]
call fcn.0044c8c3
add esp, 0x14
test eax, eax
je 0x481f24
mov eax, dword [ebp - 0xc]
push edi
mov byte [eax + edi], bl
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 4]
call fcn.00482909
push 1
pop ebx
jmp 0x481f24
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 4]
call sub.MFC42.DLL_operatordelete
push edi
call sub.MFC42.DLL_operatordelete
pop ecx
mov eax, ebx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x481ff2
Capabilities:
Check mutex on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
push edi
mov esi, ecx
je 0x48203e
call fcn.0048204a
push dword [esp + 0xc]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
mov dword [esi + 4], eax
je 0x48203e
xor edi, edi
push dword [esp + 0x10]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x482045
inc edi
cmp edi, dword [esp + 0x14]
jbe 0x482019
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 4], 0
xor eax, eax
pop edi
pop esi
ret 0xc
push 1
pop eax
jmp 0x482040
Function at 0x4823af
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
lea eax, [ebp - 4]
push edi
xor ebx, ebx
push eax
lea eax, [ebp - 8]
push ebx
push eax
mov edi, ecx
push ebx
mov dword [ebp - 4], ebx
push dword [ebp + 8]
mov ecx, dword [edi]
call fcn.00482766
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
call esi
cmp eax, ebx
je 0x4823fc
push eax
push str.CRegistryKey::QueryValue__
lea ecx, [ebp - 0x20]
call fcn.0048206a
lea eax, [ebp - 0x20]
push 0x553390
push eax
call sub.MSVCRT.dll__CxxThrowException
cmp dword [ebp - 8], 4
je 0x48240c
cmp dword [ebp - 8], 5
je 0x48240c
xor al, al
jmp 0x482469
cmp dword [ebp - 4], 4
je 0x48242e
push ebx
push str.CRegistryKey::QueryValue__
lea ecx, [ebp - 0x20]
call fcn.0048206a
lea eax, [ebp - 0x20]
push 0x553390
push eax
call sub.MSVCRT.dll__CxxThrowException
lea eax, [ebp - 4]
mov ecx, dword [edi]
push eax
lea eax, [ebp - 8]
push dword [ebp + 0xc]
push eax
push ebx
push dword [ebp + 8]
call fcn.00482766
push eax
call esi
cmp eax, ebx
je 0x482467
push eax
push str.CRegistryKey::QueryValue__
lea ecx, [ebp - 0x20]
call fcn.0048206a
lea eax, [ebp - 0x20]
push 0x553390
push eax
call sub.MSVCRT.dll__CxxThrowException
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x482536
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x50b004
call fcn.00484660
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
push dword [ebp + 8]
mov dword [ebp - 0x14], edi
call fcn.004824c1
mov al, byte [ebp + 0xb]
xor esi, esi
lea ebx, [edi + 0xc]
push esi
mov ecx, ebx
mov dword [ebp - 4], esi
mov byte [ebx], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov dword [edi], 0x524308
mov edi, 0x51a314
push edi
mov byte [ebp - 4], 1
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push edi
mov ecx, ebx
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov ecx, dword [ebp + 8]
cmp ecx, esi
je 0x4825e6
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x10]
push esi
push eax
lea eax, [ebp + 8]
mov dword [ebp + 8], esi
push eax
push esi
push esi
push esi
mov dword [ebp - 0x10], esi
call fcn.00482766
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp eax, esi
je 0x4825d3
push eax
push str.CRegSubKeyIteratorImpl::CRegSubKeyIteratorImpl_CRegistryHandle_pKey_
lea ecx, [ebp - 0x2c]
call fcn.0048206a
lea eax, [ebp - 0x2c]
push 0x553390
push eax
call sub.MSVCRT.dll__CxxThrowException
cmp dword [ebp + 8], esi
je 0x4825e6
mov eax, dword [ebp - 0x10]
push esi
inc eax
mov ecx, ebx
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::resize_unsigned_int__char_]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x482646
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, ecx
push edi
mov byte [ebp - 1], 1
xor ebx, ebx
lea edi, [esi + 0xc]
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x48266c
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea ecx, [ebp - 0x18]
push ecx
push ebx
push ebx
lea ecx, [ebp - 0x10]
push ebx
push ecx
mov ecx, dword [esi + 4]
push eax
push dword [esi + 8]
call fcn.00482766
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
je 0x4826f3
cmp eax, 0xea
jne 0x4826fe
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0xc]
mov ecx, dword [esi + 4]
push ebx
push eax
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
call fcn.00482766
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp eax, ebx
jne 0x4826d7
cmp dword [ebp - 8], ebx
je 0x4826f3
mov eax, dword [ebp - 0xc]
push ebx
inc eax
mov ecx, edi
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::resize_unsigned_int__char_]
jmp 0x48265a
push eax
push str.CRegSubKeyIteratorImpl::GetNextItem__
lea ecx, [ebp - 0x30]
call fcn.0048206a
lea eax, [ebp - 0x30]
push 0x553390
push eax
call sub.MSVCRT.dll__CxxThrowException
mov byte [ebp - 1], bl
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret
cmp eax, ebx
je 0x4826f6
push eax
push str.CRegistryKey::SubkeyIterator::GetSubkeyInfo__
lea ecx, [ebp - 0x30]
call fcn.0048206a
lea eax, [ebp - 0x30]
push 0x553390
push eax
call sub.MSVCRT.dll__CxxThrowException
Function at 0x4888c3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
test edx, edx
je 0x4889e6
mov esi, dword [ebp + 0x10]
test esi, esi
jle 0x4889e6
mov eax, dword [ebp + 8]
push ebx
cmp esi, 8
push edi
not eax
mov ecx, 0xff
jl 0x4889c3
mov edi, esi
shr edi, 3
mov ebx, edi
neg ebx
lea esi, [esi + ebx*8]
mov dword [ebp + 0x10], esi
movzx ebx, byte [edx]
mov esi, eax
and esi, ecx
xor esi, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [esi*4 + 0x5246ac]
xor eax, ebx
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x5246ac]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x5246ac]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x5246ac]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x5246ac]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x5246ac]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x5246ac]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x5246ac]
xor eax, esi
inc edx
dec edi
jne 0x488901
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4889e0
movzx ebx, byte [edx]
mov edi, eax
and edi, ecx
xor edi, ebx
shr eax, 8
mov edi, dword [edi*4 + 0x5246ac]
xor eax, edi
inc edx
dec esi
jne 0x4889c7
pop edi
pop ebx
not eax
jmp 0x4889e9
mov eax, dword [ebp + 8]
pop esi
pop ebp
ret 0xc
Function at 0x49da37
Capabilities:
Delete file
Read .ini file

Disassembly:
mov eax, 0x50d0fc
call fcn.00484660
sub esp, 0xd8
push ebx
push esi
push edi
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_5
xor esi, esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call sub.MFC42.DLL_CString::CString_5
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_5
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 2
mov byte [eax], 7
mov eax, dword [ebp + 0xc]
mov word [eax], 2
mov eax, dword [ebp + 0x18]
mov word [eax], si
mov eax, dword [ebp + 0x14]
mov word [eax], si
mov eax, dword [ebp + 0x10]
mov word [eax], si
lea eax, [ebp + 8]
push eax
call dword [sym.imp.BasicCtrlDll.dll_class_CString___cdecl_GetExeFolder_void_]
pop ecx
push dword [eax]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push str._sqqupdatestatcount.ini
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
push str.qqupdate
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator_2
mov edi, dword [sym.imp.MSVCRT.dll_atol]
mov dword [ebp - 0x18], esi
mov dword [ebp + 8], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp + 0xc], 0xe
mov ebx, 0x56f7c0
mov eax, dword [ebp + 8]
add eax, 0x41
push eax
lea eax, [ebp - 0x1c]
push 0x575d78
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [ebp - 0xe4]
push dword [ebp - 0x10]
push 0xc8
push eax
push ebx
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call esi
lea eax, [ebp - 0xe4]
push eax
call edi
pop ecx
mov ecx, dword [ebp + 0xc]
sub dword [ebp + 0xc], 2
shl eax, cl
or dword [ebp - 0x18], eax
inc dword [ebp + 8]
cmp dword [ebp + 8], 8
jb 0x49dae8
mov eax, dword [ebp - 0x18]
test ah, 0xf0
jne 0x49db46
xor bl, bl
jmp 0x49dbd9
mov ecx, dword [ebp + 0x18]
push dword [ebp - 0x10]
mov word [ecx], ax
lea eax, [ebp - 0xe4]
push 0xc8
push eax
push ebx
push str.ModuleId
push dword [ebp - 0x14]
call esi
lea eax, [ebp - 0xe4]
push eax
call edi
pop ecx
mov ecx, dword [ebp + 0x10]
push dword [ebp - 0x10]
mov word [ecx], ax
lea eax, [ebp - 0xe4]
push 0xc8
push eax
push ebx
push str.ModuleType
push dword [ebp - 0x14]
call esi
lea eax, [ebp - 0xe4]
push eax
call edi
pop ecx
mov dword [ebp + 0x18], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0xe4]
push 0xc8
push eax
push ebx
push str.ModulePatchNum
push dword [ebp - 0x14]
call esi
lea eax, [ebp - 0xe4]
push eax
call edi
pop ecx
push dword [ebp - 0x10]
xor ecx, ecx
mov ch, byte [ebp + 0x18]
mov cl, al
mov eax, dword [ebp + 0x14]
mov word [eax], cx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov bl, 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14
Function at 0x49ded5
Capabilities:
Check mutex on windows

Disassembly:
mov eax, 0x50d16c
call fcn.00484660
sub esp, 0x10
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
mov esi, ecx
je 0x49dfd4
cmp dword [esi + 0x38], edi
je 0x49defe
xor eax, eax
jmp 0x49dff1
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.BasicCtrlDll.dll_class_CString___cdecl_GetExeFolder_void_]
mov dword [esp], 0x52b880
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 4], edi
push eax
call sub.MFC42.DLL_operator_3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
push str.270EE345_0758_4ba7_83A3_53219D46939F
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_3
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_4
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString_4
lea eax, [ebp + 8]
mov byte [ebp - 4], 3
push eax
call fcn.00481b6c
add esp, 0xc
push dword [ebp + 8]
mov byte [ebp - 4], 6
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, edi
mov dword [esi + 0x38], eax
jne 0x49dfaa
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov eax, edi
jmp 0x49dff1
xor ebx, ebx
push 0x64
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x49dfcf
inc ebx
cmp ebx, 0xa
jl 0x49dfac
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x38], edi
jmp 0x49df82
push 1
pop edi
jmp 0x49df82
mov eax, dword [esi + 0x38]
cmp eax, edi
je 0x49dfee
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x38], edi
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4