joyce8/EMBER2024-capa huggingface dataset:
Function at 0x475fa0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x541f38]
xor eax, esp
mov dword [esp + 0x208], eax
push edi
mov edi, dword [esp + 0x214]
test edi, edi
je 0x476092
mov eax, 0x5c
cmp ax, word [edi + 2]
je 0x476075
mov ecx, eax
cmp cx, word [edi + 4]
je 0x476075
push ebx
push esi
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x16]
push eax
mov word [esp + 0x18], dx
call fcn.004d86e0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.system32
lea edx, [esp + 0x10]
push edx
call esi
push edi
lea eax, [esp + 0x10]
push eax
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea ecx, [esp + 0xc]
push ecx
call ebx
test eax, eax
jne 0x47605d
push 0x5183c8
lea edx, [esp + 0x10]
push edx
call esi
push 0x5183c8
lea eax, [esp + 0x10]
push eax
call esi
push edi
lea ecx, [esp + 0x10]
push ecx
call esi
lea edx, [esp + 0xc]
push edx
call ebx
pop esi
pop ebx
pop edi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004d7eb0
add esp, 0x20c
ret
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004d7eb0
add esp, 0x20c
ret
mov ecx, dword [esp + 0x20c]
pop edi
xor ecx, esp
xor eax, eax
call fcn.004d7eb0
add esp, 0x20c
ret

Function at 0x476c30
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x80c
mov eax, dword [0x541f38]
xor eax, esp
mov dword [esp + 0x808], eax
xor eax, eax
push 0x7fe
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.004d86e0
add esp, 0xc
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 8]
push ecx
push 0x515d38
push 0x515cb8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0x800
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x476cb0
mov eax, 1
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.004d7eb0
add esp, 0x80c
ret
push 0x518400
lea edx, [esp + 0xc]
push edx
mov eax, edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x476c96
lea edx, [esp + 8]
push esi
push edx
call fcn.00476860
add esp, 4
test eax, eax
je 0x476cf5
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
jne 0x476d10
mov eax, 1
pop esi
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.004d7eb0
add esp, 0x80c
ret
push edi
push str.IsBetaVersion
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x810]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.004d7eb0
add esp, 0x80c
ret
Function at 0x476d50
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1004
call fcn.004d96e0
mov eax, dword [0x541f38]
xor eax, esp
mov dword [esp + 0x1000], eax
push esi
mov esi, dword [esp + 0x1010]
push 0x1000
lea eax, [esp + 8]
push 0
push eax
call fcn.004d86e0
add esp, 0xc
push 0x518488
push 0x800
lea ecx, [esp + 0xc]
push ecx
call fcn.00476170
push esi
push 0x800
lea edx, [esp + 0xc]
push edx
call fcn.00476170
push 0x51845c
push 0x800
lea eax, [esp + 0xc]
push eax
call fcn.00476170
push esi
push 0x800
lea ecx, [esp + 0xc]
push ecx
call fcn.00476170
push str.vL
push 0x800
lea edx, [esp + 0xc]
push edx
call fcn.00476170
mov eax, dword [esp + 0x100c]
push eax
push 0x800
lea ecx, [esp + 0xc]
push ecx
call fcn.00476170
push 0x518418
push 0x800
lea edx, [esp + 0xc]
push edx
call fcn.00476170
push 0x14
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, eax
cmp esi, 6
jne 0x476e70
push 0xc8
push 0x518300
push str.http:__down.360safe.com_setup.exe
call fcn.004da779
add esp, 0xc
test eax, eax
jne 0x476e58
call fcn.00476c30
test eax, eax
je 0x476e58
push 5
push 0
push 0
push str.http:__down.360safe.com_setupbeta.exe
jmp 0x476e63
push 5
push 0
push 0
push str.http:__down.360safe.com_setup.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esp + 0x1014], 0
je 0x476e81
push 0
call fcn.004dabf5
mov ecx, dword [esp + 0x1004]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004d7eb0
add esp, 0x1004
ret

Function at 0x476ee0
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call fcn.00476860
add esp, 4
push esi
test eax, eax
jne 0x476f11
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x476f0d
push 1
push 0x53f9d8
push esi
call fcn.00476d50
add esp, 0xc
xor eax, eax
pop esi
ret
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop esi
ret
Function at 0x4779f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
push edi
test ebx, ebx
je 0x477acf
mov ebp, dword [esp + 0x24]
test ebp, ebp
je 0x477acf
mov edi, dword [esp + 0x28]
test edi, edi
je 0x477acf
push 0x527f5c
lea ecx, [esp + 0x14]
call fcn.0043a930
xor ecx, ecx
mov eax, 0x800
mov dword [esp + 0x20], eax
mov edx, 2
mul edx
seto cl
mov dword [esp + 0x14], 1
neg ecx
or ecx, eax
push ecx
call fcn.004d45ee
mov esi, eax
add esp, 4
test esi, esi
je 0x477a93
mov eax, dword [esp + 0x20]
lea ecx, [eax + eax]
push ecx
push 0
push esi
call fcn.004d86e0
add esp, 0xc
lea edx, [esp + 0x20]
push edx
push esi
lea eax, [esp + 0x1c]
push eax
push edi
push ebp
push ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push esi
lea ecx, [esp + 0x14]
call fcn.0043a860
push esi
call fcn.004d72b6
add esp, 4
mov esi, dword [esp + 0x10]
add esi, 0xfffffff0
push esi
call fcn.00439080
mov edi, dword [esp + 0x20]
add eax, 0x10
add esp, 4
mov dword [edi], eax
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x477ac5
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov esi, dword [esp + 0x1c]
push 0x527f5c
mov ecx, esi
call fcn.0043a930
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x477c70
Capabilities:
Check if file exists

Disassembly:
sub esp, 0xc
push esi
push edi
call fcn.00477af0
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00439080
mov esi, eax
add esp, 4
add esi, 0x10
push str.360common.dll
mov dword [esp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
jne 0x477d6b
push str.360common.dll
push 0x517394
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00477210
add esp, 0xc
push eax
lea edx, [esp + 0x14]
push edx
call fcn.00477210
mov edi, dword [eax]
push edi
call fcn.00476860
add esp, 0x10
push edi
test eax, eax
jne 0x477cfb
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x477cf7
push 1
push 0x53f9d8
push edi
call fcn.00476d50
add esp, 0xc
xor edi, edi
jmp 0x477d03
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x477d23
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 0x477d43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
jne 0x477d6b
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x477d63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
xor eax, eax
pop esi
add esp, 0xc
ret
push str.SafeSupportDpi
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x477d47
push esi
call eax
mov edi, eax
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x477d9c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
pop edi
pop esi
add esp, 0xc
ret
Function at 0x477db0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0xc
push esi
push edi
call fcn.00477af0
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00439080
mov esi, eax
add esp, 4
add esi, 0x10
push str.360common.dll
mov dword [esp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
jne 0x477eab
push str.360common.dll
push 0x517394
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00477210
add esp, 0xc
push eax
lea edx, [esp + 0x14]
push edx
call fcn.00477210
mov edi, dword [eax]
push edi
call fcn.00476860
add esp, 0x10
push edi
test eax, eax
jne 0x477e3b
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x477e37
push 1
push 0x53f9d8
push edi
call fcn.00476d50
add esp, 0xc
xor edi, edi
jmp 0x477e43
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x477e63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 0x477e83
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
jne 0x477eab
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x477ea3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
xor eax, eax
pop esi
add esp, 0xc
ret
push str.GetDpiScaleParam
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x477e87
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push ecx
call eax
mov edi, eax
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x477eea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
pop edi
pop esi
add esp, 0xc
ret
Function at 0x47d800
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
call fcn.0047b280
mov ecx, esi
pop esi
jmp fcn.0047d150

Function at 0x47e8e0
Capabilities:
Create process on windows
Initialize iwebbrowser2

Disassembly:
push ebp
lea ebp, [esp - 0x804]
sub esp, 0x804
push 0xfffffffffffffffe
push 0x536fa8
push 0x4d9550
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x541f38]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x800], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 0x80c]
xor eax, eax
mov word [ebp], ax
push 0x7fe
xor edi, edi
push edi
lea ecx, [ebp + 2]
push ecx
call fcn.004d86e0
push esi
push 0x518908
push 0x800
lea edx, [ebp]
push edx
call fcn.0043e590
add esp, 0x1c
push 5
push edi
lea eax, [ebp]
push eax
push str.Explorer
push 0x527f5c
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x47ea51
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], edi
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [ebp - 0x1c]
push ecx
push 0x521ed8
push 0x15
push edi
push 0x521f18
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x47ea44
mov eax, dword [ebp - 0x1c]
cmp eax, edi
je 0x47ea44
mov dword [ebp - 0x20], edi
mov edx, dword [eax]
lea ecx, [ebp - 0x20]
push ecx
push eax
mov edx, dword [edx + 0x94]
call edx
mov eax, dword [ebp - 0x20]
cmp eax, edi
je 0x47e9dc
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 3
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x47e9e1
sub eax, edx
sar eax, 1
je 0x47ea2e
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x3c], eax
xor ecx, ecx
mov word [ebp - 0x30], cx
mov edx, 8
mov word [ebp - 0x44], dx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
push edx
push edx
push edx
push edx
lea edx, [ebp - 0x44]
push edx
push eax
mov eax, dword [ecx + 0xd0]
call eax
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x47ea44
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.004d7eb0
add ebp, 0x804
mov esp, ebp
pop ebp
ret 4
Function at 0x4824c0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x420
mov eax, dword [0x541f38]
xor eax, esp
mov dword [esp + 0x41c], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [esp + 0x430]
cmp dword [esi], ebx
je 0x4825c4
xor eax, eax
push 0x40e
push eax
lea ecx, [esp + 0x22]
push ecx
mov word [esp + 0x24], ax
call fcn.004d86e0
add esp, 0xc
push ebx
push 0x1a
lea edx, [esp + 0x20]
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4825c6
push ebp
push str.PostFileVersion.xml
lea ecx, [esp + 0x18]
call fcn.0043a930
push str.360Safe_safeid_safe
lea ecx, [esp + 0x1c]
call fcn.0043a930
mov ecx, dword [esi]
lea eax, [esp + 0x10]
push eax
call fcn.0045db80
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
push ebp
push ecx
push esi
lea edx, [esp + 0x28]
push edx
push str._s_s_s_s
push edi
call fcn.0043a600
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0x18
mov ebx, 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48258b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4825a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop ebp
test edx, edx
jg 0x4825c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x428]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004d7eb0
add esp, 0x420
ret 4
Function at 0x4825e0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x420
mov eax, dword [0x541f38]
xor eax, esp
mov dword [esp + 0x41c], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [esp + 0x430]
cmp dword [esi], ebx
je 0x4826e4
xor eax, eax
push 0x40e
push eax
lea ecx, [esp + 0x22]
push ecx
mov word [esp + 0x24], ax
call fcn.004d86e0
add esp, 0xc
push ebx
push 0x1a
lea edx, [esp + 0x20]
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4826e6
push ebp
push str.BackUpFileVersion.xml
lea ecx, [esp + 0x18]
call fcn.0043a930
push str.360Safe_safeid_safe
lea ecx, [esp + 0x1c]
call fcn.0043a930
mov ecx, dword [esi]
lea eax, [esp + 0x10]
push eax
call fcn.0045db80
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
push ebp
push ecx
push esi
lea edx, [esp + 0x28]
push edx
push str._s_s_s_s
push edi
call fcn.0043a600
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0x18
mov ebx, 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4826ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4826c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop ebp
test edx, edx
jg 0x4826e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x428]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004d7eb0
add esp, 0x420
ret 4
Function at 0x482720
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x544598]
sub esp, 0x10
test eax, eax
jne 0x48286c
push edi
call fcn.0047fa90
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00439080
mov edi, eax
add edi, 0x10
push str.5.1.2600
push edi
call fcn.004d7575
add esp, 0xc
test eax, eax
jne 0x48284a
push esi
push 0x527f5c
lea ecx, [esp + 0xc]
call fcn.0043a930
xor ecx, ecx
mov eax, 0x100
mov dword [esp + 0xc], eax
mov edx, 2
mul edx
seto cl
mov dword [esp + 0x10], 1
neg ecx
or ecx, eax
push ecx
call fcn.004d45ee
mov esi, eax
add esp, 4
test esi, esi
je 0x4827e1
mov eax, dword [esp + 0xc]
lea ecx, [eax + eax]
push ecx
push 0
push esi
call fcn.004d86e0
add esp, 0xc
lea edx, [esp + 0xc]
push edx
push esi
lea eax, [esp + 0x18]
push eax
push str.CSDVersion
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push esi
lea ecx, [esp + 0xc]
call fcn.0043a860
push esi
call fcn.004d7e25
add esp, 4
push 1
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x10]
call fcn.00476ae0
mov esi, dword [esp + 0x14]
push esi
call fcn.004da898
add esp, 4
cmp eax, 2
jg 0x48280d
mov dword [0x544598], 1
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
pop esi
test ecx, ecx
jg 0x48282a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48284a
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 0x482867
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x544598]
add esp, 0x10
ret

Function at 0x4847e0
Capabilities:
Reference http user-agent string

Disassembly:
sub esp, 0xc
mov eax, dword [0x54ffc8]
mov edx, dword [eax + 0xc]
push esi
push edi
mov ecx, 0x54ffc8
call edx
mov esi, eax
mov eax, dword [0x54458c]
add esi, 0x10
xor edi, edi
mov dword [esp + 8], esi
cmp eax, edi
jne 0x484826
push 0x48
call fcn.004d7e4b
add esp, 4
cmp eax, edi
je 0x48481f
mov ecx, eax
call fcn.00484580
jmp 0x484821
xor eax, eax
mov dword [0x54458c], eax
mov ecx, eax
call fcn.00482720
test eax, eax
je 0x484845
push 5
push str.xpsp2
lea ecx, [esp + 0x10]
call fcn.0043a260
mov esi, dword [esp + 8]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
call fcn.0048bac0
add esp, 8
push edi
mov edi, dword [esp + 0x1c]
push 0x527f5c
mov ecx, edi
call fcn.0043a260
mov edx, dword [esp + 0xc]
push esi
push edx
push str.User_Agent:_Mozilla_5.0__Trident_7.0__rv:_d__System_VS:__s__like_Gecko_360pcws_ncf
push edi
call fcn.0043a600
lea eax, [esi - 0x10]
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
pop esi
test edx, edx
jg 0x4848a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esp, 0xc
ret 4
Function at 0x487220
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x487240
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x487254
pop edi
lea eax, [esi + 0xd]
pop esi
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edi]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc

Function at 0x487280
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 4], ecx
test ebp, ebp
jne 0x487296
lea eax, [ebp + 0xd]
pop ebp
pop ecx
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x4872a3
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8
Function at 0x487c80
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x541f38]
xor eax, esp
mov dword [esp + 0x220], eax
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
lea esi, [esp + 0x14]
push esi
xor edi, edi
or eax, 0x2001f
push eax
push edi
push edx
push ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0xc]
mov esi, eax
cmp esi, edi
jne 0x487cf6
xor eax, eax
cmp ecx, edi
je 0x487ce4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], edi
mov esi, eax
mov dword [esp + 0xc], ecx
cmp eax, edi
je 0x487d04
cmp ecx, edi
je 0x487da2
push ecx
jmp 0x487d9c
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push edi
push edi
push edi
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x3c]
push eax
push edi
push ecx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
jne 0x487d6c
lea esp, [esp]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x10]
call fcn.00487c80
mov dword [esp + 0x14], eax
cmp eax, edi
jne 0x487dbb
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x10]
push edi
push edi
push edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
push ecx
push edi
push edx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
je 0x487d30
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x487d7f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx]
push eax
push ecx
mov dword [esp + 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x487da2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.004d7eb0
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0xc]
cmp ecx, edi
je 0x487da4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004d7eb0
mov esp, ebp
pop ebp
ret 4