joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451130
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45af23
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x475080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x451178
xor eax, eax
xor edx, edx
jmp 0x4512e8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x14], 3
jne 0x4511bd
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x4511b8
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
sbb eax, dword [ebp - 0x2c]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
jmp 0x4512e2
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00415180
mov byte [ebp - 4], 1
push 0x17
push 0
push 0x468fbc
lea ecx, [ebp - 0x40]
call fcn.004150c0
lea ecx, [ebp - 0x3c]
call fcn.00415180
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00415090
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x58]
call fcn.00414920
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.004151a0
push eax
mov ecx, dword [ebp - 0x68]
call fcn.004149e0
push eax
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [edx]
mov ecx, dword [eax + 0x54]
call ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.004149c0
lea ecx, [ebp - 0x50]
call fcn.00414b60
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.00415090
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], edx
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x70]
mov eax, dword [edx]
mov ecx, dword [eax + 0x60]
call ecx
lea ecx, [ebp - 0x50]
call fcn.00414b80
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.00414c60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00414cb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00414cb0
jmp 0x4512d5
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4516e0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b806
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x475080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.0041eb30
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x468d28
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45175f
xor eax, eax
jmp 0x4517f0
lea esi, [ebp - 0x220]
call fcn.00405900
mov dword [ebp - 4], 0
cmp dword [ebp + 0x10], 0
je 0x451794
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push str._s__every:m_t_w_th_f_s_su___s_
lea edi, [ebp - 0x220]
call fcn.00406090
add esp, 0xc
jmp 0x4517af
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str._s___s_
lea edi, [ebp - 0x220]
call fcn.00406090
add esp, 0xc
push 0
push 0
lea eax, [ebp - 0x220]
call fcn.00405aa0
push eax
lea edx, [ebp - 0x21c]
push edx
call sym.Install_vip.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
mov dword [ebp - 0x224], 1
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x220]
call fcn.00405b50
mov eax, dword [ebp - 0x224]
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.0041d97a
mov esp, ebp
pop ebp
ret
Function at 0x451810
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b85a
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x475080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea esi, [ebp - 0xa8]
call fcn.00405900
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
push str._sdesktop.ini
lea edi, [ebp - 0xa8]
call fcn.00406090
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.00415290
mov dword [ebp - 0xbc], eax
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xc0]
call fcn.00415250
push eax
lea ecx, [ebp - 0xa4]
call fcn.00414d10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x9c]
call fcn.00415060
lea ecx, [ebp - 0xa0]
call fcn.00414cf0
mov byte [ebp - 4], 4
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xa4]
push ecx
push str._.ShellClassInfo__r_nIconFile_s_r_nIconIndex_d
lea edx, [ebp - 0xa0]
push edx
call fcn.00415d60
add esp, 0x10
lea ecx, [ebp - 0xa0]
call fcn.00415250
push eax
call fcn.0041f1c0
add esp, 4
push eax
lea ecx, [ebp - 0xa0]
call fcn.00414db0
push eax
lea eax, [ebp - 0xa8]
call fcn.00405aa0
push eax
call sym.Install_vip.exe_int___cdecl_NsWriteFile_wchar_t_const___void___unsigned_long_int_
add esp, 0xc
push 6
lea eax, [ebp - 0xa8]
call fcn.00405aa0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 0xac], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa0]
call fcn.00414d90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call fcn.00414d90
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xa8]
call fcn.00405b50
mov eax, dword [ebp - 0xac]
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.0041d97a
mov esp, ebp
pop ebp
ret
Function at 0x452f50
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x958
mov eax, dword [0x475080]
xor eax, ebp
mov dword [ebp - 0xc], eax
push esi
push edi
mov ecx, 0x1a
mov esi, 0x468810
lea edi, [ebp - 0x930]
rep movsd dword es:[edi], dword [esi]
push 0x196
push 0
lea eax, [ebp - 0x8c8]
push eax
call fcn.0041eb30
add esp, 0xc
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x72c], 0x12c
mov dword [ebp - 8], 7
mov dword [ebp - 4], 0xf003f
cmp dword [ebp + 0x10], 0
je 0x452fc3
mov ecx, dword [ebp - 4]
or ecx, 0x100
mov dword [ebp - 4], ecx
jmp 0x452fd8
call sym.Install_vip.exe_int___cdecl_isWow64_void_
test eax, eax
je 0x452fd8
mov edx, dword [ebp - 4]
or edx, 0x200
mov dword [ebp - 4], edx
lea eax, [ebp - 0x4cc]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0
lea edx, [ebp - 0x930]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x453194
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x72c]
push ecx
lea edx, [ebp - 0x4c8]
push edx
mov eax, dword [ebp - 0x26c]
push eax
mov ecx, dword [ebp - 0x4cc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x453187
mov edx, dword [ebp - 0x26c]
add edx, 1
mov dword [ebp - 0x26c], edx
lea eax, [ebp - 0x4c8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x453162
lea ecx, [ebp - 0x930]
push ecx
lea edx, [ebp - 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x46880c
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x4c8]
push ecx
lea edx, [ebp - 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x4d0]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0
lea edx, [ebp - 0x268]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x453162
mov dword [ebp - 0x72c], 0x12c
push 0x258
push 0
lea ecx, [ebp - 0x728]
push ecx
call fcn.0041eb30
add esp, 0xc
lea edx, [ebp - 0x72c]
push edx
lea eax, [ebp - 0x728]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push 0x468878
mov edx, dword [ebp - 0x4d0]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x4d0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x934]
push ecx
lea ecx, [ebp - 0x728]
call fcn.00405940
xor ecx, ecx
mov edx, dword [ebp + 8]
lea esi, [ebp - 0x934]
call fcn.0040b380
test eax, eax
jne 0x453157
mov edx, dword [ebp - 0x4cc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x938], 1
lea eax, [ebp - 0x934]
call fcn.00405b50
mov eax, dword [ebp - 0x938]
jmp 0x453196
lea eax, [ebp - 0x934]
call fcn.00405b50
mov dword [ebp - 0x72c], 0x12c
push 0x258
push 0
lea eax, [ebp - 0x4c8]
push eax
call fcn.0041eb30
add esp, 0xc
jmp 0x452ffe
mov ecx, dword [ebp - 0x4cc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0041d97a
mov esp, ebp
pop ebp
ret
Function at 0x4531b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ba8b
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
push edi
mov eax, dword [0x475080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.00405940
mov dword [ebp - 4], 0
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00412950
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x14]
call fcn.0040e7d0
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], ecx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x68]
lea edi, [ebp - 0x14]
call fcn.004059f0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x20]
call fcn.00405b50
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45324f
mov dword [ebp - 0x24], 1
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x14]
call fcn.00405b50
mov eax, dword [ebp - 0x24]
jmp 0x45333f
mov dword [ebp - 0x18], 0
lea esi, [ebp - 0x10]
call fcn.00405900
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
push 0x4687fc
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00414e10
mov byte [ebp - 4], 3
push 0x468800
lea edx, [ebp - 0x1c]
push edx
call fcn.00414fc0
add esp, 8
movzx eax, al
test eax, eax
je 0x45330e
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00414df0
lea eax, [ebp - 0x10]
call fcn.00405aa0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4532c3
lea eax, [ebp - 0x10]
call fcn.00405aa0
push eax
call sym.Install_vip.exe_int___cdecl_CreateFolder_wchar_t_const__
add esp, 4
push 0x468804
lea ecx, [ebp - 0x10]
call fcn.00411460
lea edx, [ebp - 0x18]
push edx
push 0x468808
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
call fcn.00414e10
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], ecx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x70]
lea edi, [ebp - 0x1c]
call fcn.004059f0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
call fcn.00405b50
jmp 0x45327b
mov dword [ebp - 0x2c], 1
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1c]
call fcn.00405b50
mov byte [ebp - 4], 0
lea eax, [ebp - 0x10]
call fcn.00405b50
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x14]
call fcn.00405b50
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4538d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45bb42
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x475080]
xor eax, ebp
mov dword [ebp - 0x24], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00434381
add esp, 4
lea esi, [ebp - 0x10]
call fcn.00405900
mov dword [ebp - 4], 0
call fcn.00434393
push eax
call fcn.00434393
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.NS_08d_05d_05d
lea edi, [ebp - 0x10]
call fcn.00406090
add esp, 0x10
cmp dword [ebp + 0xc], 0
je 0x453a33
push 0
lea ecx, [ebp - 0x1c]
call fcn.00416740
mov byte [ebp - 4], 1
push 0xf003f
push 0x4684c8
push SysReAllocString
lea ecx, [ebp - 0x1c]
call fcn.00416450
test eax, eax
jne 0x4539e8
mov dword [ebp - 0x20], 0x1e
xor eax, eax
mov word [ebp - 0x8c], ax
push 0x62
push 0
lea ecx, [ebp - 0x8a]
push ecx
call fcn.0041eb30
add esp, 0xc
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x8c]
push eax
push 0x4684ec
lea ecx, [ebp - 0x1c]
call fcn.004162f0
lea ecx, [ebp - 0x8c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x14
je 0x4539d8
push 1
lea eax, [ebp - 0x10]
call fcn.00405aa0
push eax
push 0x4684f4
lea ecx, [ebp - 0x1c]
call fcn.004164f0
jmp 0x4539e6
lea edx, [ebp - 0x8c]
lea edi, [ebp - 0x10]
call fcn.00405a60
jmp 0x453a1f
push 0
push 0
push 0x2001f
push 0
push 0
push str.SOFTWARENewsoft
push SysReAllocString
lea ecx, [ebp - 0x1c]
call fcn.00416610
push 1
lea eax, [ebp - 0x10]
call fcn.00405aa0
push eax
push 0x468520
lea ecx, [ebp - 0x1c]
call fcn.004164f0
lea ecx, [ebp - 0x1c]
call fcn.004166d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00416720
lea eax, [ebp - 0x10]
call fcn.00405aa0
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
call fcn.00405b50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.0041d97a
mov esp, ebp
pop ebp
ret

Function at 0x454120
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x102
jne 0x45414f
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret 8

Function at 0x454160
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
call fcn.00433d54
add esp, 0x18
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
je 0x45419e
cmp dword [ebp - 4], 0
je 0x45419e
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4541a1
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4543e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x28]
call sym.Install_vip.exe_private:_struct_tagNsTimer____thiscall_CNsThread::AddTimer_struct_tagNsTimer__
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x454425
jmp 0x45444a
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
push sym.Install_vip.exe_private:_static_unsigned_int___stdcall_CNsThread::TimerThread_void__
push 0
push 0
call fcn.00433d54
add esp, 0x18
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov dword [ecx + 0x14], edx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x454b70
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b137
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x475080]
xor eax, ebp
mov dword [ebp - 0x24], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x98], ecx
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov eax, dword [ebp + 0xc]
call fcn.00405aa0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x454bd2
jmp 0x454d16
push 0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x6c]
call fcn.00405900
mov dword [ebp - 4], 0
push 0x5c
mov ecx, dword [ebp + 0xc]
call fcn.00412950
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 0x2e
mov ecx, dword [ebp + 0xc]
call fcn.004128e0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x1c], 0
jle 0x454c64
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x1c]
jle 0x454c64
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x70]
call fcn.0040e6a0
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xa0]
lea edi, [ebp - 0x6c]
call fcn.004059f0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x70]
call fcn.00405b50
mov eax, dword [ebp - 0x10]
push eax
call fcn.00432394
add esp, 4
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x68], 0
push 0
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x40
push 0
lea ecx, [ebp - 0x64]
push ecx
call fcn.0041eb30
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x28], edx
lea eax, [ebp - 0x6c]
call fcn.00405aa0
push eax
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp + 8]
push ecx
push 1
push 0x40
lea edx, [ebp - 0x64]
push edx
call fcn.00433f4b
add esp, 0x10
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 1
mov edx, dword [ebp - 0x14]
push edx
call fcn.00433f4b
add esp, 0x10
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.00433fc5
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x6c]
call fcn.00405b50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.0041d97a
mov esp, ebp
pop ebp
ret 8
Function at 0x454d40
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45bc19
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x475080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x298], ecx
push 0x468e8c
mov eax, dword [ebp + 0xc]
push eax
call fcn.0043408e
add esp, 8
mov dword [ebp - 0x26c], eax
lea ecx, [ebp - 0x268]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00405940
mov dword [ebp - 4], 0
push 0x468e90
lea ecx, [ebp - 0x268]
call fcn.00411460
lea edx, [ebp - 0x264]
push edx
lea eax, [ebp - 0x268]
call fcn.00405aa0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0xffffffff
jne 0x454dfc
mov byte [ebp - 0x275], 0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x268]
call fcn.00405b50
mov al, byte [ebp - 0x275]
jmp 0x454eb4
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x29c], eax
cmp dword [ebp - 0x29c], 0x10
je 0x454e13
jmp 0x454e15
jmp 0x454e6a
lea esi, [ebp - 0x274]
call fcn.00405900
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x468e98
lea edi, [ebp - 0x274]
call fcn.00406090
add esp, 0xc
lea eax, [ebp - 0x274]
push eax
mov ecx, dword [ebp - 0x26c]
push ecx
mov ecx, dword [ebp - 0x298]
call sym.Install_vip.exe_private:_void___thiscall_CNsSkin::WriteSkin_struct__iobuf___class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____
mov byte [ebp - 4], 0
lea eax, [ebp - 0x274]
call fcn.00405b50
lea edx, [ebp - 0x264]
push edx
mov eax, dword [ebp - 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x454dfc
mov ecx, dword [ebp - 0x26c]
push ecx
call fcn.0042802a
add esp, 4
mov byte [ebp - 0x276], 1
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x268]
call fcn.00405b50
mov al, byte [ebp - 0x276]
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.0041d97a
mov esp, ebp
pop ebp
ret 8
Function at 0x454fc0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 8], 0
je 0x454fda
mov ecx, dword [ebp - 0x14]
call sym.Install_vip.exe_public:_void___thiscall_CNsSkin::FreeSkin_void_
cmp dword [ebp + 8], 0
je 0x454fec
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x14]
call sym.Install_vip.exe_public:_void___thiscall_CNsSkin::SetSkinName_wchar_t_const__
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov eax, dword [ebp - 0x14]
call fcn.00405aa0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x45501a
xor al, al
jmp 0x455083
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
push 0
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret 4