joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a8b77
Capabilities:
Create directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bef81
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x100ed3e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x228]
call fcn.1001e01d
and dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.1001e01d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.10003b20
mov byte [ebp - 4], 2
cmp dword [ebp + 8], 0
je 0x100a8c19
push 0x100d0e68
lea ecx, [ebp - 0x228]
call fcn.10039cd5
push eax
push dword [0x10105160]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push dword [ebp + 8]
call dword [eax + 0x14]
push 0x100d0e90
lea ecx, [ebp - 0x230]
call fcn.10039cd5
push eax
push dword [0x1010515c]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push dword [ebp + 8]
call dword [eax + 0x14]
lea ecx, [ebp - 0x228]
call fcn.1000ba55
push eax
lea ecx, [ebp - 0x22c]
call fcn.10003bd7
push 0x100d0ea0
lea ecx, [ebp - 0x22c]
call fcn.10009fbf
lea ecx, [ebp - 0x230]
call fcn.1000ba55
push eax
lea ecx, [ebp - 0x22c]
call fcn.10009fbf
and word [ebp - 0x224], 0
push 0x208
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.10071b30
add esp, 0xc
push 0x104
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x228]
call fcn.1000ba55
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0
lea eax, [ebp - 0x224]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x20a
push 0
lea eax, [ebp - 0x224]
push eax
call fcn.10071b30
add esp, 0xc
push 0x104
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x22c]
call fcn.1000ba55
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0
push 0x100d0ea4
lea eax, [ebp - 0x224]
push eax
push 0x277e
push dword [0x10109260]
call fcn.100a51dd
add esp, 0x14
lea eax, [ebp - 0x224]
push eax
call fcn.1003883c
mov ecx, eax
call fcn.10037d1b
mov dword [ebp - 0x234], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.10010769
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.1000aabd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.1000aabd
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.10071b1a
leave
ret
Function at 0x100a8d60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100befb1
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x100ed3e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
lea ecx, [ebp - 0x40]
call fcn.1003806e
and dword [ebp - 4], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x40]
call fcn.1000a002
and dword [ebp - 0x20], 0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x1c], eax
and dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x50]
add ecx, 0x44
call fcn.1000ba55
mov dword [ebp - 0x54], eax
push 0
push str.EnableExePackUac
push dword [ebp - 0x54]
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x24], 0
je 0x100a8e66
push 0
push 0
lea eax, [ebp - 0x40]
push eax
push 0x100a39de
push 0
push 0
call fcn.10076136
add esp, 0x18
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x100a8e5d
push 0x64
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x100a8e27
jmp 0x100a8e54
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x3c], 1
jne 0x100a8e4f
cmp dword [0x10109258], 0
jne 0x100a8e4f
mov ecx, dword [ebp - 0x50]
call fcn.100a1c01
test eax, eax
je 0x100a8e4f
mov dword [0x10109258], 1
xor eax, eax
inc eax
jne 0x100a8e0f
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x4c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10038082
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10071b1a
leave
ret 4
Function at 0x100ac7b4
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.1000a002
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x98], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x44
call fcn.1000ba55
test eax, eax
je 0x100ac82b
mov ecx, dword [ebp - 0x14]
add ecx, 0x44
call fcn.1000ba55
mov dword [ebp - 0x18], eax
push 0
push 0x100d1028
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
call dword [eax + 0x18]
cmp eax, 0x64
jne 0x100ac82b
mov eax, dword [0x10112014]
dec eax
mov dword [0x10112014], eax
cmp dword [0x10112014], 0xffffffff
jne 0x100ac82b
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x10112018], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x44
call fcn.1000ba55
test eax, eax
je 0x100ac868
mov ecx, dword [ebp - 0x14]
add ecx, 0x44
call fcn.1000ba55
mov dword [ebp - 0x1c], eax
push 0
push 0x100d1034
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 0x100ac868
call fcn.10037ac0
mov ecx, dword [ebp - 0x14]
add ecx, 0x44
call fcn.1000ba55
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]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xc], esp
push 0x100d104c
call fcn.10001405
push 0
push 0x3e8
push 0
push 0x25
mov ecx, 0x10109340
call fcn.100b38bb
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp - 0x14]
push 0x100ac5ca
push 0
push 0
call fcn.10076136
add esp, 0x18
push eax
lea ecx, [ebp - 0x10]
call fcn.10010bbe
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
add ecx, 0x74
call fcn.100369a3
lea ecx, [ebp - 0x10]
call fcn.10020f2f
mov ecx, dword [ebp - 0x14]
add ecx, 0x74
call fcn.1000ba55
test eax, eax
je 0x100ac920
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x14]
add ecx, 0x94
call fcn.1000ba55
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x98]
jmp 0x100ac922
xor eax, eax
leave
ret 4
Function at 0x100acbb4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], ecx
mov ecx, 0x10109340
call fcn.100b2d67
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x6c], eax
mov ecx, dword [ebp - 0x14]
call fcn.100a4c99
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x40], eax
mov dword [ebp - 4], 1
cmp dword [ebp + 8], 0
je 0x100acbf6
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
add ecx, 0x4c
call fcn.1000a002
push dword [ebp - 0x14]
call fcn.10011b2f
mov ecx, eax
call fcn.100a6fde
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x40], 0
jbe 0x100acc34
push 0
push 0
push dword [ebp - 0x14]
push 0x100acb93
push 0
push 0
call fcn.10076136
add esp, 0x18
mov dword [ebp - 8], eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100acc6f
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x6c], 0
je 0x100acc47
mov ecx, 0x10109340
call fcn.100b2c82
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 0x100acc6b
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 0x100acc6f
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
leave
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x100ed3e0]
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 0x100acd44
and dword [ebp - 0x114], 0
mov byte [ebp - 0x110], 0
push 0xff
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.10071b30
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 0x100acd34
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 0x100acd3b
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.10071b1a
leave
ret
Function at 0x100acd53
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x100ed3e0]
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.10071b30
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 0x100acde5
xor eax, eax
jmp 0x100ace76
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 0x100ace07
xor eax, eax
jmp 0x100ace76
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 0x100ace29
xor eax, eax
jmp 0x100ace76
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x100ace48
xor eax, eax
jmp 0x100ace76
push dword [ebp + 8]
push dword [ebp - 0x218]
call fcn.100369f5
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.10071b1a
leave
ret
Function at 0x100ad54d
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 0x100ad440
push 0
push 0
call fcn.10076136
add esp, 0x18
push eax
lea ecx, [ebp - 0xc]
call fcn.10010bbe
push eax
mov ecx, dword [ebp - 0x10]
call fcn.100369a3
lea ecx, [ebp - 0xc]
call fcn.10020f2f
mov ecx, dword [ebp - 0x10]
call fcn.1000ba55
neg eax
sbb eax, eax
neg eax
leave
ret 8
Function at 0x100ae0f1
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 0x100d8094
push 1
push 0
push 0x100d8084
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x100ae12e
jmp 0x100ae15b
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 0x100ae14a
jmp 0x100ae15b
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 0x100ae16c
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push dword [ebp - 4]
call dword [eax + 8]
cmp dword [ebp - 8], 0
je 0x100ae17d
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 0x100af10b
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.100107d6
cmp eax, 2
jge 0x100af126
xor eax, eax
jmp 0x100af189
push 2
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003c4d
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.1000ba55
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
cmp dword [ebp - 4], 0
ja 0x100af177
jb 0x100af166
cmp dword [ebp - 8], 0x6400000
jae 0x100af177
and dword [ebp - 0x10], 0
lea ecx, [ebp - 0xc]
call fcn.10010769
mov eax, dword [ebp - 0x10]
jmp 0x100af189
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0xc]
call fcn.10010769
mov eax, dword [ebp - 0x14]
pop edi
leave
ret 4
Function at 0x100b159d
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 0x100b164e
push dword [ebp - 4]
call fcn.10071427
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 0x100b163b
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x100d3d4c
push dword [ebp - 8]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x100b163b
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.10075267
pop ecx
and dword [ebp - 8], 0
xor eax, eax
inc eax
jmp 0x100b1650
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
call fcn.10075267
pop ecx
and dword [ebp - 8], 0
xor eax, eax
leave
ret
Function at 0x100b28e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100ed3e0]
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.10071b30
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x100d3c58
push 0x100d3c70
call fcn.100b61ea
add esp, 0xc
test eax, eax
je 0x100b297a
lea eax, [ebp - 0x218]
push eax
call fcn.10071ffb
pop ecx
test eax, eax
jbe 0x100b297a
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100b297a
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 8]
call fcn.100016bb
mov eax, dword [ebp - 0x21c]
or eax, 1
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 8]
jmp 0x100b2999
push 0x100d3ca4
mov ecx, dword [ebp + 8]
call fcn.100016bb
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.10071b1a
leave
ret

