joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009f759
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b4065
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x100e03e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
push 0x100c4920
lea ecx, [ebp - 0x48]
call fcn.100016dd
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x5c]
add eax, 4
push eax
lea ecx, [ebp - 0x48]
call fcn.10001776
push 0x100c4924
lea ecx, [ebp - 0x48]
call fcn.10004c0a
push 0x100c4928
lea ecx, [ebp - 0x48]
call fcn.10004c0a
push dword [ebp + 8]
lea ecx, [ebp - 0x48]
call fcn.10004c0a
lea ecx, [ebp - 0x48]
call fcn.10004c91
push eax
call fcn.1009c74f
pop ecx
test eax, eax
jne 0x1009f7f4
and dword [ebp - 0x4c], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.1000174b
mov eax, dword [ebp - 0x4c]
jmp 0x1009f902
mov ecx, dword [ebp - 0x5c]
call fcn.1009f269
test eax, eax
jne 0x1009f818
and dword [ebp - 0x50], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.1000174b
mov eax, dword [ebp - 0x50]
jmp 0x1009f902
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004c91
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1009f846
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004c91
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x100c492c
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004c91
push eax
push 0x277f
push dword [0x100fc264]
call fcn.1009cd8b
add esp, 0x14
test eax, eax
jne 0x1009f888
and dword [ebp - 0x54], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.1000174b
mov eax, dword [ebp - 0x54]
jmp 0x1009f902
push 0x100c4940
mov eax, dword [ebp - 0x5c]
add eax, 0xcc
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1000a653
add esp, 0xc
mov byte [ebp - 4], 1
push 0
push 0x100c4950
lea ecx, [ebp - 0x2c]
call fcn.10004c91
push eax
push 0x451
push dword [0x100fc264]
call fcn.1009cd8b
add esp, 0x14
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004c91
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.1009c8f4
mov dword [ebp - 0x58], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.1000174b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.1000174b
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006e261
leave
ret 4
Function at 0x1009f91b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x10], ecx
push dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
add ecx, 0x78
call fcn.10009cbc
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x98], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.10030416
test eax, eax
je 0x1009f992
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.10030416
mov dword [ebp - 0x14], eax
push 0
push 0x100c48f8
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call dword [eax + 0x18]
cmp eax, 0x64
jne 0x1009f992
mov eax, dword [0x10105014]
dec eax
mov dword [0x10105014], eax
cmp dword [0x10105014], 0xffffffff
jne 0x1009f992
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x10105018], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.10030416
test eax, eax
je 0x1009f9cf
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.10030416
mov dword [ebp - 0x18], eax
push 0
push str.EnableLsp
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1009f9cf
call fcn.10036dab
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp - 0x10]
push 0x1009b7ef
push 0
push 0
call fcn.10072167
add esp, 0x18
push eax
lea ecx, [ebp - 0xc]
call fcn.10010893
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
add ecx, 0x74
call fcn.10035f33
lea ecx, [ebp - 0xc]
call fcn.10020ea1
mov ecx, dword [ebp - 0x10]
add ecx, 0x74
call fcn.10030416
test eax, eax
je 0x1009fa40
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0x94
call fcn.10030416
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x98]
jmp 0x1009fa42
xor eax, eax
leave
ret 4
Function at 0x1009fa46
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b4092
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x100e03e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 0x3c]
call fcn.10037006
and dword [ebp - 4], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x3c]
call fcn.10009cbc
and dword [ebp - 0x1c], 0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x18], eax
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x20], 0
je 0x1009fb29
push 0
push 0
lea eax, [ebp - 0x3c]
push eax
push 0x1009baae
push 0
push 0
call fcn.10072167
add esp, 0x18
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x1009fb20
push 0x64
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x1009faea
jmp 0x1009fb17
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x3c], 1
jne 0x1009fb12
cmp dword [0x100fc260], 0
jne 0x1009fb12
mov ecx, dword [ebp - 0x4c]
call fcn.1009a34d
test eax, eax
je 0x1009fb12
mov dword [0x100fc260], 1
xor eax, eax
inc eax
jne 0x1009fad2
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x48], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.10016b03
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006e261
leave
ret 4
Function at 0x100a20e5
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], ecx
mov ecx, 0x100fc338
call fcn.100a8565
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x6c], eax
mov ecx, dword [ebp - 0x14]
call fcn.1009bb7b
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x40], eax
mov dword [ebp - 4], 1
cmp dword [ebp + 8], 0
je 0x100a2127
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
add ecx, 0x4c
call fcn.10009cbc
push dword [ebp - 0x14]
call fcn.10011758
mov ecx, eax
call fcn.1009e103
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x40], 0
jbe 0x100a2165
push 0
push 0
push dword [ebp - 0x14]
push 0x100a20c4
push 0
push 0
call fcn.10072167
add esp, 0x18
mov dword [ebp - 8], eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100a21a0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x6c], 0
je 0x100a2178
mov ecx, 0x100fc338
call fcn.100a7abc
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 0x100a219c
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 0x100a21a0
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
leave
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x100e03e0]
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 0x100a2275
and dword [ebp - 0x114], 0
mov byte [ebp - 0x110], 0
push 0xff
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.10070f00
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 0x100c644c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100a2265
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 0x100a226c
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.1006e261
leave
ret
Function at 0x100a2284
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x100e03e0]
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.10070f00
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 0x100a2316
xor eax, eax
jmp 0x100a23a7
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 0x100a2338
xor eax, eax
jmp 0x100a23a7
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 0x100a235a
xor eax, eax
jmp 0x100a23a7
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x100a2379
xor eax, eax
jmp 0x100a23a7
push dword [ebp + 8]
push dword [ebp - 0x218]
call fcn.10035f6a
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.1006e261
leave
ret

Function at 0x100a29dc
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 0x100a28cf
push 0
push 0
call fcn.10072167
add esp, 0x18
push eax
lea ecx, [ebp - 0xc]
call fcn.10010893
push eax
mov ecx, dword [ebp - 0x10]
call fcn.10035f33
lea ecx, [ebp - 0xc]
call fcn.10020ea1
mov ecx, dword [ebp - 0x10]
call fcn.10030416
neg eax
sbb eax, eax
neg eax
leave
ret 8
Function at 0x100a3580
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 0x100cbf54
push 1
push 0
push 0x100cbf44
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x100a35bd
jmp 0x100a35ea
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 0x100a35d9
jmp 0x100a35ea
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 0x100a35fb
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push dword [ebp - 4]
call dword [eax + 8]
cmp dword [ebp - 8], 0
je 0x100a360c
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 0x100a45c9
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.10003a8a
cmp eax, 2
jge 0x100a45e4
xor eax, eax
jmp 0x100a4647
push 2
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003bc2
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.10030416
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
cmp dword [ebp - 4], 0
ja 0x100a4635
jb 0x100a4624
cmp dword [ebp - 8], 0x6400000
jae 0x100a4635
and dword [ebp - 0x10], 0
lea ecx, [ebp - 0xc]
call fcn.10003b22
mov eax, dword [ebp - 0x10]
jmp 0x100a4647
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0xc]
call fcn.10003b22
mov eax, dword [ebp - 0x14]
pop edi
leave
ret 4
Function at 0x100a6b1f
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 0x100a6bd0
push dword [ebp - 4]
call fcn.1006d60e
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 0x100a6bbd
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x100c7bb8
push dword [ebp - 8]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x100a6bbd
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.100701bc
pop ecx
and dword [ebp - 8], 0
xor eax, eax
inc eax
jmp 0x100a6bd2
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
call fcn.100701bc
pop ecx
and dword [ebp - 8], 0
xor eax, eax
leave
ret
Function at 0x100a713c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b3264
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x100e03e0]
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.10070f00
add esp, 0xc
push dword [ebp + 0xc]
lea ecx, [ebp - 0x230]
call fcn.10003ab7
and dword [ebp - 4], 0
push 0
push str._HostInstallPackDir_
lea ecx, [ebp - 0x230]
call fcn.100104c8
test eax, eax
jl 0x100a71d4
push 0x104
lea eax, [ebp - 0x22c]
push eax
push dword [ebp + 0x10]
call fcn.10023c87
add esp, 0xc
jmp 0x100a7218
push 0
push str._HostInstallPackExe_
lea ecx, [ebp - 0x230]
call fcn.100104c8
test eax, eax
jl 0x100a7203
push 0x104
lea eax, [ebp - 0x22c]
push eax
push dword [ebp + 0x10]
call fcn.100241f4
add esp, 0xc
jmp 0x100a7218
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.10003ab7
mov byte [ebp - 4], 1
lea eax, [ebp - 0x238]
push eax
call fcn.100a6cca
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.10030416
push eax
push str.RandomSubPathTag
lea ecx, [ebp - 0x14]
call fcn.100242fe
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x231], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.10003b22
movzx eax, byte [ebp - 0x231]
test eax, eax
je 0x100a72aa
push 0x104
lea ecx, [ebp - 0x14]
call fcn.10030416
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.10071573
add esp, 0xc
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003ab7
mov eax, dword [ebp - 0x23c]
or eax, 1
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.10003b22
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.10003b22
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.1006e261
leave
ret
Function at 0x100a771a
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100e03e0]
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.10070f00
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x100c7ac4
push 0x100c7adc
call fcn.100aae69
add esp, 0xc
test eax, eax
je 0x100a77b4
lea eax, [ebp - 0x218]
push eax
call fcn.1006e24b
pop ecx
test eax, eax
jbe 0x100a77b4
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a77b4
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 0x100a77d3
push 0x100c7b10
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.1006e261
leave
ret

Function at 0x100a77df
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b3978
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x100e03e0]
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 0x100a7817
cmp dword [ebp + 0xc], 0
jne 0x100a781e
xor eax, eax
jmp 0x100a791d
and dword [ebp - 0x6c], 0
push 0x40
push 0
lea eax, [ebp - 0x68]
push eax
call fcn.10070f00
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 0x100c7a34
lea ecx, [ebp - 0x8c]
call fcn.100016dd
and dword [ebp - 4], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x8c]
call fcn.10004c0a
push 0x100c7a38
lea ecx, [ebp - 0x8c]
call fcn.10004c0a
push 0x100c7a3c
lea ecx, [ebp - 0x8c]
call fcn.10004c0a
push dword [ebp + 0xc]
lea ecx, [ebp - 0x8c]
call fcn.10004c0a
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.10004c91
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x100a78ff
cmp dword [ebp + 0x18], 0
je 0x100a78ed
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.1006e261
leave
ret
Function at 0x100a8bcf
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
or dword [ebp - 4], 0xffffffff
cmp dword [0x100fc1e8], 0
je 0x100a8c14
push dword [ebp - 4]
push dword [0x100fc1e8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100a8c01
push 0xffffffffffffffff
push dword [0x100fc1e8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x100fc1e8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x100fc1e8], 0
cmp dword [0x100fc1f0], 0
je 0x100a8c30
push dword [0x100fc1f0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x100fc1f0], 0
leave
ret
Function at 0x100a8d6c
Capabilities:
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b2968
mov eax, dword fs:[0]
push eax
mov eax, 0x822c
call fcn.100877d0
mov eax, dword [0x100e03e0]
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.10070f00
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 0x100c8480
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.10070f00
add esp, 0xc
and word [ebp - 0x822c], 0
push 0x4002
push 0
lea eax, [ebp - 0x822a]
push eax
call fcn.10070f00
add esp, 0xc
lea eax, [ebp - 0x4224]
push eax
push 0x2002
lea eax, [ebp - 0x822c]
push eax
push 0x100c848c
push str.RTData
push 0x100c84a0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x100a8f5c
lea eax, [ebp - 0x4224]
push eax
push 0x2002
lea eax, [ebp - 0x401c]
push eax
push 0x100c84b4
push str.ConfData
push 0x100c84cc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x100a8f5c
lea eax, [ebp - 0x401c]
push eax
call fcn.1006e24b
pop ecx
push eax
lea eax, [ebp - 0x401c]
push eax
lea eax, [ebp - 0x8234]
push eax
call fcn.1009bdf5
add esp, 0xc
and dword [ebp - 4], 0
lea eax, [ebp - 0x822c]
push eax
call fcn.1006e24b
pop ecx
push eax
lea eax, [ebp - 0x822c]
push eax
lea eax, [ebp - 0x8238]
push eax
call fcn.1009bdf5
add esp, 0xc
lea ecx, [ebp - 0x8234]
call fcn.10003a8a
cmp eax, 0x1000
jge 0x100a8f0b
lea ecx, [ebp - 0x8234]
call fcn.10003a8a
push eax
lea ecx, [ebp - 0x8234]
call fcn.10030416
push eax
push section.Downlaod
call fcn.10071573
add esp, 0xc
lea ecx, [ebp - 0x8238]
call fcn.10003a8a
cmp eax, 0x1000
jge 0x100a8f42
lea ecx, [ebp - 0x8238]
call fcn.10003a8a
push eax
lea ecx, [ebp - 0x8238]
call fcn.10030416
push eax
push 0x10101008
call fcn.10071573
add esp, 0xc
lea ecx, [ebp - 0x8238]
call fcn.10003b22
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8234]
call fcn.10003b22
lea eax, [ebp - 0x4224]
push eax
push 0xffff
push str.index
push 0x100c84ec
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x8230], eax
cmp dword [ebp - 0x8230], 0xffff
je 0x100a8f95
mov eax, dword [ebp - 0x8230]
mov dword [0x10105014], 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.1006e261
leave
ret