joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10043450
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x18]
xor bl, bl
mov dword [ebp - 0x440], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x450], eax
mov eax, dword [ebp + 0x14]
push 0x410
mov dword [ebp - 0x458], eax
lea eax, [ebp - 0x43c]
push 0
push eax
mov dword [ebp - 0x444], 0
call fcn.102134e7
mov edi, dword [ebp + 0x1c]
add esp, 0xc
mov dword [ebp - 0x448], 1
mov dword [ebp - 0x454], 0x410
test esi, esi
je 0x100434ca
test edi, edi
je 0x100434ca
xor eax, eax
mov word [esi], ax
movzx eax, byte [ebp + 8]
xor eax, 1
shl eax, 8
add eax, 0x20119
mov dword [ebp - 0x44c], eax
mov eax, dword [0x10255438]
test eax, eax
jne 0x100434f2
call fcn.1003be40
mov dword [0x10255438], eax
cmp dword [eax + 0x140], 2
jne 0x10043544
mov eax, dword [0x10255438]
test eax, eax
jne 0x1004350e
call fcn.1003be40
mov dword [0x10255438], eax
cmp dword [eax + 0x140], 2
jne 0x1004351f
mov eax, dword [eax + 0xd0]
jmp 0x10043521
xor eax, eax
test eax, eax
je 0x10043544
lea ecx, [ebp - 0x444]
push ecx
push dword [ebp - 0x44c]
push 0
push dword [ebp - 0x450]
push dword [ebp - 0x440]
call eax
jmp 0x10043565
lea eax, [ebp - 0x444]
push eax
push dword [ebp - 0x44c]
push 0
push dword [ebp - 0x450]
push dword [ebp - 0x440]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10043674
mov eax, dword [ebp - 0x444]
mov dword [ebp - 0x440], eax
mov eax, dword [0x10255438]
test eax, eax
jne 0x1004358c
call fcn.1003be40
mov dword [0x10255438], eax
cmp dword [eax + 0x140], 2
jne 0x100435e6
mov eax, dword [0x10255438]
test eax, eax
jne 0x100435a8
call fcn.1003be40
mov dword [0x10255438], eax
cmp dword [eax + 0x140], 2
jne 0x100435b9
mov eax, dword [eax + 0x110]
jmp 0x100435bb
xor eax, eax
test eax, eax
je 0x100435e6
lea ecx, [ebp - 0x454]
push ecx
lea ecx, [ebp - 0x43c]
push ecx
lea ecx, [ebp - 0x448]
push ecx
push 0
push dword [ebp - 0x458]
push dword [ebp - 0x440]
call eax
jmp 0x1004360f
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x448]
push eax
push 0
push dword [ebp - 0x458]
push dword [ebp - 0x440]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 0xea
jne 0x1004361a
mov bl, 1
jmp 0x10043669
test eax, eax
jne 0x10043669
mov bl, 1
test esi, esi
je 0x10043669
test edi, edi
je 0x10043669
mov eax, dword [ebp - 0x448]
cmp eax, 1
je 0x1004365b
cmp eax, 2
je 0x1004365b
cmp eax, 4
jne 0x10043669
push dword [ebp - 0x43c]
lea eax, [ebp - 0x2c]
push 0x1021d004
push 0x14
push eax
call fcn.1000bd10
add esp, 0x10
lea eax, [ebp - 0x2c]
jmp 0x10043661
lea eax, [ebp - 0x43c]
push eax
push edi
push esi
call fcn.100290b0
push dword [ebp - 0x444]
call fcn.10034a70
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10212f74
mov esp, ebp
pop ebp
ret
Function at 0x100437a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
push 0x208
push 0
push eax
call fcn.102134e7
lea eax, [ebp - 0x214]
mov dword [ebp - 0x210], 0
push eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x214], 0
push eax
xor edi, edi
push esi
push edi
call fcn.10059900
add esp, 0x1c
test eax, eax
je 0x100438a7
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x214]
push dword [ebp - 0x210]
call fcn.1005a370
add esp, 0xc
test eax, eax
je 0x10043887
mov eax, dword [0x10255438]
test eax, eax
jne 0x10043833
call fcn.1003be40
mov dword [0x10255438], eax
cmp dword [eax + 0x140], 2
jne 0x10043871
mov eax, dword [0x10255438]
test eax, eax
jne 0x1004384f
call fcn.1003be40
mov dword [0x10255438], eax
cmp dword [eax + 0x140], 2
jne 0x10043860
mov eax, dword [eax + 0x88]
jmp 0x10043862
xor eax, eax
test eax, eax
je 0x10043871
lea ecx, [ebp - 0x20c]
push ecx
call eax
jmp 0x1004387e
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10043887
mov edi, 1
mov eax, dword [ebp - 0x210]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
test eax, eax
je 0x1004389a
push eax
call esi
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x100438a7
push eax
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.10212f74
mov esp, ebp
pop ebp
ret
Function at 0x100468d0
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0xf003f
xor edi, edi
mov dword [ebp - 0x24], eax
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x1004695c
push 0xf01ff
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x10046955
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x1004694e
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
je 0x10046930
cmp eax, 0x20
jne 0x1004694e
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov ecx, dword [ebp - 0x24]
call fcn.10135b60
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10212f74
mov esp, ebp
pop ebp
ret
Function at 0x10050140
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x10050171
lea ecx, [ecx]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x10050160
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x10058d40
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10058f60
add esp, 0xc
test eax, eax
js 0x10058f52
mov eax, dword [esi + 0xf0]
push ebx
push edi
xor ebx, ebx
lea edi, [eax*4]
test edi, edi
jle 0x10058dc9
mov eax, dword [ebp + 0x10]
lea esi, [esi + edi*4]
add esi, 8
add eax, 8
nop
mov edx, dword [eax - 8]
lea eax, [eax + 0x10]
mov ecx, dword [esi - 8]
lea esi, [esi - 0x10]
mov dword [eax - 0x18], ecx
add ebx, 4
mov ecx, dword [esi + 0xc]
sub edi, 4
mov dword [esi + 8], edx
mov edx, dword [eax - 0x14]
mov dword [eax - 0x14], ecx
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc], edx
mov edx, dword [eax - 0x10]
mov dword [eax - 0x10], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x10], edx
mov edx, dword [eax - 0xc]
mov dword [eax - 0xc], ecx
mov dword [esi + 0x14], edx
cmp ebx, edi
jl 0x10058d80
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 0xf0]
mov ebx, 1
cmp eax, ebx
jle 0x10058f4e
lea edi, [esi + 4]
lea esp, [esp]
movzx eax, byte [edi + 0xd]
lea edi, [edi + 0x10]
mov edx, dword [edi - 4]
inc ebx
movzx ecx, byte [eax*4 + 0x1021f098]
mov eax, edx
shr eax, 0x18
mov ecx, dword [ecx*4 + 0x10220498]
movzx eax, byte [eax*4 + 0x1021f098]
xor ecx, dword [eax*4 + 0x1021fc98]
movzx eax, byte [edi - 2]
movzx eax, byte [eax*4 + 0x1021f098]
xor ecx, dword [eax*4 + 0x10220098]
movzx eax, dl
mov edx, dword [edi]
movzx eax, byte [eax*4 + 0x1021f098]
xor ecx, dword [eax*4 + 0x10220898]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [edi - 4], ecx
movzx ecx, byte [eax*4 + 0x1021f098]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x10220098]
movzx eax, byte [eax*4 + 0x1021f098]
xor ecx, dword [eax*4 + 0x10220498]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x1021f098]
xor ecx, dword [eax*4 + 0x1021fc98]
movzx eax, dl
mov edx, dword [edi + 4]
movzx eax, byte [eax*4 + 0x1021f098]
xor ecx, dword [eax*4 + 0x10220898]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [edi], ecx
movzx ecx, byte [eax*4 + 0x1021f098]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x10220098]
movzx eax, byte [eax*4 + 0x1021f098]
xor ecx, dword [eax*4 + 0x10220498]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x1021f098]
xor ecx, dword [eax*4 + 0x1021fc98]
movzx eax, dl
mov edx, dword [edi + 8]
movzx eax, byte [eax*4 + 0x1021f098]
xor ecx, dword [eax*4 + 0x10220898]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [edi + 4], ecx
movzx ecx, byte [eax*4 + 0x1021f098]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x10220098]
movzx eax, byte [eax*4 + 0x1021f098]
xor ecx, dword [eax*4 + 0x10220498]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x1021f098]
xor ecx, dword [eax*4 + 0x1021fc98]
movzx eax, dl
movzx eax, byte [eax*4 + 0x1021f098]
xor ecx, dword [eax*4 + 0x10220898]
mov dword [edi + 8], ecx
cmp ebx, dword [esi + 0xf0]
jl 0x10058de0
pop edi
xor eax, eax
pop ebx
pop esi
pop ebp
ret
Function at 0x10059720
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.360safe
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.102134e7
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.102134e7
push 0
push 0x104
lea eax, [ebp - 0x414]
mov dword [ebp - 0x428], str.WinSockLSPIFSL.reg
push eax
push dword [0x10256b30]
mov dword [ebp - 0x424], str.WinSockLSP.reg
mov dword [ebp - 0x420], str.360.log
mov dword [ebp - 0x41c], str.360ss.dat
mov dword [ebp - 0x418], str.360ss2.dat
call fcn.100e53d0
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0x28
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor esi, esi
lea ecx, [ecx]
push dword [ebp + esi*4 - 0x428]
lea eax, [ebp - 0x414]
push eax
push 0x1021c6b4
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.1000bd10
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
jne 0x10059810
push 4
push eax
lea eax, [ebp - 0x20c]
push eax
call edi
inc esi
cmp esi, 5
jb 0x100597d0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10212f74
mov esp, ebp
pop ebp
ret
Function at 0x1005a0f0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1005a168
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 1
push eax
push 0x10220ebc
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 2
push eax
push 0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret
Function at 0x1005a180
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x8c]
push eax
push ecx
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x9c], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x1005a356
push eax
call fcn.102135a7
mov esi, eax
add esp, 4
test esi, esi
je 0x1005a356
push esi
push dword [ebp - 0xa0]
push 0
push dword [ebp - 0xa4]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1005a336
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x98]
push eax
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1005a336
cmp dword [ebp - 0x90], 0
je 0x1005a2ab
mov ecx, dword [ebp - 0x98]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push str.StringFileInfo_04x_04xFileDescription
lea eax, [ebp - 0x84]
push 0x40
push eax
call fcn.1000bd10
add esp, 0x14
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x84]
push eax
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1005a2ab
push dword [ebp - 0x88]
push 0x10219ee4
push dword [ebp - 0x94]
push dword [ebp - 0x90]
call fcn.1000bd10
mov eax, dword [ebp - 0x90]
add esp, 0x10
mov ecx, dword [ebp - 0x94]
xor edx, edx
mov word [eax + ecx*2 - 2], dx
test edi, edi
je 0x1005a32c
mov ecx, dword [ebp - 0x98]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push str.StringFileInfo_04x_04xCompanyName
lea eax, [ebp - 0x84]
push 0x40
push eax
call fcn.1000bd10
add esp, 0x14
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x84]
push eax
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x1005a310
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x88]
push eax
push str.StringFileInfo040904E4CompanyName
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1005a32c
push dword [ebp - 0x88]
push 0x10219ee4
push ebx
push edi
call fcn.1000bd10
add esp, 0x10
xor eax, eax
mov word [edi + ebx*2 - 2], ax
mov dword [ebp - 0x9c], 1
push esi
call fcn.10213559
mov eax, dword [ebp - 0x9c]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10212f74
mov esp, ebp
pop ebp
ret
Function at 0x10061dd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x424]
push 0xf013f
push eax
lea eax, [ebp - 0x404]
mov dword [ebp - 0x424], 0x400
push eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0x420], 3
push eax
push esi
push dword [0x1024e350]
xor bl, bl
push SysReAllocString
call fcn.10003510
test eax, eax
jne 0x10061ef0
push eax
push 0x10219d7c
lea ecx, [ebp - 0x41c]
mov dword [ebp - 0x40c], eax
mov dword [ebp - 0x408], 7
mov word [ebp - 0x41c], ax
call fcn.10008240
cmp dword [ebp - 0x420], 3
jne 0x10061f02
mov ecx, dword [ebp - 0x424]
test ecx, ecx
je 0x10061f02
cmp byte [ebp - 0x404], bl
je 0x10061f02
mov al, byte [ebp - 0x3fc]
test al, 0xc
je 0x10061eb4
and al, 3
push ecx
mov byte [ebp - 0x3fc], al
lea eax, [ebp - 0x404]
push eax
push 3
push esi
push dword [0x1024e350]
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
jne 0x10061eb4
mov bl, 1
mov edx, dword [ebp - 0x408]
cmp edx, 8
jb 0x10061ef0
mov ecx, dword [ebp - 0x41c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10061ee6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10061f34
push edx
push ecx
call fcn.102134ff
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.10212f74
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x408]
cmp edx, 8
jb 0x10061ef0
mov ecx, dword [ebp - 0x41c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10061ee6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10061ee6
call fcn.10200ab0
int3

Function at 0x10065ed0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
push esi
jb 0x10065f1f
call fcn.10065f40
add esp, 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret
call fcn.10066280
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop esi
call fcn.10212f74
mov esp, ebp
pop ebp
ret
Function at 0x10066eb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea ecx, [ebp - 0x22d]
call fcn.1013ac20
lea eax, [ebp - 0x234]
mov dword [ebp - 0x234], 0
push eax
push 0x10221230
push 0x17
push 0
push 0x10221220
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [ebp - 0x234]
mov esi, eax
mov dword [ebp - 0x238], 0
test ecx, ecx
je 0x10067041
mov eax, dword [ecx]
push 1
push ecx
call dword [eax + 0x14]
mov esi, eax
test esi, esi
jne 0x10067031
mov eax, dword [ebp - 0x234]
lea edx, [ebp - 0x238]
push edx
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov esi, eax
test esi, esi
jne 0x10067031
push edi
push 0x190
push eax
mov dword [ebp - 0x23c], eax
lea edi, [ebp - 0x20c]
lea eax, [ebp - 0x194]
mov ecx, 0x1e
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.102134e7
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x23c]
add esp, 0xc
push 4
push eax
push 4
push str.NoInternetIcon
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call esi
push 4
lea eax, [ebp - 0x23c]
push eax
push 4
push str.NoInternetIcon
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x238]
call esi
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x10221210]
lea edx, [ebp - 0x22c]
mov dword [ebp - 0x22c], eax
mov eax, dword [0x10221214]
mov dword [ebp - 0x228], eax
mov eax, dword [0x10221218]
mov dword [ebp - 0x224], eax
mov eax, dword [0x1022121c]
push edx
mov dword [ebp - 0x220], eax
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 0x234]
push edx
push 1
mov dword [ebp - 0x21c], 0x35378eac
mov dword [ebp - 0x218], 0x11d2683f
mov dword [ebp - 0x214], 0xc0009aa8
mov dword [ebp - 0x210], 0xa2cfbb4f
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x1c]
mov esi, eax
pop edi
mov eax, dword [ebp - 0x234]
test eax, eax
je 0x10067041
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x22d]
call fcn.1013ac40
mov ecx, dword [ebp - 4]
test esi, esi
pop esi
sete al
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret

Function at 0x10067060
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x102568fc]
test eax, eax
jne 0x100670c9
cmp dword [0x10256900], eax
jne 0x100670ea
push 0x118
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.102134e7
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x118]
mov dword [0x102568fc], eax
mov dword [0x10256900], ecx
jmp 0x100670cf
mov ecx, dword [0x10256900]
cmp eax, 6
jb 0x100670ea
jne 0x100670da
test ecx, ecx
je 0x100670ea
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret
Function at 0x10067830
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20a]
push 0x206
push 0
push eax
call fcn.102134e7
add esp, 0xc
xor eax, eax
mov word [ebp - 0x20c], ax
push eax
push 0x26
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x1006789f
lea ecx, [ebp - 0x20c]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
lea edx, [ecx + 2]
mov word [edi], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10067892
jmp 0x100678eb
push str.Internet_Explorer
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.iexplore.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
xor eax, eax
mov dword [edi + 0x10], 0
lea ecx, [ebp - 0x20c]
mov dword [edi + 0x14], 7
mov word [edi], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100678e0
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.10008240
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.10212f74
mov esp, ebp
pop ebp
ret 4

Function at 0x10067bb0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.102134e7
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
mov ecx, dword [ebp - 4]
setae al
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret
Function at 0x10068130
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
mov ecx, esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x218], esi
lea edx, [ecx + 2]
mov dword [ebp - 0x214], eax
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10068170
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
push 1
push 0x10219d7c
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.102134e7
lea edx, [ebp - 0x20c]
add esp, 0xc
mov ecx, ebx
sub edx, ebx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x100681b3
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x100681d0
mov ecx, 7
mov esi, str.opencommand
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x214]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100681f3
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
push 1
push 0x10219d7c
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call edi
push dword [ebp - 0x218]
lea eax, [ebp - 0x20c]
push ebx
push str._s_scommand
push 0x104
push eax
call fcn.10068700
mov ecx, esi
add esp, 0x14
lea edx, [ecx + 2]
jmp 0x10068250
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10068250
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
push 1
push 0x10219d7c
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10212f74
mov esp, ebp
pop ebp
ret 0x10