joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47c730
Capabilities:
Delete registry key

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d7ea8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x655140]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
mov edx, esi
movq qword [ebp - 0x2c], xmm0
lea ecx, [ebp - 0x50]
call fcn.0047c950
mov edx, esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.0047c9f0
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 1
push ecx
lea eax, [ebp - 0x48]
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0040c620
push fcn.004086a0
push 2
push 4
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 3
push eax
call fcn.004b409b
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], eax
cmp eax, ecx
je 0x47c8c2
nop dword [eax]
mov esi, dword [eax]
xorps xmm0, xmm0
push 1
lea eax, [ebp - 0x40]
mov dword [ebp - 0x30], 0
push eax
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 1
push 0
push 1
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push 0x40000
push esi
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.00419f30
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x47c8a9
lea eax, [ebp - 0x40]
push eax
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x47c8e8
cmp dword [edi], 0
je 0x47c889
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x47c89b
push str.RegDeleteKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47c89b
push 0
push dword [edi]
push 0
push 0
push 0x6318e4
push esi
call eax
jmp 0x47c89b
cmp dword [edi + 4], 0
je 0x47c89b
push 0x6318e4
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x44]
add eax, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x44], eax
cmp eax, dword [ebp - 0x48]
jne 0x47c7e0
lea ecx, [ebp - 0x2c]
call fcn.00408af0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b3f1a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp byte [0x669eb4], 0
jne 0x47c928
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x47c91a
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x669eb8], eax
mov byte [0x669eb4], 1
jmp 0x47c92d
mov eax, dword [0x669eb8]
mov byte [0x669eb4], 1
jmp 0x47c92d
mov eax, dword [0x669eb8]
test eax, eax
je 0x47c88f
push 0
push dword [ebp - 0x1c]
push 0x6318e4
push esi
call eax
jmp 0x47c89b
Function at 0x47ca90
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d7f2d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x655140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0047c1e0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
call fcn.0047b0a0
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
cmp esi, edi
je 0x47cb27
nop dword [eax]
push ecx
mov ecx, dword [esi]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.0047c490
add esp, 4
test eax, eax
je 0x47cb20
mov ecx, dword [esi]
call fcn.0047c730
add esi, 4
cmp esi, edi
jne 0x47cb00
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
call fcn.00402de0
mov ecx, eax
test ecx, ecx
je 0x47cc0d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.sesAppX43hnxtbyyps62jhe9s
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push str.SoftwareClas_sqpdzxn1790zetc
push eax
call fcn.00409210
add esp, 0xc
call fcn.00402de0
mov ecx, eax
test ecx, ecx
je 0x47cc17
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push str.penWit
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push str.NoO_sh
push eax
call fcn.00409210
mov esi, dword [ebp - 0x18]
add esp, 0xc
mov edi, dword [ebp - 0x14]
push esi
push edi
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47cbd1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x47cbea
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x24]
call fcn.00408af0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b3f1a
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402a80
push 0x80004005
call fcn.00402a80
int3
Function at 0x47e1d0
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d8160
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x230
mov eax, dword [0x655140]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x10], 0
jne 0x47e262
push 0x10
lea eax, [ebp - 0x23c]
push eax
call fcn.0047e3d0
mov esi, eax
cmp edi, esi
je 0x47e257
mov ecx, edi
call fcn.00408bb0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x23c]
call fcn.00408bb0
cmp dword [edi + 0x28], 0
jne 0x47e2b5
push 2
lea eax, [ebp - 0x23c]
push eax
call fcn.0047e3d0
mov esi, eax
lea eax, [edi + 0x18]
cmp eax, esi
je 0x47e2aa
mov ecx, eax
call fcn.00408bb0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi + 0x18], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x28], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x23c]
call fcn.00408bb0
cmp dword [edi + 0x40], 0
jne 0x47e38e
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.004b69d0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.00402de0
mov ecx, eax
test ecx, ecx
je 0x47e3bf
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x224], eax
push str.kBar
push str.k_LaunchUser_P
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 0
push str.MicrosoftInternet_ExplorerQuic_sinnedTas_s
push eax
call fcn.00409210
mov esi, dword [ebp - 0x224]
lea eax, [ebp - 0x220]
add esp, 0x10
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47e350
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x30]
call fcn.00477ad0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x47e38e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi + 0x28], 0
mov eax, 0x80004005
je 0x47e3a1
xor ecx, ecx
cmp dword [edi + 0x10], ecx
cmovne eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b3f1a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x80004005
call fcn.00402a80
int3
Function at 0x47e3d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x655140]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], esi
push eax
mov dword [ebp - 0x214], 0
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x47e494
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], 0
push eax
push dword [ebp + 0xc]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x47e47e
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.004b69d0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x218]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x47e462
lea eax, [ebp - 0x210]
push eax
jmp 0x47e499
mov eax, dword [ebp - 0x214]
push dword [ebp - 0x218]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov dword [ebp - 0x218], 0
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 0x214], 0
push 0x6318e4
mov ecx, esi
call fcn.00407f40
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004b3f1a
mov esp, ebp
pop ebp
ret 8

