joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52937c
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
jne 0x529394
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x1c
pop edi
mov ebx, eax
lea eax, [ebp - 0x1c]
push edi
push 0
push eax
mov dword [ebp + 8], ebx
call fcn.00573610
add esp, 0xc
mov dword [ebp - 0x1c], edi
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
test edi, edi
je 0x529412
lea eax, [ebp - 0x1c]
push eax
push edi
call sub.KERNEL32.dll_Thread32First
jmp 0x529407
cmp esi, dword [ebp - 0x10]
jne 0x5293fd
cmp ebx, dword [ebp - 0x14]
je 0x5293fd
push dword [ebp - 0x14]
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x5293fa
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x5293cf
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x529d8a
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
lea eax, [ebp - 0x258]
push ebx
push 0x208
xor ebx, ebx
push ebx
push eax
call fcn.00573610
lea eax, [ebp - 0x258]
push eax
call fcn.00529ced
add esp, 0x10
test al, al
je 0x529e8b
lea eax, [ebp - 0x258]
push eax
call fcn.00528f75
xor eax, eax
mov dword [esp], 0x104
mov word [ebp - 0x258], ax
lea eax, [ebp - 0x258]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00408fc4
call fcn.0052858d
mov ecx, eax
test ecx, ecx
jne 0x529e0c
mov dword [ebp - 0x40], ebx
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x3c], ebx
cmp dword [ebp - 8], 8
lea ebx, [ebp - 0x1c]
movzx eax, word [ecx + 0x12]
cmovae ebx, dword [ebp - 0x1c]
push esi
movzx esi, word [ecx + 0x16]
push edi
movzx edi, word [ecx + 0x10]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0
push 0xffffffffffffffff
push 0
push 0x804
push 1
push 1
push esi
push edi
push dword [ebp - 4]
push eax
push ebx
push 0x6123c0
push str.QQBrowserPC
call fcn.00528782
add esp, 0x34
cmp byte [ebp + 8], 0
push 0x20
pop eax
pop edi
pop esi
jne 0x529e6e
cmp byte [ebp + 0xc], 0
push 0x22
pop eax
push 0x2b
pop ecx
cmove eax, ecx
mov ecx, eax
or ecx, 0x10
cmp byte [ebp + 0x10], 0
cmove ecx, eax
push ecx
call fcn.00528f59
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.00403d40
mov al, 1
pop ebx
leave
ret
Function at 0x52ba8d
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
push dword [edi + 4]
mov dword [edi], vtable.CCfgMgr.0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x52bab4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [edi + 4], 0
mov eax, dword [edi + 0x5a4]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
je 0x52bacb
push 0xffffffffffffffff
push eax
call esi
mov eax, dword [edi + 0x5ac]
test eax, eax
je 0x52bada
push 0xffffffffffffffff
push eax
call esi
mov eax, dword [edi + 0x5b0]
test eax, eax
je 0x52bae9
push 0xffffffffffffffff
push eax
call esi
lea esi, [edi + 0x634]
lea ecx, [esi + 0x18]
call fcn.00403d40
mov ecx, esi
call fcn.00403d40
lea ecx, [edi + 0x628]
call fcn.00531d18
lea ecx, [edi + 0x61c]
call fcn.00531d18
lea ecx, [edi + 0x610]
call fcn.00531d18
lea ecx, [edi + 0x604]
call fcn.00531d18
lea ecx, [edi + 0x5f8]
call fcn.00531d18
lea ecx, [edi + 0x5ec]
call fcn.00531d18
lea ecx, [edi + 0x5e8]
call fcn.0052ba4f
lea ecx, [edi + 0x5dc]
call fcn.00531c70
lea ecx, [edi + 0x5d0]
call fcn.00531c70
lea ecx, [edi + 0x5c0]
call fcn.00531cc4
push 0x17
pop ebx
mov dword [ebp - 4], ebx
mov esi, ebx
lea ebx, [edi + 0x59c]
sub ebx, 0x18
mov ecx, ebx
call fcn.00403d40
sub esi, 1
jne 0x52bb7a
mov ebx, dword [ebp - 4]
lea esi, [edi + 0x374]
sub esi, 0x18
mov ecx, esi
call fcn.00403d40
sub ebx, 1
jne 0x52bb92
cmp dword [edi + 0x14], ebx
pop esi
pop ebx
je 0x52bbb0
push dword [edi + 0x14]
call fcn.00551fd9
pop edi
leave
ret

Function at 0x52d682
Capabilities:
Create thread

Disassembly:
push esi
push 1
push 0x10
mov esi, ecx
call fcn.0052eb7a
test eax, eax
je 0x52d69a
mov ecx, esi
pop esi
jmp fcn.0052ea17
pop esi
ret

Function at 0x52d866
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov edx, dword [esi + 0x5e8]
test edx, edx
je 0x52d89f
mov eax, dword [edx + 4]
sub eax, dword [edx]
test eax, 0xfffffff8
je 0x52d89f
xor eax, eax
push eax
push eax
push edx
push 0x52d8a1
push eax
push eax
mov dword [esi + 0x5e8], eax
call fcn.00595261
add esp, 0x18
mov dword [esi + 0x5ac], eax
pop esi
ret
Function at 0x52f87d
Capabilities:
Create thread
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 0xc]
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov byte [esi + 0x5a1], al
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], ebx
jne 0x52f94d
push 0x5e5418
push 0xc9
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x52f946
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x52f946
test ebx, ebx
je 0x52f946
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
and dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
and dword [ebp - 0xc], 0
push ebx
push eax
mov dword [ebp - 8], 0xf
call fcn.0043f664
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.00531142
mov ecx, dword [ebp - 8]
mov byte [ebp + 0xf], al
cmp ecx, 0x10
jb 0x52f956
mov edx, dword [ebp - 0x1c]
inc ecx
mov dword [ebp + 8], ecx
mov dword [ebp - 4], edx
cmp ecx, 0x1000
jb 0x52f93b
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00403daf
mov edx, dword [ebp - 4]
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
push ecx
push edx
call fcn.0056c61e
pop ecx
pop ecx
jmp 0x52f956
xor al, al
jmp 0x52fa07
push eax
call fcn.00531142
mov byte [ebp + 0xf], al
lea ebx, [esi + 0x64c]
lea edi, [esi + 0x634]
push ebx
push edi
call fcn.005316a7
xor eax, eax
pop ecx
pop ecx
cmp dword [esi + 0x1bc], eax
jne 0x52f9a9
cmp byte [esi + 0x5a1], al
jne 0x52f99d
cmp dword [esi + 0x644], eax
je 0x52f99d
push eax
push eax
push edi
push 0x52eeab
push eax
push eax
call fcn.00595261
add esp, 0x18
mov dword [esi + 0x5b0], eax
push ebx
lea ecx, [esi + 0x1ac]
call fcn.00406392
push 6
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.0052f722
push eax
call fcn.00532317
mov ecx, eax
call fcn.005327c4
lea ecx, [ebp - 0x1c]
call fcn.00403d40
cmp byte [esi + 0x5a1], 0
jne 0x52f9e2
xor eax, eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov ecx, esi
call fcn.00530765
push dword [esi + 0x5bc]
push 0x5e5424
push 2
call fcn.004ede00
push eax
call fcn.004f0230
mov al, byte [ebp + 0xf]
add esp, 0x10
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x534ada
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
mov esi, str.QQBrowser.exe
lea ecx, [ebp - 0x30]
push esi
call fcn.00408fc4
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00534943
pop ecx
pop ecx
lea ecx, [ebp - 0x30]
call fcn.00403d40
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x534b2b
lea eax, [ebp - 0x18]
push eax
call fcn.00534aab
pop ecx
test al, al
jne 0x534b90
push esi
lea ecx, [ebp - 0x30]
call fcn.00408fc4
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.005349f0
mov esi, eax
lea eax, [ebp - 0x18]
pop ecx
pop ecx
cmp eax, esi
je 0x534b5c
mov ecx, eax
call fcn.00403d40
push esi
lea ecx, [ebp - 0x18]
call fcn.00444c2a
lea ecx, [ebp - 0x48]
call fcn.00403d40
lea ecx, [ebp - 0x30]
call fcn.00403d40
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x534b94
lea eax, [ebp - 0x18]
push eax
call fcn.00534aab
pop ecx
test al, al
je 0x534b94
mov bl, 1
jmp 0x534b96
xor bl, bl
lea ecx, [ebp - 0x18]
call fcn.00403d40
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x534df9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
mov esi, 0x208
mov dword [ebp - 8], 1
push esi
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00573610
add esp, 0xc
mov dword [ebp - 4], esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
pop esi
test eax, eax
jne 0x534e65
lea eax, [ebp - 0x210]
push eax
call fcn.0057e469
pop ecx
mov ecx, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0040993b
leave
ret
Function at 0x534e67
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
mov esi, str.uninst.exe
lea ecx, [ebp - 0x30]
push esi
call fcn.00408fc4
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00534943
pop ecx
pop ecx
lea ecx, [ebp - 0x30]
call fcn.00403d40
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x534eb8
lea eax, [ebp - 0x18]
push eax
call fcn.00534aab
pop ecx
test al, al
jne 0x534f1d
push esi
lea ecx, [ebp - 0x30]
call fcn.00408fc4
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.005349f0
mov esi, eax
lea eax, [ebp - 0x18]
pop ecx
pop ecx
cmp eax, esi
je 0x534ee9
mov ecx, eax
call fcn.00403d40
push esi
lea ecx, [ebp - 0x18]
call fcn.00444c2a
lea ecx, [ebp - 0x48]
call fcn.00403d40
lea ecx, [ebp - 0x30]
call fcn.00403d40
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x534f64
lea eax, [ebp - 0x18]
push eax
call fcn.00534aab
pop ecx
test al, al
je 0x534f64
push str._fromuninstall64_from_setup32
lea ecx, [ebp - 0x48]
call fcn.00408fc4
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x30]
cmovae eax, dword [ebp - 0x18]
push eax
call fcn.00408fc4
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x30]
push 0
push eax
call fcn.004d1350
add esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.00403d40
lea ecx, [ebp - 0x48]
call fcn.00403d40
mov bl, 1
jmp 0x534f66
xor bl, bl
lea ecx, [ebp - 0x18]
call fcn.00403d40
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x537a1d
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 1
push dword [ebp + 8]
lea eax, [ebp - 0x18]
mov esi, ecx
push 7
push eax
call fcn.004c0910
add esp, 0x10
lea eax, [ebp - 0x18]
cmp dword [ebp - 4], 8
cmovae eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x537ad5
sub esp, 0x18
xor ebx, ebx
mov ecx, esp
push dword [ebp + 0x10]
mov dword [ecx], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.0040850d
push dword [ebp + 0xc]
sub esp, 0x18
mov ecx, esp
push dword [ebp + 8]
mov dword [ecx], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.0040850d
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push 7
push dword [eax]
call fcn.00537dbd
mov edi, 0x60c5e0
lea ecx, [ebp - 0x48]
push edi
call fcn.00408fc4
push edi
lea ecx, [ebp - 0x30]
call fcn.00408fc4
mov ecx, dword [esi + 8]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 8]
push ebx
push ebx
push 0x65
push 0x7d6
call fcn.005399e2
lea ecx, [ebp - 0x30]
call fcn.00403d40
lea ecx, [ebp - 0x48]
call fcn.00403d40
lea ecx, [ebp - 0x18]
call fcn.00403d40
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x537d3a
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
lea ecx, [ebp - 0x18]
push esi
push dword [ebp + 0x14]
call fcn.00408fc4
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
push 1
push eax
push dword [ebp + 0x10]
push esi
call fcn.004c0910
add esp, 0x10
lea ecx, [ebp - 0x18]
call fcn.00403d40
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x537d73
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x537db6
push dword [ebp + 0x14]
lea ecx, [ebp - 0x18]
call fcn.00408fc4
push 1
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x30]
push eax
call fcn.004c0910
add esp, 0x10
mov ecx, esi
push eax
call fcn.00446d47
lea ecx, [ebp - 0x30]
call fcn.00403d40
lea ecx, [ebp - 0x18]
call fcn.00403d40
mov eax, esi
pop esi
leave
ret 0x10

Function at 0x5384a4
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.004d6020
lea ecx, [ebp - 0x18]
mov dword [esp], str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlags
call fcn.00408fc4
push str.Compatibility_AssistantPersisted
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00452ffd
push 0x5e8128
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00452ffd
push 0x20006
push SysReAllocString
push 1
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.004bca90
add esp, 0x2c
call fcn.004e04e0
cmp eax, 0x40
jne 0x538554
and dword [ebp + 8], 0
lea ecx, [ebp + 8]
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
push ecx
cmovae eax, dword [ebp - 0x18]
push 0x2011f
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x538554
cmp dword [esi + 0x14], 8
jb 0x53853c
mov esi, dword [esi]
push esi
push str.Layers
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x48]
call fcn.00403d40
lea ecx, [ebp - 0x30]
call fcn.00403d40
lea ecx, [ebp - 0x18]
call fcn.00403d40
pop esi
leave
ret 4

Function at 0x53884f
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
mov esi, ecx
call fcn.00548543
test al, al
je 0x5388c9
lea ecx, [esi + 0xd4]
call fcn.005302e1
test al, al
je 0x5388c9
push str.User_DataDefaultpreferences
lea ecx, [ebp - 0x30]
call fcn.00408fc4
push 1
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push 9
push eax
call fcn.004c0910
add esp, 0x10
lea ecx, [ebp - 0x30]
call fcn.00403d40
mov esi, 0x613fcc
push esi
call fcn.0057e469
pop ecx
push eax
push esi
lea ecx, [ebp - 0x18]
call fcn.0040993b
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x18]
call fcn.00403d40
pop esi
leave
ret
Function at 0x5388cc
Capabilities:
Check if file exists
Delete file
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push str.User_DataDefaultUserTyped
lea ecx, [ebp - 0x28]
call fcn.00408fc4
push 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push 9
push eax
call fcn.004c0910
add esp, 0x10
lea ecx, [ebp - 0x28]
call fcn.00403d40
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x538a0a
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ebx
cmovae eax, dword [ebp - 0x40]
xor ebx, ebx
push esi
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x538a08
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
test eax, eax
je 0x538a01
lea ecx, [ebp - 1]
mov dword [ebp - 0x1c], ebx
push ecx
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 1], bl
call fcn.004bfdc0
push ebx
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x1c]
cmp byte [eax], bl
je 0x5389c3
push str.InputUrls
lea ecx, [ebp - 0x58]
call fcn.00408fc4
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x58]
push eax
push 0xf
call fcn.004bf3d0
add esp, 0xc
lea ecx, [ebp - 0x58]
call fcn.00403d40
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x538a01
mov ecx, dword [ebp - 0x14]
sub ecx, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
cmp ecx, 0x1000
jb 0x5389ef
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403daf
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
push ecx
push eax
call fcn.0056c61e
pop ecx
pop ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
call fcn.00548b83
lea ecx, [ebp - 0x40]
call fcn.00403d40
leave
ret

