joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42da8a
Capabilities:
Read .ini file

Disassembly:
push 0x838
mov eax, 0x5a1480
call fcn.00598680
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 0x42dab5
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 0x42db93
xor esi, esi
mov dword [ebp - 0x814], 7
push esi
xor eax, eax
mov dword [ebp - 0x818], esi
push 0x5a355c
lea ecx, [ebp - 0x828]
mov word [ebp - 0x828], ax
call fcn.00402400
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], esi
push esi
push eax
call fcn.00442fd0
push dword [ebp + 0x10]
lea eax, [ebp - 0x810]
push 0x5a376c
push eax
call fcn.00408c70
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 0x42db48
call fcn.0042d9a6
jmp 0x42db4d
call fcn.0042da60
push eax
lea ecx, [ebp - 0x828]
call fcn.00402d90
push esi
push 1
lea ecx, [ebp - 0x840]
call fcn.00427631
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
call fcn.00446849
pop ecx
push 0
push 1
lea ecx, [ebp - 0x828]
mov esi, eax
call fcn.00427631
mov eax, esi
call fcn.0059863b
ret 0xc

Function at 0x42db9d
Capabilities:
Read .ini file

Disassembly:
push 0x82c
mov eax, 0x5a14ca
call fcn.00598680
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.00442fd0
lea eax, [edi + 0x8c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x42dbfa
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.00402b80
and dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x834], 1
jb 0x42dc40
mov eax, dword [esi]
jmp 0x42dc42
mov eax, esi
push ebx
push eax
call fcn.004536d4
pop ecx
pop ecx
test eax, eax
jne 0x42dc8e
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 0x42dc72
call fcn.0042d9a6
jmp 0x42dc77
call fcn.0042da60
push eax
mov ecx, esi
call fcn.00402d90
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.00427631
mov eax, esi
call fcn.0059863b
ret 0x10
Function at 0x42e840
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa44
mov eax, dword [0x628144]
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.00442fd0
lea eax, [edi + 0x2c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x42e879
mov eax, dword [eax]
push str.Config
push eax
lea eax, [ebp - 0x20c]
push 0x5a67fc
push eax
call fcn.00408c70
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42e8b1
lea eax, [ebp - 0x20c]
push eax
call fcn.0042f7e6
pop ecx
push 0x208
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00442fd0
push str.UseVestige.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x5a679c
push eax
call fcn.00408c70
add esp, 0x1c
cmp word [ebp - 0x414], si
jne 0x42e8f0
mov eax, esi
jmp 0x42e8fd
lea eax, [ebp - 0x414]
push eax
call fcn.0045329b
pop ecx
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [edi + 0x8c]
call fcn.00402400
push 0x208
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.00442fd0
push str.UseCache.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push 0x5a679c
push eax
call fcn.00408c70
add esp, 0x1c
cmp word [ebp - 0x61c], si
jne 0x42e94f
mov eax, esi
jmp 0x42e95c
lea eax, [ebp - 0x61c]
push eax
call fcn.0045329b
pop ecx
push eax
lea eax, [ebp - 0x61c]
push eax
lea ecx, [edi + 0xa4]
call fcn.00402400
push 0x208
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.00442fd0
lea eax, [ebp - 0xa44]
push str.WSRT
push eax
call fcn.0043014d
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x42e99d
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x824]
push 0x5a4da4
push eax
call fcn.00408c70
add esp, 0xc
lea ecx, [ebp - 0xa44]
push esi
push 1
call fcn.00427631
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42e9de
lea eax, [ebp - 0x824]
push eax
call fcn.0042f7e6
pop ecx
push 0x208
lea eax, [ebp - 0xa2c]
push esi
push eax
call fcn.00442fd0
push str.UseCache.ini
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0xa2c]
push 0x5a679c
push eax
call fcn.00408c70
add esp, 0x1c
cmp word [ebp - 0xa2c], si
je 0x42ea28
lea eax, [ebp - 0xa2c]
push eax
call fcn.0045329b
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0xa2c]
push eax
lea ecx, [edi + 0xbc]
call fcn.00402400
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042578a
mov esp, ebp
pop ebp
ret
Function at 0x42f0fc
Capabilities:
Read .ini file

Disassembly:
push 0x23c
mov eax, 0x5a15c4
call fcn.00598680
mov ebx, ecx
call fcn.0042d79f
lea edi, [ebx + 0xd4]
push eax
mov ecx, edi
call fcn.00427744
mov esi, str.WindowsResetMaster.ini
push esi
call fcn.0045329b
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00404910
push str.resetgf
push 0x5a7cd0
push str.AppInfo
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.0042db9d
lea esi, [ebx + 0xec]
push eax
mov ecx, esi
call fcn.00402d90
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00427631
push str.resetgf
mov ecx, esi
call fcn.0042c308
test eax, eax
jne 0x42f1eb
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00442fd0
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x42f19c
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
mov edi, str.resetgf
push eax
push edi
push 0x5a7cd0
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x42f1cd
xor eax, eax
jmp 0x42f1da
lea eax, [ebp - 0x218]
push eax
call fcn.0045329b
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00402400
jmp 0x42f1f0
mov edi, str.resetgf
push edi
mov ecx, esi
call fcn.0042c308
test eax, eax
jne 0x42f2b3
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00442fd0
add esp, 0xc
lea eax, [ebx + 0x5c]
lea ecx, [ebp - 0x230]
push eax
call fcn.00402b50
and dword [ebp - 4], 0
push str.WindowsResetMaster.ini
call fcn.0045329b
pop ecx
push eax
push str.WindowsResetMaster.ini
lea ecx, [ebp - 0x230]
call fcn.00404910
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 0x5a7cd0
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x42f284
xor eax, eax
jmp 0x42f291
lea eax, [ebp - 0x218]
push eax
call fcn.0045329b
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00402400
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
push 0
push 1
call fcn.00427631
push edi
mov ecx, esi
call fcn.0042c308
test eax, eax
jne 0x42f2ef
push edi
push 0x5a7cd0
push str.AppInfo
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.0042da36
push eax
mov ecx, esi
call fcn.00402d90
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.00427631
call fcn.0059863b
ret
Function at 0x42f7e6
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.0045329b
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.004257d3
push dword [ebp + 8]
mov dword [ebp - 4], eax
push eax
call fcn.00453714
add esp, 0x10
call fcn.0042680a
test al, al
je 0x42f847
pop edx
push esi
pop edx
push esi
push ebp
push esp
pop edi
push eax
pop edi
push edx
pop esi
pop esi
push ecx
pop ebx
pop ebx
push ebp
pop esp
push esi
pop ebp
pop eax
pop ecx
push ecx
push eax
pop edi
push esi
pop ebp
push esi
pop ebx
pop ecx
push eax
pop ebp
push edi
call fcn.0042684f
test al, al
je 0x42f861
pop esi
push esp
push ecx
pop edx
push ebp
pop edx
push eax
pop eax
push esp
pop ebx
push ebp
push eax
pop esi
pop eax
pop ebx
push edi
push esp
call fcn.00426b46
test al, al
je 0x42f88a
push edx
push esp
pop esp
pop esi
push ebx
pop eax
pop edi
push eax
push ecx
pop esp
pop edi
push edi
pop esp
pop ebp
pop ecx
pop ecx
push eax
push eax
push ecx
pop edi
pop ebp
pop ebp
push esp
pop ebx
push ebp
push eax
push ecx
push ebx
pop ebp
pop esp
pop eax
pop ecx
mov eax, dword [ebp - 8]
xor esi, esi
xor ebx, ebx
inc esi
mov dword [ebp - 0xc], ebx
test eax, eax
js 0x42f947
mov esi, dword [ebp - 4]
cmp word [esi + ebx*2], 0x5c
jne 0x42f938
call fcn.0042684f
test al, al
je 0x42f8d1
push eax
pop esi
pop edi
pop esp
push esi
pop edi
pop ecx
pop ebp
push ebx
pop ebp
push ecx
push ecx
push eax
push edi
push ebx
pop esi
pop eax
pop edx
push esi
push esp
push edi
pop ecx
pop ebx
push ecx
pop ebx
push edx
pop edx
pop esp
pop edx
call fcn.00426489
test al, al
je 0x42f8f0
push ebp
pop ecx
push esp
pop edx
push ecx
push ebx
push edi
push esp
pop ebx
pop eax
pop edx
pop edx
push ebx
pop esi
pop ecx
push ebx
push esi
pop ecx
push ebx
push edx
push ebp
pop edi
call fcn.0042666c
test al, al
je 0x42f90a
push edi
pop esp
pop edx
push eax
push edx
pop ebp
push ebx
push esp
push esp
pop esi
pop esp
pop eax
push ebx
push ecx
push esp
push esp
pop ecx
mov esi, dword [ebp - 4]
xor eax, eax
mov ebx, dword [ebp - 0xc]
push esi
movzx edi, word [esi + ebx*2]
mov word [esi + ebx*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42f931
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x42f959
mov eax, dword [ebp - 8]
mov word [esi + ebx*2], di
inc ebx
mov dword [ebp - 0xc], ebx
cmp ebx, eax
jle 0x42f8a0
xor esi, esi
inc esi
push dword [ebp - 4]
call fcn.004257dc
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
jmp 0x42f947
Function at 0x42f95d
Capabilities:
Get common file path
Get disk information

Disassembly:
push 0x22c
mov eax, 0x5a15f7
call fcn.00598680
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 0x42fa83
push 0x208
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00442fd0
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.004257d3
push esi
xor ecx, ecx
mov dword [ebp - 0x234], eax
push ecx
push eax
call fcn.00442fd0
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 0x42fa7c
mov bh, byte [ebp + 0xc]
mov bl, byte [ebp + 0x10]
mov edi, dword [ebp - 0x238]
test bh, bh
je 0x42fa1d
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.004431dd
pop ecx
pop ecx
test eax, eax
jne 0x42fa62
test bl, bl
je 0x42fa2f
movzx eax, byte [esi]
push eax
call fcn.004306f9
pop ecx
test al, al
jne 0x42fa62
push esi
lea ecx, [ebp - 0x230]
call fcn.00402b80
xor ecx, ecx
lea eax, [ebp - 0x230]
mov dword [ebp - 4], ecx
mov ecx, edi
push eax
call fcn.00413e50
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
xor eax, eax
push eax
push 1
call fcn.00427631
push esi
call fcn.0045329b
pop ecx
lea esi, [esi + eax*2]
xor eax, eax
add esi, 2
cmp word [esi], ax
jne 0x42fa06
mov ebx, dword [ebp - 0x234]
push ebx
call fcn.004257dc
pop ecx
call fcn.0059863b
ret
Function at 0x42fa89
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x628144]
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.004305e5
lea eax, [ebp - 0x20c]
push eax
call fcn.0045329b
add esp, 0x14
mov dword [ebp - 0x210], eax
call fcn.00426558
test al, al
je 0x42fafb
pop edi
pop edi
push esp
pop esp
pop edx
pop esi
pop ebx
pop ebx
push edi
push eax
pop esi
pop edx
pop ebx
pop ecx
push ebx
pop edi
pop ebx
pop esi
pop esi
push ebx
pop edx
pop ecx
push ecx
push esi
pop ebp
push eax
call fcn.00426c15
test al, al
je 0x42fb15
pop ebx
pop ebp
push esi
push eax
pop edi
push ecx
pop esi
pop edx
pop edx
push ebx
pop esi
push ebp
pop ebp
pop ebx
pop esi
pop ebx
pop edi
cmp dword [ebp - 0x210], 0
je 0x42fc11
mov esi, 0x5a3994
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00453f0d
push dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push eax
call fcn.00453f0d
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00453f0d
add esp, 0x18
call fcn.0042673b
test al, al
je 0x42fb7b
pop eax
pop ebp
pop edi
push ebx
push esi
pop edx
pop esp
push edx
pop esi
pop edx
push esp
pop edx
push ebx
pop edi
push esp
push ebp
push edx
pop esp
push edx
push edi
push esp
pop esp
pop ecx
pop ecx
pop ebx
push edi
push ebp
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42fb99
lea eax, [ebp - 0x20c]
push eax
call fcn.0042f7e6
pop ecx
call fcn.00426513
test al, al
je 0x42fbbd
pop esi
pop eax
push edx
push edx
push esi
pop esp
pop eax
pop edi
pop esi
pop esp
push esi
pop eax
push esp
push eax
push ebp
push ebx
pop ebp
push edx
push esp
pop edx
push edx
pop edx
push edx
push eax
pop eax
pop ecx
push esp
call fcn.00426a77
test al, al
je 0x42fbe3
push edx
pop ebp
pop ebx
pop ecx
pop ebx
push ebx
pop ebx
push edi
pop esi
push edx
push ebx
pop ebp
push ecx
push ecx
pop esp
pop edi
pop edx
push eax
pop ebp
pop esi
pop edi
push edx
pop ebp
push ebp
pop eax
push ebx
push edx
push eax
pop eax
cmp word [ebp - 0x20c], 0
jne 0x42fbf1
xor eax, eax
jmp 0x42fbfe
lea eax, [ebp - 0x20c]
push eax
call fcn.0045329b
pop ecx
mov ecx, dword [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00402400
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042578a
mov esp, ebp
pop ebp
ret
Function at 0x42fc22
Capabilities:
Get disk information
Get disk size

Disassembly:
push 0x4c
mov eax, 0x5a1648
call fcn.00598680
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.0042f95d
mov dword [edi + 0x14], 7
add esp, 0xc
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], ebx
jb 0x42fc6a
mov eax, dword [edi]
jmp 0x42fc6c
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 0x42fd2d
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00402b50
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
je 0x42fd11
cmp eax, 5
je 0x42fd11
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x58]
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 0x42fd11
mov ecx, dword [ebp - 0x2c]
cmp ecx, ebx
jb 0x42fd11
mov eax, dword [ebp - 0x30]
ja 0x42fcf1
cmp eax, dword [ebp - 0x34]
jbe 0x42fd11
lea edx, [ebp - 0x28]
cmp edi, edx
je 0x42fd0c
push 0xffffffffffffffff
push 0
mov eax, edx
mov ecx, edi
push eax
call fcn.004022e0
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.00427631
add esi, 0x18
cmp esi, dword [ebp - 0x3c]
jne 0x42fc95
lea ecx, [ebp - 0x40]
call fcn.0042c2c8
mov eax, edi
call fcn.0059863b
ret
Function at 0x42ffcf
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x628144]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x62db10], 0
push ebx
push esi
push edi
je 0x430041
call fcn.00426513
test al, al
je 0x430012
pop esi
pop eax
push edx
push edx
push esi
pop esp
pop eax
pop edi
pop esi
pop esp
push esi
pop eax
push esp
push eax
push ebp
push ebx
pop ebp
push edx
push esp
pop edx
push edx
pop edx
push edx
push eax
pop eax
pop ecx
push esp
call fcn.00426a77
test al, al
je 0x430137
push edx
pop ebp
pop ebx
pop ecx
pop ebx
push ebx
pop ebx
push edi
pop esi
push edx
push ebx
pop ebp
push ecx
push ecx
pop esp
pop edi
pop edx
push eax
pop ebp
pop esi
pop edi
push edx
pop ebp
push ebp
pop eax
push ebx
push edx
push eax
pop eax
jmp 0x430137
call fcn.00426513
test al, al
je 0x43005c
pop edi
pop esi
push ebp
push esi
pop edi
push eax
pop eax
push esi
pop edx
pop edi
push ecx
pop eax
push edx
pop ecx
push ebp
pop ecx
push ebx
pop edx
call fcn.00426abc
test al, al
je 0x430083
pop esp
push eax
pop esi
pop esi
push eax
push eax
push edi
push ecx
pop ebx
push eax
push edi
push ebp
pop esp
push eax
push esi
push ebp
push ecx
pop esi
push eax
pop edx
pop edi
push ecx
pop eax
push esp
push esi
pop edx
pop esp
pop ebx
push eax
push esi
call fcn.00426627
test al, al
je 0x43009e
push eax
pop edi
pop ecx
push ebp
pop edi
pop ecx
push ecx
push ecx
push edi
pop ebp
pop ebx
pop ecx
push eax
push edi
push ebx
push edi
push ebx
push esp
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00442fd0
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 0x43010e
lea eax, [ebp - 0x20c]
push eax
call fcn.0044eec7
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.004431dd
pop ecx
pop ecx
test eax, eax
jne 0x430107
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.004431dd
pop ecx
pop ecx
test eax, eax
je 0x43010e
mov byte [0x62db10], 1
call fcn.00426780
test al, al
je 0x430137
pop esp
push edi
pop esi
pop esp
pop edx
push ebp
push ebp
pop edx
pop edx
pop ebp
pop edi
push edi
pop edx
pop eax
pop ecx
push esp
push ebp
push ebp
push ebp
push edx
pop esi
pop edi
push eax
pop ebp
pop edi
pop ebx
push ebx
pop edx
push eax
pop esi
pop edx
pop esi
mov ecx, dword [ebp - 4]
mov al, byte [0x62db10]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0042578a
mov esp, ebp
pop ebp
ret
Function at 0x430fd0
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x628144]
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.00442fd0
add esp, 0xc
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
call fcn.004268d9
test al, al
je 0x431039
push eax
push eax
pop edx
push esp
pop ebp
push esp
push edx
push edi
pop esp
pop ecx
pop esi
push ebx
pop ebp
push esi
pop esi
push eax
pop esi
pop edx
pop edx
call fcn.004266f6
test al, al
je 0x43105d
push edx
push esi
pop ebx
push esi
push eax
pop edi
push esi
pop ecx
push ecx
pop edi
pop ebx
pop edx
push edx
pop ebx
push edi
push ebx
pop ebp
pop edi
pop esp
push edx
push esp
push esi
pop ecx
push esp
pop ebx
push esi
pop ebp
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x128], eax
call fcn.004268d9
test al, al
je 0x43109b
push esp
pop edi
pop ebp
push ebp
pop edx
pop edx
pop ecx
push esi
push eax
push ebx
pop ecx
pop ebp
pop ecx
push edx
push ebp
push ebp
pop ebx
push edi
push esp
push ebp
pop esi
pop esi
pop ebp
pop edx
push eax
pop edi
pop ebp
pop edi
push esi
call fcn.0042659d
test al, al
je 0x4310bd
push ecx
push esp
pop eax
push ecx
pop ebx
pop ecx
pop esi
pop esp
pop esp
push eax
pop ecx
pop ebx
pop edx
push esp
push ecx
pop ecx
pop edx
pop edi
pop ebp
pop edx
pop esi
push esi
pop ebp
push ecx
pop edi
cmp dword [ebp - 0x124], 5
jg 0x4310d4
cmp dword [ebp - 0x128], 2
jg 0x4310d4
xor eax, eax
inc eax
jmp 0x4310d6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042578a
mov esp, ebp
pop ebp
ret
Function at 0x43139d
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x4313b1
xor eax, eax
jmp 0x4314ef
mov eax, ebx
shl eax, 3
push 6
pop ecx
cdq
idiv ecx
mov edx, ebx
imul ecx, eax, 6
shl edx, 3
push 3
sub edx, ecx
dec edx
pop ecx
sub edx, 1
je 0x4313da
dec edx
sub edx, 1
jne 0x4313dc
add eax, 2
jmp 0x4313dc
add eax, ecx
push esi
mov esi, dword [ebp + 0x14]
inc eax
cmp dword [esi], eax
jge 0x4313ef
push 0xfffffffffffffff0
mov dword [esi], eax
pop eax
jmp 0x4314ee
mov eax, ebx
cdq
idiv ecx
xor ecx, ecx
imul eax, eax, 3
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
jle 0x431485
dec eax
mov ebx, dword [ebp + 8]
xor edx, edx
push 3
pop ecx
div ecx
inc eax
imul ecx, eax, 3
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
movzx ecx, byte [ebx]
movzx edx, byte [ebx + 1]
mov eax, ecx
movzx esi, byte [ebx + 2]
add ebx, 3
shr eax, 2
shl ecx, 4
mov al, byte [eax + 0x5a7fb8]
mov byte [edi], al
mov eax, edx
shr eax, 4
add eax, ecx
and eax, 0x3f
mov al, byte [eax + 0x5a7fb8]
mov byte [edi + 1], al
mov eax, esi
shr eax, 6
and esi, 0x3f
lea eax, [eax + edx*4]
and eax, 0x3f
mov al, byte [eax + 0x5a7fb8]
mov byte [edi + 2], al
mov al, byte [esi + 0x5a7fb8]
mov byte [edi + 3], al
add edi, 4
sub dword [ebp - 4], 1
jne 0x43141a
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
jmp 0x431488
mov eax, dword [ebp + 8]
cmp ecx, ebx
jge 0x4314e1
movzx edx, byte [eax]
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, ebx
jge 0x43149d
movzx ecx, byte [eax + 1]
jmp 0x43149f
xor ecx, ecx
mov eax, edx
shl edx, 4
shr eax, 2
mov al, byte [eax + 0x5a7fb8]
mov byte [edi], al
mov eax, ecx
shr eax, 4
add eax, edx
and eax, 0x3f
mov al, byte [eax + 0x5a7fb8]
mov byte [edi + 1], al
cmp dword [ebp + 0xc], ebx
jge 0x4314d6
and ecx, 0xf
mov al, byte [ecx*4 + 0x5a7fb8]
mov byte [edi + 2], al
jmp 0x4314da
mov byte [edi + 2], 0x3d
mov byte [edi + 3], 0x3d
add edi, 4
mov eax, edi
sub eax, dword [ebp + 0x10]
mov dword [esi], eax
xor eax, eax
mov byte [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret