joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4354a5
Capabilities:
Delete file
Enumerate files on windows
Get common file path

Disassembly:
push 0xaec
mov eax, 0x49777a
call fcn.00459b85
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x810]
push 0x800
xor esi, esi
push esi
push eax
call fcn.004714b0
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
lea eax, [ebp - 0xaf1]
mov dword [ebp - 0x848], 0x4b6750
push eax
lea eax, [ebp - 0x810]
mov edi, 0x4b6748
push eax
lea ecx, [ebp - 0x870]
mov dword [ebp - 0x870], edi
call fcn.00407aa0
mov dword [ebp - 4], 1
lea eax, [ebp - 0xaf1]
push esi
push eax
push 0x4ab12c
lea ecx, [ebp - 0x840]
mov dword [ebp - 0x840], edi
mov dword [ebp - 0x818], 0x4b6750
call fcn.00407aa0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x840]
push eax
lea ecx, [ebp - 0x870]
call fcn.004249dd
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x840]
call fcn.00404cc0
or esi, 0xffffffff
mov dword [ebp - 0xaf8], esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xaf0]
cmp dword [ebp - 0x858], 8
lea eax, [ebp - 0x86c]
push ecx
cmovae eax, dword [ebp - 0x86c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, esi
je 0x435681
mov esi, edi
mov dword [ebp - 0xaf8], esi
lea eax, [ebp - 0xae4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jg 0x43566b
push 0
lea eax, [ebp - 0xaf1]
mov dword [ebp - 0x840], 0x4b6748
push eax
lea eax, [ebp - 0x810]
mov dword [ebp - 0x818], 0x4b6750
push eax
lea ecx, [ebp - 0x840]
call fcn.00407aa0
mov byte [ebp - 4], 8
lea eax, [ebp - 0xaf1]
push 0
push eax
lea eax, [ebp - 0xac4]
mov dword [ebp - 0x8a0], 0x4b6748
push eax
lea ecx, [ebp - 0x8a0]
mov dword [ebp - 0x878], 0x4b6750
call fcn.00407aa0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x8a0]
push eax
lea ecx, [ebp - 0x840]
call fcn.004249dd
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x8a0]
call fcn.00404cc0
cmp dword [ebp - 0x828], 8
lea eax, [ebp - 0x83c]
cmovae eax, dword [ebp - 0x83c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x840]
call fcn.00404cc0
lea eax, [ebp - 0xaf0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4355a4
mov byte [ebp - 4], 1
cmp esi, 0xffffffff
je 0x4356a1
cmp dword [sym.imp.KERNEL32.dll_FindClose], 0
je 0x4356a1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
or dword [ebp - 0xaf8], 0xffffffff
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x870]
call fcn.00404cc0
call fcn.00459b34
ret 4
Function at 0x4391a0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
mov eax, dword [0x4d9754]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x12c], 0
push esi
push edi
mov esi, ecx
call fcn.0040f072
xor edi, edi
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
inc edi
push eax
mov dword [ebp - 0x130], edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x120], ecx
sub eax, 0
je 0x43928c
sub eax, edi
je 0x43927b
sub eax, edi
jne 0x439296
lea eax, [ebp - 0x154]
mov dword [ebp - 0x130], 2
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0x154]
push 4
pop ecx
sub eax, edi
je 0x439265
sub eax, edi
je 0x439259
sub eax, edi
jne 0x43926b
mov dword [ebp - 0x130], 5
jmp 0x43926b
mov dword [ebp - 0x130], 3
jmp 0x43926b
mov dword [ebp - 0x130], ecx
cmp dword [ebp - 0x114], ecx
jb 0x439296
mov dword [ebp - 0x12c], edi
jmp 0x439296
movzx eax, cx
mov dword [ebp - 0x12c], edi
mov dword [ebp - 0x120], eax
jmp 0x439296
mov dword [ebp - 0x130], 7
lea ecx, [ebp - 0x130]
push ecx
mov ecx, esi
call fcn.0040f080
mov ecx, eax
call fcn.0044274e
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0045978b
leave
ret

Function at 0x439405
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x439435
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ecx + 0xd8]
mov ecx, dword [ebp + 0x10]
movzx eax, byte [esi]
xor eax, ecx
shr ecx, 8
movzx eax, al
inc esi
xor ecx, dword [edi + eax*4]
sub edx, 1
jne 0x43941d
pop edi
pop esi
jmp 0x439438
mov ecx, dword [ebp + 0x10]
mov eax, ecx
pop ebp
ret 0xc

Function at 0x4395d7
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
push edi
mov edi, ecx
xor esi, esi
cmp dword [edi + 0xd8], esi
jne 0x439627
push 0x400
call fcn.00459c53
pop ecx
mov dword [edi + 0xd8], eax
push ebx
push 8
mov edx, esi
pop ebx
mov ecx, edx
mov eax, edx
shr ecx, 1
mov edx, ecx
xor edx, 0xedb88320
test al, 1
cmove edx, ecx
dec ebx
test ebx, ebx
jg 0x4395fc
mov eax, dword [edi + 0xd8]
mov dword [eax + esi*4], edx
inc esi
cmp esi, 0xff
jle 0x4395f7
pop ebx
pop edi
pop esi
ret
Function at 0x43b692
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x498f03
call fcn.00459bf1
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
xor ebx, ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
push 0x60
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x43b70f
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x43b70f
call fcn.0043ac90
mov esi, eax
jmp 0x43b7f0
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x43b732
call fcn.0043ac90
jmp 0x43b7e3
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x43b728
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x43b765
mov esi, 0x8007000e
jmp 0x43b7e5
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x418]
call fcn.0043ab53
mov dword [ebp - 4], 1
jmp 0x43b799
cmp dword [ebp - 0x418], 0
je 0x43b75b
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x41c]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x43b728
xor edx, edx
mov eax, dword [ebp - 0x418]
mov word [eax + ecx*2], dx
push dword [ebp + 0x14]
push dword [ebp - 0x418]
lea ecx, [ebp - 0x42c]
call fcn.0043b54b
mov esi, eax
test edi, edi
je 0x43b7f0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], bl
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x43b80c
lea ecx, [ebp - 0x418]
call fcn.0043af02
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00459b43
ret 0x10
Function at 0x43cab3
Capabilities:
Read file on windows

Disassembly:
push 0x8c
mov eax, 0x499034
call fcn.00459b85
mov esi, ecx
and dword [ebp - 0x98], 0
xor ebx, ebx
mov ecx, dword [esi + 4]
inc ebx
cmp dword [ebp + 0xc], 0xffffffff
mov eax, ebx
mov edx, dword [ebp + 8]
cmovne eax, dword [ebp + 0xc]
test ecx, ecx
je 0x43caf6
lea edi, [ebp - 0x98]
push edi
push eax
push edx
call fcn.00464297
test al, al
je 0x43cb4d
jmp 0x43cb3f
push 0
lea ecx, [ebp - 0x98]
push ecx
push eax
push edx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43cb3f
push ebx
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x40]
call fcn.0043d1d8
mov dword [ebp - 4], 2
lea eax, [ebp - 0x40]
push ebx
push eax
lea ecx, [ebp - 0x90]
call fcn.0043cfc7
push 0x4cd838
lea eax, [ebp - 0x90]
jmp 0x43cb79
mov eax, dword [ebp - 0x98]
call fcn.00459b34
ret 8
push ebx
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x40]
call fcn.0043d1d8
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push ebx
push eax
lea ecx, [ebp - 0x94]
call fcn.0043d162
push 0x4cd8ac
lea eax, [ebp - 0x94]
push eax
call fcn.00471ff8
int3

Function at 0x43cb80
Capabilities:
Read file on windows

Disassembly:
push 0x8c
mov eax, 0x499034
call fcn.00459b85
mov esi, ecx
and dword [ebp - 0x98], 0
cmp dword [ebp + 0xc], 0xffffffff
mov ecx, dword [esi + 4]
mov edx, dword [ebp + 8]
push 8
pop eax
cmovne eax, dword [ebp + 0xc]
test ecx, ecx
je 0x43cbc1
lea edi, [ebp - 0x98]
push edi
push eax
push edx
call fcn.00464297
test al, al
je 0x43cc1a
jmp 0x43cc0c
push 0
lea ecx, [ebp - 0x98]
push ecx
push eax
push edx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43cc0c
push 1
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x40]
call fcn.0043d1d8
mov dword [ebp - 4], 2
lea eax, [ebp - 0x40]
push 1
push eax
lea ecx, [ebp - 0x90]
call fcn.0043cfc7
push 0x4cd838
lea eax, [ebp - 0x90]
jmp 0x43cc48
mov eax, dword [ebp - 0x98]
call fcn.00459b34
ret 8
push 1
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x40]
call fcn.0043d1d8
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push 1
push eax
lea ecx, [ebp - 0x94]
call fcn.0043d162
push 0x4cd8ac
lea eax, [ebp - 0x94]
push eax
call fcn.00471ff8
int3
Function at 0x44172d
Capabilities:
Create process on windows

Disassembly:
push 0x8cc
mov eax, 0x49ab3d
call fcn.00459b85
mov esi, ecx
push 0x800
xor edi, edi
lea eax, [ebp - 0x810]
push edi
push eax
call fcn.004714b0
add esp, 0xc
lea eax, [ebp - 0x810]
lea ecx, [esi + 0x18]
push 0x400
push eax
push 0x4b65d4
push str.ClickOncePackage
push str.Startup
call fcn.00411ec3
cmp word [ebp - 0x810], di
jne 0x441788
xor eax, eax
jmp 0x44190a
lea eax, [ebp - 0x8a0]
mov ecx, esi
push eax
call fcn.0043f473
mov dword [ebp - 4], edi
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x4417a4
mov eax, dword [eax]
push 1
lea ecx, [ebp - 0x8d1]
push ecx
push eax
lea ecx, [ebp - 0x840]
call fcn.00406b40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8a0]
call fcn.00404cc0
push edi
lea eax, [ebp - 0x8d1]
mov dword [ebp - 0x870], 0x4b6748
push eax
lea eax, [ebp - 0x810]
mov dword [ebp - 0x848], 0x4b6750
push eax
lea ecx, [ebp - 0x870]
call fcn.00407aa0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x8d0]
push edi
push edi
push eax
lea ecx, [ebp - 0x840]
call fcn.004062d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x870]
push ecx
lea ecx, [ebp - 0x8a0]
push ecx
mov ecx, eax
call fcn.00406ac0
mov byte [ebp - 4], 7
add eax, 4
push eax
lea ecx, [ebp - 0x83c]
call fcn.00407b80
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8a0]
call fcn.00404cc0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8d0]
call fcn.00404cc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x870]
call fcn.00404cc0
cmp dword [ebp - 0x828], 8
lea eax, [ebp - 0x83c]
push 4
cmovae eax, dword [ebp - 0x83c]
lea edx, [ebp - 0x8d1]
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x8d8], esp
push 1
push edx
push eax
call fcn.0041099e
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 2
call fcn.0045c4a5
add esp, 0x34
test al, al
jne 0x4418cb
lea eax, [ebp - 0x810]
push eax
call fcn.00473ca3
pop ecx
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x83c]
call fcn.00408130
cmp dword [ebp - 0x828], 8
lea eax, [ebp - 0x83c]
push 1
cmovae eax, dword [ebp - 0x83c]
push edi
push edi
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x20
pop ecx
cmp ecx, eax
sbb esi, esi
neg esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x840]
call fcn.00404cc0
mov eax, esi
call fcn.00459b34
ret
Function at 0x44351b
Capabilities:
Get file size

Disassembly:
push 0x88
mov eax, 0x49b0e2
call fcn.00459b85
mov ebx, ecx
cmp dword [ebx + 4], 0
mov eax, dword [ebp + 8]
je 0x443559
test eax, eax
je 0x44353c
and dword [eax], 0
mov edi, dword [ebx + 4]
mov eax, dword [edi]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x4a5608]
mov ecx, edi
call esi
mov esi, eax
cmp esi, 0xffffffff
je 0x4435b4
jmp 0x4435aa
push eax
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4435aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
je 0x4435aa
push 1
lea ecx, [ebx + 0xc]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0043d1d8
mov dword [ebp - 4], 2
lea eax, [ebp - 0x40]
push 1
push edi
push eax
lea ecx, [ebp - 0x90]
call fcn.0043d022
push 0x4cd838
lea eax, [ebp - 0x90]
jmp 0x4435e2
mov eax, esi
call fcn.00459b34
ret 4
push 1
lea eax, [ebx + 0xc]
push eax
lea ecx, [ebp - 0x40]
call fcn.0043d1d8
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push 1
push eax
lea ecx, [ebp - 0x94]
call fcn.0043d162
push 0x4cd8ac
lea eax, [ebp - 0x94]
push eax
call fcn.00471ff8
int3
Function at 0x448905
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
lea ecx, [eax - 1]
mov ebx, ecx
mov dword [ebp - 8], edi
sar ebx, 1
mov esi, edi
mov dword [ebp - 4], ecx
cmp edi, ebx
jge 0x44896c
mov edx, dword [ebp + 8]
add esi, esi
imul ecx, esi, 0x30
lea eax, [edx + 0x34]
add eax, ecx
push eax
lea eax, [edx + 0x64]
add eax, ecx
push eax
call fcn.00429f21
movzx eax, al
xor eax, 1
inc eax
add esi, eax
imul eax, esi, 0x30
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
add eax, 4
add eax, ecx
add ecx, 4
push eax
imul eax, edi, 0x30
add ecx, eax
call fcn.00407b80
mov edi, esi
cmp esi, ebx
jl 0x448926
mov eax, dword [ebp + 0x10]
cmp esi, ebx
jne 0x448990
test al, 1
jne 0x448990
mov ecx, dword [ebp + 8]
imul eax, eax, 0x30
add eax, 0xffffffd4
add eax, ecx
add ecx, 4
push eax
imul eax, edi, 0x30
add ecx, eax
call fcn.00407b80
mov edi, dword [ebp - 4]
push dword [ebp + 0x18]
mov edx, dword [ebp + 8]
push dword [ebp + 0x14]
push dword [ebp - 8]
push edi
push edx
call fcn.00448a37
add esp, 0x14
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44b44c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x250
mov eax, 0x49d42b
call fcn.00459b85
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push 0x208
push ebx
mov dword [ebp - 0x25c], edi
push eax
mov dword [ebp - 0x258], ebx
call fcn.004714b0
add esp, 0xc
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 4], 1
mov ebx, esi
and ebx, 0x7fffffff
lea eax, [ebp - 0x24c]
test esi, esi
push eax
cmovns ebx, esi
sar esi, 0x1f
and esi, 0x100
add esi, 0x20019
push esi
xor esi, esi
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44b503
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], 0x208
push eax
lea eax, [ebp - 0x218]
cmp ebx, 1
push eax
push esi
mov ecx, str.ProgramFilesDir
mov eax, str.CommonFilesDir
push esi
cmovne eax, ecx
push eax
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ebx, ebx
mov dword [ebp - 0x248], 0x4a6f40
push ebx
lea eax, [ebp - 0x24d]
mov dword [ebp - 0x220], 0x4a6f48
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.0041070a
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x248]
push 1
push 0x4a6f30
call fcn.00414eca
push eax
mov ecx, edi
call fcn.00414d34
mov dword [ebp - 0x258], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.00404cc0
mov byte [ebp - 4], bl
cmp dword [ebp - 0x24c], ebx
je 0x44b58f
cmp dword [sym.imp.ADVAPI32.dll_RegCloseKey], ebx
je 0x44b58f
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x24c], ebx
mov eax, edi
call fcn.00459b34
ret

Function at 0x44b597
Capabilities:
Get common file path

Disassembly:
push 0x248
mov eax, 0x49d4b3
call fcn.00459b85
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
xor edi, edi
mov dword [ebp - 0x254], esi
push 0x208
push edi
push eax
mov dword [ebp - 0x250], edi
call fcn.004714b0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push edi
push edi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor ebx, ebx
inc ebx
test eax, eax
jns 0x44b61c
lea eax, [ebp - 0x218]
push eax
push ebx
push edi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x44b61c
push ebx
lea eax, [ebp - 0x249]
mov ecx, esi
push eax
push 0x4b65d4
call fcn.0044bd2a
mov dword [ebp - 4], edi
mov dword [ebp - 0x250], ebx
jmp 0x44b67e
push edi
lea eax, [ebp - 0x249]
mov dword [ebp - 0x248], 0x4a6f40
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], 0x4a6f48
push eax
lea ecx, [ebp - 0x248]
call fcn.0041070a
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x248]
push ebx
push 0x4a6f30
call fcn.00414eca
push eax
mov ecx, esi
call fcn.00414d34
mov dword [ebp - 0x250], ebx
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x248]
call fcn.00404cc0
mov eax, esi
call fcn.00459b34
ret
Function at 0x44b686
Capabilities:
Get common file path
Set current directory

Disassembly:
push 0x18
mov eax, 0x49d502
call fcn.00459b52
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
and dword [ebp - 4], 0
lea eax, [ebp - 0xd]
push 1
push eax
call fcn.004060a0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x24]
push 0x105
push eax
mov ecx, esi
call fcn.0041c824
mov byte [ebp - 4], 2
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.004140be
push dword [eax]
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.0041132b
cmp dword [ebp + 0x20], 8
lea ecx, [ebp + 0xc]
cmovae ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404cc0
mov eax, esi
call fcn.00459b20
ret 0x30

Function at 0x44bf5a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d956
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push esi
mov eax, dword [0x4d9754]
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], vtable.CSetupPreRequisite.0
mov dword [ebp - 4], 0xe
lea ecx, [esi + 0x4f4]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xe
push ecx
call fcn.0042a22f
mov byte [ebp - 4], 0xd
lea ecx, [esi + 0x498]
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 0xd
call fcn.00404cc0
mov byte [ebp - 4], 0xc
lea ecx, [esi + 0x464]
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 0xc
call fcn.00404cc0
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0x434]
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 0xb
call fcn.00404cc0
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x404]
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 0xa
call fcn.00404cc0
mov byte [ebp - 4], 9
lea ecx, [esi + 0x3d4]
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 9
call fcn.00404cc0
mov byte [ebp - 4], 8
lea ecx, [esi + 0x3a4]
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 8
call fcn.00404cc0
mov byte [ebp - 4], 7
lea ecx, [esi + 0x374]
mov dword [ebp - 0x30], ecx
mov byte [ebp - 4], 7
call fcn.00404cc0
mov byte [ebp - 4], 6
lea ecx, [esi + 0x344]
mov dword [ebp - 0x34], ecx
mov byte [ebp - 4], 6
call fcn.00404cc0
mov byte [ebp - 4], 5
lea ecx, [esi + 0x314]
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 5
call fcn.00404cc0
mov byte [ebp - 4], 4
lea ecx, [esi + 0x2e4]
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 4
call fcn.00404cc0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x2b4]
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 3
call fcn.00404cc0
mov byte [ebp - 4], 2
lea ecx, [esi + 0x284]
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 2
call fcn.00404cc0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x278]
call fcn.00450f19
mov byte [ebp - 4], 0
lea ecx, [esi + 0x26c]
call fcn.00450f65
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 4]
mov dword [ebp - 0x48], ecx
or dword [ebp - 4], 0xffffffff
call fcn.00404cc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret
Function at 0x44c759
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push 0x258
mov eax, 0x49daad
call fcn.00459b85
cmp dword [ecx + 0x14], 0
je 0x44c7f8
or esi, 0xffffffff
mov dword [ebp - 0x264], esi
and dword [ebp - 4], 0
lea edi, [ecx + 4]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x44c78c
mov eax, dword [edi]
lea ecx, [ebp - 0x260]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x44c7d8
mov esi, eax
mov dword [ebp - 0x264], esi
cmp dword [edi + 0x14], 8
jb 0x44c7b3
mov eax, dword [edi]
mov ebx, eax
jmp 0x44c7b7
mov ebx, edi
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [edi + 0x14], 8
jb 0x44c7d1
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
or dword [ebp - 4], 0xffffffff
cmp esi, 0xffffffff
je 0x44c7f8
cmp dword [sym.imp.KERNEL32.dll_FindClose], 0
je 0x44c7f8
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
or dword [ebp - 0x264], 0xffffffff
call fcn.00459b34
ret
Function at 0x44f581
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x4d9754]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
mov dword [eax], edx
push edi
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x40]
push eax
push ebx
mov dword [ebp - 0x4c], ecx
mov dword [ecx], edx
mov dword [ebp - 0x40], edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x44f626
push esi
push edi
call fcn.00477609
push edi
mov esi, eax
push 0
push esi
call fcn.004714b0
add esp, 0x10
push esi
push edi
xor edi, edi
push edi
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x44f61e
push 0x34
lea eax, [ebp - 0x38]
push edi
push eax
mov dword [ebp - 0x3c], eax
call fcn.004714b0
add esp, 0xc
mov dword [ebp - 0x44], edi
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x4a6f30
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x44f61e
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x48]
mov eax, dword [ecx + 8]
mov dword [edx], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], eax
push esi
call fcn.00477604
pop ecx
pop esi
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop ebx
call fcn.0045978b
leave
ret 0xc
Function at 0x450dd0
Capabilities:
Persist via run registry key

Disassembly:
push 0x48
mov eax, 0x49edab
call fcn.00459b85
mov esi, ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
call fcn.0044f236
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnceEx
push edi
mov ecx, esi
mov dword [ebp - 0x48], eax
call fcn.0044f236
push str.SYSTEMCurrentControlSetControlSession_ManagerFileRenameOperations
push edi
mov ecx, esi
mov dword [ebp - 0x4c], eax
call fcn.0044f236
push str.PendingFileRenameOperations
push str.SYSTEMCurrentControlSetControlSession_Manager
push edi
mov ecx, esi
mov dword [ebp - 0x50], eax
call fcn.0044f148
push str.rename
push str._WindowsFolder_Wininit.ini
mov ecx, esi
mov edi, eax
call fcn.0044f015
mov dword [ebp - 0x54], eax
cmp edi, dword [esi + 0x4dc]
jle 0x450e57
cmp byte [esi + 0x4d1], 0
je 0x450e57
mov ecx, esi
call fcn.0044f8f0
mov byte [esi + 0x4d1], al
push 0
lea eax, [ebp - 0x41]
mov dword [ebp - 0x40], 0x4b6748
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], 0x4b6750
call fcn.004060a0
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x48]
cmp eax, dword [esi + 0x4d4]
jle 0x450e8b
push str.RunOnce
jmp 0x450edc
mov eax, dword [ebp - 0x4c]
cmp eax, dword [esi + 0x4d8]
jle 0x450e9d
push str.RunOnceEx
jmp 0x450edc
cmp edi, dword [esi + 0x4dc]
jle 0x450eba
cmp byte [esi + 0x4d1], 0
jne 0x450eba
push str.PendingFileRenameOperations
push str.Reboot_required____s_value_added
jmp 0x450ee1
mov eax, dword [ebp - 0x50]
cmp eax, dword [esi + 0x4e0]
jle 0x450ecc
push str.FileRenameOperations
jmp 0x450edc
mov eax, dword [ebp - 0x54]
cmp eax, dword [esi + 0x4e4]
jle 0x450eed
push str.Wininit.ini_rename
push str.Reboot_required____s_key_added
lea eax, [ebp - 0x40]
push eax
call fcn.00406110
add esp, 0xc
cmp dword [ebp - 0x2c], 0
je 0x450f03
push 0
push ebx
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.0044c423
jmp 0x450f05
xor bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404cc0
mov al, bl
call fcn.00459b34
ret