joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a58e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x543488
push 0x4dd1e0
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
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
mov dword [ebp - 0x18], esp
mov edi, edx
mov esi, ecx
mov eax, dword [0x54f620]
test eax, eax
jne 0x4a598f
mov eax, dword [0x54f128]
test eax, eax
jne 0x4a597a
push 0x20a
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.004dcc10
add esp, 0xc
push 0x104
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.winhttp.dll
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x54f128], eax
push str.WinHttpReadData
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x54f620], eax
test eax, eax
je 0x4a59b9
mov dword [ebp - 4], 0
push 0
push dword [ebp + 8]
push edi
push esi
call eax
jmp 0x4a59ac
mov dword [ebp - 0x22c], eax
mov dword [ebp - 4], 0xfffffffe
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 0x4a59e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x54f630]
push esi
mov esi, ecx
test eax, eax
jne 0x4a5a77
mov eax, dword [0x54f128]
test eax, eax
jne 0x4a5a53
push 0x20a
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.004dcc10
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.winhttp.dll
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x54f128], eax
push str.WinHttpCloseHandle
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x54f630], eax
test eax, eax
jne 0x4a5a77
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret
push esi
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004dafe6
mov esp, ebp
pop ebp
ret
Function at 0x4a5a90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5434a8
push 0x4dd1e0
mov eax, dword fs:[0]
push eax
sub esp, 0x218
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
mov dword [ebp - 0x18], esp
mov esi, ecx
mov eax, dword [0x54f63c]
test eax, eax
jne 0x4a5b3d
mov eax, dword [0x54f128]
test eax, eax
jne 0x4a5b28
push 0x20a
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.004dcc10
add esp, 0xc
push 0x104
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.winhttp.dll
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x54f128], eax
push str.WinHttpOpen
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x54f63c], eax
test eax, eax
je 0x4a5b6b
mov dword [ebp - 4], 0
push 0x10000000
push 0
push 0
push 1
push esi
call eax
mov dword [ebp - 4], 0xfffffffe
jmp 0x4a5b6d
xor eax, eax
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 0x4a5b90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x54f618]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, edx
push edi
mov edi, ecx
test eax, eax
jne 0x4a5c30
mov eax, dword [0x54f128]
test eax, eax
jne 0x4a5c0a
push 0x20a
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.004dcc10
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.winhttp.dll
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x54f128], eax
push str.WinHttpSetOption
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x54f618], eax
test eax, eax
jne 0x4a5c30
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret
push dword [ebp + 0xc]
push ebx
push esi
push edi
call eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004dafe6
mov esp, ebp
pop ebp
ret
Function at 0x4a6c50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e4cb
mov eax, dword fs:[0]
push eax
push ecx
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
mov dword [ebp - 0x10], edi
call fcn.004a6e00
lea ecx, [edi + 4]
call fcn.004a6e10
lea ecx, [edi + 0x18]
mov dword [edi], vtable.C7zExtractImpl.0
mov dword [edi + 4], vtable.C7zExtractImpl.1.0
call fcn.0047d0b0
lea ecx, [edi + 0x1c]
mov dword [ebp - 4], 0
call fcn.0047d0b0
lea ecx, [edi + 0x24]
mov byte [ebp - 4], 1
call fcn.004a6b80
mov dword [edi + 8], 0
mov eax, edi
mov dword [edi + 0xc], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x2c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4a8c90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e84d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
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 ecx, [ebp - 0x14]
call fcn.0047d0b0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
push str.crc.dat
call fcn.004a98f0
test eax, eax
jne 0x4a8ce8
xor esi, esi
jmp 0x4a8d74
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
push eax
push 0x20
push str.qqpcmgr_pkg_crc_file
push esi
call ebx
lea eax, [ebp - 0x10]
add edi, 0x24
push eax
mov ecx, edi
call fcn.004aa770
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.004aa890
push eax
lea ecx, [ebp - 0x10]
call fcn.004a7060
test al, al
je 0x4a8d68
lea ecx, [ebp - 0x10]
call fcn.004a70e0
mov ecx, dword [eax]
call fcn.0044a610
push 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
push 4
lea eax, [ebp - 0x1c]
push eax
push esi
call ebx
lea ecx, [ebp - 0x10]
call fcn.004a7140
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.004aa890
push eax
lea ecx, [ebp - 0x10]
call fcn.004a7060
test al, al
jne 0x4a8d27
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 1
lea ecx, [ebp - 0x14]
call fcn.0044c000
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 0x4a9d90
Capabilities:
Move file

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
lea ecx, [ebp - 0x10]
call fcn.0047d0b0
mov edi, dword [ebp + 8]
xor esi, esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], 0
push esi
push dword [edi]
lea eax, [ebp - 0x10]
push str._s.bad_u
push eax
call fcn.0048cb40
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.0044c020
push eax
mov ecx, edi
call fcn.0044c020
push eax
call fcn.004e4479
add esp, 8
test eax, eax
je 0x4a9e14
call ebx
cmp eax, 0xb7
jne 0x4a9e10
inc esi
cmp esi, 0xa
jl 0x4a9dd0
xor esi, esi
jmp 0x4a9e24
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.0048cea0
mov esi, 1
lea ecx, [ebp - 0x10]
call fcn.0044c000
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 0x4aad30
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov dword [ebp - 4], 0
push edi
mov dword [esi + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [esi + 0xc]
call fcn.0044c020
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4aadbe
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x4aadae
cmp eax, 0x20
je 0x4aadae
cmp eax, 2
je 0x4aad9e
cmp eax, 3
je 0x4aad9e
mov dword [esi + 0x1c], 0x6c
mov eax, dword [esi + 0x1c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x1c], 0x6b
mov eax, dword [esi + 0x1c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x1c], 0x67
mov eax, dword [esi + 0x1c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [esi + 0x14]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, ebx
je 0x4aade7
push edi
mov dword [esi + 0x1c], 0x64
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x1c]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
call fcn.004dafd8
add esp, 4
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push dword [esi + 0x14]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4aae24
mov edx, dword [ebp - 4]
cmp edx, dword [esi + 0x14]
jne 0x4aae24
mov ecx, ebx
call fcn.004013f0
cmp eax, dword [esi + 0x10]
je 0x4aae2b
mov dword [esi + 0x1c], 0x65
jmp 0x4aae2b
mov dword [esi + 0x1c], 0x6a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x4aae3f
push ebx
call fcn.004dafe1
add esp, 4
mov eax, dword [esi + 0x1c]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4ad540
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ee50
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
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 esi, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0xe4], eax
call fcn.004ac3d0
test edi, edi
je 0x4ad6bf
lea ecx, [ebp - 0xd8]
call fcn.00479ad0
push 0x80
lea ecx, [ebp - 0xd8]
mov dword [ebp - 4], 0
call fcn.004abe70
lea ecx, [ebp - 0xd8]
call fcn.0044c020
mov ebx, eax
mov dword [ebp - 0xdc], 0x44
lea eax, [esi + 0x4c]
mov dword [ebp - 0xe0], 0x80
push eax
lea eax, [ebp - 0xe0]
push eax
push ebx
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x54]
push eax
push edi
push dword [ebp - 0xe4]
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x4ad65e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4ad6ad
cmp dword [ebp - 0xdc], 0x44
ja 0x4ad6df
mov eax, dword [ebp - 0xe0]
cmp eax, 0x80
jbe 0x4ad636
push eax
lea ecx, [ebp - 0xd8]
call fcn.004ada40
lea ecx, [ebp - 0xd8]
call fcn.0044c020
mov ebx, eax
lea eax, [esi + 0x4c]
push eax
lea eax, [ebp - 0xe0]
push eax
push ebx
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x54]
push eax
push edi
push dword [ebp - 0xe4]
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x4ad6ad
lea eax, [ebp - 0x54]
mov byte [esi + 0x48], 1
push eax
mov ecx, esi
call fcn.004ae680
push eax
push dword [ebp - 0xdc]
call dword [sym.imp.ADVAPI32.dll_CopySid]
test eax, eax
je 0x4ad6ad
push ebx
lea ecx, [esi + 0x54]
call fcn.0044f380
push edi
lea ecx, [esi + 0x50]
call fcn.0044f380
push dword [ebp - 0xe4]
lea ecx, [esi + 0x5c]
call fcn.0044f380
lea ecx, [ebp - 0xd8]
call fcn.004ab6c0
mov al, 1
jmp 0x4ad6c1
mov ecx, esi
call fcn.004ac3d0
lea ecx, [ebp - 0xd8]
call fcn.004ab6c0
xor al, al
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
push 0x80004005
call fcn.00450130
int3
Function at 0x4ae150
Capabilities:
Check if file exists
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50eec4
mov eax, dword fs:[0]
push eax
sub esp, 0x150
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 edi, dword [ebp + 0xc]
lea ecx, [ebp - 0xd0]
call fcn.004ab4e0
lea ecx, [ebp - 0x15c]
mov dword [ebp - 4], 0
call fcn.004ab520
lea ecx, [ebp - 0xe0]
call fcn.004ab320
push 0x20028
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 2
call fcn.004acd80
push 0
push 0
push str.SeTakeOwnershipPrivilege
lea ecx, [ebp - 0xe0]
call fcn.004ac980
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0xe0]
call fcn.004ad310
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xd0]
push eax
push esi
mov ecx, edi
call fcn.0044c020
push eax
call fcn.004ac0c0
add esp, 0xc
lea ecx, [ebp - 0x120]
call fcn.004ab3a0
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0xd0]
push 2
push ebx
push eax
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 3
call fcn.004abce0
test al, al
je 0x4ae393
push 0
lea eax, [ebp - 0x120]
mov ecx, edi
push eax
push esi
call fcn.0044c020
push eax
call fcn.004ac020
add esp, 0x10
test al, al
je 0x4ae383
cmp esi, 1
jne 0x4ae267
push 0x80
mov ecx, edi
call fcn.0044c020
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x70]
call fcn.004ab4e0
lea ecx, [ebp - 0x100]
call fcn.004ab3a0
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 5
push eax
push esi
mov ecx, edi
call fcn.0044c020
push eax
call fcn.004abf70
add esp, 0xc
lea ecx, [ebp - 0x70]
push 0
push str.Everyone
call fcn.004ad540
test al, al
je 0x4ae2bb
push 2
push ebx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x100]
call fcn.004abce0
push 0
push str.System
lea ecx, [ebp - 0x70]
call fcn.004ad540
test al, al
je 0x4ae2e0
push 2
push ebx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x100]
call fcn.004abce0
push 0
push str.Administrators
lea ecx, [ebp - 0x70]
call fcn.004ad540
test al, al
je 0x4ae305
push 2
push ebx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x100]
call fcn.004abce0
push 0
lea eax, [ebp - 0x100]
mov ecx, edi
push eax
push esi
call fcn.0044c020
push eax
call fcn.004ac020
add esp, 0x10
lea ecx, [ebp - 0x100]
call fcn.004ab760
lea ecx, [ebp - 0x70]
call fcn.004ab7a0
mov esi, 1
lea ecx, [ebp - 0x120]
call fcn.004ab760
lea ecx, [ebp - 0xe0]
call fcn.004ab710
lea ecx, [ebp - 0x15c]
call fcn.004ab7d0
lea ecx, [ebp - 0xd0]
call fcn.004ab7a0
mov eax, esi
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 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4ae332
cmp eax, 3
je 0x4ae332
xor esi, esi
jmp 0x4ae337
Function at 0x4ae3a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50eec4
mov eax, dword fs:[0]
push eax
sub esp, 0x150
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 edi, dword [ebp + 0xc]
lea ecx, [ebp - 0xd0]
call fcn.004ab4e0
lea ecx, [ebp - 0x15c]
mov dword [ebp - 4], 0
call fcn.004ab520
lea ecx, [ebp - 0xe0]
call fcn.004ab320
push 0x20028
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 2
call fcn.004acd80
push 0
push 0
push str.SeTakeOwnershipPrivilege
lea ecx, [ebp - 0xe0]
call fcn.004ac980
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0xe0]
call fcn.004ad310
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xd0]
push eax
push ebx
push edi
call fcn.004ac070
add esp, 0xc
lea ecx, [ebp - 0x120]
call fcn.004ab3a0
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0xd0]
push 2
push esi
push eax
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 3
call fcn.004abce0
test al, al
jne 0x4ae479
xor esi, esi
jmp 0x4ae56c
push 0
lea eax, [ebp - 0x120]
push eax
push ebx
push edi
call fcn.004abfd0
add esp, 0x10
test al, al
je 0x4ae553
lea ecx, [ebp - 0x70]
call fcn.004ab4e0
lea ecx, [ebp - 0x100]
call fcn.004ab3a0
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 5
push eax
push ebx
push edi
call fcn.004abf10
add esp, 0xc
lea ecx, [ebp - 0x70]
push 0
push str.Everyone
call fcn.004ad540
test al, al
je 0x4ae4e1
push 2
push esi
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x100]
call fcn.004abce0
push 0
push str.System
lea ecx, [ebp - 0x70]
call fcn.004ad540
test al, al
je 0x4ae506
push 2
push esi
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x100]
call fcn.004abce0
push 0
push str.Administrators
lea ecx, [ebp - 0x70]
call fcn.004ad540
test al, al
je 0x4ae52b
push 2
push esi
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x100]
call fcn.004abce0
push 0
lea eax, [ebp - 0x100]
push eax
push ebx
push edi
call fcn.004abfd0
add esp, 0x10
lea ecx, [ebp - 0x100]
call fcn.004ab760
lea ecx, [ebp - 0x70]
call fcn.004ab7a0
jmp 0x4ae567
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4ae567
cmp eax, 3
jne 0x4ae472
mov esi, 1
lea ecx, [ebp - 0x120]
call fcn.004ab760
lea ecx, [ebp - 0xe0]
call fcn.004ab710
lea ecx, [ebp - 0x15c]
call fcn.004ab7d0
lea ecx, [ebp - 0xd0]
call fcn.004ab7a0
mov eax, esi
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 0xc
Function at 0x4b01e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f26d
mov eax, dword fs:[0]
push eax
sub esp, 0x58
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 eax, dword [ebp + 8]
lea ecx, [ebp - 0x5c]
push eax
call fcn.0044f000
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0
call fcn.0044c020
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
je 0x4b03ac
push str.regsvr32.exe
lea ecx, [ebp - 0x28]
call fcn.0048cb60
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
call fcn.0048e080
add esp, 4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
call fcn.0044a620
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0048c810
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0044a620
push eax
call esi
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.0044a630
lea ecx, [ebp - 0x58]
call fcn.0044a630
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0044a630
test esi, esi
je 0x4b0355
push str.regsvr32.exe
lea ecx, [ebp - 0x28]
call fcn.0048cb60
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x64]
push 0x5343dc
push eax
call fcn.0048c6a0
push 0x5343d8
push eax
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 5
push eax
call fcn.0048bbf0
mov edi, eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
push eax
call fcn.0048e080
add esp, 0x1c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
push ecx
mov ecx, eax
call fcn.0044a620
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0048c810
add esp, 0xc
mov esi, eax
push 0
push 0
push 0
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.0044c020
push eax
mov ecx, esi
call fcn.0044a620
push eax
call fcn.00490270
add esp, 0x14
lea ecx, [ebp - 0x58]
call fcn.0044a630
lea ecx, [ebp - 0x40]
call fcn.0044a630
lea ecx, [ebp - 0x60]
call fcn.0044c000
lea ecx, [ebp - 0x64]
call fcn.0044c000
lea ecx, [ebp - 0x28]
call fcn.0044a630
jmp 0x4b03ac
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
push 0x5343dc
push eax
call fcn.0048c6a0
push 0x5343d8
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 9
push eax
call fcn.0048bbf0
add esp, 0x18
push 0
push 0
push 0
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.0044c020
push eax
push str.regsvr32
call fcn.00490270
add esp, 0x14
lea ecx, [ebp - 0x64]
call fcn.0044c000
lea ecx, [ebp - 0x60]
call fcn.0044c000
lea ecx, [ebp - 0x5c]
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
Function at 0x4b0470
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0
push 2
or ebx, 0xffffffff
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x4b04aa
pop esi
or eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4b04fc
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
nop dword [eax]
push str.explorer.exe
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x4b04f5
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4b04d0
jmp 0x4b04fb
mov ebx, dword [ebp - 0x228]
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.004dafe6
mov esp, ebp
pop ebp
ret

Function at 0x4b13d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f745
mov eax, dword fs:[0]
push eax
sub esp, 8
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 ebx, ecx
push str._commandSetSimpleVersionConfig
lea ecx, [ebp - 0x14]
xor edi, edi
call fcn.0044f000
push dword [ebx + 0x50]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], edi
push str.__SimpleVersion_ld
push eax
call fcn.004af1f0
add esp, 0xc
lea ecx, [ebp - 0x14]
push str.__FromInstaller
call fcn.0048c170
mov ecx, dword [ebp + 8]
call fcn.0044a620
push eax
lea ecx, [ebp - 0x10]
call fcn.0044f000
push str.QQPCSoftCmd.exe
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0048c170
lea ecx, [ebp - 0x10]
call fcn.0044c020
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b149f
push str.5958793A_5C0C_4a22_812A_72065C3D975D
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push edi
push edi
push 0x7530
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.0044c020
push eax
lea ecx, [ebp - 0x10]
call fcn.0044c020
push eax
call fcn.00490270
add esp, 0x14
mov edi, eax
test esi, esi
je 0x4b149f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push dword [ebx + 0x50]
lea ecx, [ebp - 0x14]
call fcn.0044c020
push eax
lea ecx, [ebp - 0x10]
call fcn.0044c020
push eax
push str.CVersionChecker::RunExe_Path_s__strParam_s__dwSimpleVersion_lu__bRet_d
push 0x54bba8
call fcn.0048d420
add esp, 0x18
lea ecx, [ebp - 0x10]
call fcn.0044c000
lea ecx, [ebp - 0x14]
call fcn.0044c000
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4