joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420160
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c4e3f
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x4f51d0]
xor eax, esp
mov dword [esp + 0x430], eax
push ebx
push esi
push edi
mov eax, dword [0x4f51d0]
xor eax, esp
push eax
lea eax, [esp + 0x448]
mov dword fs:[0], eax
xor eax, eax
mov edi, 0x206
push edi
push eax
mov word [esp + 0x2c], ax
lea eax, [esp + 0x2e]
push eax
mov ebx, ecx
call fcn.00492200
add esp, 0xc
push dword [ebx + 0x50]
lea eax, [esp + 0x28]
push 0x208
push eax
call fcn.0041be83
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.BoxTray.exe
lea eax, [esp + 0x28]
push eax
call esi
call fcn.0045db63
cmp eax, 3
jge 0x4202c0
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, 0x50f384
lea esi, [esp + 0x14]
mov dword [esp + 0x450], ebx
call fcn.004080cd
lea eax, [esp + 0x24]
push eax
mov eax, esi
push 0x4da658
push eax
mov byte [esp + 0x45c], 1
call fcn.0040d022
add esp, 0xc
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
mov eax, 0xf003f
lea ecx, [esp + 0x20]
call fcn.0040eb0e
test eax, eax
jne 0x4202a4
push edi
mov word [esp + 0x230], ax
lea eax, [esp + 0x232]
push ebx
push eax
call fcn.00492200
add esp, 0xc
mov ebx, str.Safebox
push ebx
lea eax, [esp + 0x1c]
push eax
lea esi, [esp + 0x28]
lea edi, [esp + 0x234]
mov dword [esp + 0x28], 0x104
call fcn.0041d82b
mov eax, edi
push eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4202a4
push dword [esp + 0x14]
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.0040e5d0
lea esi, [esp + 0x18]
call fcn.0040ec6e
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.00408396
call fcn.0040ec6e
jmp 0x42032a
mov dword [esp + 0x20], vtable.CTaskSchdMgr.0
lea eax, [esp + 0x24]
push eax
mov edi, str.Safebox_Start
push edi
mov dword [esp + 0x458], 2
call fcn.00465df8
test eax, eax
jne 0x420324
push 0x20a
push eax
lea eax, [esp + 0x234]
push eax
call fcn.00492200
add esp, 0xc
push dword [ebx + 0x50]
lea eax, [esp + 0x230]
push eax
call esi
push 0x4d84dc
lea eax, [esp + 0x230]
push eax
lea eax, [esp + 0x2c]
push eax
push edi
call fcn.004654ea
jmp 0x42032a
push edi
call fcn.0046625a
mov ecx, dword [esp + 0x448]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.0048c64c
mov esp, ebp
pop ebp
ret
Function at 0x42046c
Capabilities:
Check if file exists
Delete file
Get common file path
Get file attributes
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x4f51d0]
xor eax, ebp
mov dword [ebp + 0x188], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x80], ax
lea eax, [ebp - 0x7e]
push eax
call fcn.00492200
add esp, 0xc
push 0
push 0x1a
lea eax, [ebp - 0x80]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4204fc
push str.Safebox6.0
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4204fc
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4204fc
test al, 0x10
jne 0x4204fc
push 0x80
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 0x188]
xor ecx, ebp
call fcn.0048c64c
add ebp, 0x18c
leave
ret

Function at 0x420511
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x4f51d0]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a0]
push ebx
push esi
push edi
mov dword [ebp - 0x80], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push eax
mov dword [ebp - 0x7c], 1
call fcn.00492200
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x7c]
push eax
mov ebx, 0x4d84dc
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths_safebox.exe
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
mov dword [ebp - 0x78], 0x104
call esi
test eax, eax
jne 0x4205b3
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4205b3
lea eax, [ebp - 0x74]
push eax
push 0x4d8558
push 0x103
push dword [ebp - 0x80]
call fcn.0048e74d
xor eax, eax
add esp, 0x10
inc eax
jmp 0x4205f6
push 0x208
lea eax, [ebp - 0x74]
push 0
push eax
mov dword [ebp - 0x78], 0x104
call fcn.00492200
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360safebox.exe
push edi
call esi
test eax, eax
jne 0x4205f4
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x420595
xor eax, eax
mov ecx, dword [ebp + 0x194]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048c64c
add ebp, 0x198
leave
ret 4
Function at 0x42123a
Capabilities:
Check if file exists
Create process on windows
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x5d8]
sub esp, 0x658
mov eax, dword [0x4f51d0]
xor eax, ebp
mov dword [ebp + 0x5d4], eax
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x14fc], edi
je 0x42126a
call fcn.0042239b
jmp 0x421277
cmp dword [esi + 0x1500], edi
je 0x421277
call fcn.00422714
cmp dword [0x512ed8], edi
je 0x42128b
cmp dword [0x512edc], edi
jne 0x42128b
xor eax, eax
jmp 0x42128e
xor eax, eax
inc eax
push eax
mov ecx, esi
call fcn.0042102e
call fcn.00420358
push esi
call fcn.0041fec9
mov ecx, esi
call fcn.0041fff8
mov ecx, esi
call fcn.00420160
push dword [esi + 0x50]
call fcn.0041d99a
pop ecx
call fcn.0042170e
push esi
call fcn.0042187d
call fcn.0048035b
cmp dword [0x50f628], edi
je 0x4213ea
cmp dword [0x50f614], edi
je 0x4213ea
push ebx
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp + 0x1c4], ax
lea eax, [ebp + 0x1c6]
push edi
push eax
call fcn.00492200
add esp, 0xc
push edi
push 0x25
lea eax, [ebp + 0x1c4]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
push esi
mov word [ebp + 0x3cc], ax
lea eax, [ebp + 0x3ce]
push edi
push eax
call fcn.00492200
lea eax, [ebp + 0x1c4]
push eax
push str._smsxml3.dll
mov ebx, 0x103
lea eax, [ebp + 0x3cc]
push ebx
push eax
call fcn.0048e74d
xor eax, eax
push esi
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x42]
push edi
push eax
call fcn.00492200
lea eax, [ebp + 0x3cc]
push eax
push 0x4da8f8
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.0048e74d
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x80]
push edi
push eax
call fcn.00492200
lea eax, [ebp - 0x44]
mov dword [ebp - 0x6c], eax
add esp, 0x44
lea eax, [ebp + 0x3cc]
push eax
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], 0x40
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], str.open
mov dword [ebp - 0x70], str.RegSvr32.exe
mov dword [ebp - 0x64], edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ebx
test eax, eax
je 0x4213ea
lea eax, [ebp + 0x3cc]
push eax
call fcn.0047c6cb
pop ecx
test eax, eax
je 0x4213ea
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4213ea
push 0x4e20
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x5d4]
pop edi
xor ecx, ebp
pop esi
call fcn.0048c64c
add ebp, 0x5d8
leave
ret
Function at 0x421671
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x4f51d0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x418], 0
push esi
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00492200
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
push esi
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.00492200
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
push 0
push 0x4d84dc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x414]
push eax
push ebx
call fcn.00408620
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, ebx
pop esi
call fcn.0048c64c
leave
ret

Function at 0x42170e
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
sub esp, 0x61c
lea ebp, [esp - 4]
mov eax, dword [0x4f51d0]
xor eax, ebp
mov dword [ebp + 0x61c], eax
push 0xc
mov eax, 0x4c4df6
call fcn.00492deb
xor eax, eax
push 0x618
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.00492200
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4da998
mov ebx, str.SOFTWARESafeBox6.0
push ebx
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0x30c
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x4217c6
mov ecx, 0x50f384
lea esi, [ebp - 0x10]
call fcn.004080cd
and dword [ebp - 4], 0
push 0x513508
mov eax, esi
push 0x4d8558
push eax
call fcn.0040d022
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
add esp, 0xc
add eax, eax
push eax
push esi
push 1
push 0x4da998
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [esi - 0x10]
call fcn.00408396
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x61c]
xor ecx, ebp
call fcn.0048c64c
add ebp, 0x620
leave
ret

Function at 0x421ab0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x421ad1
xor eax, eax
leave
ret
lea eax, [ebp - 0xc]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x421af1
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x421acd
mov eax, dword [ebp - 0xc]
push 0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
push 0
push 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [ebp - 4]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x421acd
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x421acd
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
leave
ret
Function at 0x422714
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x5a0]
sub esp, 0x620
mov eax, dword [0x4f51d0]
xor eax, ebp
mov dword [ebp + 0x59c], eax
push ebx
push esi
push edi
mov ebx, 0x208
push ebx
lea eax, [ebp + 0x394]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x80], esi
call fcn.00492200
push ebx
lea eax, [ebp + 0x18c]
push 0
push eax
call fcn.00492200
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 0x18
push dword [esi + 0xc]
lea eax, [ebp + 0x394]
push eax
call edi
mov esi, str.Safebox6.0
push esi
lea eax, [ebp + 0x394]
push eax
call edi
push 0x4dacd0
lea eax, [ebp + 0x394]
push eax
call edi
mov eax, dword [ebp - 0x80]
push dword [eax + 0xc]
lea eax, [ebp + 0x18c]
push eax
call edi
push esi
lea eax, [ebp + 0x18c]
push eax
call edi
push str.old_data
lea eax, [ebp + 0x18c]
push eax
call edi
lea esi, [ebp + 0x394]
call fcn.0045af1b
push str.360Game.ini
mov eax, esi
push eax
call edi
push 0x4dacf4
lea eax, [ebp + 0x18c]
push eax
call edi
push ebx
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.00492200
add esp, 0xc
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42286a
mov eax, esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x7c]
push eax
mov edi, 0x4d84dc
push edi
push str.ScanFlag
push str.setting
call esi
cmp word [ebp - 0x7c], 0
jne 0x42286a
lea eax, [ebp + 0x18c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42286a
lea eax, [ebp + 0x18c]
push eax
push ebx
lea eax, [ebp - 0x7c]
push eax
push edi
push str.QuickScan
push str.scan
call esi
cmp word [ebp - 0x7c], 0
je 0x42286a
lea eax, [ebp + 0x394]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.ScanFlag
push str.setting
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp + 0x59c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048c64c
add ebp, 0x5a0
leave
ret
Function at 0x42422d
Capabilities:
Hide graphical window

Disassembly:
push ecx
push esi
push edi
mov edi, eax
push 0x4db34c
call fcn.0042ae3a
test eax, eax
je 0x424256
lea esi, [edi + 0x228]
push esi
call fcn.004266a5
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ecx
ret

Function at 0x425806
Capabilities:
Check if file exists

Disassembly:
push 0x10
mov eax, 0x4c8751
call fcn.00492deb
mov ebx, dword [ebp + 8]
push ebx
call fcn.00426100
xor esi, esi
cmp dword [ebx + 0x374], esi
je 0x42583c
call fcn.0041fa8b
mov eax, dword [eax + 0x50]
push esi
push 0x1388
push eax
call fcn.00481c0b
add esp, 0xc
cmp dword [ebx + 0x37c], esi
je 0x42599c
lea esi, [ebx + 0x380]
xor eax, eax
cmp ax, word [esi]
je 0x42599c
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42599c
mov eax, dword [ebx + 0x37c]
cmp eax, 1
jne 0x42587f
push esi
call fcn.00479ece
pop ecx
jmp 0x42599c
cmp eax, 2
jne 0x42599c
call fcn.0041fa8b
mov eax, dword [eax + 0x50]
sub eax, 0x10
call fcn.00407ffe
lea ebx, [eax + 0x10]
mov dword [ebp - 0x18], ebx
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 0x10]
push eax
call fcn.00408620
mov ecx, 0x50f384
lea esi, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004080cd
mov byte [ebp - 4], 2
push dword [ebp - 0x10]
xor ecx, ecx
lea esi, [ebp - 0x18]
call fcn.00404aaa
cmp eax, 0xffffffff
je 0x425977
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
mov ecx, dword [ebx - 0xc]
sub ecx, eax
lea eax, [ebp - 0x1c]
push eax
mov eax, esi
call fcn.00404af9
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00405208
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00408396
xor ecx, ecx
push 0x4d8dcc
inc ecx
mov esi, edi
call fcn.00404aaa
mov esi, dword [ebp - 0x14]
cmp eax, 0xffffffff
je 0x42594e
mov ecx, eax
lea edx, [ebp - 0x1c]
mov eax, edi
call fcn.00404b49
mov byte [ebp - 4], 4
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x10]
call fcn.00407eb9
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00408396
jmp 0x42595a
push dword [esi - 0xc]
lea eax, [ebp - 0x10]
push esi
call fcn.00407eb9
push dword [ebp - 0x10]
mov eax, 0x4d84dc
push eax
push eax
mov eax, dword [ebp + 8]
add eax, 0x380
push eax
call fcn.0047a21d
add esp, 0x10
jmp 0x42597a
mov esi, dword [ebp - 0x14]
lea eax, [esi - 0x10]
call fcn.00408396
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00408396
or dword [ebp - 4], 0xffffffff
lea eax, [ebx - 0x10]
call fcn.00408396
mov ebx, dword [ebp + 8]
call fcn.0041fa8b
mov edi, eax
call fcn.00420f12
call fcn.0041fa8b
cmp dword [eax + 0x14fc], 0
je 0x425a10
push 7
push dword [ebx + 0x228]
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.0041fa8b
mov esi, eax
call fcn.00422335
test eax, eax
jne 0x4259fb
mov dword [ebx + 0x588], 1
call fcn.0040c7a0
push 0
push 0
add eax, 0x228
push 0x407
push dword [eax]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x425a2b
push 0
push 0x96
push 7
push dword [ebx + 0x228]
call dword [sym.imp.USER32.dll_SetTimer]
call fcn.0041fa8b
mov ecx, eax
call fcn.00421406
call fcn.004257a2
mov dword [ebx + 0x36c], 3
call fcn.00492ec3
ret 4
Function at 0x425a89
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
call fcn.00426487
xor eax, eax
lea ecx, [ebp - 8]
push ecx
push eax
lea ecx, [ebp - 4]
push ecx
push 0x425a78
push eax
push eax
mov dword [ebp - 4], eax
call fcn.0048ff7d
add esp, 0x18
pop ebx
leave
ret

Function at 0x425f81
Capabilities:
Get disk size

Disassembly:
push 0x230
mov eax, 0x4c39d1
call fcn.00492e54
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x368]
sub eax, 0x10
call fcn.00407ffe
add eax, 0x10
mov dword [ebp - 0x220], eax
xor ebx, ebx
push 0x4da3e4
xor ecx, ecx
lea esi, [ebp - 0x220]
mov dword [ebp - 4], ebx
call fcn.00404aaa
cmp eax, ebx
jle 0x4260e5
lea ecx, [ebp - 0x224]
push ecx
mov ecx, esi
push ecx
add eax, 2
xor ecx, ecx
call fcn.00422e78
xor eax, eax
mov dword [ebp - 0x234], ebx
lea edi, [ebp - 0x230]
stosd dword es:[edi], eax
mov dword [ebp - 0x23c], ebx
lea edi, [ebp - 0x238]
stosd dword es:[edi], eax
mov dword [ebp - 0x22c], ebx
lea edi, [ebp - 0x228]
stosd dword es:[edi], eax
mov edi, dword [ebp - 0x224]
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x234]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x4260d8
mov esi, dword [ebp - 0x22c]
mov eax, dword [ebp - 0x228]
shrd esi, eax, 0x14
shr eax, 0x14
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push ebx
push eax
call fcn.00492200
add esp, 0xc
cmp esi, 0x400
jb 0x4260a7
mov eax, esi
mov dword [ebp - 0x224], eax
fild dword [ebp - 0x224]
test eax, eax
jge 0x426081
fadd dword [0x4e1f58]
fmul qword [0x4e1fe8]
push ecx
push ecx
lea eax, [ebp - 0x21c]
fstp qword [esp]
push str._.2f_GB
push 0x103
push eax
call fcn.0048e74d
add esp, 0x14
jmp 0x4260c1
push esi
push str._d_MB
lea eax, [ebp - 0x21c]
push 0x103
push eax
call fcn.0048e74d
add esp, 0x10
push 0x4db7cc
call fcn.0048d451
cmp esi, eax
sbb esi, esi
and esi, 0xfffffffd
pop ecx
add esi, 3
jmp 0x4260db
xor esi, esi
inc esi
lea eax, [edi - 0x10]
call fcn.00408396
jmp 0x4260e8
push 2
pop esi
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
call fcn.00408396
mov eax, esi
call fcn.00492ed7
ret 4
Function at 0x4269f8
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c5cd2
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4f51d0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x4f51d0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
lea edi, [ebx - 4]
mov eax, dword [edi]
push 0
mov ecx, edi
call dword [eax + 0xa8]
push str.id_titleclose
lea esi, [esp + 0x18]
call fcn.00404bbf
and dword [esp + 0x40], 0
sub esp, 0x1c
lea eax, [esp + 0x30]
mov esi, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00404bde
add ebx, 0x258
mov ecx, ebx
call fcn.0042e1b2
mov esi, eax
test esi, esi
je 0x426aa5
sub esp, 0x28
mov dword [esp + 0x38], esp
mov eax, esp
push ecx
push ecx
mov ecx, esp
and dword [ecx], 0
mov dword [esp + 0x40], esp
mov dword [ecx + 4], 0x42697d
mov dword [ecx], edi
call fcn.004235ca
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
push str.id_install
lea eax, [esp + 0x18]
push eax
call fcn.00405355
sub esp, 0x1c
lea eax, [esp + 0x30]
mov esi, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00404bde
mov ecx, ebx
call fcn.0042e1b2
mov esi, eax
test esi, esi
je 0x426b00
sub esp, 0x28
mov dword [esp + 0x38], esp
mov eax, esp
push ecx
push ecx
mov ecx, esp
and dword [ecx], 0
mov dword [esp + 0x40], esp
mov dword [ecx + 4], 0x426d75
mov dword [ecx], edi
call fcn.004235ca
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
push str.id_progress
lea eax, [esp + 0x18]
push eax
call fcn.00405355
sub esp, 0x1c
lea eax, [esp + 0x30]
mov esi, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00404bde
mov ecx, ebx
call fcn.0042e1b2
mov ecx, eax
xor esi, esi
cmp ecx, esi
je 0x426b49
push 0x19
pop eax
mov dword [ecx + 0x228], esi
mov dword [ecx + 0x22c], 0x64
call fcn.0043cb0d
push esi
mov ecx, edi
call fcn.00426b7b
push esi
push 1
lea ecx, [esp + 0x1c]
call fcn.00405380
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0048c64c
mov esp, ebp
pop ebp
ret
Function at 0x426f81
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c5ca2
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4f51d0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x4f51d0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
lea edi, [ebx - 4]
mov eax, dword [edi]
push 0
mov ecx, edi
call dword [eax + 0xa8]
push str.id_titleclose
lea esi, [esp + 0x18]
call fcn.00404bbf
and dword [esp + 0x40], 0
sub esp, 0x1c
lea eax, [esp + 0x30]
mov esi, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00404bde
lea ecx, [ebx + 0x258]
call fcn.0042e1b2
mov esi, eax
test esi, esi
je 0x42702c
sub esp, 0x28
mov dword [esp + 0x38], esp
mov eax, esp
push ecx
push ecx
mov ecx, esp
and dword [ecx], 0
mov dword [esp + 0x40], esp
mov dword [ecx + 4], 0x426f06
mov dword [ecx], edi
call fcn.004235ca
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
push str.id_install
lea eax, [esp + 0x18]
push eax
call fcn.00405355
sub esp, 0x1c
lea eax, [esp + 0x30]
mov esi, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00404bde
lea ecx, [ebx + 0x258]
call fcn.0042e1b2
mov esi, eax
test esi, esi
je 0x42708b
sub esp, 0x28
mov dword [esp + 0x38], esp
mov eax, esp
push ecx
push ecx
mov ecx, esp
and dword [ecx], 0
mov dword [esp + 0x40], esp
mov dword [ecx + 4], fcn.004273a4
mov dword [ecx], edi
call fcn.004235ca
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
push str.id_progress
lea eax, [esp + 0x18]
push eax
call fcn.00405355
sub esp, 0x1c
lea eax, [esp + 0x30]
mov esi, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00404bde
lea ecx, [ebx + 0x258]
call fcn.0042e1b2
mov ecx, eax
xor esi, esi
cmp ecx, esi
je 0x4270d8
push 0x19
pop eax
mov dword [ecx + 0x228], esi
mov dword [ecx + 0x22c], 0x64
call fcn.0043cb0d
push esi
mov ecx, edi
call fcn.0042711b
push esi
push 0x64
push 2
push dword [ebx + 0x224]
call dword [sym.imp.USER32.dll_SetTimer]
push esi
push 1
lea ecx, [esp + 0x1c]
call fcn.00405380
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0048c64c
mov esp, ebp
pop ebp
ret