Function at 0x100b29a5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100be7a8
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x100ed3e0]
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 0x100b29dd
cmp dword [ebp + 0xc], 0
jne 0x100b29e4
xor eax, eax
jmp 0x100b2ae3
and dword [ebp - 0x6c], 0
push 0x40
push 0
lea eax, [ebp - 0x68]
push eax
call fcn.10071b30
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 0x100d3bc8
lea ecx, [ebp - 0x8c]
call fcn.100016bb
and dword [ebp - 4], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x8c]
call fcn.10004d60
push 0x100d3bcc
lea ecx, [ebp - 0x8c]
call fcn.10004d60
push 0x100d3bd0
lea ecx, [ebp - 0x8c]
call fcn.10004d60
push dword [ebp + 0xc]
lea ecx, [ebp - 0x8c]
call fcn.10004d60
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.10004de7
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x100b2ac5
cmp dword [ebp + 0x18], 0
je 0x100b2ab3
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.10001729
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.10071b1a
leave
ret
Function at 0x100b3dea
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
or dword [ebp - 4], 0xffffffff
cmp dword [0x101091cc], 0
je 0x100b3e2f
push dword [ebp - 4]
push dword [0x101091cc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100b3e1c
push 0xffffffffffffffff
push dword [0x101091cc]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x101091cc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x101091cc], 0
cmp dword [0x101091d4], 0
je 0x100b3e4b
push dword [0x101091d4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x101091d4], 0
leave
ret
Function at 0x100b3f87
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x100ed3e0]
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], 0x1b7740
and dword [ebp - 8], 0
lea ecx, [ebp - 0x10]
call fcn.1001e01d
push 0x2001f
push 0x100d46d0
push SysReAllocStringLen
lea ecx, [ebp - 0x10]
call fcn.10009be7
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x100b3ffb
lea eax, [ebp - 0x18]
push eax
push str.kSeWT
lea ecx, [ebp - 0x10]
call fcn.10020806
lea eax, [ebp - 8]
push eax
push str.kSeDbg
lea ecx, [ebp - 0x10]
call fcn.10020806
cmp dword [ebp - 8], 0
je 0x100b400f
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 0x100b404d
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0xc]
push eax
mov ecx, 0x101092c4
call fcn.1000ba55
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x100b404d
or dword [ebp - 0x450], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10009c59
mov eax, dword [ebp - 0x450]
jmp 0x100b41b5
lea ecx, [ebp - 4]
call fcn.1001e01d
push 0x2001f
push 0x100d4720
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 4]
call fcn.10009be7
mov dword [ebp - 0x14], eax
and word [ebp - 0x230], 0
push 0x208
push 0
lea eax, [ebp - 0x22e]
push eax
call fcn.10071b30
add esp, 0xc
mov dword [ebp - 0x234], 0x104
cmp dword [ebp - 0x14], 0
jne 0x100b40b8
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x230]
push eax
push str.ExeString
lea ecx, [ebp - 4]
call fcn.10009dc1
lea eax, [ebp - 0x230]
push eax
call fcn.10071ffb
pop ecx
test eax, eax
jbe 0x100b40fc
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100b40fc
or dword [ebp - 0x454], 0xffffffff
lea ecx, [ebp - 4]
call fcn.10009c59
lea ecx, [ebp - 0x10]
call fcn.10009c59
mov eax, dword [ebp - 0x454]
jmp 0x100b41b5
and word [ebp - 0x448], 0
push 0x208
push 0
lea eax, [ebp - 0x446]
push eax
call fcn.10071b30
add esp, 0xc
mov dword [ebp - 0x44c], 0x104
cmp dword [ebp - 0x14], 0
jne 0x100b4145
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x448]
push eax
push 0x100d4768
lea ecx, [ebp - 4]
call fcn.10009dc1
lea eax, [ebp - 0x448]
push eax
call fcn.10071ffb
pop ecx
test eax, eax
jbe 0x100b4198
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 0x100b4198
or dword [ebp - 0x458], 0xffffffff
lea ecx, [ebp - 4]
call fcn.10009c59
lea ecx, [ebp - 0x10]
call fcn.10009c59
mov eax, dword [ebp - 0x458]
jmp 0x100b41b5
and dword [ebp - 0x45c], 0
lea ecx, [ebp - 4]
call fcn.10009c59
lea ecx, [ebp - 0x10]
call fcn.10009c59
mov eax, dword [ebp - 0x45c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10071b1a
leave
ret
Function at 0x100b41c1
Capabilities:
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd573
mov eax, dword fs:[0]
push eax
mov eax, 0x822c
call fcn.1008b6f0
mov eax, dword [0x100ed3e0]
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.10071b30
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 0x100d4628
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.10071b30
add esp, 0xc
and word [ebp - 0x822c], 0
push 0x4002
push 0
lea eax, [ebp - 0x822a]
push eax
call fcn.10071b30
add esp, 0xc
lea eax, [ebp - 0x4224]
push eax
push 0x2002
lea eax, [ebp - 0x822c]
push eax
push 0x100d4634
push str.RTData
push 0x100d4648
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x100b43b1
lea eax, [ebp - 0x4224]
push eax
push 0x2002
lea eax, [ebp - 0x401c]
push eax
push 0x100d465c
push str.ConfData
push 0x100d4674
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x100b43b1
lea eax, [ebp - 0x401c]
push eax
call fcn.10071ffb
pop ecx
push eax
lea eax, [ebp - 0x401c]
push eax
lea eax, [ebp - 0x8234]
push eax
call fcn.100a3c6b
add esp, 0xc
and dword [ebp - 4], 0
lea eax, [ebp - 0x822c]
push eax
call fcn.10071ffb
pop ecx
push eax
lea eax, [ebp - 0x822c]
push eax
lea eax, [ebp - 0x8238]
push eax
call fcn.100a3c6b
add esp, 0xc
lea ecx, [ebp - 0x8234]
call fcn.100107d6
cmp eax, 0x1000
jge 0x100b4360
lea ecx, [ebp - 0x8234]
call fcn.100107d6
push eax
lea ecx, [ebp - 0x8234]
call fcn.1000ba55
push eax
push section.Downlaod
call fcn.1007526c
add esp, 0xc
lea ecx, [ebp - 0x8238]
call fcn.100107d6
cmp eax, 0x1000
jge 0x100b4397
lea ecx, [ebp - 0x8238]
call fcn.100107d6
push eax
lea ecx, [ebp - 0x8238]
call fcn.1000ba55
push eax
push 0x1010e008
call fcn.1007526c
add esp, 0xc
lea ecx, [ebp - 0x8238]
call fcn.10010769
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8234]
call fcn.10010769
lea eax, [ebp - 0x4224]
push eax
push 0xffff
push str.index
push 0x100d4694
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x8230], eax
cmp dword [ebp - 0x8230], 0xffff
je 0x100b43ea
mov eax, dword [ebp - 0x8230]
mov dword [0x10112014], 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.10071b1a
leave
ret