joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46f5c2
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 4
pop edi
push edi
push str.SeCreateGlobalPrivilege
push esi
call fcn.0046f56e
push edi
push str.SeBackupPrivilege
push esi
call fcn.0046f56e
push edi
push str.SeCreatePagefilePrivilege
push esi
call fcn.0046f56e
push edi
push str.SeCreateSymbolicLinkPrivilege
push esi
call fcn.0046f56e
push edi
push str.SeDebugPrivilege
push esi
call fcn.0046f56e
push edi
push str.SeImpersonatePrivilege
push esi
call fcn.0046f56e
add esp, 0x48
push edi
push str.SeIncreaseBasePriorityPrivilege
push esi
call fcn.0046f56e
push edi
push str.SeIncreaseQuotaPrivilege
push esi
call fcn.0046f56e
push edi
push str.SeLoadDriverPrivilege
push esi
call fcn.0046f56e
push edi
push str.SeManageVolumePrivilege
push esi
call fcn.0046f56e
push edi
push str.SeProfileSingleProcessPrivilege
push esi
call fcn.0046f56e
push edi
push str.SeRemoteShutdownPrivilege
push esi
call fcn.0046f56e
add esp, 0x48
push edi
push str.SeRestorePrivilege
push esi
call fcn.0046f56e
push edi
push str.SeSecurityPrivilege
push esi
call fcn.0046f56e
push edi
push str.SeSystemEnvironmentPrivilege
push esi
call fcn.0046f56e
push edi
push str.SeSystemProfilePrivilege
push esi
call fcn.0046f56e
push edi
push str.SeSystemtimePrivilege
push esi
call fcn.0046f56e
push edi
push str.SeTakeOwnershipPrivilege
push esi
call fcn.0046f56e
add esp, 0x48
xor eax, eax
pop edi
inc eax
pop esi
pop ebp
ret

Function at 0x46f6b5
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x528f34]
xor eax, ebp
mov dword [ebp - 4], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x114]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.004cb642
leave
ret

Function at 0x46f96d
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x528f34]
xor eax, ebp
mov dword [ebp - 4], eax
and word [ebp - 0x210], 0
push 0x208
lea eax, [ebp - 0x20e]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0046f805
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb642
leave
ret

Function at 0x46ff20
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x528f34]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x46ff64
cmp byte [ebp - 0x194], 2
jne 0x46ff5e
cmp byte [ebp - 0x193], 2
jne 0x46ff5e
inc eax
jmp 0x46ff66
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb642
leave
ret
Function at 0x46ff9e
Capabilities:
Get hostname
Resolve dns

