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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0x523dc8
push str.software360360se6
push SysReAllocStringLen
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 4], 3
jb 0x467788
xor eax, eax
mov esp, ebp
pop ebp
ret
inc dword [ebp - 4]
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0x523dc8
push str.software360360se6
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x467af0
Capabilities:
Acquire debug privileges
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
push 0x400
lea eax, [ebp - 0x40c]
push 0
push eax
call fcn.004c5470
add esp, 0xc
push 0xf
push str._:pagefile.sys
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x410], 0xf
mov dword [ebp - 0x414], 0
mov byte [ebp - 0x424], 0
call fcn.0040b8b0
mov eax, dword [ebp - 0x424]
mov edi, 0x10
cmp dword [ebp - 0x410], edi
jae 0x467b61
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x40c]
push 0x3ff
push ecx
call fcn.004c4adf
mov esi, dword [ebp - 0x414]
add esp, 0xc
push str.SeDebugPrivilege
call fcn.004681b0
push str.SeRestorePrivilege
call fcn.004681b0
push str.SeBackupPrivilege
call fcn.004681b0
add esi, 3
push esi
lea edx, [ebp - 0x40c]
push edx
push 7
push str.PagingFiles
push str.SYSTEMCurrentControlSetControlSession_ManagerMemory_Management
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
jne 0x467bee
cmp dword [ebp - 0x410], edi
jb 0x467bd7
mov eax, dword [ebp - 0x424]
push eax
call fcn.004c097a
add esp, 4
mov eax, 2
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004c0985
mov esp, ebp
pop ebp
ret 4
cmp eax, 5
jne 0x467c2b
cmp dword [ebp + 8], 0
je 0x467c2b
call fcn.00467c60
mov esi, eax
cmp dword [ebp - 0x410], edi
jb 0x467c17
mov ecx, dword [ebp - 0x424]
push ecx
call fcn.004c097a
add esp, 4
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004c0985
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 0x410], edi
jb 0x467c42
mov edx, dword [ebp - 0x424]
push edx
call fcn.004c097a
add esp, 4
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
or eax, 0xffffffff
pop esi
call fcn.004c0985
mov esp, ebp
pop ebp
ret 4

Function at 0x467c60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004c5470
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x38
lea edx, [ebp - 0x244]
push 0
push edx
call fcn.004c5470
add esp, 0xc
lea ecx, [ebp - 0x248]
lea eax, [ebp - 0x20c]
push ecx
mov dword [ebp - 0x248], 0x3c
mov dword [ebp - 0x244], 0x40
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], str.runas
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], str.asadformem
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.004c0985
mov esp, ebp
pop ebp
ret
Function at 0x4680f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.004c5470
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x114]
cmp eax, 6
ja 0x468146
jne 0x468157
cmp dword [ebp - 0x110], 2
jbe 0x468169
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c0985
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x468169
mov eax, 1
cmp dword [ebp - 0x110], eax
jbe 0x468149
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 2
call fcn.004c0985
mov esp, ebp
pop ebp
ret

Function at 0x468180
Capabilities:
Shutdown system

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x468198
push str.SeShutdownPrivilege
call fcn.004681b0
push 0x40000
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
xor eax, eax
pop ecx
ret
Function at 0x468630
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
je 0x46865f
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c0985
mov esp, ebp
pop ebp
ret
push ebx
xor ebx, ebx
push 0x105
lea eax, [ebp - 0x213]
push ebx
push eax
mov byte [ebp - 0x214], bl
call fcn.004c5470
push 0x105
lea ecx, [ebp - 0x10b]
push ebx
push ecx
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x220], ebx
mov byte [ebp - 0x10c], bl
call fcn.004c5470
add esp, 0x18
push 0x105
lea edx, [ebp - 0x10c]
push edx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0x105
lea eax, [ebp - 0x214]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea ecx, [ebp - 0x10c]
push str.ntfs
push ecx
call fcn.004c4c55
add esp, 8
pop ebx
test eax, eax
je 0x468728
lea edx, [ebp - 0x10c]
push str.fat32
push edx
call fcn.004c4c55
add esp, 8
test eax, eax
je 0x468728
lea eax, [ebp - 0x10c]
push str.exfat
push eax
call fcn.004c4c55
add esp, 8
test eax, eax
jne 0x46864f
push esi
call fcn.00468250
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.004c0985
mov esp, ebp
pop ebp
ret
Function at 0x468a70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str.WfNoMore
push 0x51c3d4
xor esi, esi
push SysReAllocStringLen
lea ecx, [ebp - 0x424]
mov dword [ebp - 0x424], esi
call fcn.004086f0
add esp, 0xc
lea edi, [esi + 1]
test eax, eax
je 0x468abd
cmp dword [ebp - 0x424], edi
je 0x468c99
call fcn.00469900
test al, al
je 0x468c99
call fcn.00469750
push 0x206
lea ecx, [ebp - 0x416]
xor eax, eax
push esi
push ecx
mov word [ebp - 0x418], ax
call fcn.004c5470
add esp, 0xc
lea edx, [ebp - 0x42c]
push edx
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x428]
push ecx
push 0x51c620
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x428], edi
mov dword [ebp - 0x42c], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x468c99
lea ecx, [ebp - 0x418]
call fcn.00450b20
test al, al
je 0x468c99
push 0x206
lea eax, [ebp - 0x20e]
xor edx, edx
push esi
push eax
mov word [ebp - 0x210], dx
call fcn.004c5470
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 0xc
lea ecx, [ebp - 0x418]
push ecx
lea edx, [ebp - 0x210]
push edx
call edi
test eax, eax
je 0x468c99
push str...deepscanWifiSafe.dll
lea eax, [ebp - 0x210]
push eax
call edi
test eax, eax
je 0x468c99
lea ecx, [ebp - 0x210]
call fcn.00450b20
test al, al
je 0x468c99
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, esi
je 0x468c99
push 0x5175e8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x468c99
lea edx, [ebp - 0x41c]
push edx
push 0x524188
mov dword [ebp - 0x41c], esi
call eax
mov eax, dword [ebp - 0x41c]
cmp eax, esi
je 0x468c99
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push eax
call edx
mov eax, dword [ebp - 0x41c]
push esi
lea edx, [ebp - 0x420]
mov dword [ebp - 0x420], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
je 0x468c99
cmp dword [ebp - 0x420], esi
je 0x468c99
mov eax, dword [ebp - 0x41c]
lea edx, [ebp - 0x430]
push edx
push esi
mov dword [ebp - 0x430], esi
mov ecx, dword [eax]
push esi
push eax
mov eax, dword [ecx + 0x20]
call eax
test eax, eax
je 0x468c99
push 0xc
mov dword [ebp - 0x438], 2
mov dword [ebp - 0x434], 6
call fcn.004c0fe9
add esp, 4
cmp eax, esi
je 0x468c7c
cmp ebx, esi
je 0x468c73
lea ecx, [ebx + 0x54]
call fcn.004688b0
jmp 0x468c7e
xor ecx, ecx
call fcn.004688b0
jmp 0x468c7e
xor eax, eax
mov ecx, dword [ebp - 0x41c]
push eax
mov dword [ebx + 0x58], eax
mov edx, dword [ecx]
push 2
lea eax, [ebp - 0x438]
push eax
push ecx
mov ecx, dword [edx + 0x2c]
call ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004c0985
mov esp, ebp
pop ebp
ret
Function at 0x469200
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov edi, ecx
mov eax, esp
lea esi, [edi - 0x54]
mov dword [eax], 0
call fcn.004699a0
mov eax, dword [edi - 0x50]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi - 0x28]
mov edx, dword [edi - 0x50]
push 0
push 0x7530
push ecx
push edx
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
jmp fcn.004696f0

Function at 0x4692e0
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.004c5470
add esp, 0xc
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x210]
push ecx
push 0x51c620
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x210], 1
mov dword [ebp - 0x214], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x46938d
push 0x31
push str.OmhV_S
push 0x524078
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x46938d
push 0xa
push 0
push str._funname360WiFiExamine
lea edx, [ebp - 0x20c]
push edx
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c0985
mov esp, ebp
pop ebp
ret
Function at 0x4693a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x634
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.004c5470
add esp, 0xc
lea edx, [ebp - 0x634]
push edx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x62c]
push ecx
push 0x51c620
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x62c], 1
mov dword [ebp - 0x634], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x469607
lea ecx, [ebp - 0x20c]
call fcn.00450b20
test al, al
je 0x469607
push edi
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x61a]
push eax
mov word [ebp - 0x61c], dx
call fcn.004c5470
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x61c]
push edx
call edi
test eax, eax
je 0x469606
push str...Utils360WiFiExamine.exe
lea eax, [ebp - 0x61c]
push eax
call edi
test eax, eax
je 0x469606
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x412]
push edx
mov word [ebp - 0x414], cx
call fcn.004c5470
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x414]
push ecx
call edi
test eax, eax
je 0x469606
push str...deepscanWifiSafe.dll
lea edx, [ebp - 0x414]
push edx
call edi
test eax, eax
je 0x469606
lea ecx, [ebp - 0x414]
call fcn.00450b20
test al, al
je 0x469606
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x469606
push 0x5175e8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x469606
lea ecx, [ebp - 0x620]
push ecx
push 0x524188
mov dword [ebp - 0x620], 0
call eax
mov eax, dword [ebp - 0x620]
test eax, eax
je 0x469606
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x14]
call eax
mov eax, dword [ebp - 0x620]
push 0
lea edx, [ebp - 0x628]
mov dword [ebp - 0x628], 0
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
je 0x469606
cmp dword [ebp - 0x628], 0
je 0x469606
mov eax, dword [ebp - 0x620]
lea edx, [ebp - 0x630]
push edx
push 0
mov dword [ebp - 0x630], 0
mov ecx, dword [eax]
push 0
push eax
mov eax, dword [ecx + 0x20]
call eax
test eax, eax
je 0x469606
mov ecx, dword [esi + 0x20]
push ecx
mov dword [ebp - 0x624], 6
call fcn.004c097a
push 0xc
call fcn.004c0fe9
add esp, 8
test eax, eax
je 0x4695be
lea ecx, [esi + 0x1c]
call fcn.004688b0
jmp 0x4695c0
xor eax, eax
mov ecx, dword [ebp - 0x620]
push eax
mov dword [esi + 0x20], eax
mov edx, dword [ecx]
push 1
lea eax, [ebp - 0x624]
push eax
push ecx
mov ecx, dword [edx + 0x2c]
call ecx
mov eax, dword [esi + 0x20]
cmp byte [eax + 8], 0
je 0x469606
mov ecx, dword [ebp - 0x620]
push eax
push 1
lea eax, [ebp - 0x624]
mov dword [ebp - 0x624], 2
mov edx, dword [ecx]
push eax
push ecx
mov ecx, dword [edx + 0x2c]
call ecx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.004c0985
mov esp, ebp
pop ebp
ret
Function at 0x469750
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
push eax
mov dword [ebp - 0xd0], 7
mov dword [ebp - 0xd4], 0
mov word [ebp - 0xe4], ax
call fcn.004c13cb
add esp, 4
lea ecx, [ebp - 0xf0]
push ecx
lea edx, [ebp - 0xec]
push edx
push 0
push 0x2001f
push 0
push 0
push 0
push 0x51c3d4
push SysReAllocStringLen
mov esi, eax
mov dword [ebp - 0xf0], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4698c6
mov eax, dword [ebp - 0xf0]
cmp eax, 1
je 0x4697dd
cmp eax, 2
jne 0x4698c6
xor eax, eax
push 0xc6
push eax
lea ecx, [ebp - 0xca]
push ecx
mov word [ebp - 0xcc], ax
call fcn.004c5470
push esi
push 0x51be44
lea edx, [ebp - 0xcc]
call fcn.004491b0
add esp, 0x14
xor edx, edx
lea eax, [ebp - 0xcc]
mov word [ebp - 0x108], dx
mov dword [ebp - 0xf4], 7
mov dword [ebp - 0xf8], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x469832
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0xcc]
lea esi, [ebp - 0x10c]
call fcn.004017f0
push 0xffffffffffffffff
push 0
mov eax, esi
push eax
lea eax, [ebp - 0xe8]
call fcn.004018f0
mov esi, 8
cmp dword [ebp - 0xf4], esi
jb 0x469881
mov ecx, dword [ebp - 0x108]
push ecx
call fcn.004c097a
add esp, 4
mov eax, dword [ebp - 0xe4]
cmp dword [ebp - 0xd0], esi
jae 0x469895
lea eax, [ebp - 0xe4]
mov edx, dword [ebp - 0xd4]
lea ecx, [edx + edx + 2]
mov edx, dword [ebp - 0xec]
push ecx
push eax
push 1
push 0
push str.LastWfCheck
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0xec]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4698cb
mov esi, 8
cmp dword [ebp - 0xd0], esi
pop esi
jb 0x4698e3
mov ecx, dword [ebp - 0xe4]
push ecx
call fcn.004c097a
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c0985
mov esp, ebp
pop ebp
ret
Function at 0x46bb50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46bbaf
sub esp, 0x1c
mov esi, esp
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
mov eax, edi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46bb90
sub eax, edx
sar eax, 1
push eax
mov eax, edi
call fcn.004017f0
call fcn.0046dff0
add esp, 0x1c
xor ecx, ecx
mov eax, 0x550670
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], cx
lea edx, [eax + 2]
jmp 0x46bbd0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46bbd0
sub eax, edx
sar eax, 1
push eax
mov eax, 0x550670
lea esi, [ebp - 0x3c]
call fcn.004017f0
mov ecx, esi
call fcn.0046e2d0
mov edi, 8
cmp dword [ebp - 0x24], edi
jb 0x46bc0a
mov edx, dword [ebp - 0x38]
push edx
call fcn.004c097a
add esp, 4
xor eax, eax
mov word [ebp - 0x1c], ax
push 0x1a
mov eax, str.Software360360se6IEStub
lea esi, [ebp - 0x20]
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
call fcn.004017f0
push 0x24
push str.8Internet_Explorer_browseremulation
mov eax, esi
call fcn.0040ba90
mov ecx, dword [ebp - 0x1c]
cmp dword [ebp - 8], edi
jae 0x46bc46
lea ecx, [ebp - 0x1c]
call fcn.0046e390
cmp dword [ebp - 8], edi
jb 0x46bc5c
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004c097a
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.004c0985
mov esp, ebp
pop ebp
ret

Function at 0x46bc70
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
xor eax, eax
mov word [ebp - 0x18], ax
mov eax, 0x550880
push esi
mov dword [ebp - 4], 7
mov dword [ebp - 8], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46bc93
sub eax, edx
sar eax, 1
push eax
mov eax, 0x550880
lea esi, [ebp - 0x1c]
call fcn.004017f0
call fcn.0046db40
cmp dword [ebp - 4], 8
jb 0x46bcc7
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004c097a
add esp, 4
xor edx, edx
mov eax, 0x550460
mov word [ebp - 0x18], dx
mov dword [ebp - 4], 7
mov dword [ebp - 8], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46bce3
sub eax, edx
sar eax, 1
push eax
mov eax, 0x550460
lea esi, [ebp - 0x1c]
call fcn.004017f0
call fcn.0046db40
cmp dword [ebp - 4], 8
jb 0x46bd17
mov eax, dword [ebp - 0x18]
push eax
call fcn.004c097a
add esp, 4
push 0x550258
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46bd31
push 0x550258
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46ce10
Capabilities:
Get common file path
Get program files directory

Disassembly:
xor eax, eax
cmp ax, word [0x5525d0]
jne 0x46ce41
push eax
push 0x26
push 0x5525d0
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.internet_exploreriexplore.exe
push 0x104
push 0x5525d0
call fcn.004c4e2d
add esp, 0xc
mov eax, 0x5525d0
ret

Function at 0x46ce50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x214]
push eax
mov ebx, ecx
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x210]
push edx
push str.Version
push str.SoftwareMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x214], 0x104
mov dword [ebp - 0x210], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x46cef2
cmp ax, word [ebp - 0x20c]
je 0x46cef2
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
jmp 0x46cec0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46cec0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
mov esi, ebx
call fcn.004017f0
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c0985
mov esp, ebp
pop ebp
ret
call fcn.0046ce10
xor ecx, ecx
mov word [ebp - 0x22c], cx
mov ecx, eax
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x21c], 0
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x46cf20
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x230]
call fcn.004017f0
call fcn.00407e40
cmp dword [ebp - 0x218], 8
mov esi, eax
jb 0x46cf5a
mov edx, dword [ebp - 0x22c]
push edx
call fcn.004c097a
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c0985
mov esp, ebp
pop ebp
ret
Function at 0x46cf70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea ecx, [ebp - 0x134]
xor eax, eax
mov esi, 7
push ecx
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
mov dword [ebp - 0x134], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x130], 6
jbe 0x46d01f
call fcn.0046ce10
xor edx, edx
mov ecx, eax
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x13c], 0
mov word [ebp - 0x14c], dx
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x46cfe0
sub ecx, esi
push ebx
sar ecx, 1
push ecx
lea esi, [ebp - 0x150]
call fcn.004017f0
lea ebx, [ebp - 0x20]
call fcn.00407e40
cmp dword [ebp - 0x138], 8
pop ebx
jb 0x46d027
mov eax, dword [ebp - 0x14c]
push eax
call fcn.004c097a
add esp, 4
jmp 0x46d027
lea ecx, [ebp - 0x20]
call fcn.0046ce50
cmp dword [ebp - 0xc], 0
ja 0x46d032
call fcn.004bf6e5
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
mov ecx, edx
cmp eax, 8
jae 0x46d042
lea ecx, [ebp - 0x1c]
mov esi, 0x36
cmp si, word [ecx]
pop esi
jne 0x46d06e
cmp eax, 8
jb 0x46d05b
push edx
call fcn.004c097a
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c0985
mov esp, ebp
pop ebp
ret
cmp eax, 8
jb 0x46d07c
push edx
call fcn.004c097a
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.004c0985
mov esp, ebp
pop ebp
ret

Function at 0x46d520
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.004cd140
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
test esi, esi
je 0x46d61d
test edi, edi
je 0x46d61d
xor eax, eax
push 0x3ffe
push eax
lea ecx, [ebp - 0x4002]
push ecx
mov word [ebp - 0x4004], ax
call fcn.004c5470
add esp, 0xc
lea edx, [ebp - 0x400c]
push edx
push esi
mov dword [ebp - 0x400c], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x46d61d
cmp eax, 0x3fff
ja 0x46d61d
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x46d61d
lea edx, [ebp - 0x4010]
push edx
lea eax, [ebp - 0x4008]
push eax
push 0x51bcf8
lea ecx, [ebp - 0x4004]
push ecx
mov dword [ebp - 0x4008], 0
mov dword [ebp - 0x4010], 0
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x46d61d
mov eax, dword [ebp - 0x4008]
movzx edx, word [eax + 0xc]
movzx ecx, word [eax + 0xe]
push edx
movzx edx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push edx
push eax
push str._d._d._d._d
mov ecx, 0x103
call fcn.00401dd0
add esp, 0x14
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c0985
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop edi
call fcn.004c0985
mov esp, ebp
pop ebp
ret