joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ca60
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
push 0
push 0
push 3
push 0
push 1
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x43caa1
xor eax, eax
jmp 0x43cb42
push 0
push 0
push 0
push 2
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x43cacc
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x43cb42
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43caff
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x43cb42
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call sym.Install_time.exe_int___cdecl_ImportCACert_void___int_
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x43cc20
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x459080]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 0x44e19c
mov eax, dword [ebp + 8]
push eax
call fcn.0042465e
add esp, 8
mov dword [ebp - 0x414], eax
push 0x44e1a4
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0042465e
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 0x414], 0
je 0x43cc6d
cmp dword [ebp - 8], 0
jne 0x43cc74
xor eax, eax
jmp 0x43ccf5
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x414]
push edx
push 0x400
push 1
lea eax, [ebp - 0x410]
push eax
call fcn.00425672
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jg 0x43cca3
jmp 0x43ccd5
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x410]
push edx
call sym.Install_time.exe_void___cdecl_EasyEncode_char___int_
add esp, 8
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
lea edx, [ebp - 0x410]
push edx
call fcn.0042451b
add esp, 0x10
cmp dword [ebp - 4], 0
jg 0x43cc7b
mov eax, dword [ebp - 0x414]
push eax
call fcn.004222aa
add esp, 4
mov ecx, dword [ebp - 8]
push ecx
call fcn.004222aa
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00417bfa
mov esp, ebp
pop ebp
ret
Function at 0x43ce10
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446283
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x459080]
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 0x43ce58
xor eax, eax
xor edx, edx
jmp 0x43cfc8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x14], 3
jne 0x43ce9d
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 0x43ce98
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 0x43cfc2
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00410f60
mov byte [ebp - 4], 1
push 0x17
push 0
push 0x44ea44
lea ecx, [ebp - 0x40]
call fcn.00410fb0
lea ecx, [ebp - 0x3c]
call fcn.00410f60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00410f80
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.00410590
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.00411070
push eax
mov ecx, dword [ebp - 0x68]
call fcn.00410650
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.00410630
lea ecx, [ebp - 0x50]
call fcn.004107d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.00410f80
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.004107f0
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.004108d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00410940
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00410940
jmp 0x43cfb5
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 0x43cfe0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4469bb
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x459080]
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.00405680
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
push str._sdesktop.ini
lea edi, [ebp - 0xa8]
call fcn.00405e60
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.00411150
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.004110b0
push eax
lea ecx, [ebp - 0xa4]
call fcn.00410980
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x9c]
call fcn.00410f30
lea ecx, [ebp - 0xa0]
call fcn.00410960
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.00411c40
add esp, 0x10
lea ecx, [ebp - 0xa0]
call fcn.004110b0
push eax
call fcn.00419420
add esp, 4
push eax
lea ecx, [ebp - 0xa0]
call fcn.00410a20
push eax
lea eax, [ebp - 0xa8]
call fcn.00405900
push eax
call sym.Install_time.exe_int___cdecl_NsWriteFile_wchar_t_const___void___unsigned_long_int_
add esp, 0xc
push 6
lea eax, [ebp - 0xa8]
call fcn.00405900
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.00410a00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call fcn.00410a00
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xa8]
call fcn.004058e0
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.00417bfa
mov esp, ebp
pop ebp
ret
Function at 0x43e720
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 [0x459080]
xor eax, ebp
mov dword [ebp - 0xc], eax
push esi
push edi
mov ecx, 0x1a
mov esi, 0x44e3b0
lea edi, [ebp - 0x930]
rep movsd dword es:[edi], dword [esi]
push 0x196
push 0
lea eax, [ebp - 0x8c8]
push eax
call fcn.00418aa0
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 0x43e793
mov ecx, dword [ebp - 4]
or ecx, 0x100
mov dword [ebp - 4], ecx
jmp 0x43e7a8
call sym.Install_time.exe_int___cdecl_isWow64_void_
test eax, eax
je 0x43e7a8
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 0x43e964
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 0x43e957
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 0x43e932
lea ecx, [ebp - 0x930]
push ecx
lea edx, [ebp - 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x44e3ac
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 0x43e932
mov dword [ebp - 0x72c], 0x12c
push 0x258
push 0
lea ecx, [ebp - 0x728]
push ecx
call fcn.00418aa0
add esp, 0xc
lea edx, [ebp - 0x72c]
push edx
lea eax, [ebp - 0x728]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push 0x44e418
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.004056c0
xor ecx, ecx
mov edx, dword [ebp + 8]
lea esi, [ebp - 0x934]
call fcn.0040a110
test eax, eax
jne 0x43e927
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.004058e0
mov eax, dword [ebp - 0x938]
jmp 0x43e966
lea eax, [ebp - 0x934]
call fcn.004058e0
mov dword [ebp - 0x72c], 0x12c
push 0x258
push 0
lea eax, [ebp - 0x4c8]
push eax
call fcn.00418aa0
add esp, 0xc
jmp 0x43e7ce
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.00417bfa
mov esp, ebp
pop ebp
ret
Function at 0x43e980
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446bec
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
push edi
mov eax, dword [0x459080]
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.004056c0
mov dword [ebp - 4], 0
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.0040e2a0
push eax
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00410e10
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x68], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x68]
lea edi, [ebp - 0x14]
call fcn.00405770
mov byte [ebp - 4], 0
lea eax, [ebp - 0x20]
call fcn.004058e0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43ea21
mov dword [ebp - 0x24], 1
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x14]
call fcn.004058e0
mov eax, dword [ebp - 0x24]
jmp 0x43eb11
mov dword [ebp - 0x18], 0
lea esi, [ebp - 0x10]
call fcn.00405680
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
push ecx
push 0x44e39c
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x14]
call fcn.00410c60
mov byte [ebp - 4], 3
push 0x44e3a0
lea eax, [ebp - 0x1c]
push eax
call fcn.00410e90
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x43eae0
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x10]
call fcn.00410a60
lea eax, [ebp - 0x10]
call fcn.00405900
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43ea95
lea eax, [ebp - 0x10]
call fcn.00405900
push eax
call sym.Install_time.exe_int___cdecl_CreateFolder_wchar_t_const__
add esp, 4
push 0x44e3a4
lea ecx, [ebp - 0x10]
call fcn.0040cdc0
lea eax, [ebp - 0x18]
push eax
push 0x44e3a8
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00410c60
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x70]
lea edi, [ebp - 0x1c]
call fcn.00405770
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
call fcn.004058e0
jmp 0x43ea4d
mov dword [ebp - 0x2c], 1
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1c]
call fcn.004058e0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x10]
call fcn.004058e0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x14]
call fcn.004058e0
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 0x43f0b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446ca3
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x459080]
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.00424951
add esp, 4
lea esi, [ebp - 0x10]
call fcn.00405680
mov dword [ebp - 4], 0
call fcn.00424963
push eax
call fcn.00424963
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.NS_08d_05d_05d
lea edi, [ebp - 0x10]
call fcn.00405e60
add esp, 0x10
cmp dword [ebp + 0xc], 0
je 0x43f213
push 0
lea ecx, [ebp - 0x1c]
call fcn.00412670
mov byte [ebp - 4], 1
push 0xf003f
push 0x44e068
push SysReAllocString
lea ecx, [ebp - 0x1c]
call fcn.00412380
test eax, eax
jne 0x43f1c8
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.00418aa0
add esp, 0xc
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x8c]
push eax
push 0x44e08c
lea ecx, [ebp - 0x1c]
call fcn.00412220
lea ecx, [ebp - 0x8c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x14
je 0x43f1b8
push 1
lea eax, [ebp - 0x10]
call fcn.00405900
push eax
push 0x44e094
lea ecx, [ebp - 0x1c]
call fcn.00412420
jmp 0x43f1c6
lea edx, [ebp - 0x8c]
lea edi, [ebp - 0x10]
call fcn.004057e0
jmp 0x43f1ff
push 0
push 0
push 0x2001f
push 0
push 0
push str.SOFTWARENewsoft
push SysReAllocString
lea ecx, [ebp - 0x1c]
call fcn.00412540
push 1
lea eax, [ebp - 0x10]
call fcn.00405900
push eax
push 0x44e0c0
lea ecx, [ebp - 0x1c]
call fcn.00412420
lea ecx, [ebp - 0x1c]
call fcn.00412600
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00412650
lea eax, [ebp - 0x10]
call fcn.00405900
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.004058e0
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.00417bfa
mov esp, ebp
pop ebp
ret

Function at 0x43f7b0
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 0x43f7df
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 0x43f7f0
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.00424324
add esp, 0x18
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
je 0x43f82e
cmp dword [ebp - 4], 0
je 0x43f82e
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x43f831
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43fa70
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_time.exe_private:_struct_tagNsTimer____thiscall_CNsThread::AddTimer_struct_tagNsTimer__
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x43fab5
jmp 0x43fada
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
push sym.Install_time.exe_private:_static_unsigned_int___stdcall_CNsThread::TimerThread_void__
push 0
push 0
call fcn.00424324
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 0x440200
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44647c
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x459080]
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.00405900
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x440262
jmp 0x4403a8
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.00405680
mov dword [ebp - 4], 0
push 0x5c
mov ecx, dword [ebp + 0xc]
call fcn.0040e2a0
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 0x2e
mov ecx, dword [ebp + 0xc]
call fcn.0040e230
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x1c], 0
jle 0x4402f6
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x1c]
jle 0x4402f6
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x70]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0040e2f0
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xa0]
lea edi, [ebp - 0x6c]
call fcn.00405770
mov byte [ebp - 4], 0
lea eax, [ebp - 0x70]
call fcn.004058e0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00422964
add esp, 4
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x68], 0
push 0
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x40
push 0
lea edx, [ebp - 0x64]
push edx
call fcn.00418aa0
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x6c]
call fcn.00405900
push eax
lea ecx, [ebp - 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [ebp + 8]
push edx
push 1
push 0x40
lea eax, [ebp - 0x64]
push eax
call fcn.0042451b
add esp, 0x10
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 1
mov eax, dword [ebp - 0x14]
push eax
call fcn.0042451b
add esp, 0x10
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x78]
push edx
call fcn.00424595
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x6c]
call fcn.004058e0
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.00417bfa
mov esp, ebp
pop ebp
ret 8
Function at 0x4403d0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446d4f
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x459080]
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 0x44e8fc
mov eax, dword [ebp + 0xc]
push eax
call fcn.0042465e
add esp, 8
mov dword [ebp - 0x26c], eax
lea ecx, [ebp - 0x268]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004056c0
mov dword [ebp - 4], 0
push 0x44e900
lea ecx, [ebp - 0x268]
call fcn.0040cdc0
lea edx, [ebp - 0x264]
push edx
lea eax, [ebp - 0x268]
call fcn.00405900
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0xffffffff
jne 0x44048c
mov byte [ebp - 0x275], 0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x268]
call fcn.004058e0
mov al, byte [ebp - 0x275]
jmp 0x440544
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x29c], eax
cmp dword [ebp - 0x29c], 0x10
je 0x4404a3
jmp 0x4404a5
jmp 0x4404fa
lea esi, [ebp - 0x274]
call fcn.00405680
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x44e908
lea edi, [ebp - 0x274]
call fcn.00405e60
add esp, 0xc
lea eax, [ebp - 0x274]
push eax
mov ecx, dword [ebp - 0x26c]
push ecx
mov ecx, dword [ebp - 0x298]
call sym.Install_time.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.004058e0
lea edx, [ebp - 0x264]
push edx
mov eax, dword [ebp - 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44048c
mov ecx, dword [ebp - 0x26c]
push ecx
call fcn.004222aa
add esp, 4
mov byte [ebp - 0x276], 1
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x268]
call fcn.004058e0
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.00417bfa
mov esp, ebp
pop ebp
ret 8
Function at 0x440650
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 0x44066a
mov ecx, dword [ebp - 0x14]
call sym.Install_time.exe_public:_void___thiscall_CNsSkin::FreeSkin_void_
cmp dword [ebp + 8], 0
je 0x44067c
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x14]
call sym.Install_time.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.00405900
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4406aa
xor al, al
jmp 0x440713
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