Disassembly:
jmp 0x48ee6e
push 0x108
mov eax, 0x4d4feb
call fcn.004cbc99
lea ecx, [ebp - 0x114]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_void_
xor esi, esi
cmp dword [0x52d1a0], esi
mov dword [ebp - 4], esi
jne 0x48eead
lea ecx, [ebp - 0x114]
or dword [ebp - 4], 0xffffffff
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::destructor_void_
xor eax, eax
inc eax
call fcn.004cbd1c
ret
push 0x100
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
lea ecx, [ebp - 0x114]
jne 0x48ee9b
lea eax, [ebp - 0x110]
push eax
call fcn.0046cb90
lea ecx, [ebp - 0x114]
call sym.QQProtectUpd.exe_public:_char_const____thiscall_CTXStringA::operator_char_const__void_const
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, esi
jne 0x48ef01
xor esi, esi
inc esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::destructor_void_
mov eax, esi
jmp 0x48eea7
mov eax, dword [eax + 0xc]
cmp dword [eax], esi
je 0x48eeeb
mov ecx, dword [eax]
mov ecx, dword [ecx]
cmp dword [0x52d1a0], ecx
je 0x48eeee
add eax, 4
jmp 0x48ef04
Function at 0x475624
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x475699
push edi
mov edi, dword [ebp + 0xc]
cmp edi, ebx
je 0x475698
push esi
push 0x290
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
push dword [ebp + 8]
mov esi, eax
push 0x104
push esi
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
add esp, 0x10
mov word [esi + 0x208], bx
mov dword [esi + 0x288], edi
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [ebp + 0x10]
push ebx
push ebx
push esi
push 0x47548d
push ebx
push ebx
mov dword [esi + 0x28c], eax
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x47569c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x475722
cmp dword [ebp + 0xc], 0
je 0x475722
push ebx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x475721
push esi
push edi
push 0x290
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
push dword [ebp + 8]
mov edi, dword [sym.imp.MSVCR80.dll_wcscpy_s]
mov esi, eax
push 0x104
push esi
call edi
push dword [ebp + 0xc]
lea eax, [esi + 0x208]
push 0x40
push eax
call edi
add esp, 0x1c
mov dword [esi + 0x288], ebx
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x28c], eax
xor eax, eax
push eax
push eax
push esi
push 0x47548d
push eax
push eax
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x47cff4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3b5d
mov eax, dword fs:[0]
push eax
mov eax, 0x1004c
call fcn.004cb810
mov eax, dword [0x528f34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push 1
push str.FSControl::CheckFSTypeByFlag
push 0x4ec1f4
xor esi, esi
push esi
lea ecx, [ebp - 0x10058]
mov dword [ebp - 0x10024], edi
mov dword [ebp - 0x10028], eax
call fcn.004a27a8
push esi
push esi
push 3
push esi
push 7
push accept
push edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10014], 0x80004005
mov dword [ebp - 0x10018], 0x20000000
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x47d149
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
lea eax, [ebp - 0x10020]
push eax
push 0x10000
lea eax, [ebp - 0x10010]
push eax
push ebx
mov dword [ebp - 0x10020], esi
call edi
test eax, eax
je 0x47d124
mov edx, dword [ebp - 0x10020]
cmp edx, 0x200
jbe 0x47d124
mov cl, byte [ebp - 0xfff2]
xor eax, eax
inc eax
shl eax, cl
add edx, 0xfffffffc
imul eax, dword [ebp - 0xffe0]
add eax, 0x260
cmp eax, edx
ja 0x47d0e9
mov eax, dword [ebp + eax - 0x10010]
mov dword [ebp - 0x10018], eax
jmp 0x47d11e
push esi
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test eax, eax
je 0x47d124
push esi
lea eax, [ebp - 0x1001c]
push eax
push 4
lea eax, [ebp - 0x10018]
push eax
push ebx
mov dword [ebp - 0x1001c], esi
call edi
test eax, eax
je 0x47d124
cmp dword [ebp - 0x1001c], 4
jne 0x47d124
mov dword [ebp - 0x10014], esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10014], esi
jl 0x47d149
mov eax, dword [ebp - 0x10018]
mov ecx, dword [ebp - 0x10028]
shr eax, 0x1d
and eax, 1
mov dword [ecx], eax
jmp 0x47d172
push dword [ebp - 0x10024]
push 0x4ec2c0
push str.FileSystem
push 2
push str.CTXFSControlMgr::CheckFSTypeByFlag
push 0xe9
push str.....SourceCommonFileSystemFSControlMgr.cpp
call fcn.00442b40
add esp, 0x1c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10058]
call fcn.004a288d
mov eax, dword [ebp - 0x10014]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cb642
leave
ret
Function at 0x481f5a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 8
mov eax, 0x4d4485
call fcn.004cbc30
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
xor ebx, ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call sym.QQProtectUpd.exe_public:_int___thiscall_CTXStringW::GetLength_void_const
cmp eax, ebx
lea ecx, [ebp - 0x10]
jg 0x481f96
or dword [ebp - 4], 0xffffffff
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
xor eax, eax
call fcn.004cbd08
ret
lea esi, [eax - 1]
push esi
call sym.QQProtectUpd.exe_public:_wchar_t___thiscall_CTXStringW::GetAt_int_const
cmp ax, 0x5c
jne 0x481fca
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call sym.QQProtectUpd.exe_public:_class_CTXStringW___thiscall_CTXStringW::Left_int_
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0044d92a
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x10]
call sym.QQProtectUpd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x481fe2
test al, 0x10
jne 0x48204a
push 0x5c
lea ecx, [ebp - 0x10]
call sym.QQProtectUpd.exe_public:_int___thiscall_CTXStringW::ReverseFind_wchar_t_const
cmp eax, 0xffffffff
lea ecx, [ebp - 0x10]
je 0x481f85
push eax
lea eax, [ebp - 0x14]
push eax
call sym.QQProtectUpd.exe_public:_class_CTXStringW___thiscall_CTXStringW::Left_int_
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call sym.QQProtectUpd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call fcn.00481f5a
pop ecx
push ebx
lea ecx, [ebp - 0x10]
call sym.QQProtectUpd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
jne 0x482045
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, esi
jmp 0x481f90
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
xor esi, esi
inc esi
jmp 0x482032
Function at 0x486df2
Capabilities:
Write file on windows

