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

Disassembly:
push 0x22c
mov eax, 0x56803e
call fcn.0052eb20
mov bl, dl
mov esi, ecx
xor ecx, ecx
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x234], ecx
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ecx
mov word [esi], ax
push 0x208
xor edi, edi
mov dword [ebp - 4], ecx
push ecx
lea eax, [ebp - 0x218]
inc edi
push eax
mov dword [ebp - 0x234], edi
call fcn.005278d0
add esp, 0xc
test bl, bl
push edi
push 0x23
pop eax
push 0x1a
pop ecx
cmovne eax, ecx
push eax
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4dca19
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00408718
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.00409227
push 0
push edi
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.00403236
mov edi, str.TencentDeskUpdate
test bl, bl
jne 0x4dc9e2
mov edi, str.TencentDesktop
push edi
call fcn.004086d2
pop ecx
push eax
push edi
mov ecx, esi
call fcn.004090e2
mov ecx, esi
call fcn.004dca21
test al, al
jne 0x4dca04
mov ecx, esi
call fcn.004dcaec
mov edi, str.Global.db
push edi
call fcn.004086d2
pop ecx
push eax
push edi
mov ecx, esi
call fcn.004090e2
mov eax, esi
call fcn.0052eacf
ret
Function at 0x4deca8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x5b38f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
xor eax, eax
push 3
pop esi
inc eax
mov dword [ebp - 0x118], 0x104
mov dword [ebp - 0x114], eax
mov ebx, ecx
lea eax, [ebp - 0x11c]
xor ecx, ecx
push eax
push 0x20019
push ecx
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x10c], ecx
call edi
test eax, eax
jne 0x4dee56
push ebx
push str._sConnection
lea eax, [ebp - 0x108]
push 0x103
push eax
call fcn.004df2f3
add esp, 0x10
lea eax, [ebp - 0x110]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x11c]
call edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4dee4e
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 4
pop eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push str.MediaSubType
push dword [ebp - 0x110]
call ebx
test eax, eax
jne 0x4dee46
push 0x104
push eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x114], 1
push eax
mov dword [ebp - 0x118], 0x103
call fcn.005278d0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push str.PnpInstanceID
push dword [ebp - 0x110]
call ebx
test eax, eax
jne 0x4dee46
mov eax, dword [ebp - 0x10c]
xor ebx, ebx
inc ebx
cmp eax, ebx
jne 0x4dee40
push esi
lea eax, [ebp - 0x108]
push 0x596f28
push eax
call fcn.0052dbd0
add esp, 0xc
test eax, eax
jne 0x4dee12
xor esi, esi
jmp 0x4dee46
mov eax, dword [ebp - 0x10c]
cmp eax, ebx
jne 0x4dee40
push esi
lea eax, [ebp - 0x108]
push 0x596f28
push eax
call fcn.0052dbd0
add esp, 0xc
test eax, eax
je 0x4dee3a
push 2
pop esi
jmp 0x4dee46
mov eax, dword [ebp - 0x10c]
cmp eax, 2
cmove esi, ebx
push dword [ebp - 0x110]
call edi
push dword [ebp - 0x11c]
call edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052b1ec
mov esp, ebp
pop ebp
ret
Function at 0x4df0ca
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2aa0
call fcn.0052ad70
mov eax, dword [0x5b38f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp - 0x20c], ax
mov edi, ecx
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.005278d0
add esp, 0xc
lea eax, [ebp - 0x20c]
mov esi, 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4df122
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x4df167
push 0x5c
pop eax
cmp ax, word [ebp + ecx*2 - 0x20e]
je 0x4df167
mov word [ebp + ecx*2 - 0x20c], ax
lea ecx, [ecx*2 + 2]
cmp ecx, 0x208
jae 0x4df2c4
xor eax, eax
mov word [ebp + ecx - 0x20c], ax
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4df170
sub ecx, edx
mov eax, esi
sar ecx, 1
sub eax, ecx
push eax
push str.iphlpapi.dll
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0052e953
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x2a9c], eax
test eax, eax
jne 0x4df1b7
xor al, al
jmp 0x4df2b3
push str.GetAdaptersInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4df283
lea ecx, [ebp - 0x2aa0]
mov dword [ebp - 0x2aa0], 0x2880
push ecx
lea ecx, [ebp - 0x2a8c]
push ecx
call eax
test eax, eax
jne 0x4df283
push 3
lea esi, [ebp - 0x2a8c]
pop ebx
lea ecx, [esi + 8]
call fcn.004deca8
mov dword [ebp - 0x2a98], eax
mov ecx, edi
xor eax, eax
mov dword [ebp - 0x2a94], eax
mov word [ebp - 0x2a90], ax
lea eax, [ebp - 0x2a94]
push eax
call fcn.004dec6c
test al, al
jne 0x4df23a
cmp dword [esi + 0x1a0], 6
jne 0x4df277
mov ecx, dword [ebp - 0x2a98]
cmp ebx, ecx
jle 0x4df277
jmp 0x4df240
mov ecx, dword [ebp - 0x2a98]
mov al, byte [esi + 0x194]
mov ebx, ecx
mov byte [edi], al
mov al, byte [esi + 0x195]
mov byte [edi + 1], al
mov al, byte [esi + 0x196]
mov byte [edi + 2], al
mov al, byte [esi + 0x197]
mov byte [edi + 3], al
mov al, byte [esi + 0x198]
mov byte [edi + 4], al
mov al, byte [esi + 0x199]
mov byte [edi + 5], al
mov esi, dword [esi]
test esi, esi
jne 0x4df1f6
xor ebx, ebx
push dword [ebp - 0x2a9c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x2a94]
mov dword [ebp - 0x2a94], ebx
push eax
mov ecx, edi
mov word [ebp - 0x2a90], bx
call fcn.004dec6c
xor ecx, ecx
test al, al
sete cl
mov al, cl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052b1ec
mov esp, ebp
pop ebp
ret
call fcn.0052b69f
int3
Function at 0x4dfa7e
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd48
mov eax, dword [0x5b38f0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor bl, bl
mov dword [ebp - 0xd38], edx
push edi
mov dword [ebp - 0xd34], ecx
xor esi, esi
mov dword [ebp - 0xd3c], eax
test bl, bl
jne 0x4dfcd5
push 0x200
lea eax, [ebp - 0x50c]
push 0
push eax
call fcn.005278d0
push esi
push str..PhysicalDrive_d
lea eax, [ebp - 0x50c]
push 0xff
push eax
call fcn.004e02ff
add esp, 0x1c
xor eax, eax
push eax
push eax
push 3
push eax
push 3
push eax
lea eax, [ebp - 0x50c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xd40], eax
cmp eax, 0xffffffff
je 0x4dfccb
xor eax, eax
lea edi, [ebp - 0xd18]
stosd dword es:[edi], eax
xor ecx, ecx
mov dword [ebp - 0xd44], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xd0c]
mov edi, 0x800
mov dword [ebp - 0xd18], ecx
push edi
push ecx
push eax
mov dword [ebp - 0xd14], ecx
call fcn.005278d0
add esp, 0xc
lea eax, [ebp - 0xd44]
push 0
push eax
push edi
mov edi, dword [ebp - 0xd40]
lea eax, [ebp - 0xd0c]
push eax
push 0xc
lea eax, [ebp - 0xd18]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4dfcbe
push 0xff
lea eax, [ebp - 0x10b]
mov byte [ebp - 0x10c], bl
push 0
push eax
call fcn.005278d0
push 0xff
lea eax, [ebp - 0x20b]
mov byte [ebp - 0x20c], bl
push 0
push eax
call fcn.005278d0
push 0xff
lea eax, [ebp - 0x30b]
mov byte [ebp - 0x30c], bl
push 0
push eax
call fcn.005278d0
mov edx, dword [ebp - 0xcfc]
lea eax, [ebp - 0x20c]
push eax
push 0
lea ecx, [ebp - 0xd0c]
call fcn.004df49e
mov edx, dword [ebp - 0xcf8]
lea eax, [ebp - 0x30c]
push eax
push 0
lea ecx, [ebp - 0xd0c]
call fcn.004df49e
mov edx, dword [ebp - 0xcf4]
lea eax, [ebp - 0x10c]
push eax
push 1
lea ecx, [ebp - 0xd0c]
call fcn.004df49e
movsx eax, byte [ebp - 0x10c]
push eax
call fcn.0052a2af
add esp, 0x40
test eax, eax
jne 0x4dfc34
movsx eax, byte [ebp - 0xf9]
push eax
call fcn.0052a2af
pop ecx
test eax, eax
je 0x4dfcc4
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0xd30]
call fcn.0040ea7a
mov ecx, dword [ebp - 0xd34]
push eax
call fcn.0043d549
xor ebx, ebx
lea ecx, [ebp - 0xd30]
push ebx
push 1
call fcn.00403344
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0xd30]
call fcn.0040ea7a
mov ecx, dword [ebp - 0xd38]
push eax
call fcn.0043d549
push ebx
push 1
lea ecx, [ebp - 0xd30]
call fcn.00403344
lea eax, [ebp - 0x30c]
push eax
lea ecx, [ebp - 0xd30]
call fcn.0040ea7a
mov ecx, dword [ebp - 0xd3c]
push eax
call fcn.0043d549
push ebx
push 1
lea ecx, [ebp - 0xd30]
call fcn.00403344
mov bl, 1
jmp 0x4dfcc4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, 0x10
jl 0x4dfaad
mov ecx, dword [ebp - 8]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052b1ec
mov esp, ebp
pop ebp
ret

Function at 0x4e031e
Capabilities:
Hash data with md5

Disassembly:
and dword [ecx + 0x14], 0
and dword [ecx + 0x10], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x4e79a0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push 0x3c
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x40], 0x40
push 0
push eax
call fcn.005278d0
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
shrd ecx, eax, 0x14
shr eax, 0x14
push eax
push ecx
push dword [ebp + 8]
call fcn.004ec380
mov eax, dword [ebp + 8]
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x4e84a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
mov ebx, ecx
cmp dword [ebx + 0x2c4], 0
jne 0x4e8606
push esi
push 0x1c
call fcn.0041285f
mov esi, eax
add esp, 4
test esi, esi
je 0x4e84e3
mov dword [esi], 0
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
jmp 0x4e84e5
xor esi, esi
mov eax, dword [ebx + 4]
mov ecx, ebx
mov dword [esi], eax
lea eax, [ebp - 0x30]
push edi
push eax
call fcn.004e6670
push 0x16
push str._actiononline_config
mov ecx, eax
call fcn.004090e2
mov edi, eax
mov dword [ebp - 4], 7
xor eax, eax
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
cmp dword [edi + 0x14], 8
jae 0x4e8538
mov eax, dword [edi + 0x10]
inc eax
je 0x4e8543
add eax, eax
push eax
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.00525b00
add esp, 0xc
jmp 0x4e8543
mov eax, dword [edi]
mov dword [ebp - 0x18], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 4], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
lea edi, [esi + 4]
lea eax, [ebp - 0x18]
cmp edi, eax
je 0x4e859a
cmp dword [edi + 0x14], 8
jb 0x4e857c
push dword [edi]
call fcn.00412887
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov ecx, edi
mov word [edi], ax
lea eax, [ebp - 0x18]
push eax
call fcn.004408e4
cmp dword [ebp - 4], 8
pop edi
jb 0x4e85ac
push dword [ebp - 0x18]
call fcn.00412887
add esp, 4
xor eax, eax
mov dword [ebp - 4], 7
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
jb 0x4e85d1
push dword [ebp - 0x30]
call fcn.00412887
add esp, 4
push 0
push 0
push esi
push 0x4e95a0
push 0
push 0
call fcn.00526b46
add esp, 0x18
mov dword [ebx + 0x2c4], eax
pop esi
test eax, eax
je 0x4e8606
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebx + 0x2c8], eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e8c10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 0xc]
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov byte [esi + 0x2c0], al
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0
jne 0x4e8cb3
push str.FILE
push 0xc9
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4e8c54
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
push 0
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 0x4e8c49
test ebx, ebx
je 0x4e8c49
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xf
mov dword [ebp - 8], 0
mov byte [ebp - 0x18], 0
call fcn.0040eb60
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.004ea110
lea ecx, [ebp - 0x18]
mov bl, al
call fcn.0040329c
jmp 0x4e8cbb
push eax
call fcn.004ea110
mov bl, al
push 6
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.004e89e0
push eax
call fcn.004ed370
mov ecx, eax
call fcn.004ed6d0
cmp dword [ebp - 4], 8
jb 0x4e8ce6
push dword [ebp - 0x18]
call fcn.00412887
add esp, 4
mov eax, dword [esi + 0xbc]
cmp eax, 0xffffffff
jne 0x4e8cf9
mov eax, dword [esi + 0x60]
cmp eax, 0xffffffff
je 0x4e8cfd
test eax, eax
je 0x4e8d04
mov ecx, esi
call fcn.004e84a0
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4e96a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, ecx
test esi, esi
je 0x4e96b4
push esi
call fcn.004ea110
mov eax, dword [edi + 0x300]
test eax, eax
je 0x4e96e4
push 0
push 0
push eax
push 0x4e61e0
push 0
push 0
call fcn.00526b46
add esp, 0x18
mov dword [edi + 0x2cc], eax
mov dword [edi + 0x300], 0
mov eax, dword [edi + 0x2c8]
test eax, eax
je 0x4e96f5
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
test esi, esi
je 0x4e9723
cmp dword [esi + 0x14], 0x10
jb 0x4e9709
push dword [esi]
call fcn.00412887
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push esi
mov byte [esi], 0
call fcn.00412887
add esp, 4
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x4ee5e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, ecx
cmp dword [edi + 0x40], 3
je 0x4ee5f6
fldz
pop edi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x140]
mov dword [edi + 0x144], eax
movsd xmm5, qword [0x597110]
movsd xmm4, qword [0x597118]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x597320]
divsd xmm1, qword [0x56d870]
comisd xmm5, xmm1
jbe 0x4ee66c
mulsd xmm1, qword [0x597120]
mov eax, 2
movapd xmm2, xmm4
jmp 0x4ee650
test al, 1
je 0x4ee658
mulsd xmm2, xmm1
shr eax, 1
je 0x4ee666
movapd xmm0, xmm1
mulsd xmm1, xmm0
jmp 0x4ee650
mulsd xmm2, xmm5
jmp 0x4ee6a9
comisd xmm4, xmm1
jbe 0x4ee6ba
subsd xmm1, xmm4
mov eax, 2
movapd xmm3, xmm4
mulsd xmm1, qword [0x597120]
test al, 1
je 0x4ee68f
mulsd xmm3, xmm1
shr eax, 1
je 0x4ee69d
movapd xmm0, xmm1
mulsd xmm1, xmm0
jmp 0x4ee687
mulsd xmm3, xmm5
movapd xmm2, xmm4
subsd xmm2, xmm3
ucomisd xmm2, xmm4
movsd qword [ebp - 8], xmm2
lahf
test ah, 0x44
jp 0x4ee734
jmp 0x4ee6bf
movsd qword [ebp - 8], xmm4
cmp dword [0x5b31e4], 0
je 0x4ee734
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
lea eax, [edi + 0xf0]
push 0x20
push 0xa0
push 0xa0
push edi
push 0x4efdc0
push dword [edi + 0x48]
mov dword [0x5b31e4], 0
push eax
call esi
push 0x20
push 0x14
push 0x14
push edi
push 0x4efd40
push dword [edi + 0x48]
lea eax, [edi + 0x12c]
push eax
call esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x20
push 0x14
push 0x14
push edi
push 0x4efd60
push dword [edi + 0x48]
mov dword [edi + 0x134], eax
lea eax, [edi + 0x130]
push eax
call esi
pop esi
fld qword [ebp - 8]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4f1f60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
mov edi, dword [ebp + 0x14]
xor eax, eax
mov dword [ebp - 4], 7
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
cmp word [edi], ax
jne 0x4f1f88
xor ecx, ecx
jmp 0x4f1f9f
mov ecx, edi
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4f1f90
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x18]
call fcn.00408659
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
push 1
push eax
push dword [ebp + 0xc]
push esi
call fcn.004b7ed0
add esp, 0x10
cmp dword [ebp - 4], 8
jb 0x4f1fcf
push dword [ebp - 0x18]
call fcn.00412887
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x4f1fd9
mov eax, dword [esi]
jmp 0x4f1fdb
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4f206f
push edi
lea ecx, [ebp - 0x30]
call fcn.00408718
push 1
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.004b7ed0
mov edi, eax
add esp, 0x10
cmp esi, edi
je 0x4f2039
cmp dword [esi + 0x14], 8
jb 0x4f201e
push dword [esi]
call fcn.00412887
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push edi
mov word [esi], ax
call fcn.004408e4
cmp dword [ebp - 4], 8
jb 0x4f204a
push dword [ebp - 0x18]
call fcn.00412887
add esp, 4
xor eax, eax
mov dword [ebp - 4], 7
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
jb 0x4f206f
push dword [ebp - 0x30]
call fcn.00412887
add esp, 4
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4f2580
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push edi
push 1
push dword [ebp + 8]
lea eax, [ebp - 0x18]
mov edi, ecx
push 7
push eax
call fcn.004b7ed0
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 0x4f2609
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
push eax
push dword [ebp + 0x10]
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
call fcn.0040757d
push dword [ebp + 0xc]
xor eax, eax
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push eax
push dword [ebp + 8]
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
call fcn.0040757d
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push 7
push dword [eax]
call fcn.004f1c80
cmp dword [ebp - 4], 8
jb 0x4f261a
push dword [ebp - 0x18]
call fcn.00412887
add esp, 4
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4f2720
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.004faaf0
add esp, 4
mov dword [ebp - 4], 7
xor eax, eax
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x18]
mov word [ebp - 0x18], ax
push 0x3b
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlags
call fcn.00408659
push str.Compatibility_AssistantPersisted
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004452c3
push 0x56e5b8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004452c3
push 0x20006
push SysReAllocString
push 1
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.004ba2d0
add esp, 0x2c
call fcn.004adaa0
cmp eax, 0x40
jne 0x4f27ea
cmp dword [ebp - 4], 8
lea ecx, [ebp + 8]
push ecx
push 0x2011f
lea eax, [ebp - 0x18]
mov dword [ebp + 8], 0
cmovae eax, dword [ebp - 0x18]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4f27ea
cmp dword [esi + 0x14], 8
jb 0x4f27d2
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]
cmp dword [ebp - 0x34], 8
pop esi
jb 0x4f27fc
push dword [ebp - 0x48]
call fcn.00412887
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
jb 0x4f2821
push dword [ebp - 0x30]
call fcn.00412887
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], 7
cmp dword [ebp - 4], 8
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
jb 0x4f2846
push dword [ebp - 0x18]
call fcn.00412887
add esp, 4
mov esp, ebp
pop ebp
ret 4

Function at 0x4f2c50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp esi, 9
ja 0x4f2c88
push 0
push 0
push esi
push 0x4f85f0
push 0
push 0
call fcn.00526b46
add esp, 0x18
mov dword [edi + esi*4 + 0x48], eax
xor ecx, ecx
test eax, eax
setne cl
pop edi
mov eax, ecx
pop esi
pop ebp
ret 4
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x4f2fc0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
xor eax, eax
push esi
mov esi, ecx
cmp dword [esi + 0x430], eax
je 0x4f2fe2
mov dword [esi + 0x408], 5
pop esi
mov esp, ebp
pop ebp
ret
push edi
push 0x19
push str.mutex_qqbrowser_uninstall
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], 0
mov word [ebp - 0x20], ax
call fcn.00408659
cmp dword [ebp - 0xc], 8
lea eax, [ebp - 0x20]
cmovae eax, dword [ebp - 0x20]
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov edi, eax
test edi, edi
je 0x4f302a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
xor ebx, ebx
test edi, edi
setne bl
cmp dword [ebp - 0xc], 8
jb 0x4f3043
push dword [ebp - 0x20]
call fcn.00412887
add esp, 4
test ebx, ebx
pop ebx
je 0x4f305a
pop edi
mov dword [esi + 0x408], 6
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
call fcn.004fbf00
test eax, eax
jne 0x4f3073
pop edi
mov dword [esi + 0x408], 2
pop esi
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x38]
mov dword [ebp - 8], 0
push 4
push eax
mov dword [ebp - 4], 0
call fcn.004b7e30
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004f3a00
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x4f30a3
mov eax, dword [eax]
lea ecx, [ebp - 8]
push ecx
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
cmp dword [ebp - 0xc], 8
mov edi, eax
jb 0x4f30c5
push dword [ebp - 0x20]
call fcn.00412887
add esp, 4
xor eax, eax
mov dword [ebp - 0xc], 7
cmp dword [ebp - 0x24], 8
mov dword [ebp - 0x10], 0
mov word [ebp - 0x20], ax
jb 0x4f30ea
push dword [ebp - 0x38]
call fcn.00412887
add esp, 4
test edi, edi
je 0x4f3111
cmp dword [ebp - 4], 0
ja 0x4f3111
jb 0x4f30ff
cmp dword [ebp - 8], 0x12c00000
jae 0x4f3111
pop edi
mov dword [esi + 0x408], 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret