joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48fd1e
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a921d
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x4e106c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x270], ecx
and dword [ebp - 0x26c], 0
and dword [ebp - 0x268], 0
and dword [ebp - 0x260], 0
push 0x24c
push 0
lea eax, [ebp - 0x25c]
push eax
call fcn.00458260
add esp, 0xc
lea ecx, [ebp - 0x264]
call fcn.00407094
and dword [ebp - 4], 0
push dword [ebp + 8]
push str._s.
lea eax, [ebp - 0x264]
push eax
call fcn.004080bb
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x264]
call fcn.004026c4
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0xffffffff
je 0x48fed8
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x48feb5
mov eax, dword [ebp - 0x260]
and eax, 0x10
je 0x48fe5b
push 0x4c4be4
lea eax, [ebp - 0x234]
push eax
call fcn.0046a7f2
pop ecx
pop ecx
test eax, eax
je 0x48fe20
push 0x4c4be8
lea eax, [ebp - 0x234]
push eax
call fcn.0046a7f2
pop ecx
pop ecx
test eax, eax
jne 0x48fe24
jmp 0x48fdcc
lea eax, [ebp - 0x234]
push eax
push dword [ebp + 8]
push 0x4c4bf0
lea eax, [ebp - 0x264]
push eax
call fcn.004080bb
add esp, 0x10
lea ecx, [ebp - 0x264]
call fcn.004026c4
push eax
mov ecx, dword [ebp - 0x270]
call fcn.0048fd1e
jmp 0x48feb0
lea eax, [ebp - 0x234]
push eax
push dword [ebp + 8]
push 0x4c4bfc
lea eax, [ebp - 0x264]
push eax
call fcn.004080bb
add esp, 0x10
lea ecx, [ebp - 0x264]
call fcn.004026c4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], 0
jne 0x48feb0
push 4
push 0
lea ecx, [ebp - 0x264]
call fcn.004026c4
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x48fdcc
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x48fed8
mov dword [ebp - 0x26c], 1
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x274], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.00405d4a
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00455912
mov esp, ebp
pop ebp
ret 4
Function at 0x48ffeb
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9278
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4e106c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
call fcn.00417fc6
add eax, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
add eax, 8
push eax
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call dword [eax]
call fcn.00417fc6
add eax, 4
mov dword [ebp - 0x18], eax
push 0
push 0x4c4bc0
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
call dword [eax + 0x10]
test eax, eax
je 0x490068
xor eax, eax
jmp 0x49013f
call fcn.00449c5f
push 0x88
call fcn.00455954
pop ecx
mov dword [ebp - 0x28], eax
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
call fcn.0049d9fe
mov dword [ebp - 0x1c], eax
jmp 0x490090
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.0041bf14
call fcn.0041be52
add eax, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
push dword [ebp - 0x20]
call dword [eax]
call fcn.00417daa
mov ecx, eax
call fcn.0049849c
push 0x54
push 0
mov eax, dword [ebp - 0x10]
add eax, 0x28
push eax
call fcn.00458260
add esp, 0xc
push 0
push 0
push dword [ebp - 0x10]
push 0x48f570
push 0
push 0
call fcn.0045fd24
add esp, 0x18
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x490106
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00401db3
mov ecx, eax
call fcn.0049da1f
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00401db3
mov ecx, eax
call fcn.0049da5c
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00401db3
mov ecx, eax
call fcn.0049daba
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x49014e
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a929b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4e106c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x14]
call fcn.00407094
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
push dword [eax + 0x20]
push str.Global97ED6B7B_FABA_4282_B5E8_E5150894AB99
push str._s__d
lea eax, [ebp - 0x14]
push eax
call fcn.004080bb
add esp, 0x10
lea ecx, [ebp - 0x14]
call fcn.004026c4
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x24], 0
je 0x4901ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4901ef
mov dword [ebp - 0x18], 1
push str.CTxdlApp::CheckInstance_TRUE
push 0xd2
push 0x4c4bb4
call fcn.0044c705
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405d4a
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x490708
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0
push dword [ebp - 4]
push 0x490778
push 0
push 0
call fcn.0045fd24
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x104], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x104], 0xffffffff
jne 0x490758
push 0x4c6ed0
push 0xd2
push 0x4c6f40
call fcn.0044c788
add esp, 0xc
xor eax, eax
inc eax
jmp 0x490774
push 2
call fcn.00417daa
mov ecx, eax
call fcn.004983a5
call fcn.00417daa
mov ecx, eax
call fcn.00498436
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x49079b
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a93a9
mov eax, dword fs:[0]
push eax
sub esp, 0x204
mov eax, dword [0x4e106c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x28]
call fcn.004022ad
and dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.004022ad
mov byte [ebp - 4], 1
push 0x4c6e9c
push 0x4c6ea0
lea eax, [ebp - 0x40]
push eax
call fcn.00417fc6
mov ecx, eax
call fcn.004826f2
mov dword [ebp - 0x1e8], eax
push dword [ebp - 0x1e8]
lea ecx, [ebp - 0x28]
call fcn.004020fa
lea ecx, [ebp - 0x40]
call fcn.004020b1
mov dword [ebp - 0x210], 1
lea ecx, [ebp - 0x118]
call fcn.0041d36f
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1e0]
call fcn.0041ce44
mov byte [ebp - 4], 3
push 0x4c6ea8
push str.offline_package
lea eax, [ebp - 0x58]
push eax
call fcn.00417fc6
mov ecx, eax
call fcn.004826f2
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x1fc], eax
mov byte [ebp - 4], 4
push dword [0x4e5c60]
lea eax, [ebp - 0x208]
push eax
call fcn.0041d630
pop ecx
pop ecx
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x1f4], eax
mov byte [ebp - 4], 5
push 0x4c6ecc
push dword [ebp - 0x1f4]
lea eax, [ebp - 0x204]
push eax
call fcn.0040c429
add esp, 0xc
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x200], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1fc]
call fcn.00406ddd
push eax
push dword [ebp - 0x200]
lea eax, [ebp - 0x1e4]
push eax
call fcn.0040c429
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x204]
call fcn.00405d4a
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x208]
call fcn.00405d4a
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x58]
call fcn.004020b1
lea ecx, [ebp - 0x1e4]
call fcn.004026c4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49093e
lea ecx, [ebp - 0x1e4]
call fcn.004026c4
push eax
lea ecx, [ebp - 0x1c8]
call fcn.00406eb9
lea ecx, [ebp - 0x1e4]
call fcn.004026c4
push eax
lea ecx, [ebp - 0xf0]
call fcn.00406eb9
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x108]
call fcn.0040204d
mov dword [ebp - 0x114], 1
and dword [ebp - 0xb8], 0
mov dword [ebp - 0x110], 8
mov ecx, dword [ebp + 8]
add ecx, 0xc
call fcn.0041dd59
lea eax, [ebp - 0x1e0]
push eax
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xc
call fcn.0041de34
mov ecx, eax
call fcn.0041cf38
mov dword [ebp - 0x20c], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1e4]
call fcn.00405d4a
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1e0]
call fcn.0041d72a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x118]
call fcn.0041d4cf
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.004020b1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004020b1
mov eax, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00455912
mov esp, ebp
pop ebp
ret 4
Function at 0x4917b1
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a94f0
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x4e106c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
push str.CTxdlController::AsyncInstall_begin
push 0xd2
push 0x4c6590
call fcn.0044c788
add esp, 0xc
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 4
pop ecx
shl ecx, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 0x108], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp + 8]
cmp dword [ecx + eax + 0x108], 0
je 0x491954
push str.CTxdlController::AsyncInstall_INTALL_THREAD_EVENT_EXIT
push 0xd2
push 0x4c65a4
call fcn.0044c788
add esp, 0xc
and dword [ebp - 0xb4], 0
push 0x40
push 0
lea eax, [ebp - 0xb0]
push eax
call fcn.00458260
add esp, 0xc
and dword [ebp - 0x70], 0
xor eax, eax
lea edi, [ebp - 0x6c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0xb4], 0x44
mov dword [ebp - 0x88], 0x80
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xb4]
push eax
push 0
push 0
push 0x2000000
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
add ecx, 0xec
call fcn.00406ddd
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x491954
push str.CTxdlController::AsyncInstall_CreateProcess
push 0xd2
push 0x4c6680
call fcn.0044c788
add esp, 0xc
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x70]
mov dword [ecx + eax + 0x108], edx
cmp dword [ebp + 8], 0
je 0x491942
push 0x12c
push 0
mov eax, dword [ebp + 8]
add eax, 0x108
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jb 0x491940
cmp dword [ebp - 0x48], 1
jbe 0x491922
cmp dword [ebp - 0x48], 0x102
je 0x49191e
jmp 0x491940
jmp 0x4918e0
push dword [ebp - 0x4c]
push str.CTxdlController::AsyncInstall_event:_d
push 0xd2
push 0x4c6694
call fcn.0044c788
add esp, 0x10
and dword [ebp + 8], 0
jmp 0x4918e0
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x60], 0x49037d
and dword [ebp - 0x5c], 0
push 0x807
push 0x4c66f8
push str.Txdl::CTxdlController::AsyncInstall
lea ecx, [ebp - 0x44]
call fcn.0040b6e9
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
and dword [ebp - 4], 0
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
mov ecx, dword [ebp - 0x54]
add ecx, 0x34
call fcn.0041fe3c
push eax
push dword [ebp - 0x58]
push 1
call fcn.0049781d
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0040b858
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00455912
mov esp, ebp
pop ebp
ret 4
Function at 0x491f5f
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], ecx
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x90
call fcn.0041dc5e
jmp 0x491f8a
push 0
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 4]
call fcn.0041d993
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x90
call fcn.0041dc09
push eax
lea ecx, [ebp - 4]
call fcn.00401d6d
movzx eax, al
test eax, eax
je 0x491fc4
lea ecx, [ebp - 4]
call fcn.00401db3
mov ecx, eax
call fcn.00406ddd
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x491f7c
mov ecx, dword [ebp - 8]
add ecx, 0x90
call fcn.0041df2b
mov esp, ebp
pop ebp
ret

Function at 0x491fd6
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a958e
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x4e106c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x228], ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x220]
call fcn.00417ed7
and dword [ebp - 4], 0
lea ecx, [ebp - 0x220]
call fcn.0041d924
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x224]
call fcn.0041d978
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x220]
call fcn.00401db3
push eax
push dword [ebp + 8]
mov ecx, dword [ebp - 0x228]
call fcn.0049219c
test eax, eax
jne 0x492088
and dword [ebp - 0x22c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00417d97
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.00417d97
mov eax, dword [ebp - 0x22c]
jmp 0x492181
push 0x4c6400
lea ecx, [ebp - 0x220]
call fcn.00417e9b
lea ecx, [ebp - 0x220]
call fcn.0041d95e
test eax, eax
jne 0x4920d7
and dword [ebp - 0x230], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00417d97
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.00417d97
mov eax, dword [ebp - 0x230]
jmp 0x492181
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x208
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.00458260
add esp, 0xc
lea ecx, [ebp - 0x220]
call fcn.00401db3
push eax
push 0x104
lea eax, [ebp - 0x21c]
push eax
push str.setup.exe
push str.PacketExe
push str.setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x224]
call fcn.00417e9b
lea ecx, [ebp - 0x224]
call fcn.00401db3
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x28
call fcn.00406eb9
lea ecx, [ebp - 0x224]
call fcn.0041d95e
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00417d97
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.00417d97
mov eax, dword [ebp - 0x234]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00455912
mov esp, ebp
pop ebp
ret 8
Function at 0x4935e4
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4e106c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x218], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x208
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00458260
add esp, 0xc
lea ecx, [ebp - 0x21c]
call fcn.00407094
mov dword [ebp - 0x220], 0x20a
lea eax, [ebp - 0x218]
push eax
push 0x20019
push 0
push str.SoftwareTencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49370a
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x228]
push eax
push 0
push str.InstallDir
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4936fe
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00406fd6
push str.QQRepair.exe
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.0040c429
add esp, 0xc
lea ecx, [ebp - 0x214]
call fcn.004026c4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4936f3
push 0
push 0
push 0
push str._ext1
lea ecx, [ebp - 0x214]
call fcn.004026c4
push eax
call fcn.0048ef41
add esp, 0x14
lea ecx, [ebp - 0x214]
call fcn.00405d4a
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x224], 0
lea ecx, [ebp - 0x21c]
call fcn.00405d4a
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00455912
mov esp, ebp
pop ebp
ret 4
Function at 0x495367
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
and dword [ebp - 8], 0
call fcn.00417fc6
add eax, 4
mov dword [ebp - 4], eax
push dword [ebp + 8]
push dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call dword [eax + 4]
test eax, eax
jl 0x49539c
mov ecx, dword [ebp - 0xc]
call fcn.004952b8
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
call fcn.00406ddd
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x4955a1
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x4e106c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
call fcn.00493c92
lea ecx, [ebp - 0x194]
call fcn.00407094
push 0x4c58cc
mov eax, dword [ebp + 8]
push dword [eax + 0x7c]
lea eax, [ebp - 0x198]
push eax
call fcn.0048e82c
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.0040c429
add esp, 0xc
lea ecx, [ebp - 0x198]
call fcn.00405d4a
lea ecx, [ebp - 0x190]
call fcn.004026c4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0xc4]
call fcn.0041d36f
mov dword [ebp - 0xc0], 2
and dword [ebp - 0xbc], 0
lea ecx, [ebp - 0x190]
call fcn.004026c4
push eax
lea ecx, [ebp - 0x9c]
call fcn.00406eb9
mov eax, dword [ebp + 8]
push dword [eax + 0x7c]
push 0x4c58e4
push 0x4c58e8
lea eax, [ebp - 0x1c]
push eax
call fcn.00417fc6
mov ecx, eax
call fcn.004826f2
mov ecx, eax
call fcn.00406ddd
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.004080bb
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.004020b1
lea ecx, [ebp - 0x18c]
call fcn.0041ce44
lea ecx, [ebp - 0x194]
call fcn.004026c4
push eax
lea ecx, [ebp - 0x18c]
call fcn.00406eb9
lea ecx, [ebp - 0x190]
call fcn.004026c4
push eax
lea ecx, [ebp - 0x174]
call fcn.00406eb9
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0xc4]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.0041de34
mov ecx, eax
call fcn.0041cf38
mov eax, dword [ebp + 8]
add eax, 4
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
push eax
call dword [ecx + 0x1c]
and dword [ebp - 0x19c], 0
lea ecx, [ebp - 0x18c]
call fcn.0041d72a
lea ecx, [ebp - 0xc4]
call fcn.0041d4cf
lea ecx, [ebp - 0x190]
call fcn.00405d4a
lea ecx, [ebp - 0x194]
call fcn.00405d4a
mov eax, dword [ebp - 0x19c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00455912
mov esp, ebp
pop ebp
ret 4
Function at 0x49580b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9a14
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push edi
mov eax, dword [0x4e106c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x10]
call fcn.00407094
and dword [ebp - 4], 0
push 0x4c5874
push str.QQPCRtp.exe
push dword [ebp + 8]
push str.__s_s___d
lea eax, [ebp - 0x10]
push eax
call fcn.004080bb
add esp, 0x14
and dword [ebp - 0x98], 0
push 0x40
push 0
lea eax, [ebp - 0x94]
push eax
call fcn.00458260
add esp, 0xc
and dword [ebp - 0x34], 0
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x98]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x10]
call fcn.004026c4
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x495975
xor eax, eax
inc eax
je 0x495975
push 0xf
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x495933
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4958f5
cmp dword [ebp - 0x14], 0
jne 0x4958f5
and dword [ebp - 0x18], 0
jmp 0x49592f
push dword [ebp - 0x14]
call fcn.00417daa
mov ecx, eax
call fcn.0049832c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00417daa
mov ecx, eax
call fcn.004989a9
mov dword [ebp - 0x20], 2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00405d4a
mov eax, dword [ebp - 0x20]
jmp 0x49598a
jmp 0x495975
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x495970
cmp dword [ebp - 0x50], 0x113
jne 0x49595a
cmp dword [ebp - 0x4c], 0x32
jne 0x49595a
jmp 0x495933
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x495933
jmp 0x4958bb
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00405d4a
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x497249
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48c
mov eax, dword [0x4e106c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x480], eax
xor eax, eax
mov word [ebp - 0x48], ax
push 0x40
push 0
lea eax, [ebp - 0x46]
push eax
call fcn.00458260
add esp, 0xc
and dword [ebp - 0x48c], 0
cmp dword [ebp - 0x480], 0xffffffff
je 0x4973b6
cmp dword [ebp - 0x480], 0
je 0x4973b6
push 0x22c
push 0
lea eax, [ebp - 0x47c]
push eax
call fcn.00458260
add esp, 0xc
mov dword [ebp - 0x47c], 0x22c
lea eax, [ebp - 0x47c]
push eax
push dword [ebp - 0x480]
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x488], eax
cmp dword [ebp - 0x488], 0
je 0x4973b6
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x484], eax
cmp dword [ebp - 0x484], 0
je 0x497398
xor eax, eax
mov word [ebp - 0x250], ax
push 0x206
push 0
lea eax, [ebp - 0x24e]
push eax
call fcn.00458260
add esp, 0xc
push 0xffffffffffffffff
push dword [ebp - 0x484]
push 0x103
lea eax, [ebp - 0x250]
push eax
call fcn.0045f316
add esp, 0x10
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.0045b661
pop ecx
shl eax, 1
mov edx, eax
lea ecx, [ebp - 0x250]
call fcn.00433217
pop ecx
movzx eax, al
test eax, eax
je 0x497398
push dword [ebp + 8]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x497398
mov dword [ebp - 0x48c], 1
jmp 0x4973b6
lea eax, [ebp - 0x47c]
push eax
push dword [ebp - 0x480]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x488], eax
jmp 0x4972dc
cmp dword [ebp - 0x480], 0xffffffff
je 0x4973db
cmp dword [ebp - 0x480], 0
je 0x4973db
push dword [ebp - 0x480]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x480], 0xffffffff
mov eax, dword [ebp - 0x48c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00455912
mov esp, ebp
pop ebp
ret