Disassembly:
push 0x14
mov eax, 0x4d3934
call fcn.004cbc30
mov esi, ecx
push 0x4dcd18
push str..CHttpResponseDataWriter::Flush
push str.CHttpResponseDataWriter::Flush
push 1
push 0x1b2
lea eax, [ebp - 0x20]
push str.....SourceCommonNetworkHttpHttpResponseDataWriter.cpp
push eax
call fcn.0045ba29
add esp, 0x1c
xor edi, edi
cmp dword [esi], edi
je 0x486e73
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x486e73
cmp dword [esi + 0x18], edi
jbe 0x486e73
push 2
push edi
push eax
call dword [sym.imp.MSVCR80.dll_fseek]
push dword [esi + 0xc]
push dword [esi + 0x18]
push 1
push dword [esi + 0x10]
call dword [sym.imp.MSVCR80.dll_fwrite]
add esp, 0x1c
cmp eax, dword [esi + 0x18]
je 0x486e70
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0045baa8
mov eax, edi
call fcn.004cbd08
ret
mov dword [esi + 0x18], edi
xor edi, edi
inc edi
jmp 0x486e5c

Function at 0x486ef4
Capabilities:
Delete file

Disassembly:
push 8
mov eax, 0x4d4a5c
call fcn.004cbc30
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0xc]
and dword [ebp - 4], 0
test eax, eax
mov edi, dword [sym.imp.MSVCR80.dll_fclose]
je 0x486f1e
push eax
call edi
and dword [esi + 0xc], 0
pop ecx
lea ebx, [esi + 8]
push 0xffffffffffffffff
mov ecx, ebx
call sym.QQProtectUpd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
lea eax, [ebp - 0x10]
push eax
call sym.QQProtectUpd.exe_class_CTXStringA___cdecl_Util::Convert::Utf8FromWS_wchar_t_const___int_
add esp, 0xc
cmp dword [esi + 4], 0
mov byte [ebp - 4], 1
je 0x486fa6
mov ecx, ebx
call sym.QQProtectUpd.exe_public:_bool___thiscall_CTXStringW::IsEmpty_void_const
test al, al
jne 0x486fa6
push 0x4edd20
mov ecx, ebx
call sym.QQProtectUpd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.MSVCR80.dll__wfopen]
test eax, eax
pop ecx
pop ecx
je 0x486fa6
push eax
call edi
pop ecx
mov ecx, ebx
call sym.QQProtectUpd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x486fa6
mov ecx, ebx
call sym.QQProtectUpd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
push dword [esi + 0x28]
push str.Id__lu__Delete_Http_TmpFile_Fail_Error___s_
push str.Http
push 2
push str.CHttpResponseDataWriter::CHttpResponseDataWriter
push 0x59
push str.....SourceCommonNetworkHttpHttpResponseDataWriter.cpp
call fcn.00442b40
add esp, 0x20
mov eax, dword [esi + 0x10]
test eax, eax
je 0x486fb8
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
and dword [esi + 0x10], 0
pop ecx
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x486fca
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
and dword [esi + 0x1c], 0
pop ecx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::destructor_void_
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
call fcn.004cbd08
ret
Function at 0x48768c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
test edx, edx
push esi
mov esi, ecx
jne 0x48769d
xor eax, eax
jmp 0x487716
cmp dword [esi], 0
push edi
jne 0x4876dd
mov eax, dword [esi + 0x10]
test eax, eax
je 0x487713
push 0
push dword [esi + 8]
push eax
call dword [sym.imp.MSVCR80.dll_fseek]
push dword [esi + 0x10]
lea edi, [esi + 0x14]
push 0x400
push 1
push edi
call dword [sym.imp.MSVCR80.dll_fread]
add esp, 0x1c
test eax, eax
jbe 0x487713
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov dword [eax], edi
jmp 0x48770e
mov eax, dword [esi + 4]
sub eax, dword [esi + 8]
je 0x487713
cmp dword [esi + 0x414], 0
je 0x487713
mov ecx, 0x400
cmp eax, ecx
jbe 0x4876fe
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
jmp 0x487703
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [esi + 0x414]
add eax, dword [esi + 8]
mov dword [edx], eax
xor eax, eax
inc eax
jmp 0x487715
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x48ef39
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x7c
mov eax, 0x4d502e
call fcn.004cbc99
lea eax, [ebp - 0x88]
push eax
push 1
xor ebx, ebx
push ebx
push str.SoftwareMicrosoftInternet_Explorer
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48f03c
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push ebx
push str.Version
push dword [ebp - 0x88]
mov dword [ebp - 0x80], 0x64
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48f03c
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x78]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], ebx
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_void_
push ebx
push 0x2e
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call sym.QQProtectUpd.exe_public:_int___thiscall_CTXStringW::Find_wchar_t__int_const
cmp eax, ebx
jl 0x48f025
push ebx
push 0x2e
lea ecx, [ebp - 0x78]
call sym.QQProtectUpd.exe_public:_int___thiscall_CTXStringW::Find_wchar_t__int_const
push eax
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x78]
call sym.QQProtectUpd.exe_public:_class_CTXStringW___thiscall_CTXStringW::Left_int_
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 2
call fcn.0044d92a
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 1
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x7c]
call sym.QQProtectUpd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.MSVCR80.dll__wtoi]
cmp eax, 5
pop ecx
jl 0x48f025
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], bl
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
xor eax, eax
inc eax
jmp 0x48f03e
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], bl
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
xor eax, eax
call fcn.004cbd1c
ret
Function at 0x48f044
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1068
call fcn.004cb810
mov eax, dword [0x528f34]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
test eax, eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1050], ecx
mov ecx, dword [ebp + 0x14]
push esi
push edi
mov dword [ebp - 0x1068], eax
mov dword [ebp - 0x1064], ecx
je 0x48f121
test ebx, ebx
je 0x48f121
mov eax, dword [ebp + 0x18]
mov edi, dword [sym.imp.WININET.dll_InternetCanonicalizeUrlW]
and dword [ebp - 0x1058], 0
mov esi, eax
and eax, 0xc0000000
mov dword [ebp - 0x1060], eax
and esi, 0x3e000000
push esi
lea eax, [ebp - 0x1054]
push eax
lea eax, [ebp - 0x104c]
push eax
push ebx
mov dword [ebp - 0x1054], 0x824
call edi
test eax, eax
jne 0x48f132
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x48f121
mov eax, dword [ebp - 0x1054]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004cb568
pop ecx
push esi
lea ecx, [ebp - 0x1054]
push ecx
push eax
push ebx
mov dword [ebp - 0x105c], eax
mov dword [ebp - 0x1058], 1
call edi
test eax, eax
jne 0x48f13a
push dword [ebp - 0x105c]
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cb642
leave
ret
lea edi, [ebp - 0x104c]
jmp 0x48f140
mov edi, dword [ebp - 0x105c]
mov esi, dword [ebp - 0x1068]
push esi
push dword [ebp - 0x1060]
push 0
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
cmp dword [ebp - 0x1058], 0
mov ebx, eax
je 0x48f168
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
test ebx, ebx
je 0x48f18e
mov ax, word [esi + 0x18]
mov ecx, dword [ebp - 0x1064]
mov word [ecx], ax
mov eax, dword [esi + 0xc]
lea ecx, [eax - 1]
cmp ecx, 6
ja 0x48f18e
mov ecx, dword [ebp - 0x1050]
mov dword [ecx], eax
jmp 0x48f197
mov eax, dword [ebp - 0x1050]
or dword [eax], 0xffffffff
mov eax, ebx
jmp 0x48f123
Function at 0x496f63
Capabilities:
Resolve dns

