joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4252ed
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 8], ebx
cmp ebx, 0xffffffff
je 0x425390
call fcn.00427347
test al, al
je 0x42533e
push ecx
pop edi
pop ebp
pop ebp
push ebp
push ebp
pop ebx
pop esi
pop edi
push edx
pop edi
push eax
pop edi
pop esi
pop esi
pop ebp
push edx
pop esp
pop edi
pop ebx
pop ebx
push ebp
pop ecx
pop eax
mov ebx, dword [ebp - 8]
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 4]
and dword [ebp - 4], 0
push 0
push eax
push esi
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00427347
test al, al
je 0x425380
pop edi
pop edi
push ecx
push ebx
push ebx
push esp
push edx
push edx
pop ebx
pop ebp
push esi
pop esi
pop ebx
push eax
pop esp
pop edi
push ecx
push esi
push ebp
push edi
mov esi, dword [ebp + 0x10]
cmp dword [ebp - 8], 0
je 0x425390
cmp esi, dword [ebp - 4]
jne 0x425390
xor eax, eax
inc eax
jmp 0x425392
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42855d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4285dc
push ebx
push edi
xor edi, edi
push str.958a208fcb7062e5cb0b4133fd0e8da3
mov dword [ebp + 8], edi
call fcn.0044fe60
mov ebx, dword [ebp + 0xc]
mov edx, edi
pop ecx
test ebx, ebx
je 0x428599
mov cl, byte [edi + str.958a208fcb7062e5cb0b4133fd0e8da3]
xor byte [edx + esi], cl
inc edi
xor ecx, ecx
cmp edi, eax
cmovge edi, ecx
inc edx
cmp edx, ebx
jb 0x428583
cmp ebx, 1
jle 0x4285d0
cmp byte [esi], 0x37
jne 0x4285d0
mov al, byte [esi + 1]
cmp al, 0x7a
je 0x4285ae
cmp al, 0x5a
jne 0x4285d0
lea eax, [ebp + 8]
push eax
push ebx
push esi
call fcn.00419110
test eax, eax
je 0x4285d0
mov edx, dword [ebp + 8]
test edx, edx
je 0x4285d0
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
jmp 0x4285da
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
pop edi
pop ebx
pop esi
pop ebp
ret

Function at 0x428afe
Capabilities:
Read .ini file

Disassembly:
push 0x838
mov eax, 0x59d17d
call fcn.00594fd1
mov edi, ecx
mov ecx, dword [ebp + 0xc]
lea eax, [edi + 0x8c]
cmp dword [eax + 0x14], 8
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x844], ecx
jb 0x428b29
mov eax, dword [eax]
push eax
push dword [ebp + 0x10]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
cmp esi, dword [ebp + 0x10]
jne 0x428c07
xor esi, esi
mov dword [ebp - 0x814], 7
push esi
xor eax, eax
mov dword [ebp - 0x818], esi
push 0x619730
lea ecx, [ebp - 0x828]
mov word [ebp - 0x828], ax
call fcn.00401820
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], esi
push esi
push eax
call fcn.0043ffd0
push dword [ebp + 0x10]
lea eax, [ebp - 0x810]
push 0x6198e8
push eax
call fcn.00406d50
add esp, 0x18
lea eax, [ebp - 0x810]
cmp byte [edi + 5], 0
mov ecx, edi
push eax
push dword [ebp - 0x844]
lea eax, [ebp - 0x840]
push ebx
push eax
je 0x428bbc
call fcn.00428a1a
jmp 0x428bc1
call fcn.00428ad4
push eax
lea ecx, [ebp - 0x828]
call fcn.004045f0
push esi
push 1
lea ecx, [ebp - 0x840]
call fcn.00401760
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
call fcn.00442e94
pop ecx
push 0
push 1
lea ecx, [ebp - 0x828]
mov esi, eax
call fcn.00401760
mov eax, esi
call fcn.00594f8c
ret 0xc
Function at 0x428c11
Capabilities:
Read .ini file

Disassembly:
push 0x82c
mov eax, 0x59d1c7
call fcn.00594fd1
mov edi, ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0x10]
push 0x800
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x810]
push ecx
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x838], esi
mov dword [ebp - 0x834], ecx
call fcn.0043ffd0
lea eax, [edi + 0x8c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x428c6e
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push ebx
push dword [ebp - 0x82c]
push dword [ebp - 0x830]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.004015d0
and dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x834], 1
jb 0x428cb4
mov eax, dword [esi]
jmp 0x428cb6
mov eax, esi
push ebx
push eax
call fcn.0044f811
pop ecx
pop ecx
test eax, eax
jne 0x428d02
cmp byte [edi + 5], 0
lea eax, [ebp - 0x828]
push ebx
push dword [ebp - 0x82c]
mov ecx, edi
push dword [ebp - 0x830]
push eax
je 0x428ce6
call fcn.00428a1a
jmp 0x428ceb
call fcn.00428ad4
push eax
mov ecx, esi
call fcn.004045f0
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.00401760
mov eax, esi
call fcn.00594f8c
ret 0x10
Function at 0x4298b4
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa44
mov eax, dword [0x6240b8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
xor esi, esi
lea eax, [ebp - 0x20c]
push esi
push eax
mov edi, ecx
call fcn.0043ffd0
lea eax, [edi + 0x2c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4298ed
mov eax, dword [eax]
push str.Config
push eax
lea eax, [ebp - 0x20c]
push 0x5a039c
push eax
call fcn.00406d50
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x429925
lea eax, [ebp - 0x20c]
push eax
call fcn.0042a7c7
pop ecx
push 0x208
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0043ffd0
push str.UseVestige.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x5a033c
push eax
call fcn.00406d50
add esp, 0x1c
cmp word [ebp - 0x414], si
jne 0x429964
mov eax, esi
jmp 0x429971
lea eax, [ebp - 0x414]
push eax
call fcn.0044f873
pop ecx
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [edi + 0x8c]
call fcn.00401820
push 0x208
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.0043ffd0
push str.UseCache.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push 0x5a033c
push eax
call fcn.00406d50
add esp, 0x1c
cmp word [ebp - 0x61c], si
jne 0x4299c3
mov eax, esi
jmp 0x4299d0
lea eax, [ebp - 0x61c]
push eax
call fcn.0044f873
pop ecx
push eax
lea eax, [ebp - 0x61c]
push eax
lea ecx, [edi + 0xa4]
call fcn.00401820
push 0x208
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.0043ffd0
lea eax, [ebp - 0xa44]
push 0x619af8
push eax
call fcn.0042afd5
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x429a11
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x824]
push 0x5a0080
push eax
call fcn.00406d50
add esp, 0xc
lea ecx, [ebp - 0xa44]
push esi
push 1
call fcn.00401760
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x429a52
lea eax, [ebp - 0x824]
push eax
call fcn.0042a7c7
pop ecx
push 0x208
lea eax, [ebp - 0xa2c]
push esi
push eax
call fcn.0043ffd0
push str.UseCache.ini
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0xa2c]
push 0x5a033c
push eax
call fcn.00406d50
add esp, 0x1c
cmp word [ebp - 0xa2c], si
je 0x429a9c
lea eax, [ebp - 0xa2c]
push eax
call fcn.0044f873
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0xa2c]
push eax
lea ecx, [edi + 0xbc]
call fcn.00401820
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041eca9
mov esp, ebp
pop ebp
ret
Function at 0x42a13d
Capabilities:
Read .ini file

Disassembly:
push 0x23c
mov eax, 0x59d2cc
call fcn.00594fd1
mov ebx, ecx
call fcn.004289af
lea edi, [ebx + 0xd4]
push eax
mov ecx, edi
call fcn.004017d0
mov esi, str.WindowsResetMaster.ini
push esi
call fcn.0044f873
pop ecx
push eax
push esi
mov ecx, edi
call fcn.004048e0
push str.resetgf
push 0x5a09b8
push str.AppInfo
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.00428aaa
and dword [ebp - 4], 0
lea esi, [ebx + 0xec]
lea eax, [ebp - 0x248]
cmp esi, eax
je 0x42a1b3
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00401920
push str.resetgf
mov ecx, esi
call fcn.0042a667
test eax, eax
jne 0x42a22f
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0043ffd0
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x42a1e0
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
mov edi, str.resetgf
push eax
push edi
push 0x5a09b8
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x42a211
xor eax, eax
jmp 0x42a21e
lea eax, [ebp - 0x218]
push eax
call fcn.0044f873
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00401820
jmp 0x42a234
mov edi, str.resetgf
push edi
mov ecx, esi
call fcn.0042a667
test eax, eax
jne 0x42a2f7
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0043ffd0
add esp, 0xc
lea eax, [ebx + 0x5c]
lea ecx, [ebp - 0x230]
push eax
call fcn.00401630
push str.WindowsResetMaster.ini
mov byte [ebp - 4], 1
call fcn.0044f873
pop ecx
push eax
push str.WindowsResetMaster.ini
lea ecx, [ebp - 0x230]
call fcn.004048e0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
push 0x5a09b8
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x42a2c8
xor eax, eax
jmp 0x42a2d5
lea eax, [ebp - 0x218]
push eax
call fcn.0044f873
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00401820
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.00401760
push edi
mov ecx, esi
call fcn.0042a667
test eax, eax
jne 0x42a333
push edi
push 0x5a09b8
push str.AppInfo
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.00428c11
push eax
mov ecx, esi
call fcn.004045f0
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00401760
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.00401760
call fcn.00594f8c
ret
Function at 0x42a7c7
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.0044f873
mov dword [ebp - 8], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041efa8
push dword [ebp + 8]
mov dword [ebp - 4], eax
push eax
call fcn.0044f851
add esp, 0x10
call fcn.00427347
test al, al
je 0x42a828
push ebx
pop esi
pop edx
push eax
pop edi
push esi
push esp
push esp
pop eax
push edx
push esp
push ebp
pop esi
pop ebx
push ebx
push ebp
push eax
push esp
push esp
push ebx
pop ebp
pop ebx
pop ebx
push ecx
pop ecx
push edx
pop esi
push esp
push esi
push edx
pop eax
pop ebp
call fcn.00427683
test al, al
je 0x42a841
pop eax
push esp
pop edx
push ebx
pop ecx
pop ebx
pop eax
push eax
pop esi
push edi
push edi
pop esi
push edx
pop ebp
pop esp
push ecx
call fcn.0042738c
test al, al
je 0x42a85a
pop ebx
pop ecx
pop esp
pop ebp
pop esp
pop edi
pop ecx
pop eax
push ecx
push esp
push edi
push ebx
push eax
push ebx
pop ecx
pop esi
mov edi, dword [ebp - 8]
xor ebx, ebx
xor esi, esi
inc ebx
test edi, edi
js 0x42a8c6
mov ebx, dword [ebp - 4]
cmp word [ebx + esi*2], 0x5c
jne 0x42a8be
call fcn.00427797
test al, al
je 0x42a893
push edx
push ebx
pop edi
push esp
pop ecx
push ecx
push edi
pop ebx
pop ebp
pop ebx
pop ebx
push esp
pop edi
pop eax
pop eax
push ebx
push esi
push esp
push ebx
push eax
mov ebx, dword [ebp - 4]
mov edi, dword [ebp - 8]
movzx eax, word [ebx + esi*2]
mov dword [ebp - 0xc], eax
xor eax, eax
push ebx
mov word [ebx + esi*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42a8b7
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x42a8d8
mov eax, dword [ebp - 0xc]
mov word [ebx + esi*2], ax
inc esi
cmp esi, edi
jle 0x42a869
xor ebx, ebx
inc ebx
push dword [ebp - 4]
call fcn.0041efa3
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
xor ebx, ebx
jmp 0x42a8c6
Function at 0x42a8dc
Capabilities:
Get common file path
Get disk information

Disassembly:
push 0x22c
mov eax, 0x59d2ff
call fcn.00594fd1
mov eax, dword [ebp + 8]
xor esi, esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push esi
push esi
mov dword [ebp - 0x238], eax
call ebx
mov edi, eax
test edi, edi
je 0x42aa02
push 0x208
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0043ffd0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor ecx, ecx
lea esi, [edi + 1]
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041efa8
push esi
xor ecx, ecx
mov dword [ebp - 0x234], eax
push ecx
push eax
call fcn.0043ffd0
add esp, 0x10
push dword [ebp - 0x234]
push edi
call ebx
mov ebx, dword [ebp - 0x234]
xor eax, eax
mov esi, ebx
cmp word [ebx], ax
je 0x42a9fb
mov bh, byte [ebp + 0xc]
mov bl, byte [ebp + 0x10]
mov edi, dword [ebp - 0x238]
test bh, bh
je 0x42a99c
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0043ecdd
pop ecx
pop ecx
test eax, eax
jne 0x42a9e1
test bl, bl
je 0x42a9ae
movzx eax, byte [esi]
push eax
call fcn.0042b483
pop ecx
test al, al
jne 0x42a9e1
push esi
lea ecx, [ebp - 0x230]
call fcn.004015d0
xor ecx, ecx
lea eax, [ebp - 0x230]
mov dword [ebp - 4], ecx
mov ecx, edi
push eax
call fcn.0040e8e0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
xor eax, eax
push eax
push 1
call fcn.00401760
push esi
call fcn.0044f873
pop ecx
lea esi, [esi + eax*2]
xor eax, eax
add esi, 2
cmp word [esi], ax
jne 0x42a985
mov ebx, dword [ebp - 0x234]
push ebx
call fcn.0041efa3
pop ecx
call fcn.00594f8c
ret
Function at 0x42aa08
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x6240b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20c]
push ebx
push esi
mov dword [ebp - 0x218], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x214], eax
xor eax, eax
push eax
push 0x1a
push ecx
push eax
call fcn.0042b37e
lea eax, [ebp - 0x20c]
push eax
call fcn.0044f873
add esp, 0x14
mov dword [ebp - 0x210], eax
call fcn.0042738c
test al, al
je 0x42aa72
push esi
push eax
pop ebp
pop edi
push ecx
push esp
push eax
push esi
push ecx
push ebx
push eax
push esp
push ebx
pop esi
push edx
pop esp
push ecx
push ebp
call fcn.00427821
test al, al
je 0x42aa8f
pop ecx
pop ecx
push edx
push edi
pop ebx
push eax
pop edx
pop esi
pop ebx
pop esp
pop eax
push eax
push esi
pop edi
pop edi
pop esi
push esp
pop esi
push esi
pop ebp
call fcn.00427935
test al, al
je 0x42aab0
push edx
push edi
pop ebx
push edx
push esi
push ebx
pop ebp
push edi
push edx
pop ebx
push edx
push ebx
pop ebx
push ecx
pop ebp
pop edi
push esi
pop ebp
push ebp
pop ebp
push ecx
pop esp
push esi
pop esi
cmp dword [ebp - 0x210], 0
je 0x42ab96
mov esi, 0x619b14
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0044f7e0
push dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push eax
call fcn.0044f7e0
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0044f7e0
add esp, 0x18
call fcn.00427a49
test al, al
je 0x42ab0d
pop edx
pop edx
pop eax
pop edi
push ebp
push ebx
pop ebp
pop eax
push ebp
pop ebp
push edx
pop ecx
push esp
push esp
pop ebp
pop ecx
pop esp
push edx
pop ebp
call fcn.004278f0
test al, al
je 0x42ab2d
push edx
push esi
pop esp
push esp
pop edi
pop edi
push ebp
push esp
pop ebp
pop edx
pop ebp
pop ebp
push ecx
push ecx
pop edx
pop ebx
pop ecx
push ebp
pop ebp
pop ebp
push edi
pop ebp
push esp
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42ab4b
lea eax, [ebp - 0x20c]
push eax
call fcn.0042a7c7
pop ecx
call fcn.004275f9
test al, al
je 0x42ab68
push esp
push ebp
push esp
pop edi
pop edx
pop esp
push esp
pop esi
pop edx
push esi
push esp
push edx
push edx
pop ebp
pop ebx
pop eax
pop esp
push ecx
push ebx
push esp
cmp word [ebp - 0x20c], 0
jne 0x42ab76
xor eax, eax
jmp 0x42ab83
lea eax, [ebp - 0x20c]
push eax
call fcn.0044f873
pop ecx
mov ecx, dword [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00401820
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041eca9
mov esp, ebp
pop ebp
ret
Function at 0x42aba7
Capabilities:
Get disk size

Disassembly:
push 0x4c
mov eax, 0x59d350
call fcn.00594fd1
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
xor eax, eax
inc eax
push eax
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.0042a8dc
mov dword [edi + 0x14], 7
add esp, 0xc
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], ebx
jb 0x42abef
mov eax, dword [edi]
jmp 0x42abf1
mov eax, edi
xor ecx, ecx
mov word [eax], cx
mov esi, dword [ebp - 0x40]
xorps xmm0, xmm0
mov dword [ebp - 0x44], 1
movlpd qword [ebp - 0x30], xmm0
cmp esi, dword [ebp - 0x3c]
je 0x42ac92
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00401630
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
push ecx
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x42ac7a
mov ecx, dword [ebp - 0x2c]
cmp ecx, ebx
jb 0x42ac7a
mov eax, dword [ebp - 0x30]
ja 0x42ac5a
cmp eax, dword [ebp - 0x34]
jbe 0x42ac7a
lea edx, [ebp - 0x28]
cmp edi, edx
je 0x42ac75
push 0xffffffffffffffff
push 0
mov eax, edx
mov ecx, edi
push eax
call fcn.00401920
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov ebx, ecx
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00401760
add esi, 0x18
cmp esi, dword [ebp - 0x3c]
jne 0x42ac1a
lea ecx, [ebp - 0x40]
call fcn.00406380
mov eax, edi
call fcn.00594f8c
ret
Function at 0x42ae95
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6240b8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x629670], 0
push ebx
push esi
push edi
je 0x42aeda
call fcn.004275f9
test al, al
je 0x42afbf
push esp
push ebp
push esp
pop edi
pop edx
pop esp
push esp
pop esi
pop edx
push esi
push esp
push edx
push edx
pop ebp
pop ebx
pop eax
pop esp
push ecx
push ebx
push esp
jmp 0x42afbf
call fcn.004274e5
test al, al
je 0x42aef4
push ecx
pop esi
push ebx
pop ebx
push eax
pop ebx
pop esp
push edi
push ebp
pop ebp
pop eax
push edi
push eax
pop ebp
pop ebx
push esi
pop ebp
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0043ffd0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42af64
lea eax, [ebp - 0x20c]
push eax
call fcn.0044fbd1
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.0043ecdd
pop ecx
pop ecx
test eax, eax
jne 0x42af5d
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.0043ecdd
pop ecx
pop ecx
test eax, eax
je 0x42af64
mov byte [0x629670], 1
call fcn.004273d1
test al, al
je 0x42af82
push ebx
pop ecx
push ecx
pop ebx
push ecx
pop esp
pop ecx
pop esi
push edx
push edi
pop edi
pop edx
push esi
push esi
push ecx
push ebp
push eax
push edx
pop ecx
pop esp
push ecx
call fcn.0042763e
test al, al
je 0x42afa2
pop ebx
pop ebp
push ebp
push esp
push edi
push eax
push ecx
pop ebx
push eax
pop ecx
push ecx
pop esi
pop esi
push edx
push ecx
push ecx
pop ebp
push edx
push esi
pop eax
pop eax
push esi
push ebp
call fcn.00427683
test al, al
je 0x42afbf
push ecx
push ebx
pop ecx
push ebp
push edx
push ebx
push esp
pop eax
push edx
pop ecx
push esi
push ebx
pop ecx
push ebp
push ecx
pop ebp
pop edx
push ebx
push esi
push eax
mov ecx, dword [ebp - 4]
mov al, byte [0x629670]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0041eca9
mov esp, ebp
pop ebp
ret
Function at 0x42bc74
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x6240b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.0043ffd0
add esp, 0xc
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
call fcn.004278ab
test al, al
je 0x42bcea
pop ecx
pop esi
push edx
pop esp
pop eax
push esi
push edi
pop esp
push edi
push esi
push esi
push eax
push ebx
pop eax
pop eax
pop ecx
pop eax
push esp
push esp
pop ecx
push eax
push edx
pop ecx
push esp
push esp
push edi
push ebp
push ebx
push edx
pop esi
push esi
push edx
mov eax, dword [ebp - 0x11c]
mov esi, dword [ebp - 0x118]
mov dword [ebp - 0x124], eax
call fcn.004277dc
test al, al
je 0x42bd17
pop esp
push edx
push ebx
push ecx
push esp
pop ebp
pop esp
pop ebx
pop edi
push ebp
push eax
pop ebx
push edi
push edx
pop esp
pop ecx
pop eax
pop eax
cmp dword [ebp - 0x124], 5
jg 0x42bd2a
cmp esi, 2
jg 0x42bd2a
xor eax, eax
inc eax
jmp 0x42bd2c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041eca9
mov esp, ebp
pop ebp
ret

Function at 0x42bd88
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
call fcn.004275b4
test al, al
je 0x42bdbd
pop esi
pop ebp
pop eax
pop edi
push ecx
push ebx
push ebp
pop edi
pop esp
push ecx
push edi
pop edx
push ebp
push esp
pop edx
pop ecx
pop edx
pop eax
pop edi
push edx
pop ecx
push esi
push ebp
push eax
pop eax
push esi
pop ebp
push esi
push esp
push edi
pop ebp
push edx
call fcn.00427866
test al, al
je 0x42bde5
pop edi
pop eax
pop ebx
pop edx
push esi
pop eax
push ecx
push edx
push edi
pop esi
push edi
push edx
push esp
push ecx
push ebx
pop edx
push ecx
pop edx
pop ebp
pop edi
push eax
push edx
pop ebp
push ebx
push edi
pop esp
pop eax
pop esi
mov ebx, dword [ebp - 4]
push dword [ebp + 8]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
pop edi
sbb eax, eax
inc eax
pop esi
mov dword [ebx + 4], eax
pop ebx
mov esp, ebp
pop ebp
ret 4