Function at 0x538a19
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp esi, 0xb
ja 0x538a53
mov edx, dword [edi + esi*4 + 0x54]
test edx, edx
jne 0x538a4a
xor eax, eax
push eax
push eax
push esi
push 0x540c9f
push eax
push eax
call fcn.00595261
mov edx, eax
add esp, 0x18
mov dword [edi + esi*4 + 0x54], edx
xor eax, eax
test edx, edx
setne al
jmp 0x538a55
xor eax, eax
pop edi
pop esi
pop ebp
ret 4
Function at 0x538f5c
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x79c], ebx
je 0x538f81
mov dword [edi + 0x75c], 5
xor eax, eax
jmp 0x53905f
push esi
push str.mutex_qqbrowser_uninstall
lea ecx, [ebp - 0x20]
call fcn.00408fc4
lea eax, [ebp - 0x20]
push eax
call fcn.00539063
pop ecx
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.00403d40
test esi, esi
je 0x538fb6
mov dword [edi + 0x75c], 6
jmp 0x539057
call fcn.004d50e0
test eax, eax
jne 0x538fce
mov dword [edi + 0x75c], 2
jmp 0x539057
lea ecx, [edi + 0xd4]
call fcn.005303eb
test al, al
jne 0x538ff3
call fcn.004e1230
cmp eax, 5
jg 0x538ff3
mov dword [edi + 0x75c], 0xb
jmp 0x539057
push ebx
lea eax, [ebp - 0x38]
mov dword [ebp - 8], ebx
push 4
push eax
mov dword [ebp - 4], ebx
call fcn.004c08f0
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0053aa64
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x53901a
mov eax, dword [eax]
lea ecx, [ebp - 8]
push ecx
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.00403d40
lea ecx, [ebp - 0x38]
call fcn.00403d40
test esi, esi
je 0x53905b
cmp dword [ebp - 4], ebx
ja 0x53905b
jb 0x53904d
cmp dword [ebp - 8], 0x12c00000
jae 0x53905b
mov dword [edi + 0x75c], 4
xor eax, eax
jmp 0x53905e
xor eax, eax
inc eax
pop esi
pop edi
pop ebx
leave
ret
Function at 0x539097
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0xf0]
push str.chrome.dll
call fcn.00408fc4
push str.chrome_elf.dll
lea ecx, [ebp - 0xd8]
call fcn.00408fc4
push str.F1Assistant.dll
lea ecx, [ebp - 0xc0]
call fcn.00408fc4
push str.F1Frame.dll
lea ecx, [ebp - 0xa8]
call fcn.00408fc4
push str.FrameLoader.dll
lea ecx, [ebp - 0x90]
call fcn.00408fc4
push str.QQBrowser.exe
lea ecx, [ebp - 0x78]
call fcn.00408fc4
push dword [ebp + 8]
lea eax, [ebp - 0x60]
xor ebx, ebx
push eax
lea eax, [ebp - 0xf0]
mov dword [ebp - 0x10], ebx
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call fcn.004f547a
push 6
pop esi
push 0x18
lea edi, [ebp - 0x60]
pop eax
sub edi, eax
mov ecx, edi
call fcn.00403d40
push 0x18
pop eax
sub esi, 1
jne 0x53912d
mov eax, dword [ebp - 0xc]
xor edi, edi
mov esi, dword [ebp - 0x10]
sub eax, esi
push 0x18
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x18], eax
test eax, eax
jle 0x539220
push 1
sub esp, 0x18
xor eax, eax
mov ecx, esp
push esi
mov dword [ecx], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
call fcn.0040850d
lea eax, [ebp - 0x48]
push eax
call fcn.00532317
mov ecx, eax
call fcn.00532347
push eax
lea eax, [ebp - 0x30]
push 1
push eax
call fcn.004c0910
add esp, 0x10
lea ecx, [ebp - 0x48]
call fcn.00403d40
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x539206
bts ebx, edi
cmp byte [ebp + 8], al
je 0x539206
push 0x60c5e0
lea ecx, [ebp - 0x48]
call fcn.00408fc4
push 0x60c5e0
lea ecx, [ebp - 0x60]
call fcn.00408fc4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x14]
push 0
push eax
push 0xe7
push 0x7d6
call fcn.005399e2
lea ecx, [ebp - 0x60]
call fcn.00403d40
lea ecx, [ebp - 0x48]
call fcn.00403d40
lea ecx, [ebp - 0x30]
call fcn.00403d40
push 0x18
pop ecx
inc edi
add esi, ecx
cmp edi, dword [ebp - 0x18]
jl 0x539159
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x53926f
mov edi, esi
jmp 0x539234
mov ecx, edi
call fcn.00403d40
push 0x18
pop ecx
add edi, ecx
cmp edi, dword [ebp - 0xc]
jne 0x539228
mov eax, dword [ebp - 8]
sub eax, esi
mov dword [ebp - 4], esi
cdq
idiv ecx
imul eax, eax, 0x18
mov dword [ebp + 8], eax
cmp eax, 0x1000
jb 0x539266
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00403daf
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 4]
pop ecx
pop ecx
push eax
push esi
call fcn.0056c61e
pop ecx
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
Function at 0x539832
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
push edi
xor ebx, ebx
lea eax, [ebp - 0x68]
push ebx
push 2
push eax
call fcn.004c2870
mov ecx, eax
call fcn.004c2a00
push 7
pop edi
push ebx
mov byte [ebp - 8], bl
lea ecx, [ebp - 0x20]
push dword [ebp - 8]
mov dword [ebp - 0x20], ebx
push 0x105
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], edi
call fcn.00521d29
cmp dword [ebp - 0xc], 8
lea eax, [ebp - 0x20]
push 0x104
cmovae eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x539950
cmp dword [ebp - 0xc], 8
lea eax, [ebp - 0x20]
push esi
cmovae eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x38]
push eax
call fcn.00408fc4
mov esi, str.icacls.exe
push esi
call fcn.0057e469
pop ecx
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.0040993b
push 0x6122dc
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x80]
push 0x6130d4
push eax
call fcn.00454afe
add esp, 0xc
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00454b4c
add esp, 0xc
lea ecx, [ebp - 0x80]
call fcn.00403d40
push str.__inheritance:d__Q
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00452ffd
push eax
lea eax, [ebp - 0x38]
push 0x1388
push eax
call fcn.004d1350
add esp, 0x18
lea ecx, [ebp - 0x80]
call fcn.00403d40
push str.__remove:g__Authenticated_Users___Q
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00452ffd
push eax
lea eax, [ebp - 0x38]
push ebx
push eax
call fcn.004d1350
add esp, 0x18
lea ecx, [ebp - 0x80]
call fcn.00403d40
lea ecx, [ebp - 0x50]
call fcn.00403d40
lea ecx, [ebp - 0x38]
call fcn.00403d40
pop esi
mov eax, dword [ebp - 0xc]
cmp eax, 8
jb 0x53998d
mov ecx, dword [ebp - 0x20]
lea eax, [eax*2 + 2]
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
cmp eax, 0x1000
jb 0x539984
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00403daf
mov eax, dword [ebp - 4]
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
push eax
push ecx
call fcn.0056c61e
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x68]
mov dword [ebp - 0xc], edi
mov word [ebp - 0x20], ax
call fcn.00403d40
pop edi
pop ebx
leave
ret

Function at 0x5399a5
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x84]
test eax, eax
je 0x5399e0
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x5399e0
push 0
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x465
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret