joyce8/EMBER2024-capa huggingface dataset:
Function at 0x489640
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x414
mov eax, dword [0x541f38]
xor eax, esp
mov dword [esp + 0x410], eax
mov eax, dword [esp + 0x418]
push ebx
mov ebx, dword [esp + 0x424]
push esi
mov esi, dword [esp + 0x424]
push edi
push 2
push 0
push eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4896a5
call fcn.00441ab0
mov esi, eax
jmp 0x489765
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4896be
call fcn.00441ab0
jmp 0x48975c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x4896d6
call fcn.00441ab0
jmp 0x48975c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x48970a
lea eax, [esp + 0x1c]
cmp dword [esp + 0x18], eax
je 0x4896fa
lea ecx, [esp + 0x18]
call fcn.00487b60
lea ecx, [esp + 0xc]
call fcn.00438d60
mov eax, 0x8007000e
jmp 0x489782
push eax
lea ecx, [esp + 0x1c]
call fcn.00488620
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x489723
mov esi, 0x8007000e
jmp 0x48975e
push esi
push eax
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x48973c
call fcn.00441ab0
jmp 0x48975c
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [esp + 0x430]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004894b0
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [esp + 0x1c]
cmp dword [esp + 0x18], edx
je 0x489780
lea ecx, [esp + 0x18]
call fcn.00487b60
jmp 0x489780
mov eax, esi
mov ecx, dword [esp + 0x41c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004d7eb0
add esp, 0x414
ret 0x10
Function at 0x489e30
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
sub esp, 0x160
mov eax, dword [0x541f38]
xor eax, esp
mov dword [esp + 0x15c], eax
push esi
push edi
mov edi, dword [esp + 0x16c]
push edi
mov dword [edi], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov esi, 2
test eax, eax
jne 0x489f06
push 0x3f
push eax
mov byte [esp + 0x12c], al
lea eax, [esp + 0x12d]
push eax
call fcn.004d86e0
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x128]
push edx
lea eax, [esp + 0x10]
push eax
push str.CurrentVersion
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x40
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x489ee2
movsx ecx, byte [esp + 0x124]
lea edx, [esp + 0x126]
sub ecx, 0x30
push edx
mov dword [edi + 0x10], esi
mov dword [edi + 4], ecx
call fcn.004db58d
add esp, 4
mov dword [edi + 8], eax
jmp 0x489f06
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
shr eax, 8
movzx eax, al
mov edx, 4
mov dword [edi + 8], eax
cmp edx, ecx
sbb eax, eax
neg eax
inc eax
mov dword [edi + 4], ecx
mov dword [edi + 0x10], eax
mov eax, dword [edi + 4]
cmp eax, 6
ja 0x489f15
jne 0x489f7e
cmp dword [edi + 8], esi
jb 0x489f7e
push 0x110
lea ecx, [esp + 0x18]
push 0
push ecx
call fcn.004d86e0
add esp, 0xc
push str.RtlGetVersion
push str.ntdll.dll
mov dword [esp + 0x18], 0x114
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x489f7e
lea edx, [esp + 0x10]
push edx
call eax
test eax, eax
mov eax, 1
jne 0x489f83
mov ecx, 0x45
lea esi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov ecx, dword [esp + 0x15c]
xor ecx, esp
call fcn.004d7eb0
add esp, 0x160
ret
mov eax, 1
mov ecx, dword [esp + 0x164]
pop edi
pop esi
xor ecx, esp
call fcn.004d7eb0
add esp, 0x160
ret

Function at 0x48a790
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push edi
mov edi, ecx
cmp dword [edi + 4], 0xffffffff
jne 0x48a7a5
xor eax, eax
pop edi
add esp, 8
ret 4
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
push ebx
push ebp
push esi
xor esi, esi
cmp dword [eax - 0xc], esi
mov dword [esp + 0x10], 0x99d
jle 0x48a81b
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
mov bx, word [esp + 0x10]
test esi, esi
jl 0x48a836
cmp esi, dword [eax - 0xc]
jg 0x48a836
mov cx, word [eax + esi*2]
xor cx, bx
movzx edx, cx
mov dword [esp + 0x14], edx
cmp esi, dword [eax - 0xc]
jg 0x48a836
mov cx, word [edi + 8]
add cx, word [eax + esi*2]
push 0
lea edx, [esp + 0x14]
push edx
push 2
lea eax, [esp + 0x20]
add bx, cx
mov ecx, dword [edi + 4]
push eax
push ecx
mov dword [esp + 0x24], 0
call ebp
test eax, eax
je 0x48a82a
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
inc esi
cmp esi, dword [eax - 0xc]
jl 0x48a7c8
pop esi
pop ebp
pop ebx
mov eax, 1
pop edi
add esp, 8
ret 4
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
add esp, 8
ret 4
push 0x80070057
call fcn.00438530
int3
Function at 0x48a850
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
sub esp, 8
push ebx
mov ebx, ecx
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jne 0x48a867
xor eax, eax
pop ebx
add esp, 8
ret 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 8], eax
test eax, eax
jne 0x48a88d
mov ecx, dword [esp + 0x10]
call fcn.004395a0
mov eax, 1
pop ebx
add esp, 8
ret 4
push ebp
push esi
push edi
mov edi, eax
shr edi, 1
xor ecx, ecx
lea ebp, [edi + 2]
mov eax, ebp
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004d45ee
mov esi, eax
lea eax, [ebp + ebp]
push eax
push 0
push esi
call fcn.004d86e0
mov edx, dword [esp + 0x24]
mov eax, dword [ebx + 4]
add esp, 0x10
push 0
lea ecx, [esp + 0x14]
push ecx
push edx
push esi
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x48a8ee
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
xor eax, eax
mov dword [esp + 0x14], 0x99d
test edi, edi
jbe 0x48a918
mov dx, word [esp + 0x14]
xor word [esi + eax*2], dx
movzx ecx, word [esi + eax*2]
mov bp, word [ebx + 8]
add bp, cx
inc eax
add dx, bp
cmp eax, edi
jb 0x48a901
test esi, esi
jne 0x48a920
xor eax, eax
jmp 0x48a934
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48a925
sub eax, edx
sar eax, 1
mov ecx, dword [esp + 0x1c]
push eax
push esi
call fcn.0043a260
push esi
call fcn.004d7e25
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4

Function at 0x48a980
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov eax, 4
mov dword [esp + 8], eax
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10]
push edx
push str.tabtype
push 0x51a3f4
push SysReAllocStringLen
mov dword [esp + 0x18], 0
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [esp]
add esp, 0xc
ret
Function at 0x48ab40
Capabilities:
Enumerate processes
Get file system object information
Terminate process

Disassembly:
sub esp, 0x520
mov eax, dword [0x541f38]
xor eax, esp
mov dword [esp + 0x51c], eax
push esi
push edi
mov ecx, 8
mov esi, 0x517ee8
lea edi, [esp + 0x4e8]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
movsw word es:[edi], word [esi]
push eax
push 2
mov dword [esp + 0x512], eax
mov dword [esp + 0x516], eax
mov dword [esp + 0x51a], eax
mov dword [esp + 0x51e], eax
mov dword [esp + 0x522], eax
mov dword [esp + 0x526], eax
mov word [esp + 0x52a], ax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
test edi, edi
je 0x48ac7e
lea eax, [esp + 8]
push eax
push edi
mov dword [esp + 0x10], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x48ac7e
mov esi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea esp, [esp]
push 0x101
push 0x2b4
lea ecx, [esp + 0x240]
push ecx
push 0
lea edx, [esp + 0x40]
push edx
call esi
lea ecx, [esp + 0x30]
lea eax, [esp + 0x4ec]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48ac2c
test dx, dx
je 0x48ac28
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48ac2c
add eax, 4
add ecx, 4
test dx, dx
jne 0x48ac06
xor eax, eax
jmp 0x48ac31
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x48ac3f
call ebx
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jne 0x48ac66
lea eax, [esp + 0xc]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x48abe0
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x51c]
xor ecx, esp
call fcn.004d7eb0
add esp, 0x520
ret
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop ebx
mov ecx, dword [esp + 0x524]
pop edi
pop esi
xor ecx, esp
call fcn.004d7eb0
add esp, 0x520
ret

Function at 0x48aca0
Capabilities:
Get system information on windows

Disassembly:
xor eax, eax
sub esp, 0x24
cmp dword [0x544764], eax
jne 0x48ad27
push str.GetNativeSystemInfo
push 0x51a438
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48acf4
lea ecx, [esp]
push ecx
call eax
jmp 0x48acfe
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp]
cmp ax, 9
je 0x48ad1d
cmp ax, 6
je 0x48ad1d
xor eax, eax
mov dword [0x544764], 1
add esp, 0x24
ret
mov eax, 1
mov dword [0x544764], eax
add esp, 0x24
ret
Function at 0x48ad30
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
sub esp, 0x160
mov eax, dword [0x541f38]
xor eax, esp
mov dword [esp + 0x15c], eax
push esi
push edi
mov edi, dword [esp + 0x16c]
push edi
mov dword [edi], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov esi, 2
test eax, eax
jne 0x48ae06
push 0x3f
push eax
mov byte [esp + 0x12c], al
lea eax, [esp + 0x12d]
push eax
call fcn.004d86e0
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x128]
push edx
lea eax, [esp + 0x10]
push eax
push str.CurrentVersion
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x40
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x48ade2
movsx ecx, byte [esp + 0x124]
lea edx, [esp + 0x126]
sub ecx, 0x30
push edx
mov dword [edi + 0x10], esi
mov dword [edi + 4], ecx
call fcn.004db58d
add esp, 4
mov dword [edi + 8], eax
jmp 0x48ae06
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
shr eax, 8
movzx eax, al
mov edx, 4
mov dword [edi + 8], eax
cmp edx, ecx
sbb eax, eax
neg eax
inc eax
mov dword [edi + 4], ecx
mov dword [edi + 0x10], eax
mov eax, dword [edi + 4]
cmp eax, 6
ja 0x48ae15
jne 0x48ae7e
cmp dword [edi + 8], esi
jb 0x48ae7e
push 0x110
lea ecx, [esp + 0x18]
push 0
push ecx
call fcn.004d86e0
add esp, 0xc
push str.RtlGetVersion
push str.ntdll.dll
mov dword [esp + 0x18], 0x114
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48ae7e
lea edx, [esp + 0x10]
push edx
call eax
test eax, eax
mov eax, 1
jne 0x48ae83
mov ecx, 0x45
lea esi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov ecx, dword [esp + 0x15c]
xor ecx, esp
call fcn.004d7eb0
add esp, 0x160
ret
mov eax, 1
mov ecx, dword [esp + 0x164]
pop edi
pop esi
xor ecx, esp
call fcn.004d7eb0
add esp, 0x160
ret
Function at 0x48af70
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x28
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push edi
lea eax, [esp + 8]
push eax
push 0
push 0x28
mov dword [esp + 0x18], 0x10
call esi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x48afbc
call edi
cmp eax, 0x3f0
jne 0x48b016
lea ecx, [esp + 8]
push ecx
push 0x28
call esi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x48b016
lea edx, [esp + 0x14]
push edx
push str.SeDebugPrivilege
push 0
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x24]
push ecx
push 0x10
lea edx, [esp + 0x1c]
push edx
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x48b01e
call edi
mov ecx, dword [esp + 8]
push ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
xor eax, eax
pop esi
add esp, 0x28
ret
call edi
cmp eax, 0x514
jne 0x48b042
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
xor eax, eax
pop esi
add esp, 0x28
ret
pop edi
mov eax, 1
pop esi
add esp, 0x28
ret
Function at 0x48b300
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x1c
push ebx
push esi
push edi
push 0
push 0x5180e4
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
mov ebx, eax
lea eax, [esp + 0x18]
push eax
call fcn.0048b270
add esp, 4
mov eax, 4
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push eax
push str.tabtype
push 0x51a3f4
push SysReAllocStringLen
mov dword [esp + 0x24], 0
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [esp + 0xc], 0
mov eax, dword [0x543fb0]
jne 0x48b3a1
test eax, eax
jne 0x48b39d
push str.sites.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x48b383
lea esi, [eax + 0x70]
jmp 0x48b3d9
push str.scale
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x543fb0], eax
test eax, eax
jne 0x48b39d
lea esi, [eax + 0x70]
jmp 0x48b3d9
push 0x70
jmp 0x48b3d5
test eax, eax
jne 0x48b3d3
push str.sites.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x48b3b9
lea esi, [eax + 0x1f]
jmp 0x48b3d9
push str.scale
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x543fb0], eax
test eax, eax
jne 0x48b3d3
lea esi, [eax + 0x1f]
jmp 0x48b3d9
push 0x1f
call eax
mov esi, eax
mov edi, dword [sym.imp.USER32.dll_IsWindow]
test ebx, ebx
je 0x48b3fd
push ebx
call edi
test eax, eax
je 0x48b3fd
push 0x104
push 0
lea ecx, [esp + 0x20]
push ecx
push ebx
call dword [sym.imp.USER32.dll_RedrawWindow]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call edi
test eax, eax
je 0x48b457
mov edi, dword [esp + 0x2c]
push ebx
push edi
call dword [sym.imp.USER32.dll_SetParent]
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
push 4
add ecx, esi
mov dword [esp + 0x28], ecx
sub ecx, esi
push ecx
push eax
push esi
push 0
push 0xfffffffffffffffe
push edi
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebx
call dword [sym.imp.USER32.dll_BringWindowToTop]
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x48b4e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x541f38]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
mov ebx, dword [esp + 0x220]
push esi
mov esi, dword [esp + 0x22c]
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x22]
push ecx
xor edi, edi
mov word [esp + 0x24], ax
call fcn.004d86e0
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x515d38
push 0x515cb8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], 0x208
mov dword [esp + 0x24], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [esp + 0x18], di
jne 0x48b597
push 0x104
lea edx, [esp + 0x1c]
push edx
push str.360realpro.exe
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x48b58c
push str.....
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp word [esp + 0x18], di
je 0x48b61a
test esi, esi
je 0x48b5ea
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48b5a0
sub eax, edx
sar eax, 1
je 0x48b5ea
mov edx, dword [esp + 0x22c]
push esi
lea ecx, [esp + 0x1c]
push ecx
push 0x51710c
push edx
push ebx
call fcn.00486610
add esp, 0x14
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004d7eb0
add esp, 0x218
ret
mov ecx, dword [esp + 0x22c]
lea eax, [esp + 0x18]
push eax
push ecx
push ebx
call fcn.0048b460
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004d7eb0
add esp, 0x218
ret
mov ecx, dword [esp + 0x220]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004d7eb0
add esp, 0x218
ret
Function at 0x48b950
Capabilities:
Check if file exists
Create process on windows

Disassembly:
sub esp, 0x250
mov eax, dword [0x541f38]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
push esi
mov esi, dword [esp + 0x25c]
xor ebx, ebx
push ebx
push 0x5180e4
push ebx
push ebx
call dword [sym.imp.USER32.dll_FindWindowExW]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48b995
cmp dword [esp + 0x260], ebx
je 0x48baa2
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x56]
push ecx
mov word [esp + 0x58], ax
call fcn.004d86e0
push str.360safe.exe
lea edx, [esp + 0x5c]
push 0x104
push edx
call fcn.0048b4e0
add esp, 0x18
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48baa2
mov edx, dword [0x54ffc8]
mov eax, dword [edx + 0xc]
push edi
mov ecx, 0x54ffc8
call eax
mov ecx, dword [esi]
push ecx
lea edx, [esp + 0x10]
add eax, 0x10
push str._FUNNAMEnewCenterSom__PARAM__s
push edx
mov dword [esp + 0x18], eax
call fcn.0043a600
add esp, 0xc
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x14]
call fcn.0043a930
push 0x3c
lea ecx, [esp + 0x18]
push 0
push ecx
call fcn.004d86e0
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
add esp, 0xc
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], 0x3c
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], 5
mov dword [esp + 0x1c], 0x1440
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x48ba69
mov eax, dword [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 1
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48ba85
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
test edx, edx
jg 0x48baa2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x254]
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.004d7eb0
add esp, 0x250
ret
Function at 0x48bac0
Capabilities:
Check if file exists
Get common file path
Get file version info
Get program files directory

Disassembly:
sub esp, 0x220
mov eax, dword [0x541f38]
xor eax, esp
mov dword [esp + 0x21c], eax
mov ecx, dword [esp + 0x228]
mov eax, dword [esp + 0x224]
mov dword [esp + 0x10], ecx
push 0x527f5c
lea ecx, [esp + 4]
mov dword [esp + 0x10], eax
call fcn.0043a930
push 0x208
lea edx, [esp + 0x18]
push 0
push edx
call fcn.004d86e0
add esp, 0xc
push 0
push 0x26
lea eax, [esp + 0x1c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x48bb4e
push str.Internet_Exploreriexplore.exe
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48bb4e
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 4]
call fcn.0043a860
push ebx
mov ebx, dword [esp + 4]
cmp dword [ebx - 0xc], 0
push esi
jne 0x48bb6e
push 0xa
push str.mshtml.dll
lea ecx, [esp + 0x10]
call fcn.0043a260
mov ebx, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
push ebx
mov dword [esp + 0x18], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x48bbf8
push edi
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x48bbf7
mov edx, dword [esp + 0x14]
push edi
push esi
push edx
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x48bbf0
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x517394
push edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x48bbf0
cmp dword [esp + 0xc], 0
je 0x48bbf0
mov eax, dword [esp + 0x10]
movzx edx, word [eax + 0xa]
mov ecx, dword [esp + 0x18]
mov dword [ecx], edx
movzx edx, word [eax + 8]
mov eax, dword [esp + 0x1c]
mov dword [eax], edx
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop esi
pop ebx
test edx, edx
jg 0x48bc16
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x21c]
xor ecx, esp
mov eax, 1
call fcn.004d7eb0
add esp, 0x220
ret
Function at 0x48d550
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push esi
push 0
push 0x80
push 2
push 0
push 7
push 0x40000000
push eax
mov dword [esp + 0x24], 0xfeff
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x48d5a8
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48d59f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop esi
add esp, 8
ret 4
push 0
lea ecx, [esp + 8]
push ecx
push 2
lea edx, [esp + 0x14]
push edx
push esi
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48d5ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
pop esi
add esp, 8
ret 4