joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009c125
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b15bd
mov eax, dword fs:[0]
push eax
mov eax, 0x8440
call fcn.10087570
mov eax, dword [0x100dd3e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x844c], ecx
mov eax, dword [ebp - 0x844c]
cmp dword [eax + 0x70], 0
je 0x1009c377
and word [ebp - 0x8444], 0
push 0x208
push 0
lea eax, [ebp - 0x8442]
push eax
call fcn.10070ca0
add esp, 0xc
push 0x104
push dword [ebp + 8]
lea eax, [ebp - 0x8444]
push eax
call fcn.10071313
add esp, 0xc
lea eax, [ebp - 0x8444]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x8444]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1009c1ce
push 0
lea eax, [ebp - 0x8444]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.10018d30
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.100378bb
push 0x100c2190
lea ecx, [ebp - 0x10]
call fcn.1003780a
and word [ebp - 0x8234], 0
push 0x208
push 0
lea eax, [ebp - 0x8232]
push eax
call fcn.10070ca0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x8234]
push eax
call fcn.10099c65
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x10]
call fcn.100333d3
push eax
lea eax, [ebp - 0x8234]
push eax
push 0x100c219c
push 0x100c21b4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
and word [ebp - 0x401c], 0
push 0x4002
push 0
lea eax, [ebp - 0x401a]
push eax
call fcn.10070ca0
add esp, 0xc
and word [ebp - 0x8024], 0
push 0x4002
push 0
lea eax, [ebp - 0x8022]
push eax
call fcn.10070ca0
add esp, 0xc
push section.Downlaod
call fcn.1006dfeb
pop ecx
push eax
push section.Downlaod
push 0x2002
lea eax, [ebp - 0x401c]
push eax
call fcn.10099c0f
add esp, 0x10
push 0x100fe008
call fcn.1006dfeb
pop ecx
push eax
push 0x100fe008
push 0x2002
lea eax, [ebp - 0x8024]
push eax
call fcn.10099c0f
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.100333d3
push eax
lea eax, [ebp - 0x8024]
push eax
push 0x100c21c8
push 0x100c21d8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x10]
call fcn.100333d3
push eax
lea eax, [ebp - 0x401c]
push eax
push 0x100c21ec
push 0x100c2200
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x8448]
call fcn.10003a59
mov byte [ebp - 4], 1
push dword [0x10102014]
push 0x100c2214
lea eax, [ebp - 0x8448]
push eax
call fcn.10015cac
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.100333d3
push eax
lea ecx, [ebp - 0x8448]
call fcn.100333d3
push eax
push 0x100c221c
push 0x100c2228
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8448]
call fcn.10003af7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1002c956
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1006e001
leave
ret 4
Function at 0x1009c393
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b15ed
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100dd3e0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x10]
push eax
call fcn.100a9d73
pop ecx
and dword [ebp - 4], 0
push 0x100c212c
lea ecx, [ebp - 0x10]
call fcn.10009cd3
lea ecx, [ebp - 0x10]
call fcn.100333d3
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
and word [ebp - 0x30], 0
xor eax, eax
lea edi, [ebp - 0x2e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x44
call fcn.100333d3
test eax, eax
je 0x1009c46c
mov ecx, dword [ebp - 0x38]
add ecx, 0x44
call fcn.100333d3
mov dword [ebp - 0x3c], eax
push 0
push 0x100c2160
push dword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x14], eax
push 0xa
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x14]
call fcn.1007254a
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.100333d3
push eax
lea eax, [ebp - 0x30]
push eax
push 0x100c2168
push 0x100c2174
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0x16
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.10070ca0
add esp, 0xc
mov dword [ebp - 0x34], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10003af7
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.1006e001
leave
ret
Function at 0x1009ca56
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 4], esp
push dword [ebp + 8]
call fcn.100016cf
call fcn.1009bdb1
add esp, 0x1c
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1009ca86
xor eax, eax
inc eax
jmp 0x1009ca88
xor eax, eax
leave
ret

Function at 0x1009ccad
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push edi
call fcn.1005a94d
movzx eax, al
test eax, eax
je 0x1009ccdc
push section.DLLShare
push str.EntryPoint__g_szCmdline_s
push 0xd2
push 0x100c2a28
call fcn.1005a7dc
add esp, 0x10
push section.DLLShare
call fcn.1006dfeb
pop ecx
test eax, eax
jne 0x1009cd10
call fcn.1005a94d
movzx eax, al
test eax, eax
je 0x1009cd0e
push str.EntryPoint__g_szCmdline_is_empty
push 0xd2
push 0x100c2ad0
call fcn.1005a7dc
add esp, 0xc
jmp 0x1009cd7f
and dword [ebp - 0x60], 0
push 0x40
push 0
lea eax, [ebp - 0x5c]
push eax
call fcn.10070ca0
add esp, 0xc
and dword [ebp - 0x10], 0
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x34], 0x81
and word [ebp - 0x30], 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push section.DLLShare
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1009cd7f
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
leave
ret 0x10
Function at 0x1009d262
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], vtable.Txdl::CServiceLauncher.0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe8], 0
je 0x1009d2c6
mov eax, dword [ebp - 4]
cmp dword [eax + 0x74], 0
je 0x1009d2b1
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.10004aa4
movzx eax, al
test eax, eax
jne 0x1009d2b1
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.10004cdf
push eax
call fcn.100a8e5a
pop ecx
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10004cdf
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
add ecx, 0xcc
call fcn.1000173d
mov ecx, dword [ebp - 4]
add ecx, 0xb0
call fcn.1000173d
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.1000173d
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.1000173d
mov ecx, dword [ebp - 4]
call fcn.100364a2
leave
ret

Function at 0x1009d3e2
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], vtable.Txdl::CQQExternalShellLauncher.0
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.10004aa4
movzx eax, al
test eax, eax
jne 0x1009d437
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.10004cdf
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1009d437
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.10004cdf
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10004aa4
movzx eax, al
test eax, eax
jne 0x1009d461
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.10004cdf
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
add ecx, 0x94
call fcn.1000173d
mov ecx, dword [ebp - 4]
add ecx, 0x78
call fcn.1000173d
mov ecx, dword [ebp - 4]
call fcn.10036294
leave
ret
Function at 0x1009de8b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b22b5
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x100dd3e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x448], ecx
push 0x100c2b30
lea ecx, [ebp - 0x440]
call fcn.100016cf
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x448]
add eax, 4
push eax
lea ecx, [ebp - 0x440]
call fcn.10001768
push 0x100c2b34
lea ecx, [ebp - 0x440]
call fcn.10004c58
push 0x100c2b38
lea ecx, [ebp - 0x440]
call fcn.10004c58
push dword [ebp + 8]
lea ecx, [ebp - 0x440]
call fcn.10004c58
lea ecx, [ebp - 0x440]
call fcn.10004cdf
push eax
push 0x208
push section.DLLShare
call fcn.100714d9
add esp, 0xc
and word [ebp - 0x21c], 0
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.10070ca0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x21c]
push eax
push dword [0x100f9204]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
push 0x100c2b3c
push 0x104
lea eax, [ebp - 0x21c]
push eax
call fcn.10073d36
add esp, 0xc
and word [ebp - 0x424], 0
push 0x206
push 0
lea eax, [ebp - 0x422]
push eax
call fcn.10070ca0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.rundll32.exe
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
push 0
push 0
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.100a66f9
add esp, 0x14
mov dword [ebp - 0x444], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.1000173d
mov eax, dword [ebp - 0x444]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006e001
leave
ret 4
Function at 0x1009eabe
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b2413
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x100dd3e0]
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 0x100c25b8
lea ecx, [ebp - 0x48]
call fcn.100016cf
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x5c]
add eax, 4
push eax
lea ecx, [ebp - 0x48]
call fcn.10001768
push 0x100c25bc
lea ecx, [ebp - 0x48]
call fcn.10004c58
push 0x100c25c0
lea ecx, [ebp - 0x48]
call fcn.10004c58
push dword [ebp + 8]
lea ecx, [ebp - 0x48]
call fcn.10004c58
lea ecx, [ebp - 0x48]
call fcn.10004cdf
push eax
call fcn.1009bf80
pop ecx
test eax, eax
jne 0x1009eb59
and dword [ebp - 0x4c], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.1000173d
mov eax, dword [ebp - 0x4c]
jmp 0x1009ec63
mov ecx, dword [ebp - 0x5c]
call fcn.1009e5ce
test eax, eax
jne 0x1009eb7d
and dword [ebp - 0x50], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.1000173d
mov eax, dword [ebp - 0x50]
jmp 0x1009ec63
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004cdf
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1009ebab
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004cdf
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x100c25c4
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004cdf
push eax
push 0x277f
push dword [0x100f9204]
call fcn.10099d05
add esp, 0x10
test eax, eax
jne 0x1009ebeb
and dword [ebp - 0x54], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.1000173d
mov eax, dword [ebp - 0x54]
jmp 0x1009ec63
push 0x100c25d8
mov eax, dword [ebp - 0x5c]
add eax, 0xcc
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1000a68c
add esp, 0xc
mov byte [ebp - 4], 1
push 0x100c25e8
lea ecx, [ebp - 0x2c]
call fcn.10004cdf
push eax
push 0x451
push dword [0x100f9204]
call fcn.10099d05
add esp, 0x10
mov ecx, dword [ebp - 0x5c]
add ecx, 0x94
call fcn.10004cdf
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.1009c125
mov dword [ebp - 0x58], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.1000173d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.1000173d
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.1006e001
leave
ret 4
Function at 0x1009ec7c
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.10009d16
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x98], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.100333d3
test eax, eax
je 0x1009ecf3
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.100333d3
mov dword [ebp - 0x14], eax
push 0
push 0x100c2590
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call dword [eax + 0x18]
cmp eax, 0x64
jne 0x1009ecf3
mov eax, dword [0x10102014]
dec eax
mov dword [0x10102014], eax
cmp dword [0x10102014], 0xffffffff
jne 0x1009ecf3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x10102018], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.100333d3
test eax, eax
je 0x1009ed30
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.100333d3
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 0x1009ed30
call fcn.10036cfb
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp - 0x10]
push 0x1009aebd
push 0
push 0
call fcn.1007179c
add esp, 0x18
push eax
lea ecx, [ebp - 0xc]
call fcn.10030404
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
add ecx, 0x74
call fcn.10035eec
lea ecx, [ebp - 0xc]
call fcn.10020de1
mov ecx, dword [ebp - 0x10]
add ecx, 0x74
call fcn.100333d3
test eax, eax
je 0x1009eda1
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0x94
call fcn.100333d3
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x98]
jmp 0x1009eda3
xor eax, eax
leave
ret 4
Function at 0x1009eda7
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b2440
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x100dd3e0]
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.10036f56
and dword [ebp - 4], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x3c]
call fcn.10009d16
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 0x1009ee8a
push 0
push 0
lea eax, [ebp - 0x3c]
push eax
push 0x1009b17c
push 0
push 0
call fcn.1007179c
add esp, 0x18
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x1009ee81
push 0x64
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x1009ee4b
jmp 0x1009ee78
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x3c], 1
jne 0x1009ee73
cmp dword [0x100f9200], 0
jne 0x1009ee73
mov ecx, dword [ebp - 0x4c]
call fcn.10099999
test eax, eax
je 0x1009ee73
mov dword [0x100f9200], 1
xor eax, eax
inc eax
jne 0x1009ee33
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.10036f6a
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.1006e001
leave
ret 4
Function at 0x100a121e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], ecx
mov ecx, 0x100f92d8
call fcn.100a747f
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x6c], eax
mov ecx, dword [ebp - 0x14]
call fcn.1009b249
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x40], eax
mov dword [ebp - 4], 1
cmp dword [ebp + 8], 0
je 0x100a1260
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
add ecx, 0x4c
call fcn.10009d16
push dword [ebp - 0x14]
call fcn.10011712
mov ecx, eax
call fcn.1009d484
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x40], 0
jbe 0x100a129e
push 0
push 0
push dword [ebp - 0x14]
push 0x100a11fd
push 0
push 0
call fcn.1007179c
add esp, 0x18
mov dword [ebp - 8], eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100a12d9
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x6c], 0
je 0x100a12b1
mov ecx, 0x100f92d8
call fcn.100a69d6
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 0x100a12d5
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 0x100a12d9
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
leave
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x100dd3e0]
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 0x100a13ae
and dword [ebp - 0x114], 0
mov byte [ebp - 0x110], 0
push 0xff
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.10070ca0
add esp, 0xc
mov dword [ebp - 0x118], pe_nt_image_headers32
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push 0x100c40b4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100a139e
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 0x100a13a5
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.1006e001
leave
ret
Function at 0x100a13bd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x100dd3e0]
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.10070ca0
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 0x100a144f
xor eax, eax
jmp 0x100a14e0
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 0x100a1471
xor eax, eax
jmp 0x100a14e0
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 0x100a1493
xor eax, eax
jmp 0x100a14e0
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x100a14b2
xor eax, eax
jmp 0x100a14e0
push dword [ebp + 8]
push dword [ebp - 0x218]
call fcn.10035f3e
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.1006e001
leave
ret

Function at 0x100a1b15
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 0x100a1a08
push 0
push 0
call fcn.1007179c
add esp, 0x18
push eax
lea ecx, [ebp - 0xc]
call fcn.10030404
push eax
mov ecx, dword [ebp - 0x10]
call fcn.10035eec
lea ecx, [ebp - 0xc]
call fcn.10020de1
mov ecx, dword [ebp - 0x10]
call fcn.100333d3
neg eax
sbb eax, eax
neg eax
leave
ret 8
Function at 0x100a26b9
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 0x100c9af4
push 1
push 0
push 0x100c9ae4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x100a26f6
jmp 0x100a2723
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 0x100a2712
jmp 0x100a2723
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 0x100a2734
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push dword [ebp - 4]
call dword [eax + 8]
cmp dword [ebp - 8], 0
je 0x100a2745
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 0x100a3702
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.10003a2f
cmp eax, 2
jge 0x100a371d
xor eax, eax
jmp 0x100a3780
push 2
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003b97
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.100333d3
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
cmp dword [ebp - 4], 0
ja 0x100a376e
jb 0x100a375d
cmp dword [ebp - 8], 0x6400000
jae 0x100a376e
and dword [ebp - 0x10], 0
lea ecx, [ebp - 0xc]
call fcn.10003af7
mov eax, dword [ebp - 0x10]
jmp 0x100a3780
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0xc]
call fcn.10003af7
mov eax, dword [ebp - 0x14]
pop edi
leave
ret 4