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

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call fcn.00433170
push 0x208
lea esi, [edi + 0x18]
push 0
push esi
call fcn.0048dc10
add esp, 0xc
push 0x208
lea ebx, [edi + 0x220]
push 0
push ebx
call fcn.0048dc10
add esp, 0xc
push 0x208
lea ebp, [edi + 0x428]
push 0
push ebp
call fcn.0048dc10
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push esi
lea ecx, [esp + 0x1c]
push ecx
push str.SavePath
push str.SOFTWARE360SafeLeak
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], 1
mov dword [esp + 0x28], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x4603b7
mov edx, dword [esp + 0x1c]
push str.hotfix
push edx
push esi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [esp + 0x1c]
push str.hotfix
push eax
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x4603de
push str.filelist.dat
push esi
push ebp
call ebx
pop esi
pop ebp
mov eax, edi
pop ebx
add esp, 0xc
ret 4

Function at 0x4607d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3920
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4c97a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.00462850
add esp, 4
test eax, eax
je 0x460827
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp + 8], 0
je 0x460838
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46080e
cmp dword [ebp + 0xc], 0
je 0x460850
push esi
call fcn.0048aed0
add esp, 4
test eax, eax
sete al
test al, al
jne 0x46080e
push esi
mov dword [ebp - 4], 0
call fcn.004628c0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4608a0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x40
push 0x3c
lea eax, [esp + 8]
push 0
push eax
call fcn.0048dc10
mov ecx, dword [esp + 0x50]
add esp, 0xc
push 0
mov dword [esp + 0x1c], ecx
push 0
mov ecx, esi
mov dword [esp + 0xc], 0x3c
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], 0x4b40a0
mov dword [esp + 0x28], 5
mov dword [esp + 0x10], 0x440
call fcn.004607d0
test eax, eax
je 0x4608fa
lea edx, [esp + 4]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x48]
push 0x4b4eb0
push eax
call fcn.00468430
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x460933
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
add esp, 0x40
ret 4
Function at 0x460940
Capabilities:
Check if file exists
Set registry value

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, eax
push esi
xor ebx, ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4609fb
push edi
push 0x4b4f7c
call fcn.004608a0
mov edi, eax
push 0xea60
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esp + 0xc], ebx
cmp eax, ebx
jne 0x460998
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x460998
cmp dword [esp + 0xc], 0x3600
jne 0x460998
mov ebx, 1
push 4
lea ecx, [esp + 0x10]
push ecx
push 4
push str.aiAddMenu
push str.SOFTWARE360SafeLeak
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov edx, dword [esp + 0xc]
push edx
push str._d__cu
push esi
lea eax, [esp + 0x1c]
push 0x4b4f98
push eax
call fcn.00468430
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4609f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 8
ret
Function at 0x460b30
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x4a43fb
mov eax, dword fs:[0]
push eax
mov eax, 0x2014
call fcn.0048ed30
mov eax, dword [0x4c97a0]
xor eax, esp
mov dword [esp + 0x2010], eax
push esi
push edi
mov eax, dword [0x4c97a0]
xor eax, esp
push eax
lea eax, [esp + 0x2020]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
mov eax, dword [0x4ce67c]
mov edx, dword [eax + 0xc]
mov esi, ecx
mov ecx, 0x4ce67c
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0xc], edi
lea eax, [esp + 0x14]
push eax
push esi
mov dword [esp + 0x2030], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x460c47
cmp eax, 0x1fff
ja 0x460c47
lea ecx, [esp + 0x1c]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x460c12
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
push 0x4b42e8
lea ecx, [esp + 0x28]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x460c12
mov eax, dword [esp + 0x10]
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
lea edi, [esp + 0x20]
call fcn.0046afd0
mov edi, dword [esp + 0x20]
add esp, 0x14
lea esi, [edi - 0x10]
mov eax, esi
call fcn.0046b5f0
add eax, 0x10
mov dword [ebx], eax
mov dword [esp + 0x2028], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x460c7a
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x460c7a
lea esi, [edi - 0x10]
mov eax, esi
call fcn.0046b5f0
add eax, 0x10
mov dword [ebx], eax
mov dword [esp + 0x2028], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x460c7a
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, ebx
mov ecx, dword [esp + 0x2020]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2010]
xor ecx, esp
call fcn.0048b133
add esp, 0x2020
ret
Function at 0x460ce0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4a4758
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c97a0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
push edi
xor ebp, ebp
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x460d62
mov ecx, edi
lea ebx, [esp + 0x14]
call fcn.00460b30
mov dword [esp + 0x20], ebp
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], ebp
jle 0x460d78
push str.1.0.0.1004
push esi
call fcn.0048c2c9
add esp, 8
cmp eax, ebp
jge 0x460d78
lea eax, [esi - 0x10]
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x460d62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.00462850
add esp, 4
test eax, eax
jne 0x460d98
push edi
call fcn.004628c0
add esp, 4
cmp eax, ebp
je 0x460d3e
lea eax, [esi - 0x10]
mov edi, 1
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x460dc1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

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

Disassembly:
sub esp, 0x18
push esi
lea eax, [esp + 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.SOFTWARE360SafeLeak
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], esi
mov dword [esp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x460eaf
push ebx
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push str.allowairestore
mov ebx, 1
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 4
mov dword [esp + 0x24], 4
call esi
cmp dword [esp + 0x10], 0
je 0x460e96
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.UseAIRestore
push edx
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], 4
call esi
cmp dword [esp + 0x18], ebx
jne 0x460e96
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x460e9a
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop ebx
pop esi
add esp, 0x18
ret 4
mov eax, esi
pop esi
add esp, 0x18
ret 4
Function at 0x461640
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [ebx]
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
mov eax, dword [esi]
mov edx, dword [eax - 8]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, edi
or ecx, edx
jge 0x46166c
mov ecx, edi
mov eax, esi
call fcn.0046c770
mov eax, dword [esi]
push edi
push eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x461693
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x461697
push ecx
push eax
call fcn.0048c35c
add esp, 8
test eax, eax
jl 0x4616ad
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x4616ad
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, edi
pop edi
ret
push 0x80070057
call fcn.004752e0
int3

Function at 0x462460
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a8db8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x4c97a0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, edx
lea eax, [esp + 0x10]
push eax
call fcn.0046c8c0
xor eax, eax
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x10]
lea edi, [esp + 0x20]
mov dword [esp + 0x14], eax
mov ecx, dword [edx - 0xc]
mov eax, dword [esi + 0x64]
push edi
push edx
call fcn.0046e8a0
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 0xc]
mov eax, dword [esi + 0x68]
lea edi, [esp + 0x18]
push edi
push edx
call fcn.0046e8a0
mov ecx, dword [esp + 0x18]
mov eax, ecx
sub eax, dword [esp + 0x20]
add ecx, 0x14
cdq
push ecx
sub eax, edx
lea ecx, [esp + 0x14]
sar eax, 1
push ecx
mov dword [esp + 0x1c], eax
call fcn.00462350
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46250e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret
Function at 0x462540
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x80c
mov eax, dword [0x4c97a0]
xor eax, esp
mov dword [esp + 0x804], eax
mov eax, dword [0x4d1fb8]
push esi
push edi
test eax, eax
je 0x46256c
cmp dword [0x4d1fb0], 0
jne 0x462645
push 0x400
lea eax, [esp + 0xc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 8]
push ecx
call edi
xor esi, esi
cmp dword [0x4d1fac], esi
jle 0x4625a5
lea edx, [esp + 8]
push edx
call edi
inc esi
cmp esi, dword [0x4d1fac]
jl 0x462595
push str.MiniUI.dll
lea eax, [esp + 0xc]
push eax
mov ecx, eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.00462850
add esp, 4
test eax, eax
jne 0x462604
lea edx, [esp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x462604
lea eax, [esp + 8]
push eax
call fcn.004628c0
add esp, 4
test eax, eax
jne 0x462604
push 1
call fcn.0048ab80
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.0048ad90
add esp, 0xc
xor eax, eax
jmp 0x46260e
lea edx, [esp + 8]
push edx
call sub.KERNEL32.dll_LoadLibraryW
mov dword [0x4d1fb0], eax
test eax, eax
jne 0x462630
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x804]
xor ecx, esp
call fcn.0048b133
add esp, 0x80c
ret
push str.GetMiniUI4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4d1fb8], eax
test eax, eax
je 0x462617
call eax
mov ecx, dword [esp + 0x80c]
pop edi
pop esi
xor ecx, esp
call fcn.0048b133
add esp, 0x80c
ret

Function at 0x462990
Capabilities:
Check if file exists

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.00462850
add esp, 4
test eax, eax
jne 0x4629d5
test esi, esi
je 0x4629d1
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4629d5
push esi
call fcn.004628c0
add esp, 4
test eax, eax
jne 0x4629d5
push 1
call fcn.0048ab80
push eax
push esi
call fcn.0048ad90
add esp, 0xc
xor eax, eax
pop ecx
ret
mov eax, 1
pop ecx
ret
Function at 0x4629e0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x80c
mov eax, dword [0x4c97a0]
xor eax, esp
mov dword [esp + 0x804], eax
mov eax, dword [0x4d1fb4]
push esi
push edi
test eax, eax
je 0x462a0c
cmp dword [0x4d1fb0], 0
jne 0x462afb
push 0x400
lea eax, [esp + 0xc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 8]
push ecx
call edi
xor esi, esi
cmp dword [0x4d1fac], esi
jle 0x462a45
lea edx, [esp + 8]
push edx
call edi
inc esi
cmp esi, dword [0x4d1fac]
jl 0x462a35
push str.MiniUI.dll
lea eax, [esp + 0xc]
push eax
mov ecx, eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.00462850
add esp, 4
test eax, eax
jne 0x462aa4
lea edx, [esp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x462aa4
lea eax, [esp + 8]
push eax
call fcn.004628c0
add esp, 4
test eax, eax
jne 0x462aa4
push 1
call fcn.0048ab80
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.0048ad90
add esp, 0xc
xor eax, eax
jmp 0x462aae
lea edx, [esp + 8]
push edx
call sub.KERNEL32.dll_LoadLibraryW
mov dword [0x4d1fb0], eax
test eax, eax
je 0x462ae2
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4d1fb4], eax
test eax, eax
jne 0x462afb
mov eax, dword [0x4d1fb0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4d1fb0], 0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x804]
xor ecx, esp
call fcn.0048b133
add esp, 0x80c
ret
call eax
mov ecx, dword [esp + 0x80c]
pop edi
pop esi
xor ecx, esp
call fcn.0048b133
add esp, 0x80c
ret
Function at 0x462f10
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0xc
push edi
mov edi, ecx
mov ecx, dword [edi + 0x38]
sub ecx, dword [edi + 0x34]
sar ecx, 5
cmp eax, ecx
jge 0x462ff0
push esi
mov esi, dword [edi + 0x44]
cmp esi, eax
je 0x462fef
mov dword [edi + 0x44], eax
call fcn.00463180
mov eax, esi
call fcn.00463180
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x462f6c
mov edx, dword [edi + 8]
mov dword [esp + 0xc], edx
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], 0xfffffdd9
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
push 0
push 0x4e
call eax
cmp esi, 0xffffffff
je 0x462f99
mov ecx, dword [edi + 0x38]
sub ecx, dword [edi + 0x34]
sar ecx, 5
cmp esi, ecx
jb 0x462f83
call fcn.0048b4bc
mov edx, dword [edi + 0x34]
shl esi, 5
mov esi, dword [esi + edx]
test esi, esi
je 0x462f99
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [edi + 0x44]
cmp esi, 0xffffffff
je 0x462fef
mov eax, dword [edi + 0x38]
sub eax, dword [edi + 0x34]
sar eax, 5
cmp esi, eax
jb 0x462fb3
call fcn.0048b4bc
mov ecx, dword [edi + 0x34]
shl esi, 5
mov esi, dword [esi + ecx]
test esi, esi
je 0x462fef
mov eax, dword [edi + 0x54]
mov edx, dword [edi + 0x5c]
mov ecx, dword [edi + 0x50]
push 0x44
sub edx, eax
push edx
mov edx, dword [edi + 0x58]
sub edx, ecx
push edx
push eax
push ecx
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x105
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_RedrawWindow]
pop esi
pop edi
add esp, 0xc
ret
Function at 0x467b30
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
push 0
mov esi, eax
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 4]
lea ecx, [esp + 8]
push ecx
push 0
or edx, 0x20006
push edx
push 0
push 0
push 0
push eax
mov eax, dword [esi]
push eax
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x467b96
mov ecx, dword [esp + 0xc]
mov esi, dword [esi + 8]
mov edx, dword [esp + 4]
push 4
push ecx
push 4
push eax
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [esp + 4]
neg esi
sbb esi, esi
push eax
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret
xor eax, eax
pop esi
pop ecx
ret

Function at 0x467ba0
Capabilities:
Delete registry value

Disassembly:
push ecx
push esi
mov esi, eax
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 4]
lea ecx, [esp + 4]
push ecx
or edx, 2
push edx
push 0
push eax
mov eax, dword [esi]
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x467bec
mov esi, dword [esi + 8]
mov ecx, dword [esp + 4]
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [esp + 4]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret
xor eax, eax
pop esi
pop ecx
ret
Function at 0x468180
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4aa528
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4c97a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00467d60
mov esi, dword [ebp + 8]
test esi, esi
je 0x4682c3
cmp word [esi], 0
je 0x4682c3
cmp dword [ebx], 0xffffffff
je 0x4682c3
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [0x4ce67c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4ce67c
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], 0
movzx ecx, word [esp + 0x2a]
movzx edx, word [esp + 0x28]
movzx eax, word [esp + 0x26]
push esi
push ecx
movzx ecx, word [esp + 0x2c]
push edx
push eax
push ecx
push str._02d:_02d:_02d:_04d_t_s_r_n
lea edi, [esp + 0x2c]
call fcn.0046afd0
mov edi, dword [esp + 0x2c]
mov ecx, dword [edi - 0xc]
lea eax, [ecx - 3]
add esp, 0x18
test eax, eax
jl 0x4682d8
cmp eax, ecx
jg 0x4682d8
movzx eax, word [edi + eax*2]
cmp ax, 0xa
jne 0x468287
cmp dword [edi - 4], 1
jle 0x468260
mov edx, ecx
push edx
lea eax, [esp + 0x18]
push eax
call fcn.0046c6b0
mov edi, dword [esp + 0x14]
mov eax, dword [edi - 0xc]
mov ecx, 0xd
mov word [edi + eax*2 - 6], cx
mov eax, dword [edi - 0xc]
mov edx, 0xa
mov word [edi + eax*2 - 4], dx
mov eax, dword [edi - 0xc]
dec eax
lea esi, [esp + 0x14]
call fcn.00468140
mov eax, dword [edi - 0xc]
push 0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [eax + eax]
mov eax, dword [ebx]
push edx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [edi - 0x10]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4682c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.004752e0
int3
Function at 0x468430
Capabilities:
Access peb ldr_data
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x4a4758
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c97a0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x28]
xor esi, esi
mov dword [esp + 0x14], esi
mov eax, dword [0x4ce67c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ce67c
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x20], esi
mov ebx, dword [esp + 0x2c]
push eax
lea edi, [esp + 0x18]
call fcn.0046af50
cmp dword [0x4d2038], esi
mov esi, dword [esp + 0x14]
jne 0x4684ca
add esi, 0xfffffff0
mov eax, esi
call fcn.0046b5f0
add eax, 0x10
mov dword [ebp], eax
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46850d
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x46850d
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
mov ecx, 0x4ce5dc
call fcn.00468180
add esi, 0xfffffff0
mov eax, esi
call fcn.0046b5f0
add eax, 0x10
mov dword [ebp], eax
mov dword [esp + 0x20], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46850d
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x468630
Capabilities:
Create process on windows
Create process suspended

Disassembly:
sub esp, 0x64
push esi
lea esi, [esp + 8]
mov dword [esp + 8], 0
call fcn.00467970
push 0x40
lea eax, [esp + 0x28]
push 0
push eax
mov dword [esp + 0x2c], 0x44
call fcn.0048dc10
or dword [esp + 0x58], 1
add esp, 0xc
xor eax, eax
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0
push 0
push 0
mov ecx, 5
mov word [esp + 0x6c], cx
mov ecx, dword [esp + 0x88]
push 0
push ecx
push 0
mov dword [esp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
call fcn.00468530
pop esi
add esp, 0x64
ret 4