joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c41d0
Capabilities:
Get file size
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51163d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x54b144]
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 dword [ebp - 0x34], ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
push SysReAllocString
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], ebx
call fcn.0044a620
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4c424e
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov ebx, eax
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0xffffffff
jne 0x4c424e
xor eax, eax
jmp 0x4c4309
xor ecx, ecx
lea esi, [ebx + 1]
mov eax, esi
mov edx, 2
xor edi, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004dafd8
push esi
mov ebx, eax
push edi
push ebx
call fcn.004500f0
mov ecx, dword [ebp - 0x34]
add esp, 0x10
call fcn.0044a620
mov ecx, dword [ebp - 0x2c]
push eax
push dword [ebp - 0x30]
push ebx
push edi
push edi
call fcn.0044a620
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
nop dword [eax]
lea ecx, [ebx + edi*2]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0044a690
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00455680
test al, al
jne 0x4c42eb
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0048f3d0
lea ecx, [ebp - 0x28]
call fcn.0044a610
inc eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
add edi, eax
call fcn.0044a630
cmp edi, dword [ebp - 0x2c]
jbe 0x4c42a0
jmp 0x4c42f3
lea ecx, [ebp - 0x28]
call fcn.0044a630
push ebx
call fcn.004dafe1
add esp, 4
mov ecx, esi
call fcn.004c5330
movzx eax, al
xor eax, 1
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.004dafe6
mov esp, ebp
pop ebp
ret 8
Function at 0x4c4cf0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50eabd
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x54b144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ebx, [edi + 4]
push ebx
lea ecx, [ebp - 0x10]
call fcn.0048cc30
push str.TSClinicWebListener.dll
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0048c170
lea ecx, [ebp - 0x10]
call fcn.0044c020
mov esi, eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c4d56
push esi
call fcn.004b01e0
add esp, 4
push ebx
lea ecx, [ebp - 0x10]
call fcn.0048cea0
cmp dword [edi + 0x14], 0x40
mov ecx, str.QMContextUninstall64.dll
mov eax, str.QMContextUninstall.dll
cmove eax, ecx
lea ecx, [ebp - 0x10]
push eax
call fcn.0048c170
lea ecx, [ebp - 0x10]
call fcn.0044c020
mov esi, eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c4d97
push esi
call fcn.004b01e0
add esp, 4
lea ecx, [ebp - 0x10]
call fcn.0044c000
xor eax, eax
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 0x4c4dc0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5117a5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x54b144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.0048cc30
push 0x51b9a0
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0048c120
push 0x51b9e0
push 0x54bba8
call fcn.0048d420
push dword [edi + 4]
lea esi, [edi + 4]
push dword [ebp - 0x10]
push 0x51ba20
push 0x54bba8
call fcn.0048d420
add esp, 0x18
lea eax, [ebp - 0x10]
mov ecx, edi
push 0
push esi
push eax
call fcn.004c4760
push str.QMUpdate
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.0048bbf0
push dword [ebp - 0x1c]
mov byte [ebp - 4], 1
push dword [ebp - 0x10]
push 0x51baa8
push 0x54bba8
call fcn.0048d420
add esp, 0x1c
lea eax, [ebp - 0x1c]
mov ecx, edi
push 0
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004c4760
push str.pluginsQMNetMon
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.0048bbf0
push dword [ebp - 0x18]
mov byte [ebp - 4], 2
push dword [ebp - 0x10]
push 0x51bb48
push 0x54bba8
call fcn.0048d420
add esp, 0x1c
lea eax, [ebp - 0x18]
mov ecx, edi
push 0
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004c4760
push 0x51bbd4
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.0048bbf0
add esp, 0xc
push 0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004b55d0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push 0x51bc00
push 0x54bba8
call fcn.0048d0e0
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push 0x51bc48
push 0x54bba8
call fcn.0048d0e0
add esp, 0x20
lea eax, [ebp - 0x14]
mov ecx, edi
push 0
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004c4760
push 0x51bca0
push 0x54bba8
call fcn.0048d420
add esp, 8
lea ecx, [ebp - 0x14]
call fcn.0044c000
lea ecx, [ebp - 0x18]
call fcn.0044c000
lea ecx, [ebp - 0x1c]
call fcn.0044c000
lea ecx, [ebp - 0x10]
call fcn.0044c000
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4c5200
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x4c5215
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4c5220
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4c72c0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511bd5
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x54b144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.GlobalQQPCMgrSetup_EB92E8C1_0DEB_4407_9EB4_F74AAEA09031
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
push eax
lea ecx, [ebp - 0x14]
call fcn.00450120
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x14]
mov edi, eax
call fcn.0044c020
test eax, eax
jne 0x4c73c6
cmp edi, 5
je 0x4c73c6
push eax
lea ecx, [ebp - 0x34]
call fcn.004c6b20
push str.GlobalQQPCMgrSetup_EB92E8C1_0DEB_4407_9EB4_F74AAEA09031
push 0
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push eax
lea ecx, [esi + 0x24]
call fcn.0048dce0
push str.GlobalQQPCMgrUninst
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
push eax
lea ecx, [ebp - 0x10]
call fcn.00450120
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.0044c020
test eax, eax
jne 0x4c7390
cmp edi, 5
je 0x4c7390
lea ecx, [ebp - 0x10]
xor esi, esi
call fcn.00471570
jmp 0x4c73f8
cmp dword [esi], 0
jne 0x4c73a9
push 0
push 0x5342cc
push 0x51cf7c
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [esi + 0x14]
push edi
push 0x83
mov eax, dword [ecx]
call dword [eax + 0x20]
lea ecx, [ebp - 0x10]
mov esi, 1
call fcn.00471570
jmp 0x4c73f8
cmp dword [esi], 0
jne 0x4c73e5
cmp dword [esi + 0x38], 0
jne 0x4c73e5
push 0
push 0x5342cc
push 0x51cf10
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [esi + 0x14]
push edi
push 0x82
mov eax, dword [ecx]
call dword [eax + 0x20]
mov esi, 1
lea ecx, [ebp - 0x14]
call fcn.00471570
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 0x4c7770
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511c65
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x44]
call fcn.0047d0b0
push 0x2e
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0048be50
mov edi, eax
cmp edi, 0xffffffff
je 0x4c786d
mov ecx, esi
call fcn.0044c020
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c786d
push edi
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call fcn.0048cd70
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.0048cea0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.0044c000
cmp dword [ebp + 8], 0
je 0x4c7828
push str..dat
lea ecx, [ebp - 0x44]
call fcn.0048c170
push 0
lea ecx, [ebp - 0x44]
call fcn.0044c020
push eax
mov ecx, esi
call fcn.0044c020
push eax
call fcn.00472590
jmp 0x4c7866
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.0044c020
push eax
call fcn.004f0da1
add esp, 8
lea ecx, [ebp - 0x44]
push str..xml
call fcn.0048c170
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x44]
lea eax, [eax + eax*4]
push eax
call fcn.0044c020
push eax
mov ecx, esi
call fcn.0044c020
push eax
call fcn.00472690
add esp, 0xc
test eax, eax
jne 0x4c7886
push dword [esi]
push 0
push dword [ebp + 8]
push str.encrypttype_d_err_d_path_s.
push 0x54bba8
call fcn.0048d420
add esp, 0x14
lea ecx, [ebp - 0x44]
call fcn.0044c000
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret 8
Function at 0x4c8cb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511e80
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x21c]
push 0x20a
push 0
push eax
call fcn.004dcc10
add esp, 0xc
mov dword [ebp - 0x228], 0
mov ecx, esi
push 0xffffffffffffffff
call fcn.0044c020
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.004c6970
push 0x208
lea eax, [ebp - 0x21c]
push eax
push 0x208
push eax
push 0x26
push str.8CEFC9E6_A2B4_4c2a_823C_6903A31139FA
call fcn.004728f0
add esp, 0x24
test eax, eax
jne 0x4c8dca
lea eax, [ebp - 0x224]
push eax
call fcn.00489130
push str.QMPacket.dat
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 0
push eax
call fcn.0048bbf0
add esp, 0x10
lea ecx, [ebp - 0x224]
call fcn.0044c000
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
lea ecx, [ebp - 0x220]
call fcn.0044c020
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4c8dbf
push 0
lea eax, [ebp - 0x228]
push eax
push 0x208
lea eax, [ebp - 0x21c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x220]
call fcn.0044c000
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret 4

Function at 0x4c9120
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5101cd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x54b144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.QQPCRTP__t_begin
push 0x54bba8
call fcn.0048d0e0
push str.QQPCRTP.exe
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.0048bbf0
add esp, 0x14
mov ecx, eax
call fcn.0044c020
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.0044c000
test esi, esi
je 0x4c91ea
push str.QQPCRTP.exe
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], 0
push edi
push eax
call fcn.0048bbf0
add esp, 0xc
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
push ecx
push 0
push 0x7d0
push 0x51d6c0
mov ecx, eax
call fcn.0044c020
push eax
call fcn.004c9d90
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0044c000
push dword [ebp - 0x10]
push str.QQPCRtp__t_return:__u
push 0x54bba8
call fcn.0048d0e0
add esp, 0xc
push str.QQPCRTP__t_end
push 0x54bba8
call fcn.0048d0e0
push str.QQPCRTP_Stop_begin
push 0x54bba8
call fcn.0048d0e0
call fcn.004d8fa0
push str.QQPCRTP_Stop_end
push 0x54bba8
mov esi, eax
call fcn.0048d0e0
push str.QQPCRTP.exe
call fcn.004904f0
push str.QQPCRTP_CloseProcessByFile_ok
push 0x54bba8
call fcn.0048d0e0
add esp, 0x24
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 0x4c92d0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x546790
push 0x4dd1e0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x54b144]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
xorps xmm0, xmm0
movlpd qword [ebp - 0x3c], xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 4], esi
lea eax, [ebp - 0x30]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4c937d
lea eax, [ebp - 0x3c]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x4c937d
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], 2
push esi
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ecx, 1
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], 0xfffffffe
call fcn.004c93aa
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret
Function at 0x4c9480
Capabilities:
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x48
push esi
push edi
push str.IsWow64Process2
push str.kernel32
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
test edi, edi
jne 0x4c94de
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KFunction::IsArmArchitecture_get_proc_address_IsWow64Process2_failed:__d
push 0x54bba8
call fcn.0048d0e0
add esp, 0xc
jmp 0x4c9588
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
jne 0x4c950e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KFunction::IsArmArchitecture_IsWow64Process2_failed:__d
push 0x54bba8
call fcn.0048d0e0
add esp, 0xc
jmp 0x4c9588
movzx eax, word [ebp - 4]
push eax
push str.KFunction::IsArmArchitecture_uNativeMachine:__d
push 0x54bba8
call fcn.0048d0e0
mov eax, dword [ebp - 4]
mov ecx, 0x1c0
add esp, 0xc
cmp cx, ax
je 0x4c9583
mov ecx, 0xaa64
cmp cx, ax
je 0x4c9583
xorps xmm0, xmm0
mov dword [ebp - 0x20], esi
lea eax, [ebp - 0x40]
movaps xmmword [ebp - 0x40], xmm0
push eax
movaps xmmword [ebp - 0x30], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [ebp - 0x40]
push eax
push str.KFunction::IsArmArchitecture_stSystemInfo.wProcessorArchitecture:__d
push 0x54bba8
call fcn.0048d0e0
mov ax, word [ebp - 0x40]
mov ecx, 5
add esp, 0xc
cmp cx, ax
je 0x4c9583
mov ecx, 0xc
cmp cx, ax
jne 0x4c9588
mov esi, 1
push esi
push str.KFunction::IsArmArchitecture_ret:__d
push 0x54bba8
call fcn.0048d0e0
add esp, 0xc
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4c9d90
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51203d
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
push edi
mov eax, dword [0x54b144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0x44
xor eax, eax
movlpd qword [ebp - 0x60], xmm0
lea ecx, [ebp - 0x10]
movlpd qword [ebp - 0x58], xmm0
xor edi, edi
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x32], xmm0
movlpd qword [ebp - 0x2a], xmm0
mov word [ebp - 0x22], ax
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x38], 0x181
call fcn.0047d0b0
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], edi
push dword [ebp + 8]
push str.__s___s
push eax
call fcn.0048cb40
add esp, 0x10
cmp dword [ebp + 0x14], edi
je 0x4c9e23
lea eax, [edi + 0xa]
jmp 0x4c9e25
xor eax, eax
lea ecx, [ebp - 0x10]
mov word [ebp - 0x34], ax
call fcn.0044c020
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4c9e82
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KFunction::RunApp_CreateProcessW_error:_d__wait:_d__show:_d__path:_ws__cmd:_ws
push 0x54bba8
call fcn.0048d0e0
add esp, 0x1c
jmp 0x4c9ea9
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4c9ea4
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4c9ea4
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edi, 1
mov eax, dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4c9ec0
push eax
call esi
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4c9ed1
push ecx
call esi
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x10]
call fcn.0044c000
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4c9ef0
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51206d
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
mov eax, dword [0x54b144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0x44
xor eax, eax
movlpd qword [ebp - 0x60], xmm0
lea ecx, [ebp - 0x10]
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x32], xmm0
movlpd qword [ebp - 0x2a], xmm0
mov word [ebp - 0x22], ax
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x38], 0x181
call fcn.0047d0b0
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push dword [ebp + 8]
push str.__s___s
push eax
call fcn.0048cb40
add esp, 0x10
cmp dword [ebp + 0x10], 0
je 0x4c9f87
mov eax, 0xa
jmp 0x4c9f89
xor eax, eax
lea ecx, [ebp - 0x10]
mov word [ebp - 0x34], ax
call fcn.0044c020
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4c9fd8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Create_failed__the_error_code_is__d
push 0x54bba8
call fcn.0048d0e0
add esp, 0xc
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x10]
call fcn.0044c000
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4ca1c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
push 0
push eax
push esi
push edi
push ebx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4ca20b
nop word [eax + eax]
add edi, dword [ebp - 4]
sub esi, dword [ebp - 4]
je 0x4ca214
push 0
lea ecx, [ebp - 4]
push ecx
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4ca1f0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cc810
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512359
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x54b144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x48]
mov dword [esi], vtable.CInstaller.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 9
mov dword [esi + 0x28], 4
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
call fcn.0047d0b0
lea ecx, [esi + 0x4c]
mov dword [ebp - 4], 0
call fcn.0047d0b0
lea ecx, [esi + 0x50]
call fcn.0047d0b0
lea ecx, [esi + 0x54]
call fcn.0047d0b0
lea ecx, [esi + 0x58]
call fcn.0047d0b0
lea ecx, [esi + 0x5c]
call fcn.0047d0b0
lea ecx, [esi + 0x60]
call fcn.0047d0b0
lea ecx, [esi + 0x64]
call fcn.0047d0b0
lea ecx, [esi + 0x68]
call fcn.0047d0b0
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 8
mov dword [esi + 0x6c], 0
call fcn.004d61e0
lea ecx, [esi + 0x12c]
mov byte [ebp - 4], 9
mov dword [esi + 0xe4], 0
mov dword [esi + 0xe8], 0
mov dword [esi + 0xec], 0
mov dword [esi + 0xf0], 0
mov dword [esi + 0xf4], 0
mov dword [esi + 0xf8], 0
mov dword [esi + 0xfc], 0
mov dword [esi + 0x100], 0
mov dword [esi + 0x104], 0
mov dword [esi + 0x108], 0
mov dword [esi + 0x10c], 0
mov dword [esi + 0x110], 0xffffffff
mov dword [esi + 0x114], 0
mov dword [esi + 0x118], 0
mov dword [esi + 0x11c], 0
mov dword [esi + 0x120], 0
mov dword [esi + 0x124], 0
mov dword [esi + 0x128], 0xffffffff
call fcn.00479ad0
lea ecx, [esi + 0x130]
mov byte [ebp - 4], 0xa
call fcn.00479ad0
lea ecx, [esi + 0x134]
call fcn.004a5ec0
mov byte [ebp - 4], 0xc
lea ecx, [esi + 0x140]
call fcn.00499490
lea ecx, [esi + 0x174]
mov byte [ebp - 4], 0xd
call fcn.004c56f0
lea ecx, [esi + 0x1ac]
mov byte [ebp - 4], 0xe
call fcn.0044a740
mov dword [esi + 0x1b0], 0
mov eax, esi
mov dword [esi + 0x1b4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4cd620
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5123c5
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 0x58]
call fcn.0044c020
push eax
lea ecx, [ebp - 0x40]
call fcn.0048cb60
lea ecx, [edi + 0x58]
mov dword [ebp - 4], 0
call fcn.0044c020
push eax
lea ecx, [ebp - 0x28]
call fcn.0048cb60
push str.package.dat
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0048f080
push str.pkgdll.dat
lea ecx, [ebp - 0x28]
call fcn.0048f080
lea ecx, [ebp - 0x40]
call fcn.0044a620
push eax
lea ecx, [edi + 0x70]
call fcn.004d6360
test eax, eax
jne 0x4cd6ba
push 0x51fcd8
push 0x54bba8
call fcn.0048d420
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.0044a620
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x28]
call fcn.0044a630
lea ecx, [ebp - 0x40]
call fcn.0044a630
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret