joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100b3422
Capabilities:
Check if file exists
Create directory
Get common file path
Resume thread
Terminate process

Disassembly:
call fcn.1034ecf7
sbb eax, 0x6aec8b55
push ebp
mov ebp, esp
push 0xffffffffffffffff
invalid
invalid

Function at 0x100b4289
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x14], ecx
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
add ecx, 0x78
call fcn.1000e54e
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x98], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x44
call fcn.10037237
test eax, eax
je 0x100b4300
mov ecx, dword [ebp - 0x14]
add ecx, 0x44
call fcn.10037237
mov dword [ebp - 0x18], eax
push 0
push 0x100db528
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
call dword [eax + 0x18]
cmp eax, 0x64
jne 0x100b4300
mov eax, dword [0x1011e014]
dec eax
mov dword [0x1011e014], eax
cmp dword [0x1011e014], 0xffffffff
jne 0x100b4300
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x1011e018], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x44
call fcn.10037237
test eax, eax
je 0x100b433d
mov ecx, dword [ebp - 0x14]
add ecx, 0x44
call fcn.10037237
mov dword [ebp - 0x1c], eax
push 0
push 0x100db534
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100b433d
call fcn.1003c0ed
mov ecx, dword [ebp - 0x14]
add ecx, 0x44
call fcn.10037237
mov dword [ebp - 0x20], eax
push 0
push str.EnableLsp
push dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
call dword [eax + 0x20]
cmp dword [0x10114754], 0
je 0x100b4390
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xc], esp
push 0x100db54c
call fcn.10001438
push 0
push 0x3e8
push 0
push 0x2541
mov ecx, 0x10114848
call fcn.100bbdb6
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp - 0x14]
push 0x100b4087
push 0
push 0
call fcn.1007ac18
add esp, 0x18
push eax
lea ecx, [ebp - 0x10]
call fcn.10039ff2
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
add ecx, 0x74
call fcn.1003afc3
lea ecx, [ebp - 0x10]
call fcn.10025558
mov ecx, dword [ebp - 0x14]
add ecx, 0x74
call fcn.10037237
test eax, eax
je 0x100b4401
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x14]
add ecx, 0x94
call fcn.10037237
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x98]
jmp 0x100b4403
xor eax, eax
leave
ret 4
Function at 0x100b4695
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], ecx
mov ecx, 0x10114848
call fcn.100bb262
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x6c], eax
mov ecx, dword [ebp - 0x14]
call fcn.100ac529
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x40], eax
mov dword [ebp - 4], 1
cmp dword [ebp + 8], 0
je 0x100b46d7
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
add ecx, 0x4c
call fcn.1000e54e
push dword [ebp - 0x14]
call fcn.10015f51
mov ecx, eax
call fcn.100ae86e
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x40], 0
jbe 0x100b4715
push 0
push 0
push dword [ebp - 0x14]
push 0x100b4674
push 0
push 0
call fcn.1007ac18
add esp, 0x18
mov dword [ebp - 8], eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100b4750
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x6c], 0
je 0x100b4728
mov ecx, 0x10114848
call fcn.100bb17d
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x100b474c
push 1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
call dword [eax + 0x1c]
mov dword [ebp - 0x18], eax
jmp 0x100b4750
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
leave
ret 4

Function at 0x100b4757
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x100f83e0]
xor eax, ebp
mov dword [ebp - 0xc], eax
and dword [ebp - 8], 0
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100b4825
and dword [ebp - 0x114], 0
mov byte [ebp - 0x110], 0
push 0xff
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.100770c0
add esp, 0xc
mov dword [ebp - 0x118], 0x100
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push str.KAVINSTALLNEEDREBOOT
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100b4815
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push str.KAV7NEEDREBOOT
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100b481c
mov dword [ebp - 8], 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.100770aa
leave
ret
Function at 0x100b4834
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x100f83e0]
xor eax, ebp
mov dword [ebp - 8], eax
and dword [ebp - 0x228], 0
and dword [ebp - 0x224], 0
and dword [ebp - 0x230], 0
and dword [ebp - 0x220], 0
and dword [ebp - 0x218], 0
and dword [ebp - 0x22c], 0
and word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.100770c0
add esp, 0xc
and dword [ebp - 4], 0
or dword [ebp - 0x21c], 0xffffffff
and dword [ebp - 0x214], 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x100b48c6
xor eax, eax
jmp 0x100b4957
push dword [ebp - 0x230]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jne 0x100b48e8
xor eax, eax
jmp 0x100b4957
push dword [ebp - 0x230]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jne 0x100b490a
xor eax, eax
jmp 0x100b4957
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x100b4929
xor eax, eax
jmp 0x100b4957
push dword [ebp + 8]
push dword [ebp - 0x218]
call fcn.1003b015
pop ecx
pop ecx
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x228], eax
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100770aa
leave
ret
Function at 0x100b502e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x14], ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
push 0
push 0
push dword [ebp - 0x10]
push 0x100b4f21
push 0
push 0
call fcn.1007ac18
add esp, 0x18
push eax
lea ecx, [ebp - 0xc]
call fcn.10039ff2
push eax
mov ecx, dword [ebp - 0x10]
call fcn.1003afc3
lea ecx, [ebp - 0xc]
call fcn.10025558
mov ecx, dword [ebp - 0x10]
call fcn.10037237
neg eax
sbb eax, eax
neg eax
leave
ret 8
Function at 0x100b5bd2
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
and dword [eax], 0
lea eax, [ebp - 8]
push eax
push 0x100e2c4c
push 1
push 0
push 0x100e2c3c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x100b5c0f
jmp 0x100b5c3c
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push dword [ebp - 8]
call dword [eax + 0x1c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x100b5c2b
jmp 0x100b5c3c
push dword [ebp + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push dword [ebp - 4]
call dword [eax + 0x1c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
je 0x100b5c4d
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push dword [ebp - 4]
call dword [eax + 8]
cmp dword [ebp - 8], 0
je 0x100b5c5e
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push dword [ebp - 8]
call dword [eax + 8]
mov eax, dword [ebp - 0xc]
leave
ret

Function at 0x100b6bec
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push edi
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 8]
call fcn.10003c0a
cmp eax, 2
jge 0x100b6c07
xor eax, eax
jmp 0x100b6c6a
push 2
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003d31
and dword [ebp - 8], 0
xor eax, eax
lea edi, [ebp - 4]
stosd dword es:[edi], eax
push 0
push 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
call fcn.10037237
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
cmp dword [ebp - 4], 0
ja 0x100b6c58
jb 0x100b6c47
cmp dword [ebp - 8], 0x6400000
jae 0x100b6c58
and dword [ebp - 0x10], 0
lea ecx, [ebp - 0xc]
call fcn.10014b46
mov eax, dword [ebp - 0x10]
jmp 0x100b6c6a
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0xc]
call fcn.10014b46
mov eax, dword [ebp - 0x14]
pop edi
leave
ret 4
Function at 0x100b90d5
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
and dword [eax], 0
mov eax, dword [ebp + 0x10]
and dword [eax], 0
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100b9186
push dword [ebp - 4]
call fcn.10076595
pop ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 8]
push dword [ebp - 4]
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x100b9173
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x100de3c8
push dword [ebp - 8]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x100b9173
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 8]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
call fcn.10079566
pop ecx
and dword [ebp - 8], 0
xor eax, eax
inc eax
jmp 0x100b9188
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
call fcn.10079566
pop ecx
and dword [ebp - 8], 0
xor eax, eax
leave
ret
Function at 0x100bad8c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100f83e0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x21c], 0
and word [ebp - 0x218], 0
push 0x208
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.100770c0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x100de248
push 0x100de260
call fcn.100be941
add esp, 0xc
test eax, eax
je 0x100bae26
lea eax, [ebp - 0x218]
push eax
call fcn.100779fb
pop ecx
test eax, eax
jbe 0x100bae26
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100bae26
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 8]
call fcn.100016ee
mov eax, dword [ebp - 0x21c]
or eax, 1
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 8]
jmp 0x100bae45
push 0x100de294
mov ecx, dword [ebp + 8]
call fcn.100016ee
mov eax, dword [ebp - 0x21c]
or eax, 1
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100770aa
leave
ret

Function at 0x100bae51
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c8085
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x100f83e0]
xor eax, ebp
mov dword [ebp - 0x70], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
je 0x100bae89
cmp dword [ebp + 0xc], 0
jne 0x100bae90
xor eax, eax
jmp 0x100baf8f
and dword [ebp - 0x6c], 0
push 0x40
push 0
lea eax, [ebp - 0x68]
push eax
call fcn.100770c0
add esp, 0xc
and dword [ebp - 0x1c], 0
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x6c], 0x44
mov dword [ebp - 0x40], 0x81
mov eax, dword [ebp + 0x14]
neg eax
sbb eax, eax
and eax, 5
mov word [ebp - 0x3c], ax
push 0x100de1b8
lea ecx, [ebp - 0x8c]
call fcn.100016ee
and dword [ebp - 4], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x8c]
call fcn.100092d5
push 0x100de1bc
lea ecx, [ebp - 0x8c]
call fcn.100092d5
push 0x100de1c0
lea ecx, [ebp - 0x8c]
call fcn.100092d5
push dword [ebp + 0xc]
lea ecx, [ebp - 0x8c]
call fcn.100092d5
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 0x10]
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x8c]
call fcn.10009385
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x100baf71
cmp dword [ebp + 0x18], 0
je 0x100baf5f
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x90], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.1000175c
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x70]
xor ecx, ebp
call fcn.100770aa
leave
ret
Function at 0x100bc414
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
or dword [ebp - 4], 0xffffffff
cmp dword [0x101146c4], 0
je 0x100bc459
push dword [ebp - 4]
push dword [0x101146c4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100bc446
push 0xffffffffffffffff
push dword [0x101146c4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x101146c4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x101146c4], 0
cmp dword [0x101146cc], 0
je 0x100bc475
push dword [0x101146cc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x101146cc], 0
leave
ret
Function at 0x100bc595
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x100f83e0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 0x124f80
and dword [ebp - 8], 0
lea ecx, [ebp - 0x10]
call fcn.1002873d
push 0x2001f
push 0x100ded88
push SysReAllocStringLen
lea ecx, [ebp - 0x10]
call fcn.1000e160
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x100bc609
lea eax, [ebp - 0x18]
push eax
push str.kSeWT
lea ecx, [ebp - 0x10]
call fcn.10024df4
lea eax, [ebp - 8]
push eax
push str.kSeDbg
lea ecx, [ebp - 0x10]
call fcn.10024df4
cmp dword [ebp - 8], 0
je 0x100bc61d
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x18]
jae 0x100bc65b
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0xc]
push eax
mov ecx, 0x101147cc
call fcn.10037237
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x100bc65b
or dword [ebp - 0x450], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1000e1d2
mov eax, dword [ebp - 0x450]
jmp 0x100bc7c3
lea ecx, [ebp - 4]
call fcn.1002873d
push 0x2001f
push 0x100dedd8
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 4]
call fcn.1000e160
mov dword [ebp - 0x14], eax
and word [ebp - 0x230], 0
push 0x208
push 0
lea eax, [ebp - 0x22e]
push eax
call fcn.100770c0
add esp, 0xc
mov dword [ebp - 0x234], 0x104
cmp dword [ebp - 0x14], 0
jne 0x100bc6c6
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x230]
push eax
push str.ExeString
lea ecx, [ebp - 4]
call fcn.1000e30d
lea eax, [ebp - 0x230]
push eax
call fcn.100779fb
pop ecx
test eax, eax
jbe 0x100bc70a
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100bc70a
or dword [ebp - 0x454], 0xffffffff
lea ecx, [ebp - 4]
call fcn.1000e1d2
lea ecx, [ebp - 0x10]
call fcn.1000e1d2
mov eax, dword [ebp - 0x454]
jmp 0x100bc7c3
and word [ebp - 0x448], 0
push 0x208
push 0
lea eax, [ebp - 0x446]
push eax
call fcn.100770c0
add esp, 0xc
mov dword [ebp - 0x44c], 0x104
cmp dword [ebp - 0x14], 0
jne 0x100bc753
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x448]
push eax
push 0x100dee20
lea ecx, [ebp - 4]
call fcn.1000e30d
lea eax, [ebp - 0x448]
push eax
call fcn.100779fb
pop ecx
test eax, eax
jbe 0x100bc7a6
push str.QQPCTray.dat
lea eax, [ebp - 0x448]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x448]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100bc7a6
or dword [ebp - 0x458], 0xffffffff
lea ecx, [ebp - 4]
call fcn.1000e1d2
lea ecx, [ebp - 0x10]
call fcn.1000e1d2
mov eax, dword [ebp - 0x458]
jmp 0x100bc7c3
and dword [ebp - 0x45c], 0
lea ecx, [ebp - 4]
call fcn.1000e1d2
lea ecx, [ebp - 0x10]
call fcn.1000e1d2
mov eax, dword [ebp - 0x45c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100770aa
leave
ret
Function at 0x100bc7cf
Capabilities:
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c6db3
mov eax, dword fs:[0]
push eax
mov eax, 0x822c
call fcn.10090ca0
mov eax, dword [0x100f83e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and word [ebp - 0x4224], 0
push 0x206
push 0
lea eax, [ebp - 0x4222]
push eax
call fcn.100770c0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x4224]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x4224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
push 0x100dece8
lea eax, [ebp - 0x4224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddExtensionW]
and word [ebp - 0x401c], 0
push 0x4002
push 0
lea eax, [ebp - 0x401a]
push eax
call fcn.100770c0
add esp, 0xc
and word [ebp - 0x822c], 0
push 0x4002
push 0
lea eax, [ebp - 0x822a]
push eax
call fcn.100770c0
add esp, 0xc
lea eax, [ebp - 0x4224]
push eax
push 0x2002
lea eax, [ebp - 0x822c]
push eax
push 0x100decf4
push str.RTData
push 0x100ded08
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x100bc9bf
lea eax, [ebp - 0x4224]
push eax
push 0x2002
lea eax, [ebp - 0x401c]
push eax
push 0x100ded1c
push str.ConfData
push 0x100ded34
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x100bc9bf
lea eax, [ebp - 0x401c]
push eax
call fcn.100779fb
pop ecx
push eax
lea eax, [ebp - 0x401c]
push eax
lea eax, [ebp - 0x8234]
push eax
call fcn.100ab502
add esp, 0xc
and dword [ebp - 4], 0
lea eax, [ebp - 0x822c]
push eax
call fcn.100779fb
pop ecx
push eax
lea eax, [ebp - 0x822c]
push eax
lea eax, [ebp - 0x8238]
push eax
call fcn.100ab502
add esp, 0xc
lea ecx, [ebp - 0x8234]
call fcn.10003c0a
cmp eax, 0x1000
jge 0x100bc96e
lea ecx, [ebp - 0x8234]
call fcn.10003c0a
push eax
lea ecx, [ebp - 0x8234]
call fcn.10037237
push eax
push section.Downlaod
call fcn.1007a8c7
add esp, 0xc
lea ecx, [ebp - 0x8238]
call fcn.10003c0a
cmp eax, 0x1000
jge 0x100bc9a5
lea ecx, [ebp - 0x8238]
call fcn.10003c0a
push eax
lea ecx, [ebp - 0x8238]
call fcn.10037237
push eax
push 0x1011a008
call fcn.1007a8c7
add esp, 0xc
lea ecx, [ebp - 0x8238]
call fcn.10014b46
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8234]
call fcn.10014b46
lea eax, [ebp - 0x4224]
push eax
push 0xffff
push str.index
push 0x100ded54
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x8230], eax
cmp dword [ebp - 0x8230], 0xffff
je 0x100bc9f8
mov eax, dword [ebp - 0x8230]
mov dword [0x1011e014], eax
lea eax, [ebp - 0x4224]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100770aa
leave
ret
Function at 0x100bca1c
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c6de3
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x100f83e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
push str.QQPC02FB3C82_DC18_475c_A75E_B44B90975300MGR
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x70], eax
lea ecx, [ebp - 0x10]
call fcn.10014aa8
and dword [ebp - 4], 0
push dword [ebp + 8]
push str.Global97ED6B7B_FABA_4282_B5E8_E5150894AB99
push 0x100deb9c
lea eax, [ebp - 0x10]
push eax
call fcn.1001a6cc
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.10037237
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x6c], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x6c], 0
je 0x100bcac5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100bcac5
mov dword [ebp - 0x14], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10014b46
mov eax, dword [ebp - 0x14]
jmp 0x100bcad8
and dword [ebp - 0x18], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10014b46
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 4
Function at 0x100bd8cc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x1c
call fcn.1007775b
pop ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x100bd8f3
push dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
call fcn.100016ee
mov dword [ebp - 0x10], eax
jmp 0x100bd8f7
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
push 0x101146c8
push 0
push dword [ebp - 4]
push 0x100bd84e
push 0
push 0
call fcn.1007ac18
add esp, 0x18
mov dword [0x101146c4], eax
xor eax, eax
cmp dword [0x101146c4], 0
setne al
mov dword [0x101146d0], eax
mov eax, dword [0x101146d0]
leave
ret 4

Function at 0x100bd959
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push edi
and dword [ebp - 4], 0
push 0x20a
push 0
push str.InstallerSvcEx2014
call fcn.100770c0
add esp, 0xc
push 0x104
push dword [ebp + 8]
push str.InstallerSvcEx2014
call fcn.1007a8c7
add esp, 0xc
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100bd9b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x100bda5a
push 0xf01ff
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100bd9d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x100bda51
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x100bd9f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x100bda48
mov dword [ebp - 0x10], 7
cmp dword [ebp - 0x10], 0
jle 0x100bda48
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
and dword [ebp - 0x2c], 0
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x28]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x100bda34
cmp dword [ebp - 0x28], 4
jne 0x100bda32
jmp 0x100bda48
jmp 0x100bda3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x100bda48
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
jmp 0x100bd9fd
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 4]
pop edi
leave
ret