joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447811
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
mov eax, dword [0x634254]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
cmp dword [esi + 0x10], 0
je 0x4478f3
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x44783e
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4478f3
push edi
push 0x250
lea eax, [ebp - 0x288]
push 0
push eax
call fcn.005713c0
add esp, 0xc
lea edi, [ebp - 0x28]
xor eax, eax
cmp dword [esi + 0x14], 8
push 8
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
pop edi
jb 0x447879
mov esi, dword [esi]
lea eax, [ebp - 0x288]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
test esi, esi
je 0x4478f3
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x274]
push eax
call dword [sym.imp.KERNEL32.DLL_FileTimeToLocalFileTime]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x290]
push eax
call dword [sym.imp.KERNEL32.DLL_FileTimeToSystemTime]
movzx eax, word [ebp - 0x2e]
push eax
movzx eax, word [ebp - 0x30]
push eax
movzx eax, word [ebp - 0x32]
push eax
movzx eax, word [ebp - 0x36]
push eax
movzx eax, word [ebp - 0x38]
push eax
lea eax, [ebp - 0x28]
push str._d__d__d__d:_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.004089a4
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov al, 1
jmp 0x4478f5
xor al, al
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0056d855
leave
ret
Function at 0x44a417
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ecx + 0x14], 8
push ebx
push esi
push edi
mov edi, edx
jb 0x44a428
mov ecx, dword [ecx]
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push ebx
push SysReAllocString
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44a495
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44a48e
push 0
lea ecx, [ebx + 1]
push ecx
mov ecx, edi
call fcn.0044202f
and dword [ebp - 4], 0
cmp dword [edi + 0x14], 0x10
jb 0x44a46b
mov edi, dword [edi]
push 0
lea eax, [ebp - 4]
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x44a48e
cmp dword [ebp - 4], ebx
jne 0x44a48e
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov al, 1
jmp 0x44a497
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor al, al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4502b1
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
xor ecx, ecx
cmp dword [esi + edi*4 + 4], ecx
jne 0x450302
mov eax, dword [esi + edi*4 + 0xa0]
push ebx
push ecx
push ecx
push ecx
push 6
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x450301
push dword [ebx + 0xa]
lea ecx, [ebx + 0xe]
push dword [ebp + 8]
push 0
push 0
push ecx
push dword [esi]
call dword [sym.imp.GDI32.dll_CreateDIBSection]
push ebx
mov dword [esi + edi*4 + 4], eax
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
pop ebx
mov eax, dword [esi + edi*4 + 4]
pop edi
pop esi
pop ebp
ret 4
Function at 0x45030c
Capabilities:
Read file via mapping

Disassembly:
push 0x10
mov eax, 0x5d2c08
call fcn.0056deea
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
push ecx
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], ebx
call fcn.004504c0
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x1c]
call fcn.0045add1
mov edi, dword [ebp - 0x1c]
test eax, eax
je 0x4503d4
mov esi, ebx
lea ebx, [edi + 4]
mov edi, dword [ebp + 0xc]
cmp dword [ebx], 0
je 0x4503c5
xor eax, eax
push eax
push dword [ebx]
push eax
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingW]
mov dword [ebp + 8], eax
test eax, eax
jne 0x450371
and dword [edi + esi*4], 0
jmp 0x4503c5
xor ecx, ecx
push ecx
push ecx
push ecx
push 6
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x450392
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x45036b
mov edx, dword [ebx - 4]
lea ecx, [ebp - 0x10]
push ecx
push dword [ebx]
mov ecx, dword [ebx + 8]
push eax
call fcn.004646f5
add esp, 0xc
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
cmp dword [edi + esi*4], 0
je 0x4503bf
push dword [edi + esi*4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp + 8]
mov dword [edi + esi*4], eax
inc esi
add ebx, 0x10
cmp esi, 0x27
jl 0x45034e
mov edi, dword [ebp - 0x1c]
xor ebx, ebx
inc ebx
test edi, edi
je 0x45040c
cmp edi, dword [ebp - 0x18]
je 0x4503fb
lea esi, [edi + 0xc]
cmp dword [esi], 0
je 0x4503f0
push dword [esi]
call fcn.0056d55e
and dword [esi], 0
pop ecx
add esi, 0x10
lea eax, [esi - 0xc]
cmp eax, dword [ebp - 0x18]
jne 0x4503e0
mov ecx, dword [ebp - 0x14]
sub ecx, edi
and ecx, 0xfffffff0
push ecx
push edi
call fcn.004037c3
pop ecx
pop ecx
mov eax, ebx
call fcn.0056deb8
ret 8

Function at 0x4536a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x634254]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
xor esi, esi
test edi, edi
je 0x4536fd
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4536fd
push 0x250
lea eax, [ebp - 0x254]
push esi
push eax
call fcn.005713c0
add esp, 0xc
lea eax, [ebp - 0x254]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
cmp eax, 0xffffffff
je 0x4536fd
mov esi, dword [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0056d855
leave
ret
Function at 0x453e7b
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x634254]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], 0x10
push eax
push 0x28
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x453eb9
call dword [sym.imp.KERNEL32.DLL_GetLastError]
sub eax, 0x78
neg eax
sbb eax, eax
inc eax
jmp 0x453f22
push esi
lea eax, [ebp - 0x34]
xor esi, esi
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x453edd
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
jmp 0x453f21
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], 1
push eax
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], ecx
push eax
push esi
push dword [ebp - 0x28]
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x453f16
xor esi, esi
inc esi
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056d855
leave
ret

Function at 0x453f2e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 8], ebx
test esi, esi
jne 0x453f47
xor eax, eax
jmp 0x453ffc
cmp byte [0x63e260], 0
jne 0x453f5c
call fcn.00453e7b
mov byte [0x63e260], 1
push edi
push esi
push 0
push 0x401
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, eax
test edi, edi
jne 0x453f8e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push ecx
push edi
push ebx
push esi
push eax
push 0xc
pop edx
push 0x6e
pop ecx
call fcn.004faa90
add esp, 0x14
xor eax, eax
jmp 0x453ffb
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
test eax, eax
je 0x453fc0
cmp dword [ebp - 4], 0x103
je 0x453fc0
push ecx
push 0
push ebx
push esi
push dword [ebp - 4]
push 0xf
pop edx
push 0x6e
pop ecx
call fcn.004faa90
add esp, 0x14
push 1
push edi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
mov ebx, eax
test ebx, ebx
jne 0x453fea
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push ecx
push ebx
push dword [ebp - 8]
push esi
push eax
push 0xd
pop edx
push 0x6e
pop ecx
call fcn.004faa90
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0x32
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x454000
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c4
mov eax, dword [0x634254]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
test edi, edi
je 0x454111
test esi, esi
je 0x454111
lea eax, [ebp - 0x4bc]
push eax
push 0x1f4
call dword [sym.imp.KERNEL32.DLL_GetLogicalDriveStringsW]
test eax, eax
je 0x454109
xor eax, eax
mov dword [ebp - 0x4c0], eax
cmp word [ebp - 0x4bc], ax
je 0x454109
lea ebx, [ebp - 0x4bc]
mov dword [ebp - 0x4c4], eax
push 0x60b338
push ebx
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
je 0x4540df
push 0x60b340
push ebx
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
je 0x4540df
mov ax, word [ebx]
mov word [ebp - 0xc], ax
mov eax, dword [ebp - 0x4c4]
push 0x64
mov ax, word [ebp + eax - 0x4ba]
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_QueryDosDeviceW]
test eax, eax
je 0x454111
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov ebx, eax
lea eax, [ebp - 0xd4]
push ebx
push eax
push edi
call fcn.005a1fe8
add esp, 0xc
test eax, eax
je 0x454122
mov eax, dword [ebp - 0x4c0]
lea ebx, [ebp - 0x4bc]
add eax, 4
mov dword [ebp - 0x4c0], eax
add eax, eax
add ebx, eax
mov dword [ebp - 0x4c4], eax
xor eax, eax
cmp word [ebx], ax
jne 0x454065
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056d855
leave
ret
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
lea eax, [edi + ebx*2]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_lstrcatW]
xor eax, eax
inc eax
jmp 0x454113

Function at 0x45413d
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x634254]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, edx
push esi
push edi
test ebx, ebx
je 0x4541bc
push ecx
xor esi, esi
xor eax, eax
push esi
push 0x400
mov word [ebx], ax
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, eax
test edi, edi
je 0x4541bc
push 0x208
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.005713c0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push edi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x4541b1
mov edx, ebx
lea ecx, [ebp - 0x20c]
call fcn.00454000
test eax, eax
je 0x4541b1
inc esi
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, esi
jmp 0x4541be
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056d855
leave
ret
Function at 0x4547c9
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
and dword [ebp - 0xc], 0
mov eax, edx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0xc]
xor ebx, ebx
push ecx
mov ecx, esi
call fcn.004541cd
pop ecx
test eax, eax
je 0x4548f2
push edi
mov eax, ebx
inc ebx
mov dword [ebp - 0x14], ebx
cmp eax, 0x12c
jg 0x4548f1
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4548cf
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], esi
jb 0x45481d
mov eax, dword [esi]
mov dword [ebp - 4], eax
cmp byte [0x63e260], 0
jne 0x454832
call fcn.00453e7b
mov byte [0x63e260], 1
push ebx
push 0
push 0x401
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, eax
test edi, edi
jne 0x454863
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push ecx
push edi
push dword [ebp - 4]
push ebx
push eax
push 0xc
pop edx
push 0x6e
pop ecx
call fcn.004faa90
add esp, 0x14
jmp 0x4548cf
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
test eax, eax
je 0x454897
cmp dword [ebp - 8], 0x103
je 0x454897
push ecx
push 0
push dword [ebp - 4]
push ebx
push dword [ebp - 8]
push 0xf
pop edx
push 0x6e
pop ecx
call fcn.004faa90
add esp, 0x14
push 1
push edi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
test eax, eax
jne 0x4548c0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push ecx
push 0
push dword [ebp - 4]
push ebx
push eax
push 0xd
pop edx
push 0x6e
pop ecx
call fcn.004faa90
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0x32
call dword [sym.imp.KERNEL32.DLL_Sleep]
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
call fcn.004541cd
mov ebx, dword [ebp - 0x14]
pop ecx
test eax, eax
jne 0x4547f3
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4556fd
Capabilities:
Check if file exists
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x634254]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov esi, edx
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x45571d
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4557c7
cmp dword [esi + 0x10], 0
je 0x4557c7
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x455740
mov eax, dword [esi]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x45574a
mov ecx, dword [edi]
push ebx
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
mov ebx, eax
test ebx, ebx
jne 0x4557c2
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 3
je 0x4557c2
push str..new
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.0044c79e
add esp, 0xc
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 8
cmovae eax, dword [ebp - 0x1c]
cmp dword [edi + 0x14], 8
jb 0x45578b
mov edi, dword [edi]
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
mov ebx, eax
test ebx, ebx
je 0x4557ba
cmp dword [esi + 0x14], 8
jb 0x4557a3
mov esi, dword [esi]
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
push 5
cmovae eax, dword [ebp - 0x1c]
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
mov ebx, eax
lea ecx, [ebp - 0x1c]
call fcn.00403730
mov eax, ebx
pop ebx
jmp 0x4557c9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0056d855
leave
ret

Function at 0x45589d
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x634254]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4558bd
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4558ce
inc eax
jmp 0x455969
push ebx
push edi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005713c0
add esp, 0xc
mov edi, esi
cmp dword [esi + 0x14], 8
jb 0x4558f0
mov edi, dword [esi]
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
push edi
push str._s._x.old
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0040b185
add esp, 0x14
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x45591b
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.DLL_MoveFileExW]
lea ecx, [ebp - 0x20c]
push 1
push ecx
push eax
call edi
mov ebx, eax
test ebx, ebx
je 0x455942
push 4
push 0
lea eax, [ebp - 0x20c]
push eax
call edi
jmp 0x455965
cmp dword [esi + 0x14], 8
jb 0x45594a
mov esi, dword [esi]
push ecx
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x10
pop edx
push 0x79
pop ecx
call fcn.004faa90
add esp, 0x14
pop edi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0056d855
leave
ret
Function at 0x456085
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x634254]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x208
mov esi, ecx
lea eax, [ebp - 0x20c]
push 0
mov dword [ebp - 0x210], esi
push eax
mov dword [ebp - 0x210], esi
call fcn.005713c0
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ebx, 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
je 0x4560ea
push str.TencentQQBrowser
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.005a1b75
add esp, 0xc
and dword [esi], 0
xor eax, eax
and dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [ebp - 0x20c]
push eax
call fcn.004089a4
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056d855
leave
ret

Function at 0x4566df
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
push 0x40
lea eax, [ebp - 0x50]
mov dword [ebp - 0x54], 0x44
push 0
push eax
mov ebx, edx
mov esi, ecx
call fcn.005713c0
xor eax, eax
lea edi, [ebp - 0x10]
mov word [ebp - 0x24], ax
add esp, 0xc
stosd dword es:[edi], eax
xor ecx, ecx
inc ecx
mov dword [ebp - 0x28], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
xor eax, eax
push eax
push eax
push eax
push ecx
push eax
push eax
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
je 0x456756
test ebx, ebx
je 0x456741
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
xor eax, eax
inc eax
jmp 0x456758
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x458edb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x634254]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x210]
xor esi, esi
push eax
push 0x20019
push esi
push str.SoftwareTencentQQBrowser
push reloc.OLEAUT32.dll_SysReAllocString
mov edi, ecx
mov dword [ebp - 0x210], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x458f79
push ebx
mov ebx, 0x208
lea eax, [ebp - 0x20c]
push ebx
push esi
push eax
call fcn.005713c0
add esp, 0xc
mov dword [ebp - 0x214], ebx
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push esi
push 0x60b838
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
pop ebx
test eax, eax
jne 0x458f6d
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.004089a4
inc esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0056d855
leave
ret
Function at 0x45a1eb
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x634254]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
test esi, esi
je 0x45a2d3
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
js 0x45a2d3
push 0x50
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.005713c0
movzx eax, byte [ebp - 0x25d]
push eax
movzx eax, byte [ebp - 0x25e]
push eax
movzx eax, byte [ebp - 0x25f]
push eax
movzx eax, byte [ebp - 0x260]
push eax
movzx eax, byte [ebp - 0x261]
push eax
movzx eax, byte [ebp - 0x262]
push eax
movzx eax, byte [ebp - 0x263]
push eax
movzx eax, byte [ebp - 0x264]
push eax
movzx eax, word [ebp - 0x266]
push eax
movzx eax, word [ebp - 0x268]
push eax
push dword [ebp - 0x26c]
lea eax, [ebp - 0x54]
push str._08X__04X__04x__02X_02X__02X_02X_02X_02X_02X_02X
push 0x28
push eax
call fcn.0045a112
add esp, 0x44
lea eax, [ebp - 0x25c]
push 0x208
push 0
push eax
call fcn.005713c0
add esp, 0xc
lea eax, [ebp - 0x25c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x25c]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
xor eax, eax
inc eax
jmp 0x45a2d5
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0056d855
leave
ret
Function at 0x45acfe
Capabilities:
Create directory
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
test eax, eax
je 0x45adca
xor ecx, ecx
cmp cx, word [eax]
je 0x45adca
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x45adca
cmp cx, word [ebx]
je 0x45adca
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x45adca
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x45adc3
cmp eax, 0x40000000
ja 0x45adc3
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
push esi
push esi
push esi
push 2
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingW]
mov dword [ebp - 8], eax
test eax, eax
je 0x45adb8
push esi
push esi
push esi
push 4
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
mov dword [ebp - 4], eax
test eax, eax
je 0x45adaf
push esi
push ebx
push dword [ebp + 8]
push eax
call fcn.0045a82a
add esp, 0x10
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, esi
jmp 0x45adcc
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret