joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ee45
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x100c3360]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [0x100c8688], eax
mov eax, dword [ebp + 0x14]
push esi
mov dword [0x100c868c], eax
mov eax, dword [ebp + 0x10]
mov esi, 0x103
xor ebx, ebx
push esi
mov dword [0x100c8690], eax
lea eax, [ebp - 0x107]
push ebx
push eax
mov byte [ebp - 0x108], bl
call fcn.1006de50
push esi
lea eax, [ebp - 0x20b]
push ebx
push eax
mov byte [ebp - 0x20c], bl
call fcn.1006de50
or dword [ebp - 0x210], 0xffffffff
lea eax, [ebp - 0x108]
push eax
call fcn.10018cec
add esp, 0x1c
lea eax, [ebp - 0x210]
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
push eax
push dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push str._u_d_s
push eax
call fcn.1006e944
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
call fcn.1001a41d
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1006d48b
leave
ret
Function at 0x1000ef45
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov dword [0x100c8688], eax
mov eax, dword [ebp + 0x14]
mov dword [0x100c868c], eax
mov eax, dword [ebp + 0x10]
push ebx
push edi
mov dword [0x100c8690], eax
call fcn.1000d2c2
push 0x64
pop edi
push 4
pop ebx
test al, al
jne 0x1000ef99
mov eax, dword [0x100c47a0]
cdq
idiv edi
xor ecx, ecx
lea eax, [edx + 0x141]
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1006c443
push eax
call fcn.1006dc4d
pop ecx
pop ecx
cmp dword [0x100c4f5c], 0
jne 0x1000f0f5
push esi
mov esi, dword [0x100c47a0]
push 0x12
lea ecx, [esi + 1]
lea eax, [esi + 2]
imul eax, ecx
imul eax, esi
cdq
pop ecx
idiv ecx
push 0xf
pop eax
mov dword [ebp + 0xc], eax
cmp edx, eax
jne 0x1000efed
mov eax, esi
cdq
idiv edi
xor ecx, ecx
lea eax, [edx + 0x2f4]
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1006c443
push eax
call fcn.1006dc4d
pop ecx
pop ecx
mov eax, dword [ebp + 0x18]
push 0x1000cb60
push dword [0x100c4f54]
call dword [eax + 0xc]
push dword [0x100c8688]
call fcn.1006c443
pop ecx
mov ecx, dword [0x100c47a0]
mov edx, ecx
imul edx, ecx
imul edx, ecx
mov esi, eax
and edx, 0x8000000f
jns 0x1000f027
dec edx
or edx, 0xfffffff0
inc edx
cmp edx, 0xc
jne 0x1000f042
call fcn.1006daf8
mov ecx, dword [0x100c47a0]
cmp ecx, eax
jne 0x1000f042
dec ecx
mov dword [0x100c47a0], ecx
test esi, esi
je 0x1000f0f4
push dword [0x100c8688]
push 0
push esi
call fcn.1006de50
add esp, 0xc
push esi
call fcn.1001a38f
test eax, eax
jne 0x1000f0ed
call fcn.1001a504
mov ebx, eax
call fcn.1001a504
mov dword [ebp - 4], eax
call fcn.1001a504
mov dword [ebp + 0x10], eax
call fcn.1001a504
mov edi, dword [ebp + 8]
mov dword [ebp + 0x14], eax
mov dword [0x100c4f58], edi
call fcn.10003f3f
test al, al
jne 0x1000f0a0
inc dword [0x100c47a0]
push str.Uninstall
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_FindWindowExA]
mov ecx, dword [0x100c47a0]
mov edi, eax
mov eax, ecx
imul eax, ecx
cdq
idiv dword [ebp + 0xc]
cmp edx, 5
jne 0x1000f0cd
dec ecx
mov dword [0x100c47a0], ecx
test edi, edi
je 0x1000f0da
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 4]
push ebx
push esi
call fcn.10002bf7
add esp, 0x14
push esi
call fcn.1006dc4d
pop ecx
pop esi
pop edi
pop ebx
leave
ret
Function at 0x1000fa5a
Capabilities:
Get common file path

Disassembly:
push 0x114
mov eax, 0x10085bcf
call fcn.1006d55a
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x11c], ebx
call fcn.1000ff66
push 0x1008b54c
mov ecx, esi
call fcn.10001588
push 0x103
xor edi, edi
lea eax, [ebp - 0x113]
push ebx
inc edi
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x11c], edi
mov byte [ebp - 0x114], bl
call fcn.1006de50
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push ebx
push ebx
push 0x1c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x1000faf6
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x118]
call fcn.10001588
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.10002fce
mov ecx, dword [ebp - 0x118]
add ecx, 0xfffffff0
call fcn.10001efd
mov eax, esi
call fcn.1006d509
ret

Function at 0x1000fe35
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x100c3360]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x100c47a0]
push esi
lea edx, [ecx + 2]
lea eax, [ecx + 1]
imul eax, edx
imul eax, ecx
push 0x14
cdq
pop ecx
idiv ecx
and dword [ebp - 0x58], 0
mov esi, dword [ebp + 8]
mov dword [ebp - 0x54], 0x320a475c
mov dword [ebp - 0x50], 0x670a6f0a
mov dword [ebp - 0x4c], 0x650a350a
mov dword [ebp - 0x48], 0x430a370a
mov dword [ebp - 0x44], 0xa300a68
mov dword [ebp - 0x40], 0x336d0a6f
mov dword [ebp - 0x3c], 0x350a5c0a
mov dword [ebp - 0x38], 0xa370a73
mov dword [ebp - 0x34], 0x44200a72
mov dword [ebp - 0x30], 0xa74310a
mov dword [ebp - 0x2c], 0xa0a0a33
mov dword [ebp - 0x28], 0xa0a0a0a
mov dword [ebp - 0x24], 0xa0a0a0a
mov dword [ebp - 0x20], 0xa0a0a0a
mov dword [ebp - 0x1c], 0xa0a0a0a
mov dword [ebp - 0x18], 0xa0a0a0a
mov dword [ebp - 0x14], 0xa0a0a0a
mov dword [ebp - 0x10], 0xa0a0a0a
mov dword [ebp - 0xc], 0xa0a0a0a
mov word [ebp - 8], 0xa0a
mov byte [ebp - 6], 0
cmp edx, 0xb
jne 0x1000ff0a
push 4
call fcn.1006c5c8
pop ecx
mov ecx, eax
mov eax, dword [0x100c47a0]
mov dword [ecx], eax
lea eax, [ebp - 0x54]
push eax
mov ecx, esi
mov byte [ebp - 0x42], 0x72
mov byte [ebp - 0x51], 0x6f
mov byte [ebp - 0x39], 0x55
mov byte [ebp - 0x36], 0x65
mov byte [ebp - 0x2f], 0x61
mov byte [ebp - 0x3d], 0x65
mov byte [ebp - 0x2c], 0x61
mov byte [ebp - 0x4b], 0x6c
mov byte [ebp - 0x47], 0x5c
call fcn.10001588
mov eax, dword [0x100c47a0]
push 0x18
lea ecx, [eax + 1]
imul eax, ecx
cdq
pop ecx
idiv ecx
cmp edx, 9
jne 0x1000ff57
push 0
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1006d48b
leave
ret
Function at 0x10013aed
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push 0x268
mov eax, 0x10086236
call fcn.1006d55a
mov eax, dword [ebp + 8]
mov dword [ebp - 0x268], eax
mov eax, dword [0x100c47a0]
push 0xc
lea ecx, [eax + 1]
imul eax, ecx
cdq
pop ecx
idiv ecx
xor ebx, ebx
mov dword [ebp - 0x26c], ebx
cmp edx, 0xa
jne 0x10013b3e
xor esi, esi
xor eax, eax
inc esi
inc eax
mov edx, 0xbf
dec edx
lea ecx, [eax + esi]
lea esi, [eax]
mov eax, ecx
jns 0x10013b2e
mov dword [0x100c47a0], ecx
push ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x114]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
call fcn.10014da5
test al, al
jne 0x10013b83
mov eax, dword [0x100c47a0]
push 0x64
cdq
pop ecx
idiv ecx
xor ecx, ecx
push 4
lea eax, [edx + 0x7b]
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1006c443
push eax
call fcn.1006dc4d
pop ecx
pop ecx
push 0x1008b988
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.1006eb3a
add esp, 0xc
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x260], ebx
call fcn.100149c2
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10013c79
test byte [ebp - 0x254], 0x10
jne 0x10013bea
cmp byte [ebp + 0x10], 0
jne 0x10013c2a
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x258]
call fcn.10001588
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 1
call fcn.10014d77
mov ecx, dword [ebp - 0x258]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.10001efd
lea eax, [ebp - 0x254]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10013bdb
call fcn.10014dc7
test al, al
jne 0x10013c72
push 0x28
call fcn.1006c443
pop ecx
mov esi, eax
call fcn.1006daf8
add eax, dword [0x100c47a0]
mov dword [esi + ebx*4], eax
inc ebx
cmp ebx, 0xa
jl 0x10013c4f
mov eax, dword [esi + 0x24]
push esi
mov dword [0x100c47a0], eax
call fcn.1006dc4d
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x1008ac08
lea ecx, [ebp - 0x25c]
call fcn.10001588
mov esi, dword [ebp - 0x264]
mov byte [ebp - 4], 2
mov eax, dword [esi]
mov dword [ebp - 0x258], eax
jmp 0x10013cc0
mov eax, dword [eax + 0x10]
lea ecx, [ebp - 0x25c]
push dword [eax - 0xc]
push eax
call fcn.10003d12
lea ecx, [ebp - 0x258]
call fcn.10016308
mov eax, dword [ebp - 0x258]
cmp eax, esi
jne 0x10013c9d
mov eax, dword [ebp - 0x25c]
add eax, 0xfffffff0
push eax
call fcn.100016b6
mov esi, dword [ebp - 0x268]
pop ecx
mov ecx, dword [ebp - 0x25c]
add eax, 0x10
add ecx, 0xfffffff0
mov dword [esi], eax
call fcn.10001efd
lea ecx, [ebp - 0x264]
call fcn.10013924
mov eax, esi
call fcn.1006d509
ret
Function at 0x10013d84
Capabilities:
Get mac address on windows

Disassembly:
push 0x88
mov eax, 0x10086271
call fcn.1006d55a
mov ebx, dword [0x100c47a0]
push 0xa
lea ecx, [ebx + 1]
lea eax, [ebx + 2]
imul eax, ecx
imul eax, ebx
cdq
pop ecx
idiv ecx
mov byte [0x100c5110], 0
mov dword [ebp - 0x80], 0x288
cmp edx, 9
jne 0x10013e05
xor eax, eax
mov dword [ebp - 0x74], eax
lea esi, [ebp - 0x70]
xor edi, edi
and dword [ebp - 0x7c], 0
mov eax, ebx
inc edi
cdq
idiv edi
mov dword [ebp - 0x90], edi
mov edi, dword [ebp - 0x7c]
mov dword [ebp - 0x94], edx
lea ecx, [edi + 1]
mov edi, ecx
cmp edi, 4
jl 0x10013de1
mov edi, dword [ebp - 0x90]
add esi, 4
cmp edi, 4
jl 0x10013dc8
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp eax, 6
jl 0x10013dc6
xor ebx, ebx
push 0x288
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
call fcn.100174f6
mov esi, dword [ebp - 0x8c]
lea eax, [ebp - 0x80]
push eax
push esi
mov dword [ebp - 4], ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x10013e55
push dword [ebp - 0x80]
lea ecx, [ebp - 0x8c]
call fcn.100174f6
mov esi, dword [ebp - 0x8c]
push 0x100c4784
lea ecx, [ebp - 0x7c]
call fcn.10002171
lea eax, [ebp - 0x80]
push eax
push esi
mov byte [ebp - 4], 1
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x10013edf
or edi, 0xffffffff
lea eax, [esi + 0x10c]
push eax
lea ecx, [ebp - 0x74]
call fcn.10001588
push ebx
push str.Virtual
lea ecx, [ebp - 0x74]
call fcn.100035e0
cmp eax, edi
jne 0x10013ece
push ebx
push str.VMWare
lea ecx, [ebp - 0x74]
call fcn.100035e0
cmp eax, edi
jne 0x10013ece
push ebx
push str.VirtualBox
lea ecx, [ebp - 0x74]
call fcn.100035e0
cmp eax, edi
jne 0x10013ece
push ebx
push str.Bluetooth
lea ecx, [ebp - 0x74]
call fcn.100035e0
cmp eax, edi
je 0x10013f00
mov ecx, dword [ebp - 0x74]
mov esi, dword [esi]
lea ecx, [ecx - 0x10]
call fcn.10001efd
test esi, esi
jne 0x10013e77
mov ecx, dword [ebp - 0x7c]
lea ecx, [ecx - 0x10]
call fcn.10001efd
lea ecx, [ebp - 0x8c]
call fcn.10016b67
mov eax, 0x100c5110
call fcn.1006d509
ret
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push str._02X:_02X:_02X:_02X:_02X:_02X
push 0x27
mov esi, 0x100c5110
push esi
call fcn.1006e9c6
mov ecx, dword [ebp - 0x74]
add esp, 0x24
add ecx, 0xfffffff0
call fcn.10001efd
mov ecx, dword [ebp - 0x7c]
add ecx, 0xfffffff0
call fcn.10001efd
lea ecx, [ebp - 0x8c]
call fcn.10016b67
mov eax, esi
jmp 0x10013efa
Function at 0x100142f5
Capabilities:
Query environment variable

Disassembly:
push 0x898
mov eax, 0x10086393
call fcn.1006d55a
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
push str.PATH
mov dword [ebp - 0x8a0], ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x10014425
inc eax
push 0x100c7688
push eax
mov dword [ebp - 0x89c], eax
call fcn.100718a0
pop ecx
mov esi, eax
pop ecx
mov dword [ebp - 0x8a4], esi
mov dword [ebp - 4], ebx
test esi, esi
je 0x10014425
mov ecx, dword [0x100c47a0]
mov eax, ecx
imul eax, ecx
imul eax, ecx
push 0x13
cdq
pop ecx
idiv ecx
cmp edx, 4
jne 0x100143db
xor eax, eax
push 0x880
mov word [ebp - 0x894], ax
lea eax, [ebp - 0x892]
push ebx
push eax
call fcn.1006de50
add esp, 0xc
mov eax, ebx
mov dword [ebp - 0x898], ebx
xor edx, edx
test eax, eax
je 0x100143ba
test edx, edx
je 0x100143ba
lea eax, [ebx + edx]
lea ecx, [ebx + edx]
mov ax, word [ebp + eax*2 - 0x8d6]
inc ax
add ax, word [ebp + ecx*2 - 0x896]
mov word [ebp + ecx*2 - 0x894], ax
mov eax, dword [ebp - 0x898]
inc edx
cmp edx, 0x21
jl 0x1001438c
inc eax
add ebx, 0x21
mov dword [ebp - 0x898], eax
cmp ebx, 0x441
jl 0x1001438a
movsx eax, word [ebp - 0x14]
mov dword [0x100c47a0], eax
push dword [ebp - 0x89c]
push esi
push str.PATH
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ebx, eax
call fcn.10014e11
test al, al
jne 0x10014406
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
push esi
test ebx, ebx
je 0x1001441b
mov ecx, edi
call fcn.10001588
push esi
call fcn.1006c617
pop ecx
jmp 0x10014431
or dword [ebp - 4], 0xffffffff
call fcn.1006c617
pop ecx
push 0x1008ac08
mov ecx, edi
call fcn.10001588
mov eax, edi
call fcn.1006d509
ret
Function at 0x10014533
Capabilities:
Encode data using xor

Disassembly:
push 0x4c
mov eax, 0x10086425
call fcn.1006d55a
mov eax, dword [0x100c5150]
and dword [ebp - 0x58], 0
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
test al, 1
jne 0x1001457f
or eax, 1
mov dword [0x100c5150], eax
and dword [ebp - 4], 0
push str.qo2rn43
mov ecx, 0x100c5138
call fcn.10001027
push 0x10089c03
call fcn.1006c741
or dword [ebp - 4], 0xffffffff
pop ecx
lea eax, [edi + esi]
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.100104f2
push 0x100c5138
push eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 4], 1
call fcn.1001367d
add esp, 0xc
push 3
pop eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], al
call fcn.10001056
mov esi, dword [0x100c47a0]
mov eax, esi
imul eax, esi
and eax, 0x8000000f
jns 0x100145ca
dec eax
or eax, 0xfffffff0
inc eax
cmp eax, 0xc
jne 0x100145f8
xor edx, edx
push 8
mov ecx, edx
pop edi
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, esi
sar ecx, 1
xor ecx, eax
dec edi
jne 0x100145d6
add esi, ecx
inc edx
cmp edx, 0x100
jl 0x100145d1
mov dword [0x100c47a0], esi
cmp dword [ebp - 0x24], 0x10
lea ecx, [ebp - 0x20]
push ecx
push dword [ebp - 0x28]
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push eax
call fcn.1001a5c0
mov esi, dword [0x100c47a0]
add esp, 0xc
lea ecx, [esi + 2]
lea eax, [esi + 1]
imul eax, ecx
imul eax, esi
push 0x16
pop ecx
cdq
idiv ecx
push 2
pop edi
cmp edx, 8
jne 0x10014684
test esi, esi
je 0x10014684
push 3
pop ecx
mov eax, esi
and eax, 0x80000001
jns 0x10014648
dec eax
or eax, 0xfffffffe
inc eax
jne 0x10014655
mov eax, esi
cdq
sub eax, edx
mov esi, eax
sar esi, 1
jmp 0x1001465c
lea esi, [esi*2 + 1]
mov eax, esi
cdq
idiv ecx
mov dword [0x100c47a0], esi
sub edx, 0
je 0x10014675
sub edx, edi
je 0x10014677
dec edx
je 0x10014678
jmp 0x10014680
add esi, edi
inc esi
add esi, edi
mov dword [0x100c47a0], esi
test esi, esi
jne 0x1001463a
push 0x10
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.10001a43
add esp, 0xc
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x54]
mov eax, dword [eax - 0xc]
sub eax, edi
push eax
push ebx
mov byte [ebp - 4], 4
call fcn.10008af5
mov ecx, dword [ebp - 0x54]
add ecx, 0xfffffff0
call fcn.10001efd
lea ecx, [ebp - 0x38]
call fcn.10001056
mov eax, ebx
call fcn.1006d509
ret
Function at 0x10014e33
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x35c
mov eax, dword [0x100c3360]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x354], eax
mov eax, dword [ebp + 0xc]
push 0x1008b354
push eax
mov dword [ebp - 0x35c], ecx
call fcn.100705bb
mov ebx, eax
pop ecx
pop ecx
mov dword [ebp - 0x358], ebx
test ebx, ebx
jne 0x10014e7d
push 2
pop eax
jmp 0x10014f5c
push esi
push edi
push 2
xor edi, edi
push edi
push ebx
call fcn.10070913
push ebx
call fcn.10070ceb
mov esi, eax
push esi
call fcn.1006e015
push edi
push edi
push dword [ebp - 0x358]
mov ebx, eax
call fcn.10070913
push dword [ebp - 0x358]
push esi
push 1
push ebx
call fcn.100707d8
push dword [ebp - 0x358]
call fcn.10070480
push esi
push ebx
push dword [ebp - 0x354]
call fcn.10014f69
add esp, 0x40
push ebx
call fcn.100157e9
pop ecx
mov dword [ebp - 0x354], eax
test eax, eax
jne 0x10014f1f
call fcn.10015010
test al, al
jne 0x10014f0f
mov ecx, dword [0x100c47a0]
mov eax, dword [ebp + edi*4 - 0x350]
imul eax, eax, 0xdf
add ecx, eax
inc edi
cmp edi, 0x34c
jb 0x10014ef1
mov dword [0x100c47a0], ecx
test ebx, ebx
je 0x10014f1a
push ebx
call fcn.1006e57a
pop ecx
push 8
pop eax
jmp 0x10014f5a
push str.Install
push eax
call fcn.100156b7
pop ecx
pop ecx
test eax, eax
je 0x10014f4a
push dword [ebp - 0x35c]
call eax
push dword [ebp - 0x354]
mov esi, eax
call fcn.10015619
pop ecx
mov eax, esi
jmp 0x10014f5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xc
test eax, eax
pop ecx
cmovne ecx, eax
mov eax, ecx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1006d48b
leave
ret
Function at 0x1001659c
Capabilities:
Acquire debug privileges
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100c3360]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
mov esi, ecx
push edi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov eax, dword [0x100c47a0]
push 0xf
lea ecx, [eax + 1]
imul eax, ecx
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x18], ebx
cmp edx, 9
jne 0x100165eb
push 4
call fcn.1006c5c8
pop ecx
mov ecx, eax
mov eax, dword [0x100c47a0]
mov dword [ecx], eax
lea eax, [ebp - 0x18]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1001664b
lea eax, [ebp - 0x20]
push eax
push str.SeDebugPrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x1001664b
mov eax, dword [ebp - 0x20]
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
push ebx
push ebx
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x1001664b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.Kernel32
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 4], eax
test eax, eax
je 0x10016693
push 0x1008bb28
push eax
call edi
push 0x1008bb44
push dword [esi + 4]
mov dword [esi + 8], eax
call edi
push 0x1008bb54
push dword [esi + 4]
mov dword [esi + 0xc], eax
call edi
mov dword [esi + 0x10], eax
xor eax, eax
cmp dword [esi + 8], eax
je 0x100166a4
cmp dword [esi + 0xc], eax
je 0x100166a4
cmp dword [esi + 0x10], eax
jne 0x100166e8
cmp dword [esi + 4], eax
je 0x100166e8
push str.ntdll.dll
call ebx
mov dword [esi], eax
test eax, eax
je 0x100166e8
push str.ZwQuerySystemInformation
push eax
call edi
push 0x1008bb8c
push dword [esi + 4]
mov dword [esi + 0x14], eax
call edi
push 0x1008bb9c
push dword [esi + 4]
mov dword [esi + 0x18], eax
call edi
push 0x1008bba8
push dword [esi + 4]
mov dword [esi + 0x1c], eax
call edi
mov dword [esi + 0x20], eax
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006d48b
leave
ret
Function at 0x10016759
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
mov eax, ecx
push esi
lea ecx, [ebp - 4]
push ecx
push dword [ebp + 8]
mov ecx, eax
mov dword [ebp - 8], eax
call fcn.1001671a
mov esi, eax
test esi, esi
jne 0x10016780
xor al, al
jmp 0x100167e9
push ebx
push edi
xor ebx, ebx
push dword [ebp - 4]
inc ebx
push 0x100168e5
call dword [sym.imp.USER32.dll_EnumWindows]
push 0x1f4
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100167b0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, eax
jmp 0x100167b3
xor edi, edi
inc edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 5
jge 0x100167df
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.1001671a
mov esi, eax
test esi, esi
jne 0x10016784
xor eax, eax
cmp edi, 1
pop edi
sete al
pop ebx
pop esi
leave
ret 4
Function at 0x10018253
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 0x2001f
xor ebx, ebx
push ebx
push str.Software
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100182ab
push esi
push 5
push str.tempo
push 1
mov esi, str.Tempo
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
test eax, eax
jne 0x100182a1
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov bl, 1
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x100188d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
call fcn.100189d8
cmp ebx, 0xffffffff
je 0x100188f5
test bl, 0x10
je 0x100188f5
xor eax, eax
inc eax
jmp 0x100188f7
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x10018cec
Capabilities:
Get disk size
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
call fcn.10018e72
xor edi, edi
test al, al
jne 0x10018d0b
push edi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov esi, dword [0x100c47a0]
push 0x11
lea ecx, [esi + 1]
mov eax, ecx
imul eax, esi
cdq
pop ebx
idiv ebx
push ebx
mov dword [ebp - 4], 4
cmp edx, 0xb
cmove esi, ecx
mov dword [0x100c47a0], esi
call fcn.1006e015
mov dword [ebp - 0xc], eax
mov dword [esp], 0x288
call fcn.1006e015
mov ebx, eax
pop ecx
lea eax, [ebp - 4]
push eax
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x10018da1
push dword [ebp - 4]
call fcn.1006e015
pop ecx
mov ebx, eax
call fcn.10018ebe
test al, al
jne 0x10018da1
push 0x28
call fcn.1006c443
mov esi, edi
pop ecx
mov dword [ebp - 8], eax
mov edi, eax
call fcn.1006daf8
add eax, dword [0x100c47a0]
mov dword [edi + esi*4], eax
inc esi
cmp esi, 0xa
jl 0x10018d7c
mov eax, dword [edi + 0x24]
push edi
mov dword [0x100c47a0], eax
call fcn.1006dc4d
pop ecx
xor edi, edi
lea eax, [ebp - 4]
push eax
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x10018e66
call fcn.1000d2c2
test al, al
jne 0x10018de9
push 0x28
call fcn.1006c443
pop ecx
mov esi, eax
call fcn.1006daf8
add eax, dword [0x100c47a0]
mov dword [esi + edi*4], eax
inc edi
cmp edi, 0xa
jl 0x10018dc6
mov eax, dword [esi + 0x24]
push esi
mov dword [0x100c47a0], eax
call fcn.1006dc4d
pop ecx
mov edi, dword [ebp - 0xc]
mov esi, ebx
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push str._02X:_02X:_02X:_02X:_02X:_02X
push edi
call fcn.1006e944
push edi
lea eax, [esi + 0x1b0]
push eax
push str.Address:__s__mac:__s_n
call fcn.1006dc67
push edi
push dword [ebp + 8]
call fcn.1006df00
push 0x1008b654
call fcn.1006dc67
mov esi, dword [esi]
add esp, 0x38
test esi, esi
jne 0x10018dee
call fcn.10018e96
test al, al
jne 0x10018e66
dec dword [0x100c47a0]
push ebx
call fcn.1006e57a
pop ecx
pop edi
pop esi
pop ebx
leave
ret