joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d42e
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2018
call fcn.00414af0
mov eax, dword [0x6160b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x200c], ebx
mov dword [ebp - 0x2008], eax
call fcn.00415115
test eax, eax
je 0x41d5e9
xor edi, edi
push edi
call fcn.00437072
mov dword [ebp - 0x2018], eax
lea eax, [ebp - 0x2018]
push eax
mov dword [ebp - 0x2014], edx
call fcn.0044497c
pop ecx
pop ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push dword [ebp - 0x2008]
mov ecx, dword [esi + 0x10]
push eax
push dword [esi]
mov eax, dword [esi + 0x14]
inc ecx
push dword [esi + 4]
add eax, 0x76c
push dword [esi + 8]
push dword [esi + 0xc]
push ecx
push eax
lea eax, [ebp - 0x2004]
push str.__d__d__d__d__d__d___d_:_s
push eax
call fcn.0041d1a7
add esp, 0x28
call fcn.0041cd9c
test al, al
je 0x41d4f3
pop ebp
pop ecx
push esi
push ebp
pop eax
pop esi
pop edx
push ebx
push edx
pop esi
pop edi
push ecx
pop esp
push eax
pop ebp
push eax
push ebx
push ecx
pop edi
push ebx
pop ecx
pop edx
pop ebp
push eax
push esp
pop ebx
push esi
pop esi
push edi
mov ebx, dword [ebp - 0x200c]
xor edi, edi
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor esi, esi
inc esi
test eax, eax
cmovne edi, esi
mov dword [ebp - 0x200c], edi
call fcn.0041cb2f
test al, al
je 0x41d52a
pop ecx
pop ecx
push esi
pop edx
push ebp
push ebx
pop edi
push ebx
push esi
pop ecx
push esp
pop edx
pop esi
push ecx
pop edx
push edi
mov edi, dword [ebp - 0x200c]
xor esi, esi
inc esi
push 0x59561c
push ebx
call fcn.0043f79d
mov ebx, eax
mov dword [ebp - 0x2010], ebx
pop ecx
pop ecx
test ebx, ebx
je 0x41d5e9
test edi, edi
jne 0x41d568
push ebx
push 2
lea eax, [ebp - 0x200c]
mov dword [ebp - 0x200c], 0xfeff
push esi
push eax
call fcn.0044449b
add esp, 0x10
call fcn.0041d04e
test al, al
je 0x41d58c
push ebx
push edx
pop esi
pop eax
pop ecx
pop esp
pop esi
pop esi
pop ebp
push esp
push edx
pop edi
pop eax
pop ebx
push edx
pop esi
push edi
push ecx
push esp
push eax
pop edx
mov ebx, dword [ebp - 0x2010]
lea eax, [ebp - 0x2004]
push eax
call fcn.00443739
push ebx
add eax, eax
push eax
lea eax, [ebp - 0x2004]
push 1
push eax
call fcn.0044449b
push ebx
push 2
lea eax, [ebp - 0x2008]
mov dword [ebp - 0x2008], 0xd
push 1
push eax
call fcn.0044449b
push ebx
push 2
lea eax, [ebp - 0x2008]
mov dword [ebp - 0x2008], 0xa
push 1
push eax
call fcn.0044449b
push ebx
call fcn.0043f59b
add esp, 0x38
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004144d9
mov esp, ebp
pop ebp
ret
Function at 0x41dc8b
Capabilities:
Read .ini file

Disassembly:
push 0x838
mov eax, 0x59085d
call fcn.005892d1
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 0x41dcb6
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 0x41dd94
xor esi, esi
mov dword [ebp - 0x814], 7
push esi
xor eax, eax
mov dword [ebp - 0x818], esi
push 0x60dbc0
lea ecx, [ebp - 0x828]
mov word [ebp - 0x828], ax
call fcn.00403020
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], esi
push esi
push eax
call fcn.00434140
push dword [ebp + 0x10]
lea eax, [ebp - 0x810]
push 0x60dc98
push eax
call fcn.004048f0
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 0x41dd49
call fcn.0041dba7
jmp 0x41dd4e
call fcn.0041dc61
push eax
lea ecx, [ebp - 0x828]
call fcn.00402d30
push esi
push 1
lea ecx, [ebp - 0x840]
call fcn.00402ec0
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
call fcn.00436f9f
pop ecx
push 0
push 1
lea ecx, [ebp - 0x828]
mov esi, eax
call fcn.00402ec0
mov eax, esi
call fcn.0058928c
ret 0xc

Function at 0x41dd9e
Capabilities:
Read .ini file

Disassembly:
push 0x82c
mov eax, 0x5908a7
call fcn.005892d1
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.00434140
lea eax, [edi + 0x8c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x41ddfb
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.00402db0
and dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x834], 1
jb 0x41de41
mov eax, dword [esi]
jmp 0x41de43
mov eax, esi
push ebx
push eax
call fcn.004436d7
pop ecx
pop ecx
test eax, eax
jne 0x41de8f
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 0x41de73
call fcn.0041dba7
jmp 0x41de78
call fcn.0041dc61
push eax
mov ecx, esi
call fcn.00402d30
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.00402ec0
mov eax, esi
call fcn.0058928c
ret 0x10
Function at 0x41ea41
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa44
mov eax, dword [0x6160b8]
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.00434140
lea eax, [edi + 0x2c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x41ea7a
mov eax, dword [eax]
push str.Config
push eax
lea eax, [ebp - 0x20c]
push 0x5951ec
push eax
call fcn.004048f0
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41eab2
lea eax, [ebp - 0x20c]
push eax
call fcn.0041f751
pop ecx
push 0x208
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00434140
push str.UseVestige.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x59518c
push eax
call fcn.004048f0
add esp, 0x1c
cmp word [ebp - 0x414], si
jne 0x41eaf1
mov eax, esi
jmp 0x41eafe
lea eax, [ebp - 0x414]
push eax
call fcn.00443739
pop ecx
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [edi + 0x8c]
call fcn.00403020
push 0x208
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.00434140
push str.UseCache.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push 0x59518c
push eax
call fcn.004048f0
add esp, 0x1c
cmp word [ebp - 0x61c], si
jne 0x41eb50
mov eax, esi
jmp 0x41eb5d
lea eax, [ebp - 0x61c]
push eax
call fcn.00443739
pop ecx
push eax
lea eax, [ebp - 0x61c]
push eax
lea ecx, [edi + 0xa4]
call fcn.00403020
push 0x208
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.00434140
lea eax, [ebp - 0xa44]
push 0x60dcc4
push eax
call fcn.0041ffcf
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x41eb9e
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x824]
push 0x593c5c
push eax
call fcn.004048f0
add esp, 0xc
lea ecx, [ebp - 0xa44]
push esi
push 1
call fcn.00402ec0
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41ebdf
lea eax, [ebp - 0x824]
push eax
call fcn.0041f751
pop ecx
push 0x208
lea eax, [ebp - 0xa2c]
push esi
push eax
call fcn.00434140
push str.UseCache.ini
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0xa2c]
push 0x59518c
push eax
call fcn.004048f0
add esp, 0x1c
cmp word [ebp - 0xa2c], si
je 0x41ec29
lea eax, [ebp - 0xa2c]
push eax
call fcn.00443739
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0xa2c]
push eax
lea ecx, [edi + 0xbc]
call fcn.00403020
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004144d9
mov esp, ebp
pop ebp
ret
Function at 0x41f18a
Capabilities:
Read .ini file

Disassembly:
push 0x23c
mov eax, 0x590977
call fcn.005892d1
mov ebx, ecx
call fcn.0041db3c
lea edi, [ebx + 0xd4]
push eax
mov ecx, edi
call fcn.00402c80
mov esi, str.WindowsResetMaster.ini
push esi
call fcn.00443739
pop ecx
push eax
push esi
mov ecx, edi
call fcn.004034d0
push str.resetgf
push 0x5957e4
push str.AppInfo
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.0041dc37
and dword [ebp - 4], 0
lea esi, [ebx + 0xec]
lea eax, [ebp - 0x248]
cmp esi, eax
je 0x41f200
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00403120
push str.resetgf
mov ecx, esi
call fcn.0041f5a5
test eax, eax
jne 0x41f27c
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00434140
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x41f22d
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
mov edi, str.resetgf
push eax
push edi
push 0x5957e4
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x41f25e
xor eax, eax
jmp 0x41f26b
lea eax, [ebp - 0x218]
push eax
call fcn.00443739
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00403020
jmp 0x41f281
mov edi, str.resetgf
push edi
mov ecx, esi
call fcn.0041f5a5
test eax, eax
jne 0x41f344
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00434140
add esp, 0xc
lea eax, [ebx + 0x5c]
lea ecx, [ebp - 0x230]
push eax
call fcn.00402e10
push str.WindowsResetMaster.ini
mov byte [ebp - 4], 1
call fcn.00443739
pop ecx
push eax
push str.WindowsResetMaster.ini
lea ecx, [ebp - 0x230]
call fcn.004034d0
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 0x5957e4
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x41f315
xor eax, eax
jmp 0x41f322
lea eax, [ebp - 0x218]
push eax
call fcn.00443739
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00403020
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.00402ec0
push edi
mov ecx, esi
call fcn.0041f5a5
test eax, eax
jne 0x41f380
push edi
push 0x5957e4
push str.AppInfo
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.0041dd9e
push eax
mov ecx, esi
call fcn.00402d30
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00402ec0
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.00402ec0
call fcn.0058928c
ret
Function at 0x41f751
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.00443739
mov dword [ebp - 0xc], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00414530
push dword [ebp + 8]
mov edi, eax
push edi
mov dword [ebp - 8], edi
call fcn.00443717
add esp, 0x10
call fcn.0041cb2f
test al, al
je 0x41f7a7
pop ecx
pop ecx
push esi
pop edx
push ebp
push ebx
pop edi
push ebx
push esi
pop ecx
push esp
pop edx
pop esi
push ecx
pop edx
push edi
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
xor esi, esi
xor ebx, ebx
inc esi
mov dword [ebp - 4], ebx
test eax, eax
js 0x41f865
cmp word [edi + ebx*2], 0x5c
jne 0x41f856
call fcn.0041cf3a
test al, al
je 0x41f7e4
pop esp
push edx
pop edx
pop esi
pop ebx
pop edx
push eax
pop edx
push edx
push ebp
push edx
push esi
pop eax
push ecx
push ebp
push eax
pop eax
pop esp
pop edi
mov ebx, dword [ebp - 4]
call fcn.0041d162
test al, al
je 0x41f808
push esi
pop eax
pop esp
pop esi
push edi
pop edx
push eax
push ecx
pop esi
pop edi
push ecx
push ebp
push edi
pop esi
push ecx
pop eax
push ecx
push ebx
pop esp
push esp
pop eax
push eax
pop edx
pop esp
push eax
pop esp
pop esp
call fcn.0041caa5
test al, al
je 0x41f82b
pop ebx
push esp
pop ecx
pop ebx
pop ebp
pop esp
pop eax
pop ecx
pop edx
push ebp
pop edx
push esi
push esp
push esi
pop esp
push esp
push ebp
push esp
push edx
push edi
push edi
push eax
push ebx
mov ebx, dword [ebp - 4]
mov edi, dword [ebp - 8]
xor eax, eax
push edi
movzx esi, word [edi + ebx*2]
mov word [edi + ebx*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41f84f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x41f875
mov eax, dword [ebp - 0xc]
mov word [edi + ebx*2], si
inc ebx
mov dword [ebp - 4], ebx
cmp ebx, eax
jle 0x41f7ba
xor esi, esi
inc esi
push edi
call fcn.004144ea
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
jmp 0x41f865
Function at 0x41f879
Capabilities:
Get common file path
Get disk information

Disassembly:
push 0x22c
mov eax, 0x5909aa
call fcn.005892d1
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 0x41f99f
push 0x208
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00434140
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.00414530
push esi
xor ecx, ecx
mov dword [ebp - 0x234], eax
push ecx
push eax
call fcn.00434140
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 0x41f998
mov bh, byte [ebp + 0xc]
mov bl, byte [ebp + 0x10]
mov edi, dword [ebp - 0x238]
test bh, bh
je 0x41f939
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00435b04
pop ecx
pop ecx
test eax, eax
jne 0x41f97e
test bl, bl
je 0x41f94b
movzx eax, byte [esi]
push eax
call fcn.00420585
pop ecx
test al, al
jne 0x41f97e
push esi
lea ecx, [ebp - 0x230]
call fcn.00402db0
xor ecx, ecx
lea eax, [ebp - 0x230]
mov dword [ebp - 4], ecx
mov ecx, edi
push eax
call fcn.0041b173
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
xor eax, eax
push eax
push 1
call fcn.00402ec0
push esi
call fcn.00443739
pop ecx
lea esi, [esi + eax*2]
xor eax, eax
add esi, 2
cmp word [esi], ax
jne 0x41f922
mov ebx, dword [ebp - 0x234]
push ebx
call fcn.004144ea
pop ecx
call fcn.0058928c
ret
Function at 0x41f9a5
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x6160b8]
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.00420405
lea eax, [ebp - 0x20c]
push eax
call fcn.00443739
add esp, 0x14
mov dword [ebp - 0x210], eax
call fcn.0041cd12
test al, al
je 0x41fa19
pop ebp
pop esi
push ebp
push ebp
pop edx
pop esp
push edx
pop esi
push ebx
pop esi
push ebx
pop esi
push eax
pop ebx
pop esi
pop edx
pop eax
pop edi
push edi
push esp
push esp
push edi
push ebx
pop edi
push ebp
pop ecx
push edx
push esi
call fcn.0041ceb0
test al, al
je 0x41fa38
pop edi
pop eax
push esp
pop esp
push ebx
pop esi
pop edx
push eax
push ebx
pop ebx
push esi
pop ecx
pop edi
pop edi
push ecx
push edi
push esp
push esp
push ecx
pop ecx
pop ecx
push eax
call fcn.0041caa5
test al, al
je 0x41fa52
push esp
push esp
pop edx
pop esp
push esp
pop ebx
push esi
pop ebp
pop esp
pop edi
push ebx
pop edx
pop edi
push ebx
pop edi
pop esi
push ecx
cmp dword [ebp - 0x210], 0
je 0x41fb4e
mov esi, 0x60dce0
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004436a6
push dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push eax
call fcn.004436a6
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004436a6
add esp, 0x18
call fcn.0041d009
test al, al
je 0x41fab7
push ebp
push eax
push esi
pop ecx
pop esp
pop ebp
push ecx
push ebp
pop edi
pop ecx
pop edx
push ebp
pop edi
push ebx
push esp
pop edi
push ebp
push ebp
pop ebp
pop ecx
pop edi
push ebx
pop esi
pop ebp
pop edi
push ebx
pop esp
call fcn.0041ce6b
test al, al
je 0x41fade
push edi
pop ebp
push ebx
pop ecx
push esp
push ecx
push edi
pop edi
pop ebx
push ebx
pop edx
pop esp
pop ecx
pop esi
pop ebp
push esp
pop esp
push ebp
push ebx
pop ecx
pop esi
pop edi
pop esi
push esi
push ebx
pop ebp
push ebp
pop eax
push esi
pop ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41fafc
lea eax, [ebp - 0x20c]
push eax
call fcn.0041f751
pop ecx
call fcn.0041cd57
test al, al
je 0x41fb20
pop edx
pop esi
push ecx
pop esi
pop eax
push ecx
push ebp
pop ebx
pop ecx
push edx
push esi
pop edi
pop ebp
push edi
push ebp
pop edi
push ebp
push ebp
push ebx
pop ebp
pop ebp
pop esp
push esi
push edi
pop eax
push esp
push edx
cmp word [ebp - 0x20c], 0
jne 0x41fb2e
xor eax, eax
jmp 0x41fb3b
lea eax, [ebp - 0x20c]
push eax
call fcn.00443739
pop ecx
mov ecx, dword [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00403020
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004144d9
mov esp, ebp
pop ebp
ret
Function at 0x41fb5f
Capabilities:
Get disk size

Disassembly:
push 0x4c
mov eax, 0x5909fb
call fcn.005892d1
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.0041f879
mov dword [edi + 0x14], 7
add esp, 0xc
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], ebx
jb 0x41fba7
mov eax, dword [edi]
jmp 0x41fba9
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 0x41fc4a
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00402e10
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 0x41fc32
mov ecx, dword [ebp - 0x2c]
cmp ecx, ebx
jb 0x41fc32
mov eax, dword [ebp - 0x30]
ja 0x41fc12
cmp eax, dword [ebp - 0x34]
jbe 0x41fc32
lea edx, [ebp - 0x28]
cmp edi, edx
je 0x41fc2d
push 0xffffffffffffffff
push 0
mov eax, edx
mov ecx, edi
push eax
call fcn.00403120
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.00402ec0
add esi, 0x18
cmp esi, dword [ebp - 0x3c]
jne 0x41fbd2
lea ecx, [ebp - 0x40]
call fcn.00403f20
mov eax, edi
call fcn.0058928c
ret
Function at 0x41fe9f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6160b8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x61b398], 0
push ebx
push esi
push edi
je 0x41feeb
call fcn.0041cd57
test al, al
je 0x41ffb9
pop edx
pop esi
push ecx
pop esi
pop eax
push ecx
push ebp
pop ebx
pop ecx
push edx
push esi
pop edi
pop ebp
push edi
push ebp
pop edi
push ebp
push ebp
push ebx
pop ebp
pop ebp
pop esp
push esi
push edi
pop eax
push esp
push edx
jmp 0x41ffb9
call fcn.0041d093
test al, al
je 0x41ff0b
push ebx
pop esi
pop esi
push eax
push ecx
pop esi
pop ecx
push ecx
pop esp
push esp
push esi
push edx
push esi
pop ecx
push ebx
pop ecx
push esp
push ebx
push edx
push esi
push eax
pop ebp
pop esp
call fcn.0041cc43
test al, al
je 0x41ff2a
push eax
pop esp
push ebx
pop ebp
pop ecx
pop esi
push esi
pop eax
push ecx
pop ecx
push eax
push esi
pop edi
push edi
push edx
pop esp
pop esp
pop edx
pop esp
push eax
push esi
push esp
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00434140
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 0x41ff9a
lea eax, [ebp - 0x20c]
push eax
call fcn.00443a97
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.00435b04
pop ecx
pop ecx
test eax, eax
jne 0x41ff93
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.00435b04
pop ecx
pop ecx
test eax, eax
je 0x41ff9a
mov byte [0x61b398], 1
call fcn.0041cbb9
test al, al
je 0x41ffb9
pop ebp
pop esi
push edi
push ebp
push eax
pop ebx
push ebx
push edx
pop ecx
pop ebx
push esi
push ebx
pop edi
push ebx
pop edx
push eax
push ecx
push ecx
pop ecx
pop ebx
pop eax
push esp
mov ecx, dword [ebp - 4]
mov al, byte [0x61b398]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004144d9
mov esp, ebp
pop ebp
ret
Function at 0x420cfc
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x6160b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.00434140
add esp, 0xc
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
call fcn.0041cd57
test al, al
je 0x420d71
pop ebx
pop esi
push edx
push edi
pop edi
push ecx
push eax
push ebp
push ebx
push edi
push eax
pop ebp
push edx
pop esi
push ebx
push esp
pop esi
pop ebx
pop edi
push ecx
pop esp
push eax
push ecx
push edx
pop ebx
pop esi
pop eax
push esp
pop edx
pop esp
pop esi
call fcn.0041cc88
test al, al
je 0x420d8b
push eax
push esp
pop eax
push esp
push eax
push edx
pop eax
pop ebp
pop eax
push esi
pop edi
push eax
pop edx
push esp
push edx
push ebp
push edx
call fcn.0041ca60
test al, al
je 0x420dac
push ebp
pop ebp
push ecx
push edx
pop edi
push edi
push eax
push esp
pop esi
push esp
pop ebx
pop esp
push edx
pop ecx
push edi
push esi
pop edi
push edi
pop edi
pop ebp
push ebx
push esp
pop esi
push esp
mov eax, dword [ebp - 0x11c]
mov ebx, dword [ebp - 0x118]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], ebx
call fcn.0041ca60
test al, al
je 0x420de3
push eax
pop ebp
push ebx
push ecx
pop esp
push edi
pop ebx
pop edx
push edx
push edx
pop esi
pop edi
push ebp
pop edi
pop edi
push edi
mov ebx, dword [ebp - 0x124]
cmp dword [ebp - 0x128], 5
jg 0x420df6
cmp ebx, 2
jg 0x420df6
xor eax, eax
inc eax
jmp 0x420df8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004144d9
mov esp, ebp
pop ebp
ret

Function at 0x420e54
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.0041cccd
test al, al
je 0x420e84
push esi
push eax
push ecx
push ebp
push esp
push esp
push ebx
pop ebx
push ebp
pop esi
push edi
pop esp
push edx
push esp
pop edi
pop esi
pop ecx
push ebp
pop esi
pop esi
pop ebx
pop esp
pop edx
pop edi
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