Disassembly:
push 0x1c
mov eax, 0x4d5dde
call fcn.004cbc99
mov esi, dword [ebp + 8]
test esi, esi
mov ebx, ecx
jne 0x496f82
xor eax, eax
call fcn.004cbd1c
ret 8
push 0x10
lea eax, [ebp - 0x20]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0xffffffffffffffff
xor eax, eax
lea edi, [ebp - 0x28]
push esi
stosb byte es:[edi], al
push dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_struct_tagUTF8__wchar_t_const___int_
and dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call sym.QQProtectUpd.exe_public:_char_const____thiscall_CTXStringA::operator_char_const__void_const
mov esi, eax
push esi
mov word [ebp - 0x20], 2
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [ebp - 0x1c], eax
jne 0x496fde
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x496ffc
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push dword [ebp + 0xc]
call sub.MSVCR80.dll__byteswap_ushort
pop ecx
push 0x10
lea ecx, [ebp - 0x20]
mov word [ebp - 0x1e], ax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x30]
mov esi, eax
jmp 0x497009
push 0x2726
call dword [sym.imp.WS2_32.dll_WSASetLastError]
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::destructor_void_
mov eax, esi
jmp 0x496f7a
Function at 0x49eac4
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
mov dword [esi], 0x4f1640
mov dword [esi + 4], 0xc0000001
mov ecx, dword [0x56d6dc]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, esi
pop esi
jmp fcn.004ac379

Function at 0x49f4c0
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
mov dword [esi], 0x4f1858
mov dword [esi + 4], 0xc0000001
mov ecx, dword [0x56d6dc]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, esi
pop esi
jmp fcn.004b1af1

Function at 0x4a230c
Capabilities:
Accept command line arguments

Disassembly:
push 0x1c
mov eax, 0x4d6c05
call fcn.004cbc30
call fcn.004a2769
xor ebx, ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x10]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t__
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call sym.QQProtectUpd.exe_void___cdecl_Util::Misc::SplitCmdString_class_CTXStringW_const___class_std::vector_class_CTXStringW__class_std::allocator_class_CTXStringW____
pop ecx
pop ecx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
xor edi, edi
inc edi
cmp dword [ebp - 0x24], ebx
je 0x4a23e1
mov esi, dword [ebp - 0x20]
sub esi, dword [ebp - 0x24]
sar esi, 2
cmp esi, edi
jbe 0x4a23e1
push edi
lea ecx, [ebp - 0x28]
call fcn.004525b7
mov ecx, eax
call sym.QQProtectUpd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x4a23b3
push 0xb
push str._FSLogScene
push eax
call dword [sym.imp.MSVCR80.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x4a23ba
push 6
push str._FSLog
push dword [ebp - 0x18]
call dword [sym.imp.MSVCR80.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x4a23d8
inc edi
cmp edi, esi
jb 0x4a2370
jmp 0x4a23e1
lea eax, [edi + 1]
cmp eax, esi
jae 0x4a23e1
push eax
lea ecx, [ebp - 0x28]
call fcn.004525b7
mov ecx, dword [ebp - 0x14]
push eax
add ecx, 0x10
call fcn.0044d92a
jmp 0x4a23e1
mov eax, dword [ebp - 0x14]
mov dword [eax], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00431c80
call fcn.004cbd08
ret

Function at 0x4a23f3
Capabilities:
Allocate thread local storage

Disassembly:
push 4
mov eax, 0x4da698
call fcn.004cbc30
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ebx, [esi + 0x10]
mov ecx, ebx
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_void_
xor eax, eax
lea edi, [esi + 0x18]
mov dword [ebp - 4], eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [edi], eax
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push 0x4dcd18
mov ecx, ebx
mov dword [esi + 0xc], eax
call sym.QQProtectUpd.exe_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t__
push edi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
call fcn.004a230c
mov eax, esi
call fcn.004cbd08
ret