joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100ab7cf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x100eb3e0]
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.10073a50
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 0x100ab861
xor eax, eax
jmp 0x100ab8f2
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 0x100ab883
xor eax, eax
jmp 0x100ab8f2
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 0x100ab8a5
xor eax, eax
jmp 0x100ab8f2
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x100ab8c4
xor eax, eax
jmp 0x100ab8f2
push dword [ebp + 8]
push dword [ebp - 0x218]
call fcn.10036009
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.10070dd1
leave
ret

Function at 0x100abfb0
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 0x100abea3
push 0
push 0
call fcn.1007466a
add esp, 0x18
push eax
lea ecx, [ebp - 0xc]
call fcn.100106a8
push eax
mov ecx, dword [ebp - 0x10]
call fcn.10035fd2
lea ecx, [ebp - 0xc]
call fcn.100206ad
mov ecx, dword [ebp - 0x10]
call fcn.1002ffe8
neg eax
sbb eax, eax
neg eax
leave
ret 8
Function at 0x100acb54
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 0x100d6acc
push 1
push 0
push 0x100d6abc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x100acb91
jmp 0x100acbbe
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 0x100acbad
jmp 0x100acbbe
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 0x100acbcf
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push dword [ebp - 4]
call dword [eax + 8]
cmp dword [ebp - 8], 0
je 0x100acbe0
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 0x100adb6e
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.1001042d
cmp eax, 2
jge 0x100adb89
xor eax, eax
jmp 0x100adbec
push 2
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003bb5
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.1002ffe8
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
cmp dword [ebp - 4], 0
ja 0x100adbda
jb 0x100adbc9
cmp dword [ebp - 8], 0x6400000
jae 0x100adbda
and dword [ebp - 0x10], 0
lea ecx, [ebp - 0xc]
call fcn.100103c0
mov eax, dword [ebp - 0x10]
jmp 0x100adbec
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0xc]
call fcn.100103c0
mov eax, dword [ebp - 0x14]
pop edi
leave
ret 4
Function at 0x100b0000
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 0x100b00b1
push dword [ebp - 4]
call fcn.10070158
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 0x100b009e
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x100d28d4
push dword [ebp - 8]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x100b009e
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.10072d0d
pop ecx
and dword [ebp - 8], 0
xor eax, eax
inc eax
jmp 0x100b00b3
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
call fcn.10072d0d
pop ecx
and dword [ebp - 8], 0
xor eax, eax
leave
ret
Function at 0x100b01ab
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x288
mov eax, dword [0x100eb3e0]
xor eax, ebp
mov dword [ebp - 8], eax
mov word [ebp - 0x78], 0x53
mov word [ebp - 0x76], 0x4f
mov word [ebp - 0x74], 0x46
mov word [ebp - 0x72], 0x54
mov word [ebp - 0x70], 0x57
mov word [ebp - 0x6e], 0x41
mov word [ebp - 0x6c], 0x52
mov word [ebp - 0x6a], 0x45
mov word [ebp - 0x68], 0x5c
mov word [ebp - 0x66], 0x33
mov word [ebp - 0x64], 0x36
mov word [ebp - 0x62], 0x30
mov word [ebp - 0x60], 0x53
mov word [ebp - 0x5e], 0x61
mov word [ebp - 0x5c], 0x66
mov word [ebp - 0x5a], 0x65
mov word [ebp - 0x58], 0x5c
mov word [ebp - 0x56], 0x33
mov word [ebp - 0x54], 0x36
mov word [ebp - 0x52], 0x30
mov word [ebp - 0x50], 0x6b
mov word [ebp - 0x4e], 0x72
mov word [ebp - 0x4c], 0x6e
mov word [ebp - 0x4a], 0x6c
mov word [ebp - 0x48], 0x73
mov word [ebp - 0x46], 0x76
mov word [ebp - 0x44], 0x63
mov word [ebp - 0x42], 0x5c
mov word [ebp - 0x40], 0x6c
mov word [ebp - 0x3e], 0x65
mov word [ebp - 0x3c], 0x61
mov word [ebp - 0x3a], 0x6b
mov word [ebp - 0x38], 0x66
mov word [ebp - 0x36], 0x69
mov word [ebp - 0x34], 0x78
and word [ebp - 0x32], 0
and word [ebp - 0x30], 0
mov word [ebp - 0x24], 0x44
mov word [ebp - 0x22], 0x75
mov word [ebp - 0x20], 0x6d
mov word [ebp - 0x1e], 0x70
mov word [ebp - 0x1c], 0x55
mov word [ebp - 0x1a], 0x70
mov word [ebp - 0x18], 0x65
mov word [ebp - 0x16], 0x72
mov word [ebp - 0x14], 0x2e
mov word [ebp - 0x12], 0x65
mov word [ebp - 0x10], 0x78
mov word [ebp - 0xe], 0x65
and word [ebp - 0xc], 0
and word [ebp - 0xa], 0
and word [ebp - 0x288], 0
push 0x208
push 0
lea eax, [ebp - 0x286]
push eax
call fcn.10073a50
add esp, 0xc
lea eax, [ebp - 0x288]
push eax
push 0x100d28bc
lea eax, [ebp - 0x78]
push eax
call fcn.100b4631
add esp, 0xc
test eax, eax
jne 0x100b032a
xor eax, eax
jmp 0x100b0393
push 0x5c
lea eax, [ebp - 0x288]
push eax
call fcn.1000473a
pop ecx
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100b038c
mov eax, dword [ebp - 4]
and word [eax], 0
lea eax, [ebp - 0x288]
push eax
push 0x105
push dword [ebp + 8]
call fcn.10074ec3
add esp, 0xc
push 0x100d28d0
push 0x105
push dword [ebp + 8]
call fcn.10075997
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
push 0x105
push dword [ebp + 8]
call fcn.10075997
add esp, 0xc
jmp 0x100b0390
xor eax, eax
jmp 0x100b0393
xor eax, eax
inc eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10070dd1
leave
ret
Function at 0x100b08ee
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bc2a9
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x100eb3e0]
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.10073a50
add esp, 0xc
push dword [ebp + 0xc]
lea ecx, [ebp - 0x230]
call fcn.10003abb
and dword [ebp - 4], 0
push 0
push str._HostInstallPackDir_
lea ecx, [ebp - 0x230]
call fcn.100104c7
test eax, eax
jl 0x100b0986
push 0x104
lea eax, [ebp - 0x22c]
push eax
push dword [ebp + 0x10]
call fcn.1002316b
add esp, 0xc
jmp 0x100b09ef
push 0
push str._HostInstallPackExe_
lea ecx, [ebp - 0x230]
call fcn.100104c7
test eax, eax
jl 0x100b09b5
push 0x104
lea eax, [ebp - 0x22c]
push eax
push dword [ebp + 0x10]
call fcn.100236e8
add esp, 0xc
jmp 0x100b09ef
push 0
push str._suziDir_
lea ecx, [ebp - 0x230]
call fcn.100104c7
test eax, eax
jl 0x100b09da
lea eax, [ebp - 0x22c]
push eax
call fcn.100b01ab
pop ecx
jmp 0x100b09ef
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.10003abb
mov byte [ebp - 4], 1
lea eax, [ebp - 0x238]
push eax
call fcn.100b039f
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.1002ffe8
push eax
push str.RandomSubPathTag
lea ecx, [ebp - 0x14]
call fcn.100237fe
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x231], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.100103c0
movzx eax, byte [ebp - 0x231]
test eax, eax
je 0x100b0a81
push 0x104
lea ecx, [ebp - 0x14]
call fcn.1002ffe8
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.100740c3
add esp, 0xc
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003abb
mov eax, dword [ebp - 0x23c]
or eax, 1
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.100103c0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.100103c0
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.10070dd1
leave
ret
Function at 0x100b0f10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100eb3e0]
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.10073a50
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x100d27c8
push 0x100d27e0
call fcn.100b4631
add esp, 0xc
test eax, eax
je 0x100b0faa
lea eax, [ebp - 0x218]
push eax
call fcn.10070dbb
pop ecx
test eax, eax
jbe 0x100b0faa
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100b0faa
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 8]
call fcn.100016dd
mov eax, dword [ebp - 0x21c]
or eax, 1
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 8]
jmp 0x100b0fc9
push 0x100d2814
mov ecx, dword [ebp + 8]
call fcn.100016dd
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.10070dd1
leave
ret

Function at 0x100b0fd5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bcca7
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x100eb3e0]
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 0x100b100d
cmp dword [ebp + 0xc], 0
jne 0x100b1014
xor eax, eax
jmp 0x100b1113
and dword [ebp - 0x6c], 0
push 0x40
push 0
lea eax, [ebp - 0x68]
push eax
call fcn.10073a50
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 0x100d2738
lea ecx, [ebp - 0x8c]
call fcn.100016dd
and dword [ebp - 4], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x8c]
call fcn.10004c4b
push 0x100d273c
lea ecx, [ebp - 0x8c]
call fcn.10004c4b
push 0x100d2740
lea ecx, [ebp - 0x8c]
call fcn.10004c4b
push dword [ebp + 0xc]
lea ecx, [ebp - 0x8c]
call fcn.10004c4b
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.10004cd2
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x100b10f5
cmp dword [ebp + 0x18], 0
je 0x100b10e3
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.1000174b
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.10070dd1
leave
ret
Function at 0x100b241a
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
or dword [ebp - 4], 0xffffffff
cmp dword [0x10107198], 0
je 0x100b245f
push dword [ebp - 4]
push dword [0x10107198]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100b244c
push 0xffffffffffffffff
push dword [0x10107198]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x10107198]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x10107198], 0
cmp dword [0x101071a0], 0
je 0x100b247b
push dword [0x101071a0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x101071a0], 0
leave
ret
Function at 0x100b25b7
Capabilities:
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bb9fe
mov eax, dword fs:[0]
push eax
mov eax, 0x822c
call fcn.1008a5d0
mov eax, dword [0x100eb3e0]
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.10073a50
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 0x100d3150
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.10073a50
add esp, 0xc
and word [ebp - 0x822c], 0
push 0x4002
push 0
lea eax, [ebp - 0x822a]
push eax
call fcn.10073a50
add esp, 0xc
lea eax, [ebp - 0x4224]
push eax
push 0x2002
lea eax, [ebp - 0x822c]
push eax
push 0x100d315c
push str.RTData
push 0x100d3170
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x100b27a7
lea eax, [ebp - 0x4224]
push eax
push 0x2002
lea eax, [ebp - 0x401c]
push eax
push 0x100d3184
push str.ConfData
push 0x100d319c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x100b27a7
lea eax, [ebp - 0x401c]
push eax
call fcn.10070dbb
pop ecx
push eax
lea eax, [ebp - 0x401c]
push eax
lea eax, [ebp - 0x8234]
push eax
call fcn.100a2df3
add esp, 0xc
and dword [ebp - 4], 0
lea eax, [ebp - 0x822c]
push eax
call fcn.10070dbb
pop ecx
push eax
lea eax, [ebp - 0x822c]
push eax
lea eax, [ebp - 0x8238]
push eax
call fcn.100a2df3
add esp, 0xc
lea ecx, [ebp - 0x8234]
call fcn.1001042d
cmp eax, 0x1000
jge 0x100b2756
lea ecx, [ebp - 0x8234]
call fcn.1001042d
push eax
lea ecx, [ebp - 0x8234]
call fcn.1002ffe8
push eax
push section.Downlaod
call fcn.100740c3
add esp, 0xc
lea ecx, [ebp - 0x8238]
call fcn.1001042d
cmp eax, 0x1000
jge 0x100b278d
lea ecx, [ebp - 0x8238]
call fcn.1001042d
push eax
lea ecx, [ebp - 0x8238]
call fcn.1002ffe8
push eax
push 0x1010c008
call fcn.100740c3
add esp, 0xc
lea ecx, [ebp - 0x8238]
call fcn.100103c0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8234]
call fcn.100103c0
lea eax, [ebp - 0x4224]
push eax
push 0xffff
push str.index
push 0x100d31bc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x8230], eax
cmp dword [ebp - 0x8230], 0xffff
je 0x100b27e0
mov eax, dword [ebp - 0x8230]
mov dword [0x10110014], 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.10070dd1
leave
ret
Function at 0x100b2804
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bba2e
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x100eb3e0]
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.10010322
and dword [ebp - 4], 0
push dword [ebp + 8]
push str.Global97ED6B7B_FABA_4282_B5E8_E5150894AB99
push 0x100d3004
lea eax, [ebp - 0x10]
push eax
call fcn.10015b98
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.1002ffe8
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 0x100b28ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100b28ad
mov dword [ebp - 0x14], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100103c0
mov eax, dword [ebp - 0x14]
jmp 0x100b28c0
and dword [ebp - 0x18], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100103c0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 4
Function at 0x100b37e7
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x1c
call fcn.10070b17
pop ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x100b380e
push dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
call fcn.100016dd
mov dword [ebp - 0x10], eax
jmp 0x100b3812
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 0x1010719c
push 0
push dword [ebp - 4]
push 0x100b3769
push 0
push 0
call fcn.1007466a
add esp, 0x18
mov dword [0x10107198], eax
xor eax, eax
cmp dword [0x10107198], 0
setne al
mov dword [0x101071a4], eax
mov eax, dword [0x101071a4]
leave
ret 4

Function at 0x100b3858
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.10073a50
add esp, 0xc
push 0x104
push dword [ebp + 8]
push str.InstallerSvcEx2014
call fcn.100740c3
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 0x100b38b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x100b3959
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 0x100b38d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x100b3950
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x100b38f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x100b3947
mov dword [ebp - 0x10], 7
cmp dword [ebp - 0x10], 0
jle 0x100b3947
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 0x100b3933
cmp dword [ebp - 0x28], 4
jne 0x100b3931
jmp 0x100b3947
jmp 0x100b393e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x100b3947
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
jmp 0x100b38fc
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
Function at 0x100b395f
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100b3989
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100b39d9
push 0xf01ff
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100b39ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x100b39cd
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x100b39c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 4]
leave
ret

Function at 0x100b39db
Capabilities:
Create service
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100b3a08
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x100b3a74
push 0
push 0
push 0
push 0
push 0x100d3598
push dword [ebp + 8]
push 1
push dword [ebp + 0x18]
push pe_nt_image_headers32
push 0xf01ff
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100b3a4a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x100b3a68
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 8]
leave
ret