joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46d5c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f6f19
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x564610]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.CQQMasterApp::ExitInstance___entering
push 1
push str..QQMaster.cpp
call fcn.004f3ba0
add esp, 0xc
call fcn.0046a3e0
mov ecx, eax
call fcn.004791e0
push str.HWTRANSFERMSGWINDOW7A28C391_E120_4645_9E02_4161CB7EBEC9
lea ecx, [ebp - 0x10]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__]
xor edi, edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], edi
call dword [sym.imp.Common.dll_public:_wchar_t____thiscall_CTXStringW::GetBuffer_void_]
push eax
push edi
call dword [sym.imp.USER32.dll_FindWindowW]
push edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.0046ccb0
call fcn.004f5dc0
test eax, eax
je 0x46d64c
push 0x2710
jmp 0x46d64d
push edi
call fcn.00455290
mov ecx, eax
call fcn.00455c80
mov ecx, esi
call fcn.0046d460
mov ecx, esi
call fcn.00467ac0
call fcn.00439c50
mov ecx, eax
call fcn.00446ff0
call fcn.00439cd0
mov ecx, eax
call fcn.00446760
call fcn.00439dd0
mov ecx, eax
call fcn.004441c0
call fcn.00439d50
mov ecx, eax
call fcn.004441c0
mov eax, dword [esi + 0x988]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [0x572664]
cmp eax, edi
je 0x46d6c9
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push edi
push eax
call edx
mov eax, dword [0x572664]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov dword [0x572664], edi
mov ecx, dword [esi + 0x100]
cmp ecx, edi
je 0x46d6e0
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov dword [esi + 0x100], edi
cmp dword [0x56ebd8], edi
je 0x46d724
push edi
call dword [sym.imp.MSVCR80.dll__time64]
mov ecx, dword [0x56ebd8]
add esp, 4
mov dword [ebp - 0x14], edx
push 8
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [ebp - 0x18]
push edx
push str.QMLastCloseTime
call eax
mov ecx, dword [0x56ebd8]
push ecx
call fcn.004f5a50
add esp, 4
mov dword [0x56ebd8], edi
mov eax, dword [esi + 0xa8]
cmp eax, edi
je 0x46d748
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [esi + 0xa8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xa8], edi
push edi
push edi
push 0x1a
call fcn.00436a60
call fcn.00436950
push str.CQQMasterApp::ExitInstance___leaving
push 1
push str..QQMaster.cpp
call fcn.004f3ba0
add esp, 0x18
mov ecx, esi
call fcn.0045cb70
lea ecx, [ebp - 0x10]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x473c20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f74eb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x564610]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [esi], vtable.svrlib::KVResultRow_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], vtable.svrlib::DataBuf.0
mov byte [esi + 0x24], al
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
lea ecx, [esi + 0x34]
mov dword [ebp - 4], eax
call fcn.0042a370
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x475500
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7711
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x564610]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
xor ebx, ebx
mov dword [esi], vtable.svrlib::KVResultSet_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
lea edi, [esi + 0x1c]
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.00470e20
mov dword [edi + 4], eax
mov byte [eax + 0x31], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov dword [esi + 0x2c], vtable.svrlib::DataBuf.0
mov byte [esi + 0x38], bl
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, dword [esi + 0x10]
lea edi, [esi + 0xc]
mov dword [esi + 0x48], ebx
cmp dword [edi + 4], eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x10], eax
ja 0x47559f
cmp eax, dword [edi + 8]
jbe 0x4755a8
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x4c], eax
mov eax, dword [ebp + 0xc]
cmp eax, ebx
mov dword [esi + 0x48], edi
je 0x4755c6
mov ecx, dword [ebp + 8]
cmp ecx, ebx
je 0x4755c6
push ebx
push ecx
push eax
mov ecx, esi
call fcn.004743b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4786c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4786d9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x478714
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x478710
lea ebx, [ebx]
cmp esi, eax
jae 0x478714
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x478700
cmp esi, eax
jb 0x47871a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x479050
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7d38
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x564610]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor ebx, ebx
lea edi, [esi + 0xc]
mov ecx, edi
mov dword [ebp - 4], ebx
mov dword [esi], vtable.CTaskManager.0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call fcn.004a1550
mov ecx, edi
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
call fcn.00478c40
mov dword [esi + 0x30], ebx
mov eax, esi
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 0x479510
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
push edi
xor edi, edi
push edi
push edi
push edi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
mov dword [esi + 4], eax
jne 0x479538
mov ecx, esi
mov edi, 0x80004005
call fcn.004790f0
mov eax, edi
pop edi
pop esi
ret
push 0
push 4
push esi
push 0x479440
push 0
push 0
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
test eax, eax
mov dword [esi + 8], eax
je 0x479527
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi + 8]
push eax
mov dword [esi + 0x30], 1
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, edi
pop edi
pop esi
ret
Function at 0x479770
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
mov ax, 2
mov ch, al
push edi
push str.heartbeat_packet_to_detect_main_tcp_server___
xor ebx, ebx
push 2
push str..TAVCloudStatus.cpp
mov dword [ebp - 0x20], 3
mov cl, ah
mov dword [ebp - 0x1c], 0x2710
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x24], 0x1f4
movzx edx, cx
mov dword [ebp - 8], edx
call fcn.004f3ba0
add esp, 0xc
cmp byte [esi + 0x48], bl
mov dword [ebp - 4], ebx
jne 0x479886
cmp dword [esi + 0x4c], 0
je 0x479886
mov ecx, dword [esi + 0x4c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
push 0
push 0
lea edi, [ebp - 0x24]
push edi
lea eax, [esi + 4]
push eax
push 2
lea eax, [ebp - 8]
push eax
push 0x44
call edx
test eax, eax
jne 0x479866
mov eax, dword [ebp - 4]
add eax, 1
cmp eax, 5
mov dword [ebp - 4], eax
ja 0x479872
lea eax, [ebx + 0x1f4]
cmp eax, 0xbb8
mov ebx, eax
jb 0x479822
mov ebx, 0xbb8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [esi + 0x48], 0
mov edi, eax
jne 0x479886
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, ebx
jae 0x479853
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0x48], 0
je 0x479830
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x48], 0
je 0x4797d4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 4]
mov edx, dword [eax]
push 0
push 3
push 0
lea ecx, [esi + 4]
push 0
push 0
call edx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x479a60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esi + 0x18]
test edi, edi
jne 0x479aae
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
push 0x479950
push eax
push ecx
mov byte [esi + 0x20], 0
mov dword [ebp - 4], edi
call dword [sym.imp.MSVCR80.dll__beginthreadex]
mov edi, eax
add esp, 0x18
test edi, edi
je 0x479aae
mov edx, dword [ebp - 4]
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edx
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x479f90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc40
mov eax, dword [0x564610]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor edi, edi
push 0x410
lea eax, [ebp - 0xc3e]
push edi
push eax
mov word [ebp - 0xc40], di
call sub.MSVCR80.dll_memset
push 0x410
lea ecx, [ebp - 0x82a]
push edi
push ecx
mov word [ebp - 0x82c], di
call sub.MSVCR80.dll_memset
push 0x410
lea edx, [ebp - 0x416]
push edi
push edx
mov word [ebp - 0x418], di
call sub.MSVCR80.dll_memset
add esp, 0x24
push 0x104
lea eax, [ebp - 0xc40]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0xc40]
push 0x5c
push ecx
call dword [sym.imp.MSVCR80.dll_wcsrchr]
add esp, 8
cmp eax, edi
jne 0x47a02e
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f019a
mov esp, ebp
pop ebp
ret
mov word [eax + 2], di
lea eax, [ebp - 0x82c]
lea edx, [eax + 2]
jmp 0x47a040
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x47a040
sub eax, edx
sar eax, 1
push esi
mov esi, dword [sym.imp.MSVCR80.dll_wcsncat]
mov edx, 0x208
sub edx, eax
push edx
lea eax, [ebp - 0xc40]
push eax
lea ecx, [ebp - 0x82c]
push ecx
call esi
lea eax, [ebp - 0x82c]
add esp, 0xc
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x47a080
sub eax, edx
sar eax, 1
mov edx, 0x208
sub edx, eax
push edx
lea eax, [ebp - 0x82c]
push str.QQPCLeakScan.exe
push eax
call esi
lea eax, [ebp - 0x418]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x47a0b1
sub eax, edx
sar eax, 1
mov ecx, 0x208
sub ecx, eax
push ecx
lea edx, [ebp - 0xc40]
push edx
lea eax, [ebp - 0x418]
push eax
call esi
lea eax, [ebp - 0x418]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x47a0e4
sub eax, edx
sar eax, 1
mov ecx, 0x208
sub ecx, eax
push ecx
lea edx, [ebp - 0x418]
push str.TSVulPage.dll
push edx
call esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
lea eax, [ebp - 0x82c]
push eax
call esi
test eax, eax
je 0x47a13e
lea ecx, [ebp - 0x418]
push ecx
call esi
test eax, eax
je 0x47a13e
pop esi
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f019a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor al, al
pop edi
call fcn.004f019a
mov esp, ebp
pop ebp
ret
Function at 0x47b210
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7e6b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x564610]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea edi, [esi + 0x34]
mov ecx, edi
mov dword [esi], vtable.CVulPageProxy.0
call fcn.0042d1f0
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
xor eax, eax
mov dword [edi + 8], eax
mov ecx, dword [ebp + 8]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x24], 5
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
or ecx, 0xffffffff
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov ecx, esi
mov dword [ebp - 4], eax
mov dword [esi + 0x5c], eax
call fcn.0047a3a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x485290
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], 0
call fcn.0041b800
mov ecx, eax
call fcn.0041b850
mov esi, eax
test esi, esi
mov dword [ebp - 0x10], esi
jne 0x4852bf
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ecx, edi
call fcn.00483470
mov ecx, esi
call fcn.004170d0
mov ebx, eax
mov esi, dword [ebx + 4]
cmp esi, dword [ebx + 8]
mov dword [ebp - 4], ebx
jbe 0x4852e1
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
mov ebx, dword [ebx + 8]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], ebx
jbe 0x4852f8
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, ebx
je 0x485390
mov ecx, dword [ebp - 4]
cmp esi, dword [ecx + 8]
jb 0x48530e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, esi
call edi
mov ebx, dword [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.00416f60
test eax, eax
je 0x485377
mov ecx, esi
call edi
push eax
mov ecx, ebx
call fcn.00416fd0
test eax, eax
jne 0x485347
push eax
push 3
mov ecx, esi
call edi
push eax
call fcn.0041bc60
mov ecx, eax
call fcn.0041d400
jmp 0x485377
lea ecx, [esi + 4]
call edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 8]
cmp eax, 1
push esi
setne bl
call fcn.00483df0
test al, al
je 0x485377
add dword [ebp - 0xc], 1
test bl, bl
je 0x485377
mov ecx, dword [ebp - 8]
push esi
call fcn.0047dbd0
mov edx, dword [ebp - 4]
cmp esi, dword [edx + 8]
jb 0x485385
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [ebp - 4]
add esi, 0x40
jmp 0x4852e7
mov ecx, dword [ebp - 8]
call fcn.004811b0
xor eax, eax
cmp dword [ebp - 0xc], eax
pop ebx
pop edi
setg al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x485c40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f92a2
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x564610]
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
lea ecx, [ebp - 0x2c]
xor ebx, ebx
xor edi, edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], ebx
call fcn.004f66a0
add esp, 4
test eax, eax
je 0x485d5b
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__]
mov esi, dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t_const__]
push 0x5231c0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call esi
push str.QDeskSetup.exe
lea ecx, [ebp - 0x30]
call esi
push str.__S__supplyid_10_
lea ecx, [ebp - 0x30]
call esi
push 0x40
lea ecx, [ebp - 0x80]
push ebx
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
xor eax, eax
lea edx, [ebp - 0x40]
push edx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x84]
push eax
push ebx
push ebx
push 0x2000000
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x84], 0x44
call dword [sym.imp.Common.dll_public:_wchar_t____thiscall_CTXStringW::GetBuffer_void_]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, ebx
je 0x485d4f
mov ecx, dword [ebp - 0x40]
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x485d3d
push eax
call esi
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp - 0x40]
cmp eax, ebx
je 0x485d4a
push eax
call esi
mov dword [ebp - 0x40], ebx
mov edi, 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, edi
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.004f019a
mov esp, ebp
pop ebp
ret
Function at 0x490050
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov ecx, dword [ecx]
lea eax, [ebp - 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x490077
call fcn.00410170
test eax, eax
jl 0x490084
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov dword [ecx], eax
mov dword [ecx + 4], edx
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x490090
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
cmp edx, ecx
mov dword [ebp - 8], eax
ja 0x4900c8
jb 0x4900be
cmp eax, ebx
jae 0x4900c8
mov eax, ebx
mov edx, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov ecx, dword [ebp + 0x18]
push 0
push eax
push edx
push ecx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test eax, eax
mov dword [esi + 8], eax
jne 0x4900ee
call fcn.00410170
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
test ebx, ebx
mov edx, dword [ebp + 0x10]
jne 0x4900ff
mov ecx, dword [ebp - 8]
sub ecx, edx
mov dword [esi + 4], ecx
jmp 0x490102
mov dword [esi + 4], ebx
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0x10], edx
mov edx, dword [ebp + 0x14]
push 0
mov dword [esi + 0x14], edx
mov edx, dword [esi + 4]
push edx
mov edx, dword [esi + 0x10]
push edx
mov edx, dword [esi + 0x14]
push edx
push ecx
push eax
mov dword [esi + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
test eax, eax
mov dword [esi], eax
jne 0x490150
call fcn.00410170
mov edi, eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
mov dword [esi + 8], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x490160
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa2f9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x564610]
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 ebx, ecx
cmp dword [ebx + 4], 0
jne 0x490241
call dword [0x564660]
mov edi, dword [ebp + 8]
test edi, edi
mov dword [ebp - 0x18], eax
jne 0x4901ab
xor eax, eax
jmp 0x4901d8
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jle 0x4901c0
xor eax, eax
jmp 0x4901d8
lea esi, [eax + eax]
mov eax, esi
call fcn.004f0600
mov ecx, dword [ebp - 0x18]
mov eax, esp
push ecx
push esi
push edi
push eax
call fcn.00443f00
mov edx, dword [ebp + 0xc]
push edx
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringA::constructor_char_const___int_]
push 0x529380
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call dword [sym.imp.Common.dll_public:_class_CTXStringA____thiscall_CTXStringA::operator_char_const__]
lea ecx, [ebp - 0x14]
call dword [sym.imp.Common.dll_public:_int___thiscall_CTXStringA::GetLength_void_const]
lea ecx, [ebp - 0x14]
mov esi, eax
call dword [sym.imp.Common.dll_public:_char_const____thiscall_CTXStringA::operator_char_const__void_const]
mov edx, dword [ebx]
push 0
lea ecx, [ebp - 0x18]
push ecx
push esi
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x49022d
call fcn.00410170
mov esi, eax
jmp 0x49022f
xor esi, esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringA::destructor_void_]
jmp 0x49028d
mov ecx, dword [ebp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 8]
lea edx, [ecx + ecx]
mov ecx, dword [ebx]
push edx
push eax
push ecx
call edi
test eax, eax
jne 0x49026c
call fcn.00410170
mov esi, eax
test esi, esi
jl 0x49028d
mov eax, dword [ebx]
push 0
lea edx, [ebp - 0x18]
push edx
push 4
push 0x529bd0
push eax
call edi
test eax, eax
jne 0x49028b
call fcn.00410170
mov esi, eax
jmp 0x49028d
xor esi, esi
xor eax, eax
test esi, esi
setge al
lea esp, [ebp - 0x28]
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.004f019a
mov esp, ebp
pop ebp
ret 8