Function at 0x47e620
Capabilities:
Check os version
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x655140]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xorps xmm0, xmm0
push esi
push edi
movups xmmword [ebp - 0x20], xmm0
xor esi, esi
mov dword [ebp - 8], 0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x118
lea eax, [ebp - 0x138]
push esi
push eax
call fcn.004b69d0
add esp, 0xc
mov dword [ebp - 0x13c], 0x11c
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x138], 6
jae 0x47e6eb
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea eax, [ebp - 0x20]
push eax
push ebx
call edi
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x47e6eb
mov ecx, 0x2710
cmp dword [ebp + 0x10], eax
jne 0x47e703
cmp esi, 5
ja 0x47e703
mov eax, 0xaaaaaaab
mul dword [ebp - 8]
shr edx, 1
cmp edx, 0x3e8
jae 0x47e6c6
mov edx, 0x3e8
jmp 0x47e6cf
cmp edx, 0x2710
cmova edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x20]
inc esi
push eax
push ebx
call edi
mov eax, dword [ebp - 0x1c]
mov ecx, 0x2710
cmp eax, 1
jne 0x47e6a3
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b3f1a
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b3f1a
mov esp, ebp
pop ebp
ret 0x10
Function at 0x47f520
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d8270
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x655140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x67a2f8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi], vtable.TiXmlDocument.0
mov dword [esi + 0x34], 0x67a2f8
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov eax, dword [esi + 0x34]
cmp dword [eax + 4], 0x18
ja 0x47f5da
mov dword [eax], 0
mov eax, dword [esi + 0x34]
mov byte [eax + 8], 0
jmp 0x47f5f1
mov dword [esi + 0x34], 0x67a2f8
cmp eax, 0x67a2f8
je 0x47f5f1
push eax
call fcn.004b44af
add esp, 4
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x486550
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 4], ecx
mov esi, dword [edi]
test esi, esi
je 0x4865af
mov dword [edi], 0
mov edx, 0x400000
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
cmp esi, 0x400000
mov eax, esi
cmova eax, edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 8]
add ebx, ecx
add dword [edi], ecx
sub esi, ecx
test eax, eax
je 0x4865b8
test ecx, ecx
je 0x4865af
mov ecx, dword [ebp - 4]
mov edx, 0x400000
test esi, esi
jne 0x486570
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4894a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 8], ecx
mov eax, dword [eax]
and eax, 7
cmp edx, 5
jae 0x4894c0
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push ebx
add edx, 0xfffffffc
or ebx, 0xffffffff
add edx, ecx
push esi
mov dword [ebp - 4], edx
nop dword [eax]
lea esi, [edi + ecx]
cmp esi, edx
jae 0x4894e9
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x4894e6
inc esi
cmp esi, edx
jb 0x4894d7
mov ecx, dword [ebp - 8]
mov edi, esi
sub edi, ecx
mov ecx, edi
sub ecx, ebx
cmp esi, edx
jae 0x4895ff
cmp ecx, 3
jbe 0x489528
xor eax, eax
mov cl, byte [esi + 4]
mov ebx, edi
mov dword [ebp - 0x10], ebx
test cl, cl
je 0x489566
cmp cl, 0xff
je 0x489566
mov edx, dword [ebp - 4]
and eax, 3
add eax, eax
mov ecx, 1
or eax, 1
add edi, ecx
mov ecx, dword [ebp - 8]
jmp 0x4894d0
dec ecx
shl eax, cl
and eax, 7
je 0x489500
cmp byte [eax + 0x633e38], 0
je 0x489553
movzx ecx, byte [eax + 0x633e40]
mov edx, esi
sub edx, ecx
mov cl, byte [edx + 4]
test cl, cl
je 0x489550
cmp cl, 0xff
jne 0x489500
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
and eax, 3
add eax, eax
mov ebx, edi
or eax, 1
inc edi
jmp 0x4894d0
movzx ebx, cl
movzx ecx, byte [esi + 3]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [esi + 2]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [esi + 1]
shl ebx, 8
or ebx, ecx
sub ebx, edi
sub ebx, 5
test eax, eax
je 0x4895ca
nop dword [eax]
movzx edx, byte [eax + 0x633e40]
mov ecx, 0x18
shl edx, 3
sub ecx, edx
mov dword [ebp - 0xc], edx
mov edx, ebx
shr edx, cl
test dl, dl
je 0x4895b1
cmp dl, 0xff
jne 0x4895ca
mov ecx, 0x20
mov edx, 1
sub ecx, dword [ebp - 0xc]
shl edx, cl
dec edx
xor ebx, edx
sub ebx, edi
sub ebx, 5
jmp 0x489590
mov edx, dword [ebp - 4]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
mov byte [esi + 1], bl
neg cl
mov byte [esi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, ebx
mov ebx, dword [ebp - 0x10]
shr ecx, 8
mov byte [esi + 2], cl
mov ecx, 5
add edi, ecx
mov ecx, dword [ebp - 8]
jmp 0x4894d0
pop esi
pop ebx
cmp ecx, 3
jbe 0x489614
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [ecx], eax
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
dec ecx
shl eax, cl
mov ecx, dword [ebp + 0xc]
and eax, 7
mov dword [ecx], eax
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x489ce0
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d86dd
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x655140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call esi
test eax, eax
je 0x489dba
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call ebx
test eax, eax
jne 0x489dba
push edi
call esi
test eax, eax
je 0x489dba
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x489d4c
push edi
call ebx
test eax, eax
jne 0x489dba
call fcn.00402de0
mov ecx, eax
test ecx, ecx
je 0x489dd1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
lea eax, [ebp - 0x10]
push 0x63b988
push eax
call fcn.00409210
mov esi, dword [ebp - 0x10]
add esp, 0x10
push esi
call ebx
push 1
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
call edi
push 4
push 0
push esi
call edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x489dba
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
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
push 0x80004005
call fcn.00402a80
int3
Function at 0x48b4c0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d8890
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x655140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x21c], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], esi
push 0
push eax
call fcn.004b69d0
add esp, 0xc
lea eax, [ebp - 0x218]
push 1
push 0x26
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test edi, edi
je 0x48b538
push edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.00402de0
mov ecx, eax
test ecx, ecx
je 0x48b5ab
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.00408c10
test al, al
jne 0x48b58e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48b570
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00408fa0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b3f1a
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402a80
int3

Function at 0x48b5c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d8890
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x655140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x21c], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], esi
push 0
push eax
call fcn.004b69d0
add esp, 0xc
lea eax, [ebp - 0x218]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test edi, edi
je 0x48b638
push edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.00402de0
mov ecx, eax
test ecx, ecx
je 0x48b6ab
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.00408c10
test al, al
jne 0x48b68e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48b670
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00408fa0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b3f1a
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402a80
int3
Function at 0x48b6c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d8890
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x655140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x21c], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], esi
push 0
push eax
call fcn.004b69d0
add esp, 0xc
lea eax, [ebp - 0x218]
push 1
push 0x2e
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test edi, edi
je 0x48b738
push edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.00402de0
mov ecx, eax
test ecx, ecx
je 0x48b7ab
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.00408c10
test al, al
jne 0x48b78e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48b770
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00408fa0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b3f1a
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402a80
int3
Function at 0x48c3c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d8a3b
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x655140]
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
mov ebx, ecx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x228], ebx
mov eax, dword [0x67ad2c]
test al, 1
jne 0x48c436
or eax, 1
mov dword [0x67ad2c], eax
call fcn.00402de0
mov ecx, eax
test ecx, ecx
je 0x48c5c7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
push 0x5dc6b0
mov dword [0x67ad30], eax
call fcn.004b43ec
add esp, 4
mov eax, dword [0x67ad30]
cmp dword [eax - 0xc], 0
jne 0x48c596
mov esi, dword [0x67a844]
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0
test esi, esi
je 0x48c46d
lock inc dword [esi + 4]
mov esi, dword [0x67a844]
mov ecx, dword [0x67a840]
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x228], esi
mov dword [ebp - 4], 0
lea edx, [ebp - 0x224]
mov eax, dword [ecx]
push edx
call dword [eax + 0x30]
or edi, 0xffffffff
mov byte [ebp - 4], 2
test esi, esi
je 0x48c4bc
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x48c4bc
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x48c4bc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0x21c]
push eax
push 0x201
push 0
push dword [ebp - 0x224]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48c574
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004b69d0
add esp, 0xc
mov dword [ebp - 0x220], 1
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], 0x208
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push str.DisplayVersion
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48c553
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, 0x67ad30
call fcn.00408fa0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x48c596
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x67ad30]
add ecx, 0xfffffff0
call fcn.00408e50
add eax, 0x10
mov dword [ebx], eax
mov eax, ebx
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.004b3f1a
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402a80
int3