joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52ce10
Capabilities:
Encode data using xor

Disassembly:
jmp 0x52ce15
push 0x8b4157
call fcn.0070a21c
pop eax
push ebx
jns 0x52ce99
pop eax
xor esi, dword [ebp - 0x453d909d]
invalid
pop ecx
mov dl, 0x44
invalid
fldenv [edx - 0x32]
ja 0x52ce77
xor byte [edx + 0x7c], 0x53
mov ecx, 0x8a9977ce
sti
movsb byte es:[edi], byte [esi]
xor byte [esi], dl
mov ah, 0x82
xor dl, byte [esi + edi + 0x59]
adc dl, byte [eax]
shr byte [eax], cl
or eax, 0x1a50ed0c
pop ecx
xchg edx, eax
inc eax
enter 0xffffffffffff8bd1, 0x7a
xchg ebp, eax
xchg dword [edi - 0x63], edx
scasb al, byte es:[edi]
pop ebx
ror byte [edx], 1
sub ebp, dword [esi + 0x23]
pop es
mov ebx, edx
popal
or eax, 0x73cabd8c
frstor dword [esi]
and ah, byte [esi - 0x16]
mov bh, 0x21
and eax, 0x9630ed61
in al, 0x38
pop ds
sbb al, 0xff
rcr al, 0xc3
wait
sub byte [0x71812568], ch
pop ds
pop esp
push edi
std
adc byte [edx + 0x58], 0x53
cdq
or cl, byte [ebx - 0x27c08ea6]
jecxz 0x52cf01
inc dword [eax]
inc eax
test al, 0x7d
adc dl, byte [eax - 0x3333333e]
int3
add byte [eax - 0x58], al
jge 0x52cf19
nop
ret 0xcccc
loop 0x52cf59
sbb dword ds:[edx + 0x4f0ed4cd], edi
sbb dword [edx + 0x4f0ed4cd], edi
sub cl, byte [edi - 0x3a]
push ds
jge 0x52cf1a
dec esp
test dword [ebp - 0x71f0b8dd], esi
pop ds
cmp al, 0x7b
adc al, 0x76
pop eax
jae 0x52cf74
lcall 0xbda8, 0xf630a469
mov bl, byte [ebx - 0x502a7a98]
fisub dword [ecx + 0x52347b75]
fadd dword [ebx - 0x75]
fiadd dword [ecx - 0x37]
invalid
mov byte [ecx + 0x72], bl
cmp al, 0xdb
mov al, byte [0xaabd3a74]
pop ds
sbb al, 0x7f
mov ebp, 0x7f1c1faa
nop
mov byte [0xc0db3c56], al
cwde
dec ebx
bound ecx, qword [esi]
iretd
stosb byte es:[edi], al
aas
pop eax
dec ebp
inc esp
dec esp
add eax, 0x7ee2fdc5
jno 0x52cf61
inc esp
or al, 0x4d
add al, 0xc4
fsub qword [edi]
mov dword [0x4abdc597], eax
mov dword [0x8622d977], eax
push esi
fadd st(7), st(0)
fild word [esp]
pop eax
xchg ebx, eax
popal
sub eax, 0x6a2fd5e8
cmpsd dword [esi], dword es:[edi]
ror dword [ecx], cl
call 0xc4bcc6be
pop esp
pop ss
push ebp
pop ds
mov esp, 0x8148d2cb
ror dword [ebx + 0x22], 1
invalid
Function at 0x52e910
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov byte [ebp - 0x14], 0x30
mov byte [ebp - 0x13], 0x31
mov byte [ebp - 0x12], 0x32
mov byte [ebp - 0x11], 0x33
mov byte [ebp - 0x10], 0x34
mov byte [ebp - 0xf], 0x35
mov byte [ebp - 0xe], 0x36
mov byte [ebp - 0xd], 0x37
mov byte [ebp - 0xc], 0x38
mov byte [ebp - 0xb], 0x39
mov byte [ebp - 0xa], 0x61
mov byte [ebp - 9], 0x62
mov byte [ebp - 8], 0x63
mov byte [ebp - 7], 0x64
mov byte [ebp - 6], 0x65
mov byte [ebp - 5], 0x66
mov eax, dword [ebp + 0xc]
shl eax, 1
cmp eax, dword [ebp + 0x14]
jbe 0x52e96c
or eax, 0xffffffff
jmp 0x52e9b9
jmp 0x52e977
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
jae 0x52e9b7
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
sar ecx, 4
and ecx, 0xf
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp + ecx - 0x14]
mov byte [eax + edx*2], cl
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
and eax, 0xf
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
mov al, byte [ebp + eax - 0x14]
mov byte [edx + ecx*2 + 1], al
jmp 0x52e96e
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x54c6a0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jle 0x54c6db
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x54c6d3
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x54c6dd
inc edx
add eax, 0x28
cmp edx, esi
jl 0x54c6c3
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x54cb50
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0x3c]
movzx ecx, word [edi + eax + 0x14]
add edi, eax
xor edx, edx
xor ebx, ebx
lea esi, [ecx + edi + 0x18]
cmp dx, word [edi + 6]
jb 0x54cb83
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0xc]
mov edx, dword [ebp + 0xc]
push ecx
push edx
push eax
call fcn.0054c990
mov ecx, dword [ebp + 0x10]
add esp, 0xc
cmp ecx, eax
jb 0x54cba4
mov edx, dword [esi + 8]
add edx, eax
cmp ecx, edx
jb 0x54cbb7
movzx eax, word [edi + 6]
inc ebx
add esi, 0x28
cmp ebx, eax
jl 0x54cb80
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
Function at 0x75399d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x774fa4]
jne 0x7539a7
repz ret
jmp fcn.00756ce9

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x7549ee
call fcn.007585cb
mov dword [eax], esi
call fcn.007585b8
push 0x16
pop esi
mov dword [eax], esi
call fcn.00758566
mov eax, esi
jmp 0x754a43
test dword [ebp + 0xc], 0xfffffff9
jne 0x7549d4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x754a1b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.007585de
pop ecx
call fcn.007585b8
mov eax, dword [eax]
jmp 0x754a43
test al, 0x10
jne 0x754a41
test al, 1
je 0x754a41
test byte [ebp + 0xc], 2
je 0x754a41
call fcn.007585cb
mov dword [eax], 5
call fcn.007585b8
mov dword [eax], 0xd
jmp 0x754a12
xor eax, eax
pop esi
pop ebp
ret
Function at 0x75ed78
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x774fa4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00757f17
and dword [ebp - 0x14], 0
cmp dword [0x776ee8], 0
mov dword [ebp - 0x18], eax
jne 0x75ee2b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x75eed3
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x767fe8
push ebx
call edi
test eax, eax
je 0x75eed3
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x767fd8
push ebx
mov dword [0x776ee8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x776eec], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x776ef0], eax
call edi
push eax
call esi
mov dword [0x776ef8], eax
test eax, eax
je 0x75ee2b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x776ef4], eax
mov eax, dword [0x776ef4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x75ee84
cmp dword [0x776ef8], ecx
je 0x75ee84
push eax
call esi
push dword [0x776ef8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x75ee84
test ebx, ebx
je 0x75ee84
call edi
test eax, eax
je 0x75ee7b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x75ee7b
test byte [ebp - 8], 1
jne 0x75ee84
or dword [ebp + 0x10], 0x200000
jmp 0x75eeb7
mov eax, dword [0x776eec]
cmp eax, dword [ebp - 0x18]
je 0x75eeb7
push eax
call esi
test eax, eax
je 0x75eeb7
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x75eeb7
mov eax, dword [0x776ef0]
cmp eax, dword [ebp - 0x18]
je 0x75eeb7
push eax
call esi
test eax, eax
je 0x75eeb7
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x776ee8]
call esi
test eax, eax
je 0x75eed3
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x75eed5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0075399d
leave
ret
Function at 0x760e31
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x776f40], 0
push esi
push edi
jne 0x760da7
call fcn.00760d13
test eax, eax
je 0x760dec
mov eax, dword [0x776f40]
cmp eax, 1
jne 0x760dc8
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x760dec
jmp 0x760e2e
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x760e2e
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x760df0
xor eax, eax
jmp 0x760e2e
mov eax, dword [esi]
push dword [0x776f40]
call edi
mov edi, eax
test edi, edi
je 0x760e12
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x760e2e
lea edi, [esi + 0xff0]
push esi
push dword [0x776f40]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x760e18
mov eax, esi
pop edi
pop esi
ret
jmp 0x760d93
Function at 0x10002efe
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10019090]
jne 0x10002f08
repz ret
jmp fcn.10004547

Function at 0x1000e26f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.100062c7
and dword [ebp - 4], 0
cmp dword [0x1001ad68], 0
mov ebx, eax
jne 0x1000e320
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1000e3d1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1000e3d1
push eax
call fcn.10006255
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1001ad68], eax
call esi
push eax
call fcn.10006255
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1001ad6c], eax
call esi
push eax
call fcn.10006255
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1001ad70], eax
call esi
push eax
call fcn.10006255
pop ecx
mov dword [0x1001ad78], eax
test eax, eax
je 0x1000e320
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10006255
pop ecx
mov dword [0x1001ad74], eax
mov eax, dword [0x1001ad74]
cmp eax, ebx
je 0x1000e378
cmp dword [0x1001ad78], ebx
je 0x1000e378
push eax
call fcn.100062d0
push dword [0x1001ad78]
mov esi, eax
call fcn.100062d0
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1000e378
test edi, edi
je 0x1000e378
call esi
test eax, eax
je 0x1000e36f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1000e36f
test byte [ebp - 0xc], 1
jne 0x1000e378
or dword [ebp + 0x10], 0x200000
jmp 0x1000e3b1
mov eax, dword [0x1001ad6c]
cmp eax, ebx
je 0x1000e3b1
push eax
call fcn.100062d0
pop ecx
test eax, eax
je 0x1000e3b1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1000e3b1
mov eax, dword [0x1001ad70]
cmp eax, ebx
je 0x1000e3b1
push eax
call fcn.100062d0
pop ecx
test eax, eax
je 0x1000e3b1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1001ad68]
call fcn.100062d0
pop ecx
test eax, eax
je 0x1000e3d1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1000e3d3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000f4e0
Capabilities:
Check http status code
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov byte [ebp - 5], 0
push 0
push 0
push 0
push 0
push str.Uniblue
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000f58f
push 0
push 0x80000000
push 0
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1000f585
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 4
push 0
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x10]
push eax
push 0x20000013
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
cmp dword [ebp - 0x10], 0xc8
je 0x1000f56e
cmp dword [ebp - 0x10], 0x12e
je 0x1000f56e
mov dword [ebp - 0x18], 0
jmp 0x1000f575
mov dword [ebp - 0x18], 1
mov dl, byte [ebp - 0x18]
mov byte [ebp - 5], dl
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret 4

Function at 0x1000f610
Capabilities:
Get hostname
Get session user name
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [0x10019090]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0x40
mov dword [ebp - 0xb4], 0x101
xor ecx, ecx
mov eax, dword [ebp - 0xb4]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10002cb6
add esp, 4
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xd0], eax
lea ecx, [ebp - 0xb4]
push ecx
mov edx, dword [ebp - 0xd0]
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov dword [ebp - 0xb8], 0x20
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0xb0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea edx, [ebp - 0xb0]
push edx
mov eax, dword [ebp - 0xd0]
push eax
call fcn.10003b70
add esp, 8
test eax, eax
jne 0x1000f72b
mov dword [ebp - 0xd4], 0x110
push 0x220
call fcn.10002cb6
add esp, 4
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0xcc], ecx
lea edx, [ebp - 0xb0]
push edx
push 0x110
mov eax, dword [ebp - 0xcc]
push eax
call fcn.100037d1
add esp, 0xc
push 0x10017034
push 0x110
mov ecx, dword [ebp - 0xcc]
push ecx
call fcn.10003ba7
add esp, 0xc
mov edx, dword [ebp - 0xd0]
push edx
push 0x110
mov eax, dword [ebp - 0xcc]
push eax
call fcn.10003ba7
add esp, 0xc
jmp 0x1000f737
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 4], 0x44
mov dword [ebp - 8], 0x80
lea edx, [ebp - 0xbc]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x90]
push ecx
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0xc8]
push eax
mov ecx, dword [ebp - 0xcc]
push ecx
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0xc8]
push eax
call sub.ADVAPI32.dll_ConvertSidToStringSidA
mov ecx, dword [ebp - 0xcc]
push ecx
call fcn.10002f0d
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10002efe
mov esp, ebp
pop ebp
ret 4
Function at 0x1000f840
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x10019090]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
push 0
lea eax, [ebp - 0x120]
push eax
call fcn.10003250
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 5
jne 0x1000f892
cmp dword [ebp - 0x118], 1
jae 0x1000f89b
cmp dword [ebp - 0x11c], 5
jbe 0x1000f8a4
mov eax, 1
jmp 0x1000f8a6
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10002efe
mov esp, ebp
pop ebp
ret

Function at 0x1000f8c0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
push 0
push 0x100000
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.10010db0
mov ecx, eax
mov esi, edx
mov eax, dword [ebp + 8]
cdq
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x24]
jb 0x1000f91e
ja 0x1000f915
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x28]
jb 0x1000f91e
mov dword [ebp - 0x2c], 1
jmp 0x1000f925
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x1000f930
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
mov dword [ebp - 0x40], 0x40
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
push 0
push 0x100000
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call fcn.10010db0
mov ecx, eax
mov esi, edx
mov eax, dword [ebp + 8]
cdq
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp - 0x4c]
jb 0x1000f98b
ja 0x1000f982
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x50]
jb 0x1000f98b
mov dword [ebp - 0x54], 1
jmp 0x1000f992
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x54]
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x100100c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x44
call fcn.10002cb6
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
push ecx
call sym.InstallerExtensions.dll_currentUserSid
push 0
lea edx, [ebp - 8]
push edx
push 0
push 0x20206
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ecx, dword [ebp - 4]
push ecx
call fcn.100031c0
add esp, 4
push eax
mov edx, dword [ebp - 4]
push edx
push 1
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 8
Function at 0x10010170
Capabilities:
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0x1000
mov eax, dword [ebp - 4]
push eax
call fcn.10002cb6
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov dword [edx], eax
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
push 0
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x100101d0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.1000ff80
jmp 0x1001023e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x7a
je 0x100101e1
jmp 0x1001022d
mov edx, dword [ebp - 4]
push edx
call fcn.10002cb6
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [ecx], edx
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10010226
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.1000ff80
jmp 0x1001022d
xor eax, eax
jmp 0x10010300
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
xor eax, eax
jmp 0x10010300
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
test eax, eax
je 0x10010266
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.1000ff80
jmp 0x100102f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x7a
je 0x10010280
cmp dword [ebp - 0x20], 0x103
je 0x100102d4
jmp 0x100102e5
mov ecx, dword [ebp - 4]
push ecx
call fcn.10002cb6
add esp, 4
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
test eax, eax
je 0x100102c4
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.1000ff80
jmp 0x100102f3
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
xor eax, eax
jmp 0x10010300
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
mov eax, 1
jmp 0x10010300
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
xor eax, eax
jmp 0x10010300
mov ecx, 1
test ecx, ecx
jne 0x1001023e
mov esp, ebp
pop ebp
ret 4
Function at 0x10010310
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [0x1001ae3c], 0
mov dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x10]
push eax
call fcn.10003336
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10010356
mov ecx, dword [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 0x14]
push edx
call fcn.10003250
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
jmp 0x1001035d
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov dword [edx], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 4], edx
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
push 0x10010000
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
mov esp, ebp
pop ebp
ret 8
Function at 0x100103a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x374
mov eax, dword [0x10019090]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x24c]
push eax
push 0x20219
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInstaller
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x35c], eax
cmp dword [ebp - 0x35c], 0
je 0x100103e7
xor al, al
jmp 0x10010549
mov dword [ebp - 0x254], 0x104
lea ecx, [ebp - 0x254]
push ecx
lea edx, [ebp - 0x248]
push edx
push 0
push 0
push str.InstallerLocation
mov eax, dword [ebp - 0x24c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x24], 0
je 0x10010432
xor al, al
jmp 0x10010549
lea edx, [ebp - 0x248]
push edx
lea ecx, [ebp - 0x40]
call fcn.10001340
lea ecx, [ebp - 0x40]
call fcn.100014d0
movzx eax, al
test eax, eax
je 0x1001046a
mov byte [ebp - 0x365], 0
lea ecx, [ebp - 0x40]
call fcn.100013c0
mov al, byte [ebp - 0x365]
jmp 0x10010549
lea ecx, [ebp - 0x370]
push ecx
lea ecx, [ebp - 0x40]
call fcn.10001430
mov ecx, eax
call fcn.10001520
movzx edx, word [eax]
cmp edx, 0x5c
je 0x10010492
push 0x5c
lea ecx, [ebp - 0x40]
call fcn.100013e0
push 0x100170d8
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.100027b0
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.10001490
mov dword [ebp - 0x364], eax
mov dword [ebp - 0x250], 0x80
push 0
push 0
lea edx, [ebp - 0x250]
push edx
lea eax, [ebp - 0x358]
push eax
mov ecx, dword [ebp - 0x364]
push ecx
call sub.msi.dll_MsiMessageBoxW
mov dword [ebp - 0x360], eax
cmp dword [ebp - 0x360], 0
je 0x1001050b
mov byte [ebp - 0x371], 0
lea ecx, [ebp - 0x20]
call fcn.100013c0
lea ecx, [ebp - 0x40]
call fcn.100013c0
mov al, byte [ebp - 0x371]
jmp 0x10010549
mov edx, dword [ebp - 0x250]
add edx, 1
push edx
lea eax, [ebp - 0x358]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10002b10
add esp, 0x10
mov byte [ebp - 0x372], 1
lea ecx, [ebp - 0x20]
call fcn.100013c0
lea ecx, [ebp - 0x40]
call fcn.100013c0
mov al, byte [ebp - 0x372]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10002efe
mov esp, ebp
pop ebp
ret 8

Function at 0x10010720
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 2
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.10002790
add esp, 0xc
mov byte [ebp - 0x1a], 0
movsx edx, byte [ebp - 0x1c]
cmp edx, 0x5c
jne 0x1001074a
or eax, 0xffffffff
jmp 0x1001079a
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0x1c]
push eax
call fcn.10001260
lea ecx, [ebp - 0x3c]
push ecx
call fcn.10010630
mov ecx, eax
call fcn.10001490
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
lea ecx, [ebp - 0x3c]
call fcn.100013c0
push 0
push 0x100000
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.10010db0
mov esp, ebp
pop ebp
ret 4