joyce8/EMBER2024-capa huggingface dataset:
Function at 0x470f60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, ecx
push ebx
push esi
push edi
mov esi, dword [eax + 8]
mov dword [esp + 0x20], eax
test esi, esi
je 0x47128f
mov edi, dword [eax + 0xc]
test edi, edi
je 0x47128f
movsd xmm0, qword [eax]
xor ecx, ecx
comisd xmm0, xmmword [esi]
mov ebx, 1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], ebx
movsd qword [esp + 0x38], xmm0
jb 0x470fd7
nop word [eax + eax]
subsd xmm0, qword [esi + ecx*8]
lea eax, [ecx + 1]
xor ebx, 1
xor ecx, ecx
cmp eax, edi
cmovne ecx, eax
comisd xmm0, xmmword [esi + ecx*8]
jae 0x470fb0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ecx
movsd qword [esp + 0x38], xmm0
mov ecx, edx
call fcn.00470280
mov esi, eax
mov dword [esp + 0x18], esi
call fcn.0046f8c0
mov ecx, dword [esi + 0x1c]
mov edi, eax
mov edx, 8
add ecx, dword [edi + 0x1c]
mov esi, dword [edi + 0x20]
cmp ecx, esi
jle 0x47102a
test esi, esi
cmove esi, edx
cmp esi, ecx
jge 0x47100c
add esi, esi
cmp esi, ecx
jl 0x471006
lea eax, [esi*4]
push eax
push dword [edi + 0x18]
call fcn.004916a4
add esp, 8
mov dword [edi + 0x18], eax
mov dword [edi + 0x20], esi
mov edx, 8
mov eax, dword [esp + 0x18]
mov esi, dword [edi + 0x2c]
mov eax, dword [eax + 0x28]
add eax, dword [edi + 0x28]
cmp eax, esi
jle 0x471061
test esi, esi
cmove esi, edx
cmp esi, eax
jge 0x47104a
add esi, esi
cmp esi, eax
jl 0x471044
mov eax, esi
shl eax, 4
push eax
push dword [edi + 0x24]
call fcn.004916a4
add esp, 8
mov dword [edi + 0x24], eax
mov dword [edi + 0x2c], esi
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x10], ecx
lea edx, [ecx + eax*4]
mov eax, dword [esi + 0x24]
mov dword [esp + 0x24], edx
mov dword [esp + 0xc], eax
cmp ecx, edx
jae 0x471259
nop word [eax + eax]
cmp dword [esp + 0x14], 0
movsd xmm0, qword [esp + 0x38]
movsd xmm1, qword [eax + 8]
mov esi, dword [esp + 0x1c]
movsd qword [esp + 0x40], xmm0
movsd xmm0, qword [eax]
movsd qword [esp + 0x28], xmm0
movsd qword [esp + 0x30], xmm1
je 0x4710e1
movaps xmm2, xmm1
mov ecx, edi
movaps xmm1, xmm0
call fcn.0046f910
movsd xmm0, qword [esp + 0x28]
movsd xmm1, qword [esp + 0x30]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
add ecx, 4
add eax, 0x10
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
cmp ecx, edx
jae 0x471255
cmp dword [ecx], 1
jne 0x471286
movsd xmm2, qword [eax]
movsd xmm3, qword [eax + 8]
subsd xmm2, xmm0
subsd xmm3, xmm1
movaps xmm1, xmm2
movsd qword [esp + 0x48], xmm2
invalid
invalid
Function at 0x47d3e0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x47d438
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x47d450
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 0
jne 0x47d469
xor eax, eax
jmp 0x47d50c
push 0x104
push 0
mov eax, dword [ebp - 4]
add eax, 4
push eax
call fcn.0048a4c0
add esp, 0xc
push 0x104
mov eax, dword [ebp - 4]
add eax, 4
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x47d49d
xor eax, eax
jmp 0x47d50c
mov eax, dword [ebp - 4]
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
test eax, eax
jne 0x47d4b2
xor eax, eax
jmp 0x47d50c
push str.log_
push 0x104
mov eax, dword [ebp - 4]
add eax, 4
push eax
call fcn.0048ffb3
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0x104
mov ecx, dword [ebp - 4]
add ecx, 4
push ecx
call fcn.0048ffb3
add esp, 0xc
mov eax, dword [ebp - 4]
add eax, 4
push eax
mov ecx, dword [ebp - 4]
call fcn.0047d3e0
cmp eax, 0x100000
jbe 0x47d506
mov eax, dword [ebp - 4]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 4]
add eax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x47e350
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbf8
mov eax, dword [0x4c90b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov byte [ebp - 5], 0
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x5c], 0
push 0x40
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.0048a4c0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x264], ax
push 0x206
push 0
lea eax, [ebp - 0x262]
push eax
call fcn.0048a4c0
add esp, 0xc
xor eax, eax
mov word [ebp - 0xa64], ax
push 0x7fe
push 0
lea eax, [ebp - 0xa62]
push eax
call fcn.0048a4c0
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x47e3ea
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0xa64]
push ecx
call fcn.0047e320
add esp, 8
cmp dword [ebp + 8], 0
je 0x47e415
mov eax, dword [ebp + 8]
push eax
push 0x104
lea ecx, [ebp - 0x264]
push ecx
call fcn.004901dd
add esp, 0xc
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x264]
mov dword [ebp - 0xbe8], eax
mov ecx, dword [ebp - 0xbe8]
add ecx, 2
mov dword [ebp - 0xbec], ecx
mov edx, dword [ebp - 0xbe8]
mov ax, word [edx]
mov word [ebp - 0xbee], ax
add dword [ebp - 0xbe8], 2
cmp word [ebp - 0xbee], 0
jne 0x47e430
mov ecx, dword [ebp - 0xbe8]
sub ecx, dword [ebp - 0xbec]
sar ecx, 1
mov dword [ebp - 0xbf4], ecx
je 0x47e475
lea edx, [ebp - 0x264]
mov dword [ebp - 0xbf8], edx
jmp 0x47e47f
mov dword [ebp - 0xbf8], 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0xbf8]
push edx
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xa64]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x47e4fe
push str.error_CreateProcess
push 0
push str.BaseCreateProcess
push str.d:dtl_deputilitycompany_liboutincludecommon_base_proc.cpp
mov eax, dword [0x4c9018]
add eax, 0x16
push eax
call fcn.0047d350
push eax
call fcn.0047d8b0
add esp, 0x18
push str.BaseCreateProcess
push str.d:dtl_deputilitycompany_liboutincludecommon_base_proc.cpp
mov eax, dword [0x4c9018]
add eax, 0x16
push eax
push 0
call fcn.0047d350
mov ecx, eax
call fcn.0047d5b0
xor eax, eax
jne 0x47e4ad
jmp 0x47e502
mov byte [ebp - 5], 1
cmp dword [ebp - 0x18], 0xffffffff
je 0x47e53e
movzx eax, byte [ebp - 5]
test eax, eax
je 0x47e524
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x47e524
push 0xffffffffffffffff
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp + 0x10], 0
je 0x47e534
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
jmp 0x47e53e
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0xffffffff
je 0x47e54e
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00487e4e
mov esp, ebp
pop ebp
ret
Function at 0x47e730
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov byte [ebp - 5], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20c]
or edx, 1
push edx
push 0
mov eax, dword [ebp - 4]
add eax, 4
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x47e77c
jmp 0x47e7aa
cmp dword [ebp + 8], 0
je 0x47e7a6
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x47e7a6
jmp 0x47e7aa
mov byte [ebp - 5], 1
cmp dword [ebp - 0xc], 0
je 0x47e7c1
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xc], 0
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x47f610
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
mov eax, dword [0x4c90b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea eax, [ebp - 0x20a]
push eax
call fcn.0048a4c0
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x47f6b4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x290], eax
mov ecx, dword [ebp - 0x290]
add ecx, 2
mov dword [ebp - 0x294], ecx
mov edx, dword [ebp - 0x290]
mov ax, word [edx]
mov word [ebp - 0x296], ax
add dword [ebp - 0x290], 2
cmp word [ebp - 0x296], 0
jne 0x47f663
mov ecx, dword [ebp - 0x290]
sub ecx, dword [ebp - 0x294]
sar ecx, 1
mov dword [ebp - 0x29c], ecx
je 0x47f6b4
mov eax, dword [ebp + 8]
push eax
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004901dd
add esp, 0xc
jmp 0x47f6ee
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x4a5b08
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.00490168
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x4cb294], eax
cmp dword [0x4cb294], 0
jne 0x47f710
xor al, al
jmp 0x47f81a
push str.STInit
mov eax, dword [0x4cb294]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4cb298], eax
push str.STUDPProxy
mov eax, dword [0x4cb294]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4cb29c], eax
push str.STUDPTransfer
mov eax, dword [0x4cb294]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4cb2a0], eax
push str.STCmdApp
mov eax, dword [0x4cb294]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4cb2b4], eax
push str.STEntryAddr
mov eax, dword [0x4cb294]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4cb2a8], eax
push str.STUnionID
mov eax, dword [0x4cb294]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4cb2a4], eax
push str.STAppID
mov eax, dword [0x4cb294]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4cb2ac], eax
push str.STVersion
mov eax, dword [0x4cb294]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4cb2b0], eax
push str.STOnline
mov eax, dword [0x4cb294]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4cb2b8], eax
push str.STOffline
mov eax, dword [0x4cb294]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4cb2bc], eax
push str.STAction
mov eax, dword [0x4cb294]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4cb2c0], eax
push str.STUninit
mov eax, dword [0x4cb294]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4cb2c4], eax
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00487e4e
mov esp, ebp
pop ebp
Function at 0x47ffc0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
push str.ManualUpdate.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x47ffeb
xor al, al
jmp 0x4800f2
push str.Mu_Init
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.0047ea70
push str.Mu_SetProductString
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
mov ecx, dword [ebp - 4]
add ecx, 8
call fcn.0047ea70
push str.Mu_SetProducID
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0xc
call fcn.0047ea70
push str.Mu_SetProducID
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0xc
call fcn.0047ea70
push str.Mu_SetUnionID
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x10
call fcn.0047ea70
push str.Mu_SetPCID
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x14
call fcn.0047ea70
push str.Mu_CheckUpdate
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x1c
call fcn.0047ea70
push str.Mu_Uninit
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x20
call fcn.0047ea70
push str.Mu_SetProductVerion
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x18
call fcn.0047ea70
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
Function at 0x480430
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3f86
mov eax, dword fs:[0]
push eax
sub esp, 0x8cc
mov eax, dword [0x4c90b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.DriverTalent
lea ecx, [ebp - 0x420]
call fcn.0047e620
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x628], ax
push 0x206
push 0
lea eax, [ebp - 0x626]
push eax
call fcn.0048a4c0
add esp, 0xc
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x420]
call fcn.0047e6f0
push str.DriverTalent.exe
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4804f7
xorps xmm0, xmm0
movlpd qword [ebp - 0x8c4], xmm0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x420]
call fcn.0047fa00
mov eax, dword [ebp - 0x8c4]
mov edx, dword [ebp - 0x8c0]
jmp 0x480601
xorps xmm0, xmm0
movlpd qword [ebp - 0x630], xmm0
lea ecx, [ebp - 0x7b8]
call fcn.004798a0
mov byte [ebp - 4], 1
push 0
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x7b8]
call fcn.00479b80
mov dword [ebp - 0x7bc], eax
cmp dword [ebp - 0x7bc], 0
je 0x480540
mov dword [ebp - 0x8d8], 0x4a5cec
jmp 0x48054a
mov dword [ebp - 0x8d8], 0x4a5cf4
mov eax, dword [ebp - 0x8d8]
push eax
push 0x4a5cfc
push 0
push str.CCommonHelp::GetVersion
push str.d:dtl_deppcguojibandrivertalent7_dt8coreuimanualupdatedtlmanualupdatedtlmanualupdatecommonhelp.cpp
mov ecx, dword [0x4c9020]
add ecx, 0xd
push ecx
call fcn.0047d350
push eax
call fcn.0047d8b0
add esp, 0x1c
cmp dword [ebp - 0x7bc], 0
je 0x4805c9
lea ecx, [ebp - 0x7b8]
call fcn.0047a230
mov dword [ebp - 0x8cc], eax
mov dword [ebp - 0x8c8], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7b8]
call fcn.00479a30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x420]
call fcn.0047fa00
mov eax, dword [ebp - 0x8cc]
mov edx, dword [ebp - 0x8c8]
jmp 0x480601
xorps xmm0, xmm0
movlpd qword [ebp - 0x8d4], xmm0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7b8]
call fcn.00479a30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x420]
call fcn.0047fa00
mov eax, dword [ebp - 0x8d4]
mov edx, dword [ebp - 0x8d0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00487e4e
mov esp, ebp
pop ebp
Function at 0x480620
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x4c90b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 8]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x48067b
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 8]
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x48067b
xor eax, eax
xor edx, edx
jmp 0x480710
mov dword [ebp - 0x50], 0x40
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4806b2
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
xor edx, edx
jmp 0x480710
xorps xmm0, xmm0
movlpd qword [ebp - 0x58], xmm0
cmp dword [ebp - 0xc], 3
jne 0x4806de
cmp dword [ebp - 0x50], 0
je 0x4806de
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x4c]
push ecx
push 8
lea edx, [ebp - 0x58]
push edx
call fcn.00480820
add esp, 0x10
jmp 0x480700
cmp dword [ebp - 0xc], 4
jne 0x480700
cmp dword [ebp - 0x50], 0
je 0x480700
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x4c]
push ecx
push 8
lea edx, [ebp - 0x58]
push edx
call fcn.00480820
add esp, 0x10
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00487e4e
mov esp, ebp
pop ebp
ret

