joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46de60
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, ecx
cmp dword [eax + 0x18], 7
lea edx, [eax + 4]
jbe 0x46de70
mov edx, dword [edx]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
not ecx
and eax, ecx
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop ebp
ret 4
Function at 0x4722a0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca0f7
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4fafc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0xc]
xor esi, esi
test eax, eax
jle 0x47239e
nop word [eax + eax]
cmp dword [edi + 0x20], 0
je 0x47239e
test esi, esi
js 0x4723c1
cmp esi, eax
jge 0x4723c1
mov eax, dword [edi + 8]
lea ebx, [esi*4]
add eax, ebx
lea ecx, [ebp - 0x10]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__22]
mov dword [ebp - 4], 0
cmp esi, dword [edi + 0x20]
jge 0x4723c1
mov eax, dword [edi + 0x1c]
lea ecx, [ebp - 0x14]
add eax, ebx
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__22]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp dword [eax - 0xc], 0
je 0x472379
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x472379
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.00477180
add esp, 8
test eax, eax
je 0x472379
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x472379
cmp esi, dword [edi + 0xc]
jge 0x4723c1
mov ecx, dword [edi + 8]
add ecx, ebx
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Empty]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, dword [edi + 0xc]
inc esi
cmp esi, eax
jl 0x4722e0
push 0xffffffffffffffff
push 0
lea ecx, [edi + 0x18]
call sub.mfc140u.dll_CStringArray::SetSize
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call sub.mfc140u.dll_AfxThrowInvalidArgException
int3
Function at 0x472ea0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca362
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4fafc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x472fc8
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x472fc8
push eax
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__21]
mov eax, dword [edi]
lea ecx, [ebp + 0xc]
push 0
push 2
push ecx
push dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 4], 0
call dword [eax + 0x50]
lea ecx, [ebp + 0xc]
mov dword [edi + 0x10], eax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
cmp dword [edi + 0x10], 0
je 0x472fc8
push 0x4dae00
lea ecx, [edi + 0xc]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
push ebx
push dword [edi + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edx, dword [edi]
mov ecx, edi
mov esi, eax
call dword [edx + 0x58]
test esi, esi
je 0x472fde
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x14]
push 0x4e1cfc
push eax
call fcn.00466aa0
push 0x4e1c68
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 1
push eax
call fcn.00466a00
push ebx
push eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push eax
call fcn.00466a00
push 0x4e1c64
push eax
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 3
push eax
call fcn.00466a00
add esp, 0x30
push eax
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x473000
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca3b2
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4fafc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x473126
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x473126
push eax
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__21]
mov eax, dword [edi]
lea ecx, [ebp + 0xc]
push 0
push 2
push ecx
push dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 4], 0
call dword [eax + 0x50]
lea ecx, [ebp + 0xc]
mov dword [edi + 0x10], eax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
cmp dword [edi + 0x10], 0
je 0x473126
push ebx
lea ecx, [edi + 0xc]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
push dword [edi + 0xc]
push dword [edi + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [edi]
mov ecx, edi
mov esi, eax
call dword [edx + 0x58]
test esi, esi
je 0x47313c
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x14]
push 0x4e1ce0
push eax
call fcn.00466aa0
push 0x4e1c68
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 1
push eax
call fcn.00466a00
push ebx
push eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push eax
call fcn.00466a00
push 0x4e1c64
push eax
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 3
push eax
call fcn.00466a00
add esp, 0x30
push eax
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x477b20
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4caeed
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4fafc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 0
push edi
call fcn.00477c70
add esp, 8
test al, al
je 0x477be9
mov bl, byte [ebp + 0x10]
test bl, bl
je 0x477b7a
push 0
push esi
call fcn.00477c70
add esp, 8
test al, al
jne 0x477be9
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00499290
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
cmova eax, dword [ebp - 0x28]
push eax
call fcn.0047a3f0
add esp, 0xc
test al, al
jne 0x477c07
lea eax, [ebp - 0x28]
push eax
call fcn.00479680
add esp, 4
test al, al
jne 0x477c07
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x477be9
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x477bdf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x477c33
push ecx
push edx
call fcn.004bea18
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004beeb3
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x477c43
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x477c39
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x477c39
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bea18
add esp, 8
test bl, bl
je 0x477c58
push 1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne al
jmp 0x477beb
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne al
jmp 0x477beb
Function at 0x47b2c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb8a6
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4fafc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x30], esi
xor eax, eax
mov dword [ebp - 0x2c], 0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push eax
push 0x104
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.004b3d20
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp dword [ebp - 0x14], 7
lea edx, [ebp - 0x28]
cmova edx, dword [ebp - 0x28]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47b373
sub eax, edi
mov ecx, esi
sar eax, 1
push eax
push edx
call fcn.004b3f90
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x47b3c7
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47b3bd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x47b3bd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bea18
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004beeb3
mov esp, ebp
pop ebp
ret
Function at 0x47d730
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cbde3
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x4fafc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x47d76f
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 4]
mov eax, dword [edi]
lea ecx, [ebp + 8]
push ecx
mov ecx, edi
call dword [eax + 8]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
jne 0x47d791
xor esi, esi
jmp 0x47d860
push 2
push 1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
push 0x4dc588
mov ecx, eax
mov byte [ebp - 4], 1
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test esi, esi
jne 0x47d7e8
push 3
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
lea ecx, [ebp - 0x10]
jmp 0x47d849
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.0047d540
add esp, 8
mov esi, eax
mov ecx, esi
mov byte [ebp - 4], 4
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [esi]
push 1
push 0x4dbc48
mov dword [ebp - 0x14], 1
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea eax, [ebp - 0x10]
lea ecx, [ebp + 8]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [edi + 0xc], eax
mov esi, 1
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x480890
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc9c7
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4fafc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__21]
mov eax, dword [edi]
lea ecx, [ebp + 0xc]
push 0
push 1
push ecx
push dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 4], 0
call dword [eax + 0x50]
lea ecx, [ebp + 0xc]
mov dword [edi + 0x10], eax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
cmp dword [edi + 0x10], 0
je 0x480956
push dword [ebp + 0x10]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__21]
mov eax, dword [edi]
lea ecx, [ebp + 8]
push 4
push ecx
mov ecx, edi
mov dword [ebp - 4], 1
call dword [eax + 0x54]
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
cmp esi, 4
jne 0x480956
lea eax, [edi + 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [edi + 0x14]
push eax
push 0
push dword [edi + 0xc]
push dword [edi + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [edi]
mov ecx, edi
mov esi, eax
call dword [edx + 0x58]
mov eax, dword [ebp - 0x10]
test esi, esi
je 0x480959
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x488900
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce287
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x4fafc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebp + 0xc], 0
je 0x4889a8
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4889a8
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov eax, dword [ebx]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, ebx
mov dword [ebp - 4], 0
call dword [eax + 0x68]
push dword [eax]
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
push 0x2710
push 0x2710
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
push dword [ebp + 0x14]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0xffffffffffffffff
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x10]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__22]
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x4889b4
push dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__21]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4889d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce2d0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4fafc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__21]
mov eax, dword [edi]
lea ecx, [ebp - 0x10]
push 0
push 1
push ecx
push dword [ebp + 0xc]
mov ecx, edi
mov dword [ebp - 4], 0
call dword [eax + 0x50]
lea ecx, [ebp - 0x10]
mov dword [edi + 0x10], eax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
cmp dword [edi + 0x10], 0
je 0x488aec
push dword [ebp + 0x14]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__21]
mov eax, dword [edi]
lea ecx, [ebp + 0xc]
push 1
push ecx
mov ecx, edi
mov dword [ebp - 4], 1
call dword [eax + 0x54]
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
cmp esi, 1
jne 0x488aec
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov esi, dword [edi + 0xc]
lea eax, [edi + 0x18]
push eax
mov eax, dword [eax]
lea ecx, [ebp + 0x10]
shr eax, 1
push eax
mov dword [ebp - 4], 2
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
lea eax, [edi + 0x14]
push eax
push 0
push esi
push dword [edi + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [ebp + 0x10]
mov esi, eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x58]
mov ecx, dword [ebp + 8]
test esi, esi
je 0x488ad7
push dword [ebp + 0x18]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__21]
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x488af8
lea eax, [ebp + 0x10]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__22]
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x488af8
push dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__21]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x48a270
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce901
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4fafc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
mov edi, dword [ebp + 8]
mov ecx, edi
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0x104
mov ecx, edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 1
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
mov ecx, edi
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
mov ebx, dword [edi]
lea ecx, [ebp - 0x10]
push ebx
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__21]
push 0x104
push 0x104
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 1
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov esi, eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
lea ecx, [ebp - 0x18]
test esi, esi
jne 0x48a326
push ebx
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__21]
jmp 0x48a330
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__22]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], 3
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 2
push eax
mov ecx, edi
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48c660
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cef05
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x4fafc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0
mov edi, dword [ecx + 0x30]
mov esi, dword [ecx + 0x34]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0xa
push 0x64
push 0x64
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], 2
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
push esi
mov esi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__ltow_s]
call esi
add esp, 0x10
lea ecx, [ebp - 0x14]
push 0xffffffffffffffff
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 2
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0xa
push 0x64
push 0x64
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], 9
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
push edi
call esi
add esp, 0x10
lea ecx, [ebp - 0x10]
push 0xffffffffffffffff
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 4
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x10]
push 1
push 0x4dc00c
mov dword [ebp - 0x18], 0x15
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00466980
add esp, 0x20
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push dword [ebp - 0x24]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtof]
add esp, 4
lea ecx, [ebp - 0x24]
fstp qword [ebp - 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
fld qword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x498370
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx]
lea edx, [ebp - 4]
push esi
push edx
call dword [eax + 8]
push 1
push 0
push 0
push dword [ebp - 4]
push 0x4dd640
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, 0x20
cmp ecx, eax
lea ecx, [ebp - 4]
sbb esi, esi
neg esi
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret