joyce8/EMBER2024-capa huggingface dataset:
Function at 0x486320
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 8], 0
je 0x4864ad
mov edi, dword [esi + 0x6c]
lea ebx, [esi + 0x6c]
test edi, edi
je 0x486366
push 0
lea eax, [ebp - 4]
mov dword [ebp - 8], 0
push eax
push 0
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x486366
call fcn.00486080
push 0
push ecx
mov dword [ebp - 4], esp
call fcn.004833a0
mov ecx, eax
test ecx, ecx
je 0x4864b8
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 4]
add eax, 0x10
mov dword [ecx], eax
mov ecx, esi
call fcn.00486d10
test eax, eax
jne 0x4864ad
test edi, edi
je 0x486481
mov edi, dword [sym.imp.KERNEL32.dll_GetFileSize]
lea eax, [ebp - 4]
push eax
push dword [ebx]
call edi
mov ecx, eax
mov dword [ebp - 8], ecx
cmp ecx, 0xffffffff
jne 0x4863c7
call fcn.00486080
test eax, eax
js 0x4864ad
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, ecx
or eax, edx
je 0x4864ad
mov eax, dword [ebp + 8]
test eax, eax
je 0x4863e0
mov dword [eax], ecx
mov dword [eax + 4], edx
lea eax, [ebp - 4]
push eax
push ebx
call edi
push 0
push eax
push dword [ebp - 4]
mov dword [ebp - 8], eax
push 2
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ecx, eax
mov dword [esi + 0x88], ecx
test ecx, ecx
jne 0x486410
call fcn.00486080
mov edi, eax
jmp 0x48646e
mov eax, dword [ebp - 8]
push 0
push eax
push 0
push 0
push 4
push ecx
mov dword [esi + 0x84], eax
mov dword [esi + 0x98], 4
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
mov dword [esi + 0x80], eax
test eax, eax
jne 0x486472
call fcn.00486080
push dword [esi + 0x88]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x88], 0
test edi, edi
js 0x4864ad
mov eax, dword [esi + 0x80]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x50]
mov eax, ecx
or eax, 0
je 0x4864ad
mov eax, dword [ebp + 8]
test eax, eax
je 0x48649b
mov dword [eax], ecx
mov dword [eax + 4], 0
cmp dword [esi + 0x50], 0
jbe 0x4864c2
mov eax, dword [esi + 0x4c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00483200
push 0x80070057
call fcn.00483200
int3

Function at 0x486660
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push str.360netbase.dll
push eax
call fcn.00494db0
add esp, 8
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x486696
push dword [ebp - 4]
call fcn.00487700
add esp, 4
test eax, eax
je 0x486696
xor esi, esi
jmp 0x48669b
mov esi, 2
mov eax, dword [ebp - 4]
or ecx, 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4866b6
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x486970
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x486a90
push edi
mov edi, dword [ebp + 8]
cmp ax, word [0x543028]
jne 0x486a32
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 0x20019
push 0
push 0x4f98e8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x486a1e
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 1
push eax
push 0x543028
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0x208
push eax
push 0
push str.Path
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0x543028
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4869f3
sub ecx, edx
sar ecx, 1
je 0x486a20
cmp word [ecx*2 + 0x543026], 0x5c
je 0x486a20
mov eax, 0x5c
mov word [ecx*2 + 0x543028], ax
jmp 0x486a20
xor ecx, ecx
cmp word [0x543028], 0
mov dword [0x543024], ecx
je 0x486a54
jmp 0x486a38
mov ecx, dword [0x543024]
push ecx
push 0x543028
push edi
call fcn.004c7ee9
add esp, 0xc
test eax, eax
jne 0x486a54
call fcn.00482e60
test eax, eax
jne 0x486a7d
call fcn.004866c0
test eax, eax
je 0x486a86
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push edi
mov ecx, 0x538040
call fcn.00482d10
test eax, eax
je 0x486a86
cmp dword [ebp - 4], 3
je 0x486a86
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x486a88
xor eax, eax
mov dword [esi + 0x1c], eax
pop edi
test eax, eax
je 0x486ae0
push str.InitLibs
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
test ecx, ecx
je 0x486ad0
lea eax, [esi + 0x20]
push eax
call ecx
add esp, 4
test eax, eax
js 0x486ad0
mov eax, dword [esi + 0x84]
test eax, eax
je 0x486ad0
push 2
call eax
add esp, 4
test eax, eax
jne 0x486ad0
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x1c], 0
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x486af0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x213c
call fcn.004c2000
mov eax, dword [0x53ac84]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
cmp dword [ebx + 8], 0
jne 0x486b1f
cmp dword [ebx + 4], 0
je 0x486ce2
lea eax, [ebx + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx - 0xc]
test eax, eax
jle 0x486b60
test esi, esi
je 0x486cd8
test eax, eax
js 0x486cd8
push esi
push ecx
call fcn.004c531b
add esp, 8
test eax, eax
je 0x486cd8
sub eax, dword [ebx + 0x10]
sar eax, 1
js 0x486cd8
push 0x2002
lea eax, [ebp - 0x2108]
push 0
push eax
call fcn.004c49e0
add esp, 0xc
lea eax, [ebp + 0x14]
push eax
push 0
push dword [ebp + 0x10]
lea eax, [ebp - 0x2108]
push 0xfff
push eax
call fcn.00416f70
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.004cb4cd
add esp, 0x1c
test eax, eax
js 0x486bae
cmp eax, 0xfff
ja 0x486bae
jne 0x486bb7
xor eax, eax
mov word [ebp - 0x10a], ax
push 0
call fcn.004ce620
mov dword [ebp - 0x213c], eax
lea eax, [ebp - 0x213c]
push eax
lea eax, [ebp - 0x212c]
mov dword [ebp - 0x2138], edx
push eax
call fcn.004ce596
add esp, 0xc
test eax, eax
jne 0x486cf2
lea eax, [ebp - 0x212c]
push eax
push str._Y__m__d__H:_M:_S
lea eax, [ebp - 0x104]
push 0x80
push eax
call fcn.004ce2ed
add esp, 0x10
test eax, eax
jne 0x486c13
mov word [ebp - 0x104], ax
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x2130]
call fcn.00483760
call fcn.004833a0
mov ecx, eax
test ecx, ecx
je 0x486cfc
mov eax, dword [ecx]
push edi
call dword [eax + 0xc]
mov edi, dword [ebp - 0x2130]
add eax, 0x10
mov dword [ebp - 0x2134], eax
lea eax, [ebp - 0x2108]
push eax
push esi
push edi
lea eax, [ebp - 0x2134]
push str._s___s___s_r_n
push eax
call fcn.004832c0
mov esi, dword [ebp - 0x2134]
add esp, 0x14
cmp dword [ebx + 8], 0
je 0x486c79
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebx + 4], 0
je 0x486ca8
mov ecx, dword [ebx + 0xc]
cmp ecx, 0xffffffff
je 0x486ca8
push 0
lea eax, [ebp - 0x2130]
mov dword [ebp - 0x2130], 0
push eax
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x486cc2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x486cd7
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
lea eax, [ebx + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00483200
push 0x80004005
call fcn.00483200
int3
Function at 0x4892e0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp dword [edi + 0x40], 0
je 0x48937e
lea eax, [edi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x489304
mov eax, dword [edi + 0x30]
push ebx
push esi
push eax
push 0
mov ecx, edi
call fcn.00488c20
mov esi, dword [edi + 0xc]
sub esi, 1
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
js 0x48935a
mov edi, edi
test esi, esi
js 0x489383
cmp esi, dword [edi + 0xc]
jge 0x489383
mov eax, dword [edi + 8]
mov ebx, dword [eax + esi*4]
lea eax, [ebp + 8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp + 8], 0x103
jne 0x48934c
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
sub esi, 1
jns 0x489320
push dword [edi + 0x40]
call ebx
lea esi, [edi + 0x14]
mov dword [edi + 0x40], 0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push dword [edi + 0x3c]
call ebx
pop esi
pop ebx
pop edi
pop ebp
ret 4
push 1
push 0xc000008c
call fcn.00483620
int3
Function at 0x489c20
Capabilities:
Extract resource via kernel32 functions
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x531a58
push 0x4c4b80
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x53ac84]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], 0
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x489c6f
mov dword [eax], ebx
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov esi, eax
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x30], eax
cmp eax, 0xffffffff
je 0x489cd4
push 0
push 0
push 0
push 0x1000002
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
mov dword [ebp - 0x2c], edi
test edi, edi
je 0x489cd4
push 0
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
mov dword [ebp - 0x28], ebx
test ebx, ebx
je 0x489cd4
mov dword [ebp - 0x20], ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp dword [ebp - 0x20], 0
je 0x489d83
mov dword [ebp - 4], 0
xor edi, edi
mov dword [ebp - 0x24], edi
push 0x10
push 1
mov esi, dword [ebp - 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x489d53
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x489d53
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x489d53
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x489d53
movzx esi, word [eax]
cmp esi, dword [ebp - 0x1c]
ja 0x489d4b
mov dword [ebp - 0x1c], esi
add esi, 3
and esi, 0xfffffffc
mov dword [ebp - 0x1c], esi
cmp dword [eax + 0x28], 0xfeef04bd
je 0x489d58
mov edi, 0xd
mov dword [ebp - 0x24], edi
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xfffffffe
jmp 0x489d88
mov edi, 0xd
test ebx, ebx
je 0x489d93
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x489da3
push eax
call ebx
mov eax, dword [ebp - 0x30]
cmp eax, 0xffffffff
je 0x489dae
push eax
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
je 0x489dd2
lea eax, [esi*2 + 4]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x489df0
Capabilities:
Extract resource via kernel32 functions
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x531a78
push 0x4c4b80
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x53ac84]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor eax, eax
mov dword [ebp - 0x1c], eax
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
xor edi, edi
mov dword [ebp - 0x24], edi
cmp dword [ebp + 0x10], 2
jae 0x489e56
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp - 0x28], eax
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x30], eax
cmp eax, 0xffffffff
je 0x489ebc
push 0
push 0
push 0
push 0x1000002
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
mov dword [ebp - 0x20], ebx
test ebx, ebx
je 0x489ebc
push 0
push 0
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
mov dword [ebp - 0x24], edi
test edi, edi
je 0x489ebc
mov dword [ebp - 0x1c], edi
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x489f7a
push 0x10
push 1
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x489f78
push eax
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edx, eax
test edx, edx
je 0x489f78
mov dword [ebp - 4], esi
movzx esi, word [edx]
mov dword [ebp - 0x28], esi
lea eax, [esi*2 + 4]
mov ecx, dword [ebp + 0x10]
cmp eax, ecx
jbe 0x489f22
mov esi, ecx
shr esi, 1
sub esi, 4
mov dword [ebp - 0x28], esi
mov dword [ebp + 0x10], 1
jmp 0x489f29
mov dword [ebp + 0x10], 0
push esi
push edx
push dword [ebp + 0x14]
call fcn.004c4460
add esp, 0xc
mov eax, dword [0x539d18]
mov ecx, dword [ebp + 0x14]
mov dword [esi + ecx], eax
cmp dword [ebp + 0x10], 0
je 0x489f4a
mov word [ecx], si
mov esi, 1
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 0xfffffffe
jmp 0x489f7a
xor esi, esi
test edi, edi
je 0x489f85
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x489f92
push ebx
call edi
mov eax, dword [ebp - 0x30]
cmp eax, 0xffffffff
je 0x489f9d
push eax
call edi
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48c080
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4840
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x53ac84]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push 0
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
call fcn.004833a0
mov ecx, eax
test ecx, ecx
je 0x48c163
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov edi, dword [ebp + 8]
mov dword [edi], eax
cmp dword [ebp - 0x18], 0
je 0x48c13e
mov dword [ebp - 4], 0
lea eax, [ebp - 0x11]
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.0048b820
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x24]
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
push dword [ebp - 0x24]
mov ecx, edi
call fcn.004843a0
lea ecx, [ebp - 0x24]
call fcn.00484130
mov dword [ebp - 4], 0xffffffff
jmp 0x48c13e
push 0x50fc04
push 0x4fa0cc
mov ecx, edi
call fcn.0048d110
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00483200
int3
Function at 0x48ef40
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x53ac84]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 1
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x214], 4
push eax
push str.EnableLUA
push str.SOFTWAREMicrosoftWindowsCurrentVersionpolicies_system
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x218], 4
call esi
cmp dword [ebp - 0x210], 0
je 0x48f066
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x218]
push eax
push str.ConsentPromptBehaviorAdmin
push str.SOFTWAREMicrosoftWindowsCurrentVersionpolicies_system
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x48f00f
cmp dword [ebp - 0x210], eax
jne 0x48f00f
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x218]
push eax
push str.PromptOnSecureDesktop
push str.SOFTWAREMicrosoftWindowsCurrentVersionpolicies_system
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x48f00f
cmp dword [ebp - 0x210], eax
je 0x48f066
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004c49e0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x48f052
push str.UsersAdministratorAppDataLocal
lea eax, [ebp - 0x206]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x48f066
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret

Function at 0x48f080
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x53ac84]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004c49e0
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x48f0dc
cmp dword [ebp - 0x114], 6
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret
Function at 0x48f6a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x53ac84]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x48f712
test esi, esi
je 0x48f712
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004c49e0
push esi
push edi
push str._s_s
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004830c0
add esp, 0x20
test eax, eax
js 0x48f712
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret
Function at 0x48f9a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp byte [0x543714], 0
jne 0x48fb7f
mov eax, dword [0x543020]
test eax, eax
jne 0x48f9df
push 0x543eb0
push 0x2c
call fcn.004c203f
add esp, 8
test eax, eax
je 0x48f9d8
mov ecx, eax
call fcn.00485670
jmp 0x48f9da
xor eax, eax
mov dword [0x543020], eax
push 0x4fabe0
push str.proxy
push eax
call fcn.00486af0
add esp, 0xc
mov byte [0x543714], 1
call fcn.0048fb90
test eax, eax
jne 0x48fa0f
call fcn.0048fd10
test eax, eax
je 0x48fb7f
push edi
push 1
push str.SOFTWARELiveUpdate360
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
call fcn.0048fe60
mov edi, dword [ebp - 0x1c]
test eax, eax
jne 0x48fa8d
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.proxytype
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48fa83
cmp dword [ebp - 0xc], 4
jne 0x48fa83
cmp dword [ebp - 4], eax
jne 0x48fa8d
mov dword [0x543710], 1
jmp 0x48fa8d
mov dword [0x543710], 0
mov eax, dword [0x543020]
test eax, eax
jne 0x48fab9
push 0x543eb0
push 0x2c
call fcn.004c203f
add esp, 8
test eax, eax
je 0x48fab2
mov ecx, eax
call fcn.00485670
jmp 0x48fab4
xor eax, eax
mov dword [0x543020], eax
push dword [0x543710]
push str._LiveUpdate360__read_bad_proxy:_d
push str.proxy
push eax
call fcn.00486af0
add esp, 0x10
cmp dword [0x543710], 0
jne 0x48fb73
push esi
push 1
push str.SOFTWARE360Safe_softmgr
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.0048fe60
mov esi, dword [ebp - 0x1c]
test eax, eax
jne 0x48fb67
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.badproxy
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48fb47
cmp dword [ebp - 0x10], 4
jne 0x48fb47
mov eax, dword [ebp - 8]
jmp 0x48fb49
xor eax, eax
push eax
push str._softmgr__read_bad_proxy:_d
push str.proxy
mov dword [0x543710], eax
call fcn.00486590
push eax
call fcn.00486af0
add esp, 0x10
test esi, esi
je 0x48fb72
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
test edi, edi
je 0x48fb7e
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, dword [0x543710]
mov esp, ebp
pop ebp
ret
Function at 0x48fb90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push 1
push str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_Settings
push reloc.gdiplus.dll_Ordinal_1
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
call fcn.0048fe60
mov esi, dword [ebp - 0x18]
test eax, eax
jne 0x48fc4e
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.ProxyEnable
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48fbfa
cmp dword [ebp - 0xc], 4
je 0x48fc01
mov dword [ebp - 4], 0
mov ecx, dword [0x543020]
test ecx, ecx
jne 0x48fc31
push 0x543eb0
push 0x2c
call fcn.004c203f
add esp, 8
test eax, eax
je 0x48fc29
mov ecx, eax
call fcn.00485670
mov ecx, eax
jmp 0x48fc2b
xor ecx, ecx
mov dword [0x543020], ecx
xor eax, eax
cmp dword [ebp - 4], 1
sete al
push eax
push str.hkcu_enable_ie_proxy:_d
push str.proxy
push ecx
call fcn.00486af0
add esp, 0x10
cmp dword [ebp - 4], 0
jne 0x48fcf2
push 1
push str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_Settings
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x18]
call fcn.0048fe60
mov esi, dword [ebp - 0x18]
test eax, eax
jne 0x48fcf2
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0
push str.ProxyEnable
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48fc9e
cmp dword [ebp - 8], 4
je 0x48fca5
mov dword [ebp - 4], 0
mov ecx, dword [0x543020]
test ecx, ecx
jne 0x48fcd5
push 0x543eb0
push 0x2c
call fcn.004c203f
add esp, 8
test eax, eax
je 0x48fccd
mov ecx, eax
call fcn.00485670
mov ecx, eax
jmp 0x48fccf
xor ecx, ecx
mov dword [0x543020], ecx
xor eax, eax
cmp dword [ebp - 4], 1
sete al
push eax
push str.hklm_enable_ie_proxy:_d
push str.proxy
push ecx
call fcn.00486af0
add esp, 0x10
xor ebx, ebx
cmp dword [ebp - 4], 1
sete bl
test esi, esi
je 0x48fd06
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret