joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47b45a
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x47c875
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x48]
cmp eax, 0xffffffff
je 0x47c921
or dword [esi + 0x48], 0xffffffff
push edi
lea ecx, [eax + 1]
push ecx
lea edi, [esi + 0x2c]
push eax
mov ecx, edi
call fcn.0047b1e0
add eax, 4
push eax
mov ecx, esi
call fcn.0047649c
mov eax, dword [esi + 0x44]
cmp eax, 0xffffffff
je 0x47c920
push eax
mov ecx, edi
call fcn.0047b1e0
add eax, 0x1c
mov edi, dword [eax]
push 7
push 0x502198
push edi
call fcn.004b6741
add esp, 0xc
test eax, eax
jne 0x47c90d
add edi, 0xe
cmp word [edi], 0x30
jne 0x47c8f0
movzx eax, word [edi + 2]
cmp ax, 0x78
je 0x47c8e9
cmp ax, 0x58
jne 0x47c8f0
push 0x10
add edi, 4
jmp 0x47c8f2
push 0xa
lea eax, [ebp - 4]
push eax
push edi
call fcn.004b864b
mov ecx, dword [esi + 0x1c]
mov edx, dword [ecx]
add esp, 0xc
push eax
push 0
push esi
call dword [edx + 0x14]
jmp 0x47c920
push 5
xor eax, eax
push eax
push eax
push edi
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
leave
ret

Function at 0x47ce4b
Capabilities:
Get common file path

Disassembly:
push 0x218
mov eax, 0x4e36a5
call fcn.004b5417
mov edi, dword [ebp + 8]
xor esi, esi
xor eax, eax
mov dword [ebp - 0x220], esi
push 0x208
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push esi
push eax
mov dword [ebp - 0x224], edi
call fcn.004b47e0
add esp, 0xc
push 0x1e
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
push esi
lea eax, [ebp - 0x21c]
je 0x47cea0
push 0x2a
jmp 0x47cea2
push 0x26
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.360Total_Security
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x21c]
push eax
mov ecx, edi
call fcn.0044bc85
mov dword [ebp - 4], esi
mov dword [ebp - 0x220], 1
mov eax, edi
call fcn.004b549a
ret
Function at 0x47f1a7
Capabilities:
Get disk size

Disassembly:
push 0x1c
mov eax, 0x4e3a59
call fcn.004b5417
mov esi, ecx
xor ebx, ebx
mov dword [esi + 0x140], ebx
mov eax, dword [0x50248c]
mov dword [ebp - 0x18], eax
mov eax, dword [0x502490]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x144]
cmp dword [eax - 0xc], ebx
jge 0x47f1e2
push 0x80070057
call fcn.0040b600
mov ax, word [eax]
mov word [ebp - 0x18], ax
push dword [ebp - 0x18]
call fcn.004a488d
pop ecx
cmp eax, 1
je 0x47f201
mov dword [esi + 0x140], 2
lea edi, [esi + 0x150]
mov eax, dword [edi]
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x24], eax
cmp dword [esi + 0x140], ebx
jne 0x47f260
lea eax, [ebp - 0x20]
push eax
lea eax, [esi + 0x158]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x47f254
mov ecx, esi
call fcn.0047d6cb
cmp dword [edi + 4], ebx
ja 0x47f254
jb 0x47f24a
cmp dword [edi], 0x11e1a300
ja 0x47f254
mov dword [esi + 0x140], 1
cmp dword [esi + 0x140], ebx
je 0x47f310
cmp dword [ebp + 8], ebx
je 0x47f30a
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi + 0x140]
cmp eax, 2
jne 0x47f29c
push str.ERROR_NOUDISK
lea eax, [ebp - 0x1c]
mov ebx, 0x53fda0
push eax
mov ecx, ebx
call fcn.0047d67a
xor ecx, ecx
mov dword [ebp - 4], ecx
push ecx
push ecx
jmp 0x47f2c1
cmp eax, 1
jne 0x47f2eb
push str.ERROR_NODISKSPACE
lea eax, [ebp - 0x1c]
mov ebx, 0x53fda0
push eax
mov ecx, ebx
call fcn.0047d67a
mov dword [ebp - 4], 1
push 0
push 0
mov eax, dword [eax]
push eax
push 0x50243c
mov ecx, ebx
call fcn.0047d611
push eax
push dword [0x540378]
call fcn.0047f037
add esp, 0x14
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040d610
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp - 0x28]
mov dword [edi], eax
mov eax, dword [ebp - 0x24]
mov ecx, esi
mov dword [edi + 4], eax
call fcn.0047d6cb
jmp 0x47f310
mov dword [esi + 0x140], ebx
call fcn.004b549a
ret 4
Function at 0x48105c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x481069
xor al, al
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x481065
shr eax, 4
and al, 1
pop ebp
ret

