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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bc24d
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x100e93e0]
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.1002191f
and dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.1002191f
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.10003c04
mov byte [ebp - 4], 2
cmp dword [ebp + 8], 0
je 0x100a6fca
push 0x100cd7e8
lea ecx, [ebp - 0x228]
call fcn.1002388c
push eax
push dword [0x10101140]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push dword [ebp + 8]
call dword [eax + 0x14]
push 0x100cd810
lea ecx, [ebp - 0x230]
call fcn.1002388c
push eax
push dword [0x1010113c]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push dword [ebp + 8]
call dword [eax + 0x14]
lea ecx, [ebp - 0x228]
call fcn.100350cd
push eax
lea ecx, [ebp - 0x22c]
call fcn.10003cbb
push 0x100cd820
lea ecx, [ebp - 0x22c]
call fcn.10009fe3
lea ecx, [ebp - 0x230]
call fcn.100350cd
push eax
lea ecx, [ebp - 0x22c]
call fcn.10009fe3
and word [ebp - 0x224], 0
push 0x208
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.100738a0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x228]
call fcn.100350cd
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.100738a0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x22c]
call fcn.100350cd
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0
push 0x100cd824
lea eax, [ebp - 0x224]
push eax
push 0x277e
push dword [0x10105210]
call fcn.100a3612
add esp, 0x14
lea eax, [ebp - 0x224]
push eax
call fcn.10037e85
mov ecx, eax
call fcn.10037386
mov dword [ebp - 0x234], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.100105a7
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.1000a8ea
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.1000a8ea
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.10070c21
leave
ret
Function at 0x100a7111
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bc27d
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x100e93e0]
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.100376d9
and dword [ebp - 4], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x40]
call fcn.1000a026
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.100350cd
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 0x100a7217
push 0
push 0
lea eax, [ebp - 0x40]
push eax
push 0x100a1de7
push 0
push 0
call fcn.10074506
add esp, 0x18
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x100a720e
push 0x64
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x100a71d8
jmp 0x100a7205
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x3c], 1
jne 0x100a7200
cmp dword [0x10105208], 0
jne 0x100a7200
mov ecx, dword [ebp - 0x50]
call fcn.1009ff8e
test eax, eax
je 0x100a7200
mov dword [0x10105208], 1
xor eax, eax
inc eax
jne 0x100a71c0
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.10016b7b
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.10070c21
leave
ret 4
Function at 0x100aa5b3
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], ecx
mov ecx, 0x101052f0
call fcn.100b0a48
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x6c], eax
mov ecx, dword [ebp - 0x14]
call fcn.100a30ce
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x40], eax
mov dword [ebp - 4], 1
cmp dword [ebp + 8], 0
je 0x100aa5f5
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
add ecx, 0x4c
call fcn.1000a026
push dword [ebp - 0x14]
call fcn.1001192d
mov ecx, eax
call fcn.100a5413
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x40], 0
jbe 0x100aa633
push 0
push 0
push dword [ebp - 0x14]
push 0x100aa592
push 0
push 0
call fcn.10074506
add esp, 0x18
mov dword [ebp - 8], eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100aa66e
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x6c], 0
je 0x100aa646
mov ecx, 0x101052f0
call fcn.100aff99
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 0x100aa66a
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 0x100aa66e
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
leave
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x100e93e0]
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 0x100aa743
and dword [ebp - 0x114], 0
mov byte [ebp - 0x110], 0
push 0xff
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.100738a0
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 0x100aa733
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 0x100aa73a
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.10070c21
leave
ret
Function at 0x100aa752
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x100e93e0]
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.100738a0
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 0x100aa7e4
xor eax, eax
jmp 0x100aa875
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 0x100aa806
xor eax, eax
jmp 0x100aa875
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 0x100aa828
xor eax, eax
jmp 0x100aa875
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x100aa847
xor eax, eax
jmp 0x100aa875
push dword [ebp + 8]
push dword [ebp - 0x218]
call fcn.100361b2
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.10070c21
leave
ret

Function at 0x100aaeb0
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 0x100aada3
push 0
push 0
call fcn.10074506
add esp, 0x18
push eax
lea ecx, [ebp - 0xc]
call fcn.1002050f
push eax
mov ecx, dword [ebp - 0x10]
call fcn.10036160
lea ecx, [ebp - 0xc]
call fcn.10020d8b
mov ecx, dword [ebp - 0x10]
call fcn.100350cd
neg eax
sbb eax, eax
neg eax
leave
ret 8
Function at 0x100aba54
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 0x100d4744
push 1
push 0
push 0x100d4734
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x100aba91
jmp 0x100ababe
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 0x100abaad
jmp 0x100ababe
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 0x100abacf
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push dword [ebp - 4]
call dword [eax + 8]
cmp dword [ebp - 8], 0
je 0x100abae0
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 0x100aca6e
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.10003bda
cmp eax, 2
jge 0x100aca89
xor eax, eax
jmp 0x100acaec
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.100350cd
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
cmp dword [ebp - 4], 0
ja 0x100acada
jb 0x100acac9
cmp dword [ebp - 8], 0x6400000
jae 0x100acada
and dword [ebp - 0x10], 0
lea ecx, [ebp - 0xc]
call fcn.100105a7
mov eax, dword [ebp - 0x10]
jmp 0x100acaec
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0xc]
call fcn.100105a7
mov eax, dword [ebp - 0x14]
pop edi
leave
ret 4
Function at 0x100aef00
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 0x100aefb1
push dword [ebp - 4]
call fcn.1006ffa8
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 0x100aef9e
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x100d0554
push dword [ebp - 8]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x100aef9e
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.10072b5d
pop ecx
and dword [ebp - 8], 0
xor eax, eax
inc eax
jmp 0x100aefb3
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
call fcn.10072b5d
pop ecx
and dword [ebp - 8], 0
xor eax, eax
leave
ret
Function at 0x100af5fa
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bb073
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x100e93e0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x23c], 0
mov dword [ebp - 0x10], 1
and word [ebp - 0x22c], 0
push 0x208
push 0
lea eax, [ebp - 0x22a]
push eax
call fcn.100738a0
add esp, 0xc
push dword [ebp + 0xc]
lea ecx, [ebp - 0x230]
call fcn.10003c37
and dword [ebp - 4], 0
push 0
push str._HostInstallPackDir_
lea ecx, [ebp - 0x230]
call fcn.1001069a
test eax, eax
jl 0x100af692
push 0x104
lea eax, [ebp - 0x22c]
push eax
push dword [ebp + 0x10]
call fcn.10023a00
add esp, 0xc
jmp 0x100af6d6
push 0
push str._HostInstallPackExe_
lea ecx, [ebp - 0x230]
call fcn.1001069a
test eax, eax
jl 0x100af6c1
push 0x104
lea eax, [ebp - 0x22c]
push eax
push dword [ebp + 0x10]
call fcn.10023f7d
add esp, 0xc
jmp 0x100af6d6
push 0x104
lea eax, [ebp - 0x22c]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x14]
call fcn.10003c37
mov byte [ebp - 4], 1
lea eax, [ebp - 0x238]
push eax
call fcn.100af0ab
pop ecx
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x244], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x244]
call fcn.100350cd
push eax
push str.RandomSubPathTag
lea ecx, [ebp - 0x14]
call fcn.10024093
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x231], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.100105a7
movzx eax, byte [ebp - 0x231]
test eax, eax
je 0x100af768
push 0x104
lea ecx, [ebp - 0x14]
call fcn.100350cd
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.10073f13
add esp, 0xc
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003c37
mov eax, dword [ebp - 0x23c]
or eax, 1
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.100105a7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.100105a7
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.10070c21
leave
ret
Function at 0x100afbf7
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100e93e0]
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.100738a0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x100d0460
push 0x100d0478
call fcn.100b3428
add esp, 0xc
test eax, eax
je 0x100afc91
lea eax, [ebp - 0x218]
push eax
call fcn.10070c0b
pop ecx
test eax, eax
jbe 0x100afc91
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100afc91
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 8]
call fcn.100016fc
mov eax, dword [ebp - 0x21c]
or eax, 1
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 8]
jmp 0x100afcb0
push 0x100d04ac
mov ecx, dword [ebp + 8]
call fcn.100016fc
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.10070c21
leave
ret

Function at 0x100afcbc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bba71
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x100e93e0]
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 0x100afcf4
cmp dword [ebp + 0xc], 0
jne 0x100afcfb
xor eax, eax
jmp 0x100afdfa
and dword [ebp - 0x6c], 0
push 0x40
push 0
lea eax, [ebp - 0x68]
push eax
call fcn.100738a0
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 0x100d03d0
lea ecx, [ebp - 0x8c]
call fcn.100016fc
and dword [ebp - 4], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x8c]
call fcn.10004d8f
push 0x100d03d4
lea ecx, [ebp - 0x8c]
call fcn.10004d8f
push 0x100d03d8
lea ecx, [ebp - 0x8c]
call fcn.10004d8f
push dword [ebp + 0xc]
lea ecx, [ebp - 0x8c]
call fcn.10004d8f
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.10004e3f
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x100afddc
cmp dword [ebp + 0x18], 0
je 0x100afdca
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.1000176a
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.10070c21
leave
ret
Function at 0x100b1211
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
or dword [ebp - 4], 0xffffffff
cmp dword [0x10105190], 0
je 0x100b1256
push dword [ebp - 4]
push dword [0x10105190]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100b1243
push 0xffffffffffffffff
push dword [0x10105190]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x10105190]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x10105190], 0
cmp dword [0x10105198], 0
je 0x100b1272
push dword [0x10105198]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x10105198], 0
leave
ret
Function at 0x100b13ae
Capabilities:
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ba7c8
mov eax, dword fs:[0]
push eax
mov eax, 0x822c
call fcn.1008a3d0
mov eax, dword [0x100e93e0]
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.100738a0
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 0x100d0dc0
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.100738a0
add esp, 0xc
and word [ebp - 0x822c], 0
push 0x4002
push 0
lea eax, [ebp - 0x822a]
push eax
call fcn.100738a0
add esp, 0xc
lea eax, [ebp - 0x4224]
push eax
push 0x2002
lea eax, [ebp - 0x822c]
push eax
push 0x100d0dcc
push str.RTData
push 0x100d0de0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x100b159e
lea eax, [ebp - 0x4224]
push eax
push 0x2002
lea eax, [ebp - 0x401c]
push eax
push 0x100d0df4
push str.ConfData
push 0x100d0e0c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x100b159e
lea eax, [ebp - 0x401c]
push eax
call fcn.10070c0b
pop ecx
push eax
lea eax, [ebp - 0x401c]
push eax
lea eax, [ebp - 0x8234]
push eax
call fcn.100a2074
add esp, 0xc
and dword [ebp - 4], 0
lea eax, [ebp - 0x822c]
push eax
call fcn.10070c0b
pop ecx
push eax
lea eax, [ebp - 0x822c]
push eax
lea eax, [ebp - 0x8238]
push eax
call fcn.100a2074
add esp, 0xc
lea ecx, [ebp - 0x8234]
call fcn.10003bda
cmp eax, 0x1000
jge 0x100b154d
lea ecx, [ebp - 0x8234]
call fcn.10003bda
push eax
lea ecx, [ebp - 0x8234]
call fcn.100350cd
push eax
push section.Downlaod
call fcn.10073f13
add esp, 0xc
lea ecx, [ebp - 0x8238]
call fcn.10003bda
cmp eax, 0x1000
jge 0x100b1584
lea ecx, [ebp - 0x8238]
call fcn.10003bda
push eax
lea ecx, [ebp - 0x8238]
call fcn.100350cd
push eax
push 0x1010a008
call fcn.10073f13
add esp, 0xc
lea ecx, [ebp - 0x8238]
call fcn.100105a7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8234]
call fcn.100105a7
lea eax, [ebp - 0x4224]
push eax
push 0xffff
push str.index
push 0x100d0e2c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x8230], eax
cmp dword [ebp - 0x8230], 0xffff
je 0x100b15d7
mov eax, dword [ebp - 0x8230]
mov dword [0x1010e014], 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.10070c21
leave
ret
Function at 0x100b15fb
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ba7f8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x100e93e0]
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.10003c04
and dword [ebp - 4], 0
push dword [ebp + 8]
push str.Global97ED6B7B_FABA_4282_B5E8_E5150894AB99
push 0x100d0c74
lea eax, [ebp - 0x10]
push eax
call fcn.10015f58
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.100350cd
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 0x100b16a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100b16a4
mov dword [ebp - 0x14], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100105a7
mov eax, dword [ebp - 0x14]
jmp 0x100b16b7
and dword [ebp - 0x18], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100105a7
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 4