joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417660
Capabilities:
Copy file
Create process on windows
Delete file
Move file
Terminate process

Disassembly:
sub esp, 0x60c
mov eax, dword [0x6b4774]
xor eax, esp
mov dword [esp + 0x608], eax
push 0x104
lea eax, [esp + 4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp]
push str..new.exe
push ecx
call fcn.0058ca20
add esp, 8
test eax, eax
jne 0x4176d9
lea edx, [esp]
push edx
lea eax, [esp + 0x108]
push str._s.new.exe
push eax
call fcn.00410ac0
add esp, 0xc
lea ecx, [esp + 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor al, al
mov ecx, dword [esp + 0x608]
xor ecx, esp
call fcn.0058bad0
add esp, 0x60c
ret
push str..exe_updated__moving_back_n
mov byte [0x75dc57], 1
call fcn.00569b80
add esp, 4
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp]
push edx
lea eax, [esp + 0x108]
push 0x104
push eax
call fcn.0058c26f
lea eax, [esp + 0xc]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417718
sub eax, edx
cmp eax, 8
ja 0x41773c
push 0
push 0x31
push str..SelfUpdateEXE.cpp
push str.strlen_exeMain____8
call fcn.00569e90
add esp, 0x10
lea eax, [esp]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417742
push ebx
push ebp
push esi
sub eax, edx
mov byte [esp + eax + 4], cl
push edi
lea ecx, [esp + 0x10]
push ecx
push str.exeMain:__s_n
call fcn.00569b80
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileA]
mov ebp, dword [sym.imp.KERNEL32.dll_CopyFileA]
add esp, 8
xor esi, esi
lea esp, [esp]
lea edx, [esp + 0x10]
push edx
call edi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x118]
push ecx
call ebx
test eax, eax
jne 0x417823
push eax
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x11c]
push eax
call ebp
test eax, eax
jne 0x417823
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0xa
jl 0x417780
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x118]
push edx
push str.Failed_to_replace_updater_file_n_nPlease_manually_rename__s_to__s
lea edx, [esp + 0x224]
call fcn.00410ae0
add esp, 0xc
push 0x30
push str.Updater
lea eax, [esp + 0x220]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 5
push 0
push 0
push 0x67ae84
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor al, al
jmp 0x417825
mov al, 1
mov ecx, dword [esp + 0x618]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0058bad0
add esp, 0x60c
ret
Function at 0x417840
Capabilities:
Create process on windows
Terminate process
Write and execute a file
Write file on windows

Disassembly:
sub esp, 0x20c
mov eax, dword [0x6b4774]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
push 0x104
lea eax, [esp + 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push str.Trying_to_update_n
call fcn.00569b80
lea ecx, [esp + 0x10c]
push ecx
lea edx, [esp + 0xc]
push str._s.new.exe
push edx
call fcn.00410ac0
lea eax, [esp + 0x14]
push 0x67ad94
push eax
call fcn.0058c9c3
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x4178b5
lea ecx, [esp + 4]
push ecx
push str.cant_open__s_for_writing_n
call fcn.00569d50
add esp, 8
mov edx, dword [esp + 0x214]
push esi
push 1
push edx
push edi
call fcn.0058d3d9
push esi
call fcn.0058bf50
mov eax, dword [0x75dc5c]
add esp, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.004175d0
push 5
push 0
push 0x6ba880
lea ecx, [esp + 0x10]
push ecx
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
pop esi
jge 0x417910
push eax
lea edx, [esp + 4]
push edx
push str.failed_to_launch__s___d
call fcn.00569d50
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [esp + 0x208]
xor ecx, esp
mov al, 1
call fcn.0058bad0
add esp, 0x20c
ret
Function at 0x417940
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x5da4b8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push edi
mov eax, dword [0x6b4774]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
fldz
lea ecx, [esp + 0x10]
fst dword [esi]
mov dword [esi + 8], 0
fstp dword [esi + 4]
call fcn.0041dce0
lea ecx, [esp + 0x10]
mov dword [esp + 0x4c], 0
call fcn.0041dea0
movzx eax, word [esp + 0x54]
push 0x67b2e0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x417a7d
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x417a7d
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push ebx
lea ecx, [esp + 0x18]
call fcn.0041df60
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x14]
call fcn.0041dec0
push eax
lea ecx, [esp + 0x18]
call fcn.0041dee0
mov ecx, dword [0x6bad14]
push eax
add ecx, 0x50
call fcn.0056c3f0
push eax
call sub.d3dx9_43.dll_D3DXCreateTextureFromFileInMemory
test eax, eax
jne 0x417a7d
mov ecx, dword [0x6bad14]
call fcn.0057acf0
push 1
push 1
push 0x16
push 4
push 4
mov ecx, eax
mov dword [esi + 8], eax
call fcn.0057c580
mov edx, dword [esp + 0xc]
mov ecx, dword [esi + 8]
push edx
call fcn.0057c400
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push 0
push eax
mov eax, dword [ecx + 0x44]
call eax
fild dword [esp + 0x58]
mov ecx, dword [esp + 0x38]
fild dword [esp + 0x38]
test ecx, ecx
jge 0x417a5e
fadd dword [0x67c600]
fdivp st(1)
mov edx, dword [esp + 0x3c]
fstp dword [esi]
fild dword [esp + 0x5c]
fild dword [esp + 0x3c]
test edx, edx
jge 0x417a78
fadd dword [0x67c600]
fdivp st(1)
fstp dword [esi + 4]
lea ecx, [esp + 0x10]
mov dword [esp + 0x4c], 0xffffffff
call fcn.0041ddc0
mov eax, esi
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x44
ret 0xc
Function at 0x4192f0
Capabilities:
Delete file
Write file on windows

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push edi
push esi
push str.Extracting__s_n
lea edx, [ebp + 0x20df5]
mov edi, eax
call fcn.00410ae0
push esi
push str.Extracting__s_n
call fcn.00569b80
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push ecx
push esi
call fcn.0056a820
add esp, 0x1c
test al, al
je 0x41933f
mov edx, dword [esp + 0x10]
cmp edx, dword [esi + 0x112]
je 0x41940a
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
push 0x67ad94
push esi
call fcn.0058c9c3
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x41940a
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.0041dec0
push eax
mov ecx, edi
call fcn.0041dee0
push eax
push esi
lea ecx, [ebp + 0x4e0]
call fcn.005771e0
mov edx, dword [esi + 0x10a]
cmp edx, dword [esp + 0x1c]
je 0x4193b0
push 0
push 0x1cc
push str..Updater.cpp
push str.fe__size__out_size
call fcn.00569e90
add esp, 0x10
lea edi, [ebp + 0x20dd4]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
push ebx
push 1
push eax
push ecx
call fcn.0058d3d9
push ebx
call fcn.0058bf50
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push str.MiniA.exe
push esi
call fcn.0058de3c
add esp, 8
test eax, eax
jne 0x4193fd
mov byte [ebp + 0x21654], 1
call fcn.00419680
mov edx, dword [esp + 0xc]
push edx
call fcn.0058d52b
add esp, 4
pop edi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x419500
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x5db088
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6b4774]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [esp + 0x18]
xor ebx, ebx
push eax
xor esi, esi
mov dword [esp + 0x18], ebx
call fcn.0041b8e0
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], esi
call fcn.0041ba60
mov ecx, dword [edi + 0x5f8]
sub ecx, dword [edi + 0x5f4]
sar ecx, 2
test ecx, ecx
jbe 0x4195af
mov ebp, 0x100000
mov edx, dword [edi + 0x5f8]
sub edx, dword [edi + 0x5f4]
sar edx, 2
cmp esi, edx
jb 0x419578
call fcn.0058cec8
mov eax, dword [edi + 0x5f4]
mov eax, dword [eax + esi*4]
test dword [eax + 0x116], ebp
jne 0x419595
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.0041bb70
inc ebx
mov edx, dword [edi + 0x5f8]
sub edx, dword [edi + 0x5f4]
inc esi
sar edx, 2
cmp esi, edx
jb 0x419560
mov dword [esp + 0x14], ebx
xor esi, esi
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x24]
mov eax, 0xdd67c8a7
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x419628
xor ebp, ebp
lea ebx, [edi + 0x5e4]
cmp esi, eax
jb 0x4195dd
call fcn.0058cec8
mov eax, dword [esp + 0x24]
lea edi, [eax + ebp]
push edi
mov ecx, ebx
call fcn.00578ac0
test byte [edi + 0x116], 1
je 0x4195fc
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x24]
mov eax, 0xdd67c8a7
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
add ebp, 0x128
cmp esi, eax
jb 0x4195dd
mov ebx, dword [esp + 0x14]
xor esi, esi
push ebx
push str.removed__d_files_n
call fcn.00569b80
mov eax, dword [esp + 0x2c]
add esp, 8
cmp eax, esi
je 0x419647
push eax
call fcn.0058c13d
add esp, 4
mov ecx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call fcn.0058c13d
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret

Function at 0x419680
Capabilities:
Get common file path

Disassembly:
sub esp, 0x61c
mov eax, dword [0x6b4774]
xor eax, esp
mov dword [esp + 0x614], eax
lea eax, [esp + 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push str.MiniA.exe
lea ecx, [esp + 0x10c]
push ecx
lea edx, [esp + 8]
push 0x67ba1c
push edx
call fcn.00410ac0
push str.LOVELIZ
push str.Allow_network_traffic_for__s
lea edx, [esp + 0x228]
call fcn.00410ae0
lea eax, [esp + 0x228]
push eax
lea ecx, [esp + 0x1c]
call fcn.00410710
mov ecx, dword [esp + 0x630]
add esp, 0x1c
xor ecx, esp
call fcn.0058bad0
add esp, 0x61c
ret
Function at 0x419b60
Capabilities:
Delete file

Disassembly:
sub esp, 0x40c
mov eax, dword [0x6b4774]
xor eax, esp
mov dword [esp + 0x408], eax
push ebx
push ebp
push esi
push str.Making_sure_extracted_files_exists_n
call fcn.00569b80
add esp, 4
push 1
lea ebx, [edi + 0x4e0]
push 1
mov ecx, ebx
call fcn.00576d80
mov eax, dword [edi + 0x5f8]
sub eax, dword [edi + 0x5f4]
xor ebp, ebp
sar eax, 2
test eax, eax
jbe 0x419c4e
mov edi, edi
mov ecx, dword [edi + 0x5f8]
sub ecx, dword [edi + 0x5f4]
sar ecx, 2
cmp ebp, ecx
jb 0x419bc8
call fcn.0058cec8
mov edx, dword [edi + 0x5f4]
mov esi, dword [edx + ebp*4]
test byte [esi + 0x116], 1
je 0x419c36
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push esi
call fcn.0056a820
add esp, 0xc
test al, al
je 0x419c09
mov edx, dword [esp + 0x10]
cmp edx, dword [esi + 0x112]
jne 0x419c09
mov eax, dword [esp + 0xc]
cmp eax, dword [esi + 0x10a]
je 0x419c36
push esi
push str.restoring__s_n
call fcn.00569b80
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
push 0x67bb9c
push esi
mov ecx, ebx
call fcn.00577c10
test al, al
je 0x419c7a
mov ecx, dword [edi + 0x5f8]
sub ecx, dword [edi + 0x5f4]
inc ebp
sar ecx, 2
cmp ebp, ecx
jb 0x419bb0
mov ecx, ebx
call fcn.00576ed0
push str.Making_sure_extracted_files_exists___finished_n
call fcn.00569b80
mov ecx, dword [esp + 0x418]
add esp, 4
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0058bad0
add esp, 0x40c
ret
push esi
push str.Cant_extract_file__s_nPlease_delete_this_file_manually
lea edx, [esp + 0x1c]
call fcn.00410ae0
add esp, 8
lea edx, [esp + 0x14]
push edx
mov eax, edi
call fcn.00418560
int3

Function at 0x41b5d0
Capabilities:
Create thread

Disassembly:
cmp dword [esi + 0x21638], 0
je 0x41b5f2
push 0
push 0x611
push str..Updater.cpp
push str.mainThread___NULL
call fcn.00569e90
add esp, 0x10
cmp dword [esi + 0x21658], 0
je 0x41b614
push 0
push 0x612
push str..Updater.cpp
push str.loginThread___NULL
call fcn.00569e90
add esp, 0x10
push ebx
push edi
push 0
push 0
push esi
push 0x41a3e0
push 0
push 0
call fcn.0058c47a
push 0
push 0
push esi
push 0x41ace0
push 0
push 0
mov dword [esi + 0x21638], eax
call fcn.0058c47a
add esp, 0x30
mov dword [esi + 0x21d20], eax
lea edi, [esi + 0x21648]
mov ebx, 3
push 0
push 0
push esi
push 0x41acf0
push 0
push 0
call fcn.0058c47a
mov dword [edi], eax
add esp, 0x18
add edi, 4
sub ebx, 1
jne 0x41b656
pop edi
pop ebx
ret
Function at 0x41b700
Capabilities:
Terminate thread

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push str.CUpdater::Stop___n
mov esi, eax
call fcn.00569b80
add esp, 4
cmp byte [esi + 0x20df4], 0
jne 0x41b723
mov eax, dword [esi + 0x21640]
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x741824
call edi
lea eax, [esi + 0x20dd4]
push eax
mov dword [esp + 0x14], eax
call edi
mov eax, dword [esi + 0x21638]
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
cmp eax, ebx
je 0x41b768
push ebx
push eax
call edi
mov ecx, dword [esi + 0x21638]
push ecx
call ebp
mov dword [esi + 0x21638], ebx
mov eax, dword [esi + 0x21d20]
cmp eax, ebx
je 0x41b785
push ebx
push eax
call edi
mov edx, dword [esi + 0x21d20]
push edx
call ebp
mov dword [esi + 0x21d20], ebx
mov eax, dword [esi + 0x21658]
cmp eax, ebx
je 0x41b7a2
push ebx
push eax
call edi
mov eax, dword [esi + 0x21658]
push eax
call ebp
mov dword [esi + 0x21658], ebx
add esi, 0x21648
mov ebx, 3
lea ecx, [ecx]
mov eax, dword [esi]
test eax, eax
je 0x41b7c6
push 0
push eax
call edi
mov ecx, dword [esi]
push ecx
call ebp
mov dword [esi], 0
add esi, 4
sub ebx, 1
jne 0x41b7b0
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edx
call esi
push 0x741824
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x41d960
Capabilities:
Set registry value

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareArktos_Entertainment_GroupWarZ
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x41d9b9
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41d990
mov ecx, dword [esp]
sub eax, edx
inc eax
push eax
push esi
push 1
push 0
push str.username
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret

Function at 0x41d9c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
push 0xf003f
push 0
push str.SoftwareArktos_Entertainment_GroupWarZ
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41da10
mov edx, dword [esp + 0xc]
lea ecx, [esp + 4]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x10]
push str.username
push eax
mov dword [esp + 0x1c], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
add esp, 8
ret 4
Function at 0x41da20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
mov esi, eax
lea eax, [esp + 4]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftGoogle
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41da54
mov ecx, esi
call fcn.0041da90
mov al, 1
pop esi
add esp, 8
ret
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
add esi, 0x100
push esi
push 0
push 0
push str.GoogleKey
push edx
mov dword [esp + 0x20], 0x32
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
add esp, 8
ret

Function at 0x41da90
Capabilities:
Set registry value

Disassembly:
sub esp, 0x1d0
mov eax, dword [0x6b4774]
xor eax, esp
mov dword [esp + 0x1c8], eax
push esi
push 0
lea eax, [esp + 8]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREMicrosoftGoogle
push SysReAllocString
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x41db4b
push 0x1c0
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.0058de90
add esp, 0xc
lea eax, [esp + 8]
call fcn.00411250
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push 0
push 2
push edx
push eax
add esi, 0x100
call fcn.00590bb0
push edx
push eax
push str.0x_I64x
mov edx, esi
call fcn.0041dc90
mov eax, esi
add esp, 0xc
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41db20
mov ecx, dword [esp + 4]
sub eax, edx
inc eax
push eax
push esi
push 1
push 0
push str.GoogleKey
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1cc]
pop esi
xor ecx, esp
call fcn.0058bad0
add esp, 0x1d0
ret
Function at 0x41db70
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5da44b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x6b4774]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
mov eax, dword [0x6b4774]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov eax, dword [esp + 0x234]
mov ecx, dword [eax + 0x1a0]
mov edx, dword [eax + 0x19c]
mov eax, dword [eax + 0x198]
push ecx
push edx
push eax
lea ecx, [esp + 0x28]
push str._d:_d:_d
push ecx
call fcn.00416f10
lea eax, [esp + 0x30]
add esp, 0x14
xor ecx, ecx
lea esi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41dbe0
sub eax, esi
je 0x41dc0d
jmp 0x41dbf0
xor byte [esp + ecx + 0x1c], 0x64
lea eax, [esp + 0x1c]
inc ecx
lea esi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41dc00
sub eax, esi
cmp ecx, eax
jb 0x41dbf0
lea ecx, [esp + 8]
call fcn.0041f3b0
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0xc]
mov dword [esp + 0x230], 0
call fcn.0041f5b0
push str.utf_8
lea ecx, [esp + 0xc]
call fcn.0041f640
lea ecx, [esp + 8]
call fcn.0041f5f0
mov edx, edi
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x41dc48
lea ecx, [esp + 8]
mov dword [esp + 0x22c], 0xffffffff
call fcn.0041f4c0
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0058bad0
add esp, 0x228
ret 4
Function at 0x42a3a0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cb497
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x6b4774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x134]
call fcn.00427960
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1bc]
call fcn.00427960
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x134]
call fcn.00429710
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x1bc]
call fcn.00429710
push 0x5c
push 0x2f
lea ecx, [ebp - 0x134]
call fcn.00429c40
push 0x5c
push 0x2f
lea ecx, [ebp - 0x1bc]
call fcn.00429c40
mov byte [ebp - 0x1bd], 0
lea ecx, [ebp - 0xac]
call fcn.0045d580
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xac]
call fcn.0045d600
movzx edx, al
test edx, edx
je 0x42a47e
lea ecx, [ebp - 0x1bc]
call fcn.00428ba0
push eax
lea ecx, [ebp - 0x134]
call fcn.00428ba0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
setne al
mov byte [ebp - 0x1bd], al
jmp 0x42a55c
lea ecx, [ebp - 0x134]
call fcn.00427af0
test eax, eax
jg 0x42a4a0
lea ecx, [ebp - 0x1bc]
call fcn.00427af0
test eax, eax
jle 0x42a533
lea ecx, [ebp - 0x24c]
call fcn.00427960
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2d4]
call fcn.00427960
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
push ecx
lea edx, [ebp - 0x134]
push edx
call fcn.0042a5d0
add esp, 8
lea eax, [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x1bc]
push ecx
call fcn.0042a5d0
add esp, 8
lea ecx, [ebp - 0x2d4]
call fcn.00428360
push eax
lea ecx, [ebp - 0x24c]
call fcn.00428360
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne dl
mov byte [ebp - 0x1bd], dl
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2d4]
call fcn.00427a70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24c]
call fcn.00427a70
jmp 0x42a55c
lea ecx, [ebp - 0x1bc]
call fcn.00428360
push eax
lea ecx, [ebp - 0x134]
call fcn.00428360
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne al
mov byte [ebp - 0x1bd], al
movzx ecx, byte [ebp - 0x1bd]
test ecx, ecx
jne 0x42a575
cmp dword [ebp + 0x10], 0
je 0x42a575
mov ecx, dword [ebp + 0x10]
call fcn.0045c7f0
mov dl, byte [ebp - 0x1bd]
mov byte [ebp - 0x2d5], dl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xac]
call fcn.0045d5e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1bc]
call fcn.00427a70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.00427a70
mov al, byte [ebp - 0x2d5]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058bad0
mov esp, ebp
pop ebp
ret
Function at 0x42a700
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cb51c
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x6b4774]
xor eax, ebp
mov dword [ebp - 0x98], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x94]
call fcn.00427960
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x94]
call fcn.00429710
push 0x5c
push 0x2f
lea ecx, [ebp - 0x94]
call fcn.00429c40
lea ecx, [ebp - 0x134]
call fcn.0045d580
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x134]
call fcn.0045d600
movzx ecx, al
test ecx, ecx
je 0x42a7c8
lea ecx, [ebp - 0x94]
call fcn.00428ba0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne dl
mov byte [ebp - 0x255], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.0045d5e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00427a70
mov al, byte [ebp - 0x255]
jmp 0x42a99b
lea ecx, [ebp - 0x94]
call fcn.00427af0
cmp eax, 0x104
jle 0x42a8ce
lea ecx, [ebp - 0x1bc]
call fcn.00427960
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x94]
push ecx
call fcn.0042a030
add esp, 8
lea ecx, [ebp - 0x24c]
call fcn.00427960
mov byte [ebp - 4], 3
push 0x5e195c
lea ecx, [ebp - 0x24c]
call fcn.00429290
lea ecx, [ebp - 0x1bc]
call fcn.00429440
push eax
lea ecx, [ebp - 0x24c]
call fcn.00429290
lea ecx, [ebp - 0x24c]
call fcn.00428360
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x1c0], eax
cmp dword [ebp - 0x1c0], 0
jne 0x42a86f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x42a86f
mov dword [ebp - 0x1c0], 1
cmp dword [ebp - 0x1c0], 0
setne dl
mov byte [ebp - 0x256], dl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24c]
call fcn.00427a70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1bc]
call fcn.00427a70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.0045d5e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00427a70
mov al, byte [ebp - 0x256]
jmp 0x42a99b
lea ecx, [ebp - 0x94]
call fcn.00428360
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
jne 0x42a941
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x254], eax
cmp dword [ebp + 0xc], 0
je 0x42a92e
mov eax, dword [ebp - 0x254]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0045c890
lea ecx, [ebp - 0x94]
call fcn.00429440
push eax
push str.failedToDeleteFilepath
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x28]
call eax
cmp dword [ebp - 0x254], 2
jne 0x42a941
mov dword [ebp - 0x250], 1
cmp dword [ebp - 0x250], 0
setne cl
mov byte [ebp - 0x257], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.0045d5e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00427a70
mov al, byte [ebp - 0x257]
jmp 0x42a99b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x98]
xor ecx, ebp
call fcn.0058bad0
mov esp, ebp
pop ebp
ret