Function at 0x48107e
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 4
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop ebp
ret

Function at 0x481125
Capabilities:
Check if file exists
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x5382cc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
jne 0x481149
xor eax, eax
jmp 0x481285
push esi
push edi
mov esi, str._pid_clean
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov edi, eax
cmp edi, ebx
je 0x481281
push esi
call fcn.004b5ec7
lea eax, [edi + eax*2]
pop ecx
cmp eax, ebx
je 0x481281
cmp word [eax], bx
je 0x481281
push 0xa
push ebx
push eax
call fcn.004b8676
add esp, 0xc
cmp eax, ebx
je 0x481281
push eax
push ebx
push 0x100410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x48127c
push 0x800
lea eax, [ebp - 0x804]
push ebx
push eax
call fcn.004b47e0
add esp, 0xc
push str.QueryFullProcessImageNameW
mov edi, 0x400
push str.Kernel32.dll
mov dword [ebp - 0x80c], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4811f9
lea ecx, [ebp - 0x80c]
push ecx
lea ecx, [ebp - 0x804]
push ecx
push ebx
push esi
call eax
test eax, eax
jne 0x481233
lea eax, [ebp - 0x810]
push eax
push 4
lea eax, [ebp - 0x808]
push eax
push esi
mov dword [ebp - 0x808], ebx
mov dword [ebp - 0x810], ebx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x481233
push edi
lea eax, [ebp - 0x804]
push eax
push dword [ebp - 0x808]
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x481275
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x804]
push 1
push eax
call fcn.0044e746
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x481283
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004b48bf
leave
ret
Function at 0x48133e
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x5382cc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
inc ebx
mov dword [ebp - 0x48], eax
cmp dword [0x54025c], ebx
jne 0x481378
push 0x114
push 0x540148
push eax
call fcn.004b4be0
add esp, 0xc
jmp 0x48149b
push esi
push edi
mov esi, 0x540148
mov edi, 0x114
push esi
mov dword [0x54025c], ebx
mov dword [0x540148], edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x481442
push 0x3f
push eax
mov byte [ebp - 0x44], al
lea eax, [ebp - 0x43]
push eax
call fcn.004b47e0
add esp, 0xc
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x50]
push eax
push str.CurrentVersion
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push 0x80000002
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], 0x40
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x481407
movsx eax, byte [ebp - 0x44]
sub eax, 0x30
mov dword [0x54014c], eax
lea eax, [ebp - 0x42]
push eax
mov dword [0x540158], 2
call fcn.004bafb2
pop ecx
mov dword [0x540150], eax
jmp 0x481442
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov edx, eax
shr edx, 8
movzx edx, dl
movzx ecx, al
mov dword [0x540150], edx
xor edx, edx
cmp ecx, 4
seta dl
mov dword [0x54014c], ecx
inc edx
mov dword [0x540158], edx
cmp eax, 0x80000000
jae 0x481442
shr eax, 0x10
mov dword [0x540154], eax
push edi
push esi
push dword [ebp - 0x48]
call fcn.004b4be0
mov eax, dword [0x54014c]
add esp, 0xc
cmp eax, 6
ja 0x481464
jne 0x481499
cmp dword [0x540150], 2
jb 0x481499
push str.RtlGetVersion
push str.ntdll.dll
mov dword [0x540148], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x481499
push esi
call eax
test eax, eax
jne 0x481499
push edi
push esi
push dword [ebp - 0x48]
call fcn.004b4be0
add esp, 0xc
pop edi
pop esi
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004b48bf
leave
ret
Function at 0x481537
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x5382cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
xor ebx, ebx
push 0x3fe
mov word [ebp - 0x404], ax
lea eax, [ebp - 0x402]
push ebx
push eax
mov dword [ebp - 0x408], ebx
call fcn.004b47e0
mov esi, dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
add esp, 0xc
push ebx
push ebx
call esi
mov edi, eax
shl eax, 2
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push eax
push edi
mov dword [ebp - 0x40c], eax
call esi
mov edi, eax
xor esi, esi
cmp edi, ebx
jbe 0x4815e4
mov eax, dword [ebp - 0x40c]
movzx eax, word [eax + esi*4]
cmp eax, 0x42a
jne 0x4815b5
or dword [ebp - 0x408], 1
push 0x200
lea ecx, [ebp - 0x404]
push ecx
push 2
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0x400
lea eax, [ebp - 0x404]
push ebx
push eax
call fcn.004b47e0
add esp, 0xc
inc esi
cmp esi, edi
jb 0x48159d
cmp dword [ebp - 0x40c], ebx
pop edi
pop esi
pop ebx
je 0x4815fb
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x408]
xor ecx, ebp
call fcn.004b48bf
leave
ret

Function at 0x481a9d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5382cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x118
xor ebx, ebx
lea eax, [ebp - 0x11c]
push ebx
push eax
call fcn.004b47e0
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 5
jne 0x481b02
cmp dword [ebp - 0x118], 2
jne 0x481b02
call fcn.0043b72a
test al, al
je 0x481b02
cmp byte [ebp - 6], 1
jne 0x481b02
mov bl, 1
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004b48bf
leave
ret
Function at 0x481c48
Capabilities:
Check if file exists
Copy file
Create process on windows
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe70
mov eax, dword [0x5382cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x208
xor esi, esi
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.004b47e0
add esp, 0xc
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x61c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp word [ebp - 0x61c], si
je 0x481e1a
push edi
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push esi
push eax
call fcn.004b47e0
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x481e19
xor eax, eax
push edi
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.004b47e0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push esi
push 0x501174
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x481e19
push esi
lea eax, [ebp - 0x20c]
push eax
mov ecx, 0x540e00
call fcn.004a68d7
test eax, eax
je 0x481e06
push 0x800
lea eax, [ebp - 0xe1c]
push esi
push eax
call fcn.004b47e0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xe1c]
push str.__s___pid_clean_lu
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x40
lea eax, [ebp - 0xe6c]
push esi
push eax
call fcn.004b47e0
xor eax, eax
mov dword [ebp - 0xe2c], esi
lea edi, [ebp - 0xe28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0x1c
stosd dword es:[edi], eax
xor eax, eax
mov word [ebp - 0xe40], ax
lea eax, [ebp - 0xe2c]
push eax
lea eax, [ebp - 0xe70]
push eax
lea eax, [ebp - 0x414]
push eax
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0xe1c]
push eax
push esi
mov dword [ebp - 0xe70], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x481e06
cmp dword [ebp - 0xe2c], esi
je 0x481e06
push dword [ebp - 0xe28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xe2c]
call esi
push 1
lea eax, [ebp - 0x20c]
push 1
push eax
call fcn.0043a359
add esp, 0xc
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004b48bf
leave
ret

Function at 0x4824ed
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
test esi, esi
jne 0x482500
push 0xd
pop eax
jmp 0x48252b
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x482503
push edi
push dword [ebp + 0xc]
push 7
push 0
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x48321a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5382cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
add esi, 0x104
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b19c0
mov ebx, eax
lea eax, [esi + esi]
push eax
push 0
push ebx
call fcn.004b47e0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004b47e0
add esp, 0x1c
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x4832cf
mov dword [ebp - 0x210], eax
cmp dword [edi], 0
je 0x4832c4
lea eax, [ebp - 0x20c]
push eax
push esi
push ebx
call fcn.0040b640
push dword [edi]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push ebx
call fcn.0043b83c
xor eax, eax
mov word [ebx], ax
add edi, 4
dec dword [ebp - 0x210]
jne 0x48329d
push ebx
call fcn.004b5ee1
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b48bf
leave
ret
Function at 0x48984c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x4e4b44
call fcn.004b544d
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x424], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x41c], eax
cmp eax, ebx
jne 0x4898a5
call fcn.00439d4c
mov esi, eax
jmp 0x4899b5
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x4898be
call fcn.00439d4c
jmp 0x4899a7
push esi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x428], eax
cmp eax, ebx
je 0x4898b4
push esi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x48992b
mov byte [ebp - 4], bl
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x48990d
lea ecx, [ebp - 0x418]
call fcn.00482a5d
mov esi, 0x8007000e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x424]
call fcn.0048160d
mov eax, esi
call fcn.004b54a9
ret 0x10
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x418]
call fcn.00483656
mov dword [ebp - 4], 1
jmp 0x489959
cmp dword [ebp - 0x418], ebx
jne 0x489968
mov esi, 0x8007000e
jmp 0x4899a9
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x428]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x4898b4
xor ecx, ecx
mov edx, dword [ebp - 0x418]
mov word [edx + eax*2], cx
push dword [ebp + 0x14]
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.00484e38
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], bl
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x489912
lea ecx, [ebp - 0x418]
call fcn.00482a5d
jmp 0x489912
Function at 0x48ba12
Capabilities:
Create process on windows
Terminate process

Disassembly:
push 0x22c
mov eax, 0x4e5024
call fcn.004b5417
lea eax, [ebp - 0x220]
push eax
call fcn.0044a12e
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esp], str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00445250
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x220]
call fcn.0040d610
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x48bb86
lea ecx, [ebp - 0x224]
call fcn.0040c7d0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x224]
push eax
push edi
push ecx
lea eax, [ebp - 0x218]
mov ecx, esp
mov dword [ebp - 0x220], esp
push eax
call fcn.0044bc85
mov byte [ebp - 4], 4
push ecx
lea eax, [ebp - 0x21c]
mov ecx, esp
mov dword [ebp - 0x228], esp
push eax
call fcn.004420c1
mov byte [ebp - 4], 5
mov esi, 0x80000003
push esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x238]
call fcn.00443769
mov byte [ebp - 4], 6
push eax
call fcn.0044b15c
pop ecx
pop ecx
mov ebx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x238]
call fcn.00443c39
cmp ebx, edi
je 0x48bb77
push edi
push ecx
lea eax, [ebp - 0x218]
mov ecx, esp
mov dword [ebp - 0x228], esp
push eax
call fcn.0044bc85
mov byte [ebp - 4], 7
push ecx
lea eax, [ebp - 0x21c]
mov ecx, esp
mov dword [ebp - 0x220], esp
push eax
call fcn.004420c1
mov byte [ebp - 4], 8
push esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x238]
call fcn.00443769
mov byte [ebp - 4], 9
push eax
call fcn.0043ea6a
pop ecx
mov esi, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x238]
call fcn.00443c39
cmp esi, edi
je 0x48bb77
push 5
push edi
push edi
lea eax, [ebp - 0x218]
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x224]
call fcn.0040d610
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.0040d610
call fcn.004b549a
ret
Function at 0x48c872
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push 0x24
mov eax, 0x4e528b
call fcn.004b5417
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x2c], eax
mov ebx, ecx
mov dword [ebp - 0x30], edi
mov byte [ebp - 0x24], 0x17
mov byte [ebp - 0x23], 2
mov byte [ebp - 0x22], 0x23
mov byte [ebp - 0x21], 0x29
mov byte [ebp - 0x20], 0x28
mov byte [ebp - 0x1f], 0x3f
mov byte [ebp - 0x1e], 0x3c
mov byte [ebp - 0x1d], 0x21
mov byte [ebp - 0x1c], 0x15
mov byte [ebp - 0x1b], 0x11
mov byte [ebp - 0x1a], 5
mov byte [ebp - 0x19], 0xa
mov byte [ebp - 0x18], 0x34
mov byte [ebp - 0x17], 4
mov byte [ebp - 0x16], 0x2d
mov byte [ebp - 0x15], 0x28
mov byte [ebp - 0x14], 0xb
mov byte [ebp - 0x13], 0x35
mov byte [ebp - 0x12], 0x3e
mov byte [ebp - 0x11], al
mov dword [ebp - 0x28], 0x444c5047
mov ecx, eax
and ecx, 3
mov cl, byte [ebp + ecx - 0x28]
xor byte [ebp + eax - 0x24], cl
inc eax
cmp eax, 0x13
jb 0x48c8e1
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x28]
call fcn.00446796
xor esi, esi
inc esi
mov dword [ebp - 4], esi
push 0x45a547
push eax
add ebx, 0x14
push ebx
push edi
call fcn.0048c66e
add esp, 0x10
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040d610
mov eax, edi
call fcn.004b549a
ret 4

Function at 0x48cc05
Capabilities:
Check if file exists

Disassembly:
push 0x24
mov eax, 0x4e53d3
call fcn.004b53ae
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x18]
call fcn.0040c7d0
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x18]
push eax
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Path
call fcn.0044bc85
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsQHSafeMain.exe
call fcn.0044bc85
mov byte [ebp - 4], 3
push 0x80000002
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x30]
call fcn.00443769
mov byte [ebp - 4], 4
push eax
mov dword [ebp - 0x14], ebx
call fcn.0044b15c
pop ecx
pop ecx
test eax, eax
je 0x48cc84
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 0xd], bl
test eax, eax
jne 0x48cc88
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
and dword [ebp - 0x14], 0xfffffffe
lea ecx, [ebp - 0x30]
call fcn.00443c39
cmp byte [ebp - 0xd], 0
mov ecx, dword [ebp + 8]
je 0x48ccae
lea eax, [ebp - 0x18]
push eax
call fcn.004420c1
jmp 0x48ccb8
push 0x50ea8c
call fcn.0044bc85
or dword [ebp - 0x14], 2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0040d610
mov eax, dword [ebp + 8]
call fcn.004b5486
ret

Function at 0x48ce61
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
lea eax, [esi + 0x28]
push eax
push 0
push esi
push 0x48b581
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [ebp + 8], 0
mov dword [esi + 0x24], eax
je 0x48ce94
push 0x3e8
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
inc eax
pop esi
pop ebp
ret 4
Function at 0x48df9e
Capabilities:
Accept command line arguments

Disassembly:
push 0x1c
mov eax, 0x4e5749
call fcn.004b53ae
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jne 0x48dfc7
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
cmp eax, ebx
jne 0x48dfc7
xor al, al
jmp 0x48e0f5
lea ecx, [ebp - 0x18]
push ecx
push eax
mov dword [ebp - 0x18], ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x48dfc0
xor edi, edi
cmp dword [ebp - 0x18], ebx
jle 0x48e0ea
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + edi*4]
cmp word [eax], 0x2f
jne 0x48e0e0
add eax, 2
push eax
lea ecx, [ebp + 8]
call fcn.0044bc85
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x14]
call fcn.0040c7d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0040c7d0
mov byte [ebp - 4], 2
push ebx
push dword [ebp + 0xc]
lea ecx, [ebp + 8]
call fcn.004420e7
mov esi, eax
cmp esi, 0xffffffff
je 0x48e082
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 8]
call fcn.00445149
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x10]
call fcn.004453ce
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.0040d610
push esi
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp + 8]
call fcn.00443dba
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x14]
call fcn.004453ce
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.0040d610
jmp 0x48e08e
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.004453ce
push 0x22
push 0x22
lea ecx, [ebp - 0x10]
call fcn.0046e752
mov ecx, eax
call fcn.0046e926
lea ecx, [ebp - 0x14]
call fcn.00445121
mov ecx, dword [ebp - 0x28]
push eax
call fcn.004575a2
lea ecx, [ebp - 0x10]
push ecx
mov ecx, eax
call fcn.004453ce
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0040d610
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.0040d610
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040d610
inc edi
cmp edi, dword [ebp - 0x18]
jl 0x48dfe7
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
call fcn.004b5486
ret 8