Function at 0x480960
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
mov eax, dword [0x4c90b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
push 1
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4809ce
mov dword [ebp - 0x10], 0x104
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x218]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00487e4e
mov esp, ebp
pop ebp
Function at 0x4809f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3fbb
mov eax, dword fs:[0]
push eax
sub esp, 0x508
mov eax, dword [0x4c90b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
je 0x480a37
mov eax, 2
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, word [edx + ecx]
test eax, eax
jne 0x480a3c
jmp 0x480c2d
mov dword [ebp - 0x424], str.open
cmp dword [ebp + 0x10], 0
je 0x480a56
mov dword [ebp - 0x424], 0x4a5da0
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x424]
push edx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0x20
ja 0x480c2d
lea eax, [ebp - 0x420]
push eax
push str..htm
push SysReAllocString
call fcn.00480960
add esp, 0xc
test eax, eax
jne 0x480c2d
push str._shellopencommand
lea eax, [ebp - 0x420]
push eax
call fcn.00480930
add esp, 8
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x420]
push ecx
push SysReAllocString
call fcn.00480960
add esp, 0xc
test eax, eax
jne 0x480c2d
push str.__1_
lea eax, [ebp - 0x420]
push eax
call fcn.004057e0
add esp, 8
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
jne 0x480b98
push 0x4a5de8
lea eax, [ebp - 0x420]
push eax
call fcn.004057e0
add esp, 8
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
jne 0x480b8b
lea eax, [ebp - 0x420]
mov dword [ebp - 0x508], eax
mov ecx, dword [ebp - 0x508]
add ecx, 2
mov dword [ebp - 0x50c], ecx
mov edx, dword [ebp - 0x508]
mov ax, word [edx]
mov word [ebp - 0x50e], ax
add dword [ebp - 0x508], 2
cmp word [ebp - 0x50e], 0
jne 0x480b41
mov ecx, dword [ebp - 0x508]
sub ecx, dword [ebp - 0x50c]
sar ecx, 1
mov dword [ebp - 0x514], ecx
mov edx, dword [ebp - 0x514]
lea eax, [ebp + edx*2 - 0x422]
mov dword [ebp - 0x42c], eax
jmp 0x480b96
xor eax, eax
mov ecx, dword [ebp - 0x42c]
mov word [ecx], ax
jmp 0x480ba3
xor eax, eax
mov ecx, dword [ebp - 0x42c]
mov word [ecx], ax
push 0x4b44c8
push 0x206
lea eax, [ebp - 0x420]
push eax
call fcn.00490168
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0x206
lea ecx, [ebp - 0x420]
push ecx
call fcn.00490168
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x504]
call fcn.0047ead0
mov dword [ebp - 0x508], eax
mov edx, dword [ebp - 0x508]
mov dword [ebp - 0x50c], edx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x50c]
call fcn.0047ec20
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [ebp - 0x428], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x504]
call fcn.0047eb40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00487e4e
mov esp, ebp
pop ebp
ret