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

Disassembly:
push ebp
mov ebp, esp
mov eax, ecx
cmp dword [eax + 0x18], 7
lea edx, [eax + 4]
jbe 0x45fcc0
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 0x45fff0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512fb5
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x584f80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x1c]
lea ecx, [ebp - 0x24]
mov esi, dword [ebp + 8]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ebp + 8], eax
call sub.mfc140u.dll_CDC::CDC
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], vtable.CBitmap.0
mov byte [ebp - 4], 1
test esi, esi
jne 0x460052
xor eax, eax
jmp 0x460055
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x24]
call sub.mfc140u.dll_CDC::Attach
push dword [ebp + 8]
push ebx
push dword [esi + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [ebp - 0x14]
call sub.mfc140u.dll_CGdiObject::Attach
push dword [ebp - 0x10]
push dword [ebp - 0x20]
call sub.mfc140u.dll_CDC::SelectGdiObject
push 0xcc0020
push 0
push dword [edi + 0x1c]
mov esi, eax
mov eax, dword [ebp + 8]
push dword [edi + 0x20]
push eax
push ebx
push 0
push 0
push eax
push ebx
push 0
push 0
push dword [ebp - 0x20]
call dword [sym.imp.GDI32.dll_StretchDIBits]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [ebp - 0x10]
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x14]
call sub.mfc140u.dll_CGdiObject::Detach
test esi, esi
jne 0x4600dc
xor eax, eax
jmp 0x4600df
mov eax, dword [esi + 4]
push eax
push dword [ebp - 0x20]
call sub.mfc140u.dll_CDC::SelectGdiObject
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], vtable.CBitmap.0
call fcn.0045e2b0
lea ecx, [ebp - 0x24]
call fcn.00505347
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 4
Function at 0x4653d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513af1
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x584f80]
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__27]
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 0x465486
push ebx
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__27]
jmp 0x465490
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__28]
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__26]
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 0x474720
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
cmp dword [ecx + 0x18], 7
lea edx, [ecx + 4]
jbe 0x47472e
mov edx, dword [edx]
mov eax, dword [ecx + 0x1c]
or eax, dword [ebp + 8]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop ebp
ret 4
Function at 0x485930
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517ab9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x584f80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 8]
mov dword [esi], vtable.DiskInfo.0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x10]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 2
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
test edi, edi
je 0x4859fa
push edi
lea ecx, [esi + 8]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
push edi
mov ecx, esi
call fcn.004a3500
push edi
mov ecx, esi
call fcn.004b3200
push edi
mov ecx, esi
call fcn.004a1470
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4951c0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51af47
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x584f80]
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 0x4952be
nop word [eax + eax]
cmp dword [edi + 0x20], 0
je 0x4952be
test esi, esi
js 0x4952e1
cmp esi, eax
jge 0x4952e1
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__28]
mov dword [ebp - 4], 0
cmp esi, dword [edi + 0x20]
jge 0x4952e1
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__28]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp dword [eax - 0xc], 0
je 0x495299
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x495299
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.00462c50
add esp, 8
test eax, eax
je 0x495299
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x495299
cmp esi, dword [edi + 0xc]
jge 0x4952e1
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 0x495200
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 0x495820
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b0c2
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x584f80]
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 0x495948
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x495948
push eax
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__27]
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 + 0x58]
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 0x495948
push 0x532ea0
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 + 0x60]
test esi, esi
je 0x49595e
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x14]
push 0x5394dc
push eax
call fcn.0045eef0
push 0x539448
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 1
push eax
call fcn.0045ee50
push ebx
push eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push eax
call fcn.0045ee50
push 0x539444
push eax
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 3
push eax
call fcn.0045ee50
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__26]
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 0x495c40
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b1b2
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x584f80]
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 0x495d66
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x495d66
push eax
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__27]
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 + 0x58]
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 0x495d66
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 + 0x60]
test esi, esi
je 0x495d7c
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x14]
push 0x5394c0
push eax
call fcn.0045eef0
push 0x539448
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 1
push eax
call fcn.0045ee50
push ebx
push eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push eax
call fcn.0045ee50
push 0x539444
push eax
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 3
push eax
call fcn.0045ee50
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__26]
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 0x495e20
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b227
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x584f80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0
push 0
push 0x184
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x10]
push eax
call fcn.004a0cf0
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00463ff0
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004a4030
add esp, 0x14
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x20]
call fcn.00487390
mov dword [ebp - 0x20], vtable.RankList.0
call fcn.004a95b0
cmp eax, 1
lea eax, [ebp - 0x20]
push eax
push esi
jg 0x495edd
call fcn.00499890
push 0x569170
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.004979b0
add esp, 0x14
mov edi, 0x569250
mov eax, 0x5691e8
jmp 0x495eef
call fcn.00499890
add esp, 8
mov edi, 0x5691e8
mov eax, 0x569170
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.004979b0
push edi
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.004979b0
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.004981c0
push esi
call fcn.004975e0
add esp, 0x24
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp + 8]
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]
push esi
call fcn.004cc910
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x49cb30
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51c95d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x584f80]
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.0049cc80
add esp, 8
test al, al
je 0x49cbf9
mov bl, byte [ebp + 0x10]
test bl, bl
je 0x49cb8a
push 0
push esi
call fcn.0049cc80
add esp, 8
test al, al
jne 0x49cbf9
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.004c2030
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
cmova eax, dword [ebp - 0x28]
push eax
call fcn.0049eaf0
add esp, 0xc
test al, al
jne 0x49cc17
lea eax, [ebp - 0x28]
push eax
call fcn.0049ddc0
add esp, 4
test al, al
jne 0x49cc17
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x49cbf9
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49cbef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49cc43
push ecx
push edx
call fcn.0050686b
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.00506d06
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x49cc53
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49cc49
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x49cc49
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0050686b
add esp, 8
test bl, bl
je 0x49cc68
push 1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne al
jmp 0x49cbfb
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne al
jmp 0x49cbfb
Function at 0x4a0a40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51d5b6
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x584f80]
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.004d9500
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 0x4a0af3
sub eax, edi
mov ecx, esi
sar eax, 1
push eax
push edx
call fcn.004d96d0
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x4a0b47
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a0b3d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4a0b3d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0050686b
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.00506d06
mov esp, ebp
pop ebp
ret
Function at 0x4a3500
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51dcda
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x584f80]
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 0x4a353f
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 0x4a3561
xor esi, esi
jmp 0x4a3628
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__4]
push 0x538d5c
mov ecx, eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__25]
lea ecx, [ebp - 0x10]
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test esi, esi
jne 0x4a35b0
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__17]
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__26]
lea ecx, [ebp - 0x10]
jmp 0x4a3611
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.004a3320
add esp, 8
mov esi, eax
mov ecx, esi
mov byte [ebp - 4], 3
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 0x532e9c
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__26]
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 0x4a7130
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51eb67
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x584f80]
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__27]
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 + 0x58]
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 0x4a71f6
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__27]
mov eax, dword [edi]
lea ecx, [ebp + 8]
push 4
push ecx
mov ecx, edi
mov dword [ebp - 4], 1
call dword [eax + 0x5c]
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
cmp esi, 4
jne 0x4a71f6
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 + 0x60]
mov eax, dword [ebp - 0x10]
test esi, esi
je 0x4a71f9
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 0x4afa00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x520677
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x584f80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebp + 0xc], 0
je 0x4afaa8
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4afaa8
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 + 0x78]
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__28]
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x4afab4
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__27]
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