joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10099df0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
add eax, 0x24
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jne 0x10099ed4
push 0xbb9
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 4
call fcn.100204a0
mov ecx, eax
call fcn.10008fd0
mov dword [ebp - 0xc], eax
push 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 4
call fcn.100204a0
mov ecx, eax
call fcn.10008fd0
mov dword [ebp - 8], eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0xc9
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x1c]
add ecx, 4
call fcn.100204a0
mov ecx, eax
call fcn.1009acb0
push 0x101bb018
mov eax, dword [ebp - 0x1c]
add eax, 0x20
push eax
call fcn.100110d0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x10099ed4
push 0
push 0
mov edx, dword [ebp - 0x1c]
push edx
push 0x10099f30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x28], 0
je 0x10099ed4
push 0x493e0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp + 0x14]
mov dword [edx], 1
push 1
mov ecx, dword [ebp - 0x1c]
call fcn.1009a930
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1009a2d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x10222354]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x50], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0xf4], 0
mov ax, word [0x101bb08c]
mov word [ebp - 0x48], ax
push 0x3e
push 0
lea ecx, [ebp - 0x46]
push ecx
call fcn.10166680
add esp, 0xc
mov dx, word [0x101bb090]
mov word [ebp - 0xf0], dx
push 0x9e
push 0
lea eax, [ebp - 0xee]
push eax
call fcn.10166680
add esp, 0xc
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], ecx
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0
je 0x1009a4d7
mov ecx, dword [ebp - 0xf8]
push ecx
call fcn.10165c5a
add esp, 4
mov dword [ebp - 0x100], eax
mov edx, dword [ebp - 0x100]
mov dword [ebp - 0xf4], edx
mov eax, dword [ebp - 0xf8]
push eax
push 0
mov ecx, dword [ebp - 0xf4]
push ecx
call fcn.10166680
add esp, 0xc
cmp dword [ebp - 0xf4], 0
je 0x1009a4d7
mov edx, dword [ebp - 0xf4]
push edx
mov eax, dword [ebp - 0xf8]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1009a4bc
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0xfc]
push eax
push str.VarFileInfoTranslation
mov ecx, dword [ebp - 0xf4]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1009a4bc
push 0xa0
lea edx, [ebp - 0xf0]
push edx
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax]
and ecx, 0xffff
movzx edx, cx
push edx
call sub.KERNEL32.dll_VerLanguageNameW
test eax, eax
je 0x1009a446
mov eax, dword [ebp + 0x18]
push eax
lea ecx, [ebp - 0xf0]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.101665ac
add esp, 0x10
mov ecx, dword [ebp - 0xfc]
mov edx, dword [ecx]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0xfc]
mov edx, dword [ecx]
and edx, 0xffff
movzx eax, dx
push eax
push str.StringFileInfo_04X_04XFileVersion
lea ecx, [ebp - 0xf0]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0xf0]
push ecx
mov edx, dword [ebp - 0xf4]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1009a4bc
mov eax, dword [ebp + 0x10]
sub eax, 1
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.101665ac
add esp, 0x10
mov ecx, dword [ebp - 0xf4]
mov dword [ebp - 0x104], ecx
mov edx, dword [ebp - 0x104]
push edx
call fcn.101662ff
add esp, 4
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10165d18
mov esp, ebp
pop ebp
ret 0x14
Function at 0x1009b180
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x10222354]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0
push 0x110
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.10166680
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x1009b200
cmp dword [ebp - 0x11c], 5
jae 0x1009b1f4
cmp dword [ebp - 0x11c], 4
jne 0x1009b200
cmp dword [ebp - 0x118], 0x5a
jb 0x1009b200
mov dword [ebp - 0x128], 0
jmp 0x1009b20a
mov dword [ebp - 0x128], 1
mov al, byte [ebp - 0x128]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10165d18
mov esp, ebp
pop ebp
ret

Function at 0x1009b860
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x1009b879
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x1009b881
mov ecx, dword [ebp - 4]
call fcn.1009b940
push 0
push 0
push 0
push 0
push str.IEtb
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x1009b912
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0
je 0x1009b8be
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
push 0
push 0
push 1
mov ecx, dword [ebp - 4]
add ecx, 0x10
call fcn.10007fa0
push eax
mov ecx, dword [ebp - 4]
add ecx, 0xc
call fcn.10007fa0
push eax
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 0x18]
push edx
mov ecx, dword [ebp - 4]
add ecx, 0x14
call fcn.10007fa0
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jne 0x1009b910
xor al, al
jmp 0x1009b933
jmp 0x1009b916
xor al, al
jmp 0x1009b933
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0
je 0x1009b931
push 1
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x1009e1d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019f10b
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x10222354]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x820], ecx
xor eax, eax
mov word [ebp - 0x814], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x812]
push ecx
call fcn.10166680
add esp, 0xc
push 0x400
lea edx, [ebp - 0x814]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push ecx
mov ecx, esp
mov dword [ebp - 0x81c], esp
lea edx, [ebp - 0x814]
push edx
call fcn.1000ba00
mov dword [ebp - 0x824], eax
lea eax, [ebp - 0x818]
push eax
mov ecx, dword [ebp - 0x820]
call fcn.1009e2d0
mov dword [ebp - 0x828], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x818]
call fcn.1000bae0
test eax, eax
je 0x1009e297
push 0
lea ecx, [ebp - 0x818]
call fcn.1000bac0
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x818]
call fcn.1000ba80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10165d18
mov esp, ebp
pop ebp
ret 4
Function at 0x100a3700
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019f658
mov eax, dword fs:[0]
push eax
sub esp, 0x490
mov eax, dword [0x10222354]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x47c]
call fcn.100aa370
mov byte [ebp - 4], 1
push 0x101bc52c
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x48c]
push ecx
call fcn.1008d070
add esp, 0xc
mov dword [ebp - 0x494], eax
mov edx, dword [ebp - 0x494]
mov dword [ebp - 0x498], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x498]
call fcn.10007f90
push eax
lea ecx, [ebp - 0x47c]
call fcn.100aa6a0
mov dword [ebp - 0x480], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48c]
call fcn.1000ba80
cmp dword [ebp - 0x480], 0
je 0x100a38a9
lea ecx, [ebp - 0x47c]
call fcn.100aa5e0
test eax, eax
jne 0x100a3893
lea eax, [ebp - 0x488]
push eax
lea ecx, [ebp - 0x47c]
call fcn.100aa3d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x488]
push ecx
lea ecx, [ebp - 0x484]
call fcn.1000b9e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x484]
call fcn.100a7f00
lea ecx, [ebp - 0x47c]
call fcn.100aa650
test eax, eax
je 0x100a3863
movzx edx, byte [ebp + 0xc]
test edx, edx
jne 0x100a3863
movzx eax, byte [ebp + 0x10]
test eax, eax
jne 0x100a3834
push 0x5c
lea ecx, [ebp - 0x484]
call fcn.1009bd70
push eax
push 0x101bc534
lea ecx, [ebp - 0x484]
call fcn.10007e20
cmp eax, 0xffffffff
jne 0x100a3861
movzx ecx, byte [ebp + 0x10]
push ecx
movzx edx, byte [ebp + 0xc]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x490], esp
lea eax, [ebp - 0x488]
push eax
call fcn.1000b9e0
mov dword [ebp - 0x49c], eax
call fcn.100a3700
add esp, 0xc
jmp 0x100a3875
lea ecx, [ebp - 0x488]
call fcn.10007f90
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x484]
call fcn.1000ba80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x488]
call fcn.1000ba80
lea ecx, [ebp - 0x47c]
call fcn.100aa860
mov dword [ebp - 0x480], eax
jmp 0x100a379b
lea ecx, [ebp - 0x47c]
call fcn.100aa8c0
lea ecx, [ebp + 8]
call fcn.10007f90
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x47c]
call fcn.100aa3b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.1000ba80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10165d18
mov esp, ebp
pop ebp
ret
Function at 0x100a3970
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019f69e
mov eax, dword fs:[0]
push eax
sub esp, 0x4a8
mov eax, dword [0x10222354]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x47c]
call fcn.100aa370
mov byte [ebp - 4], 1
push 0x101bc540
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x4a4]
push ecx
call fcn.1008d070
add esp, 0xc
mov dword [ebp - 0x4a8], eax
mov edx, dword [ebp - 0x4a8]
mov dword [ebp - 0x4ac], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x4ac]
call fcn.10007f90
push eax
lea ecx, [ebp - 0x47c]
call fcn.100aa6a0
mov dword [ebp - 0x480], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4a4]
call fcn.1000ba80
cmp dword [ebp - 0x480], 0
je 0x100a3af2
lea ecx, [ebp - 0x47c]
call fcn.100aa5e0
test eax, eax
jne 0x100a3adc
lea eax, [ebp - 0x494]
push eax
lea ecx, [ebp - 0x47c]
call fcn.100aa5a0
push 0
call fcn.100a3b40
add esp, 4
mov dword [ebp - 0x49c], eax
mov dword [ebp - 0x498], edx
lea ecx, [ebp - 0x494]
push ecx
call fcn.100a3900
add esp, 4
mov dword [ebp - 0x48c], eax
mov dword [ebp - 0x488], edx
mov edx, dword [ebp - 0x48c]
add edx, 0x15180
mov eax, dword [ebp - 0x488]
adc eax, 0
mov dword [ebp - 0x4b4], edx
mov dword [ebp - 0x4b0], eax
mov ecx, dword [ebp - 0x498]
cmp ecx, dword [ebp - 0x4b0]
jl 0x100a3adc
jg 0x100a3aad
mov edx, dword [ebp - 0x49c]
cmp edx, dword [ebp - 0x4b4]
jbe 0x100a3adc
lea eax, [ebp - 0x4a0]
push eax
lea ecx, [ebp - 0x47c]
call fcn.100aa3d0
lea ecx, [ebp - 0x4a0]
call fcn.10007f90
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x4a0]
call fcn.1000ba80
lea ecx, [ebp - 0x47c]
call fcn.100aa860
mov dword [ebp - 0x480], eax
jmp 0x100a3a0b
lea ecx, [ebp - 0x47c]
call fcn.100aa8c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x47c]
call fcn.100aa3b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.1000ba80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10165d18
mov esp, ebp
pop ebp
ret
Function at 0x100a5970
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100a5991
xor eax, eax
jmp 0x100a59ad
push 1
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x100a59c0
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
mov eax, dword [0x10222354]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0xffffffff
jne 0x100a59f3
or eax, 0xffffffff
jmp 0x100a5b3f
mov dword [ebp - 0x238], 0x22c
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x23c]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x100a5a29
mov edx, dword [ebp - 0x23c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
jmp 0x100a5b3f
mov dword [ebp - 0x240], 0xffffffff
mov eax, dword [str.update.exe]
push eax
lea ecx, [ebp - 0x214]
push ecx
call fcn.1016c0f2
add esp, 8
test eax, eax
je 0x100a5a66
mov edx, dword [str.uninstall.exe]
push edx
lea eax, [ebp - 0x214]
push eax
call fcn.1016c0f2
add esp, 8
test eax, eax
jne 0x100a5a6b
jmp 0x100a5b12
cmp dword [ebp - 0x230], 0
jne 0x100a5a79
jmp 0x100a5b12
mov ecx, dword [ebp - 0x230]
push ecx
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0xffffffff
jne 0x100a5a98
jmp 0x100a5b12
mov dword [ebp - 0x668], 0x428
lea edx, [ebp - 0x668]
push edx
mov eax, dword [ebp - 0x240]
push eax
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
jne 0x100a5ac8
mov ecx, dword [ebp - 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100a5b12
lea edx, [ebp - 0x648]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1016c0f2
add esp, 8
test eax, eax
jne 0x100a5aee
mov ecx, dword [ebp - 0x230]
push ecx
call fcn.100a5970
add esp, 4
lea edx, [ebp - 0x668]
push edx
mov eax, dword [ebp - 0x240]
push eax
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x100a5ac8
mov ecx, dword [ebp - 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x23c]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x100a5a29
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10165d18
mov esp, ebp
pop ebp
ret
Function at 0x100a5b50
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x10222354]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov eax, dword [str.update.exe]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1016c0f2
add esp, 8
test eax, eax
je 0x100a5b90
mov edx, dword [str.uninstall.exe]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1016c0f2
add esp, 8
test eax, eax
jne 0x100a5b97
xor eax, eax
jmp 0x100a5cf9
mov dword [ebp - 4], 0
mov dword [ebp - 0x248], 0x22c
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 1
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x100a5cef
cmp dword [ebp + 8], 0
je 0x100a5cdc
lea ecx, [ebp - 0x248]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x100a5cdc
push 0x101bcd10
mov eax, dword [ebp + 8]
push eax
call fcn.10166776
add esp, 8
test eax, eax
je 0x100a5cdc
lea ecx, [ebp - 0x224]
push ecx
call fcn.100aabc0
add esp, 4
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x224]
push eax
call fcn.10166776
add esp, 8
test eax, eax
jne 0x100a5c60
mov ecx, dword [ebp - 0x240]
push ecx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100a5c60
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x248]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x224]
push eax
call fcn.1016c34a
add esp, 8
cmp dword [ebp - 4], 0
je 0x100a5cd4
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x224]
push edx
call fcn.10166776
add esp, 8
test eax, eax
jne 0x100a5cd4
mov eax, dword [ebp - 0x240]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100a5cd4
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
jne 0x100a5c60
jmp 0x100a5ce3
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100a5cf6
mov dword [ebp - 0x10], 0xfffffffe
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10165d18
mov esp, ebp
pop ebp
ret
Function at 0x100a5e40
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x10222354]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x23c], 0xffffffff
mov dword [ebp - 0x238], 0x22c
push 0x228
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.10166680
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0xffffffff
jne 0x100a5e9a
or eax, 0xffffffff
jmp 0x100a5eef
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x23c]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x100a5eb6
or eax, 0xffffffff
jmp 0x100a5eef
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x214]
push ecx
call fcn.1016c0f2
add esp, 8
test eax, eax
jne 0x100a5ed5
mov eax, dword [ebp - 0x230]
jmp 0x100a5eef
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x23c]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x100a5eb6
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10165d18
mov esp, ebp
pop ebp
ret
Function at 0x100a6810
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019fc0d
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x10222354]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], 0
push 1
lea eax, [ebp - 0x10]
push eax
call fcn.100de0f0
add esp, 8
mov dword [ebp - 4], 0
movzx ecx, byte [0x10224a58]
test ecx, ecx
jne 0x100a699a
push 0x101bcdbc
lea ecx, [ebp - 0x10]
call fcn.100240f0
lea edx, [ebp - 0x14]
push edx
call fcn.100e0f60
add esp, 4
mov byte [ebp - 4], 1
push 0x101bcdd0
lea eax, [ebp - 0x14]
push eax
call fcn.100110d0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x100a698c
push 0
push 0x101bcdd4
push 0
lea edx, [ebp - 0x18]
push edx
call fcn.100de0f0
add esp, 8
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x38]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.1008d070
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
call fcn.10007f90
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x1c]
call fcn.1000ba80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.1000ba80
push str.cache_basis.xml
push 0
lea eax, [ebp - 0x20]
push eax
call fcn.100de0f0
add esp, 8
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x44]
push edx
lea eax, [ebp - 0x24]
push eax
call fcn.1008d070
add esp, 0xc
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x10]
call fcn.10007b80
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.1000ba80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.1000ba80
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
lea eax, [ebp - 0x14]
push eax
call fcn.1000b9e0
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x54], ecx
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
lea edx, [ebp - 0x10]
push edx
call fcn.1000b9e0
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 1
call fcn.100a6710
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.1000ba80
jmp 0x100a69d5
lea ecx, [ebp - 0x10]
call fcn.1000bae0
push eax
push 0
push str._bin_
lea ecx, [ebp - 0x10]
call fcn.10007e20
push eax
lea ecx, [ebp - 0x10]
call fcn.100a7db0
push str.projectscab.in.work_
lea ecx, [ebp - 0x10]
call fcn.100240f0
push 0x101bce40
lea ecx, [ebp - 0x10]
call fcn.100240f0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.1000b9e0
mov ecx, dword [ebp - 0x30]
or ecx, 1
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1000ba80
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x100b13b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x100b13b9
xor ecx, ecx
jne 0x100b13b9
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shl eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x100b1400
mov eax, dword [ebp - 0xc]
jmp 0x100b145d
cmp dword [ebp - 4], 1
je 0x100b1413
cmp dword [ebp - 4], 2
je 0x100b1413
mov eax, 0xd
jmp 0x100b145d
cmp dword [ebp + 0xc], 0
je 0x100b1451
cmp dword [ebp - 8], 0
je 0x100b1449
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x100b1440
mov edx, dword [ebp - 8]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x100b1447
mov eax, 0xd
jmp 0x100b145d
jmp 0x100b1451
xor edx, edx
mov eax, dword [ebp + 0xc]
mov word [eax], dx
mov ecx, dword [ebp - 8]
shr ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc