joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464ed0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce02d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x501fc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 0x140]
mov dword [edi], vtable.SystemStatus.0
call fcn.004635b0
lea esi, [edi + 8]
xorps xmm0, xmm0
push 0x110
movups xmmword [esi], xmm0
lea eax, [edi + 0x30]
push 0
movups xmmword [esi + 0x10], xmm0
push eax
mov dword [esi + 0x20], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [edi + 0x2c], 0x114
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword fs:[0x2c]
mov ecx, dword [0x51f4b8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x51db64]
cmp eax, dword [ecx + 4]
jg 0x465079
movzx eax, word [0x51db62]
mov dword [edi + 0x30], eax
movzx eax, byte [0x51db61]
mov dword [edi + 0x34], eax
movzx eax, byte [0x51db60]
test eax, eax
je 0x465055
push 0
push 0xa
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004b81b0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x28]
push 0x4e4760
push eax
call fcn.0045ede0
add esp, 0x1c
cmp dword [eax + 0x14], 7
jbe 0x464fb7
mov eax, dword [eax]
push 0x80
push eax
lea eax, [edi + 0x40]
push 0x80
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp ecx, 7
jbe 0x465005
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x464ffb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465045
push ecx
push edx
call fcn.004bf0c8
add esp, 8
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 7
jbe 0x465055
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46504b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46504b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bf0c8
add esp, 8
mov dword [edi + 0x3c], 2
mov eax, edi
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.004bf563
mov esp, ebp
pop ebp
ret
push 0x51db64
call fcn.004bf4db
add esp, 4
cmp dword [0x51db64], 0xffffffff
jne 0x464f62
call fcn.004b5050
push 0x51db64
mov dword [0x51db60], eax
call fcn.004bf48a
add esp, 4
jmp 0x464f62
Function at 0x46a230
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf056
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x501fc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.__r_n_
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__21]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x44]
call fcn.00463690
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x44]
push 0x8000
push 0xa
mov dword [ebp - 0x24], 0xa
call dword [eax + 0x1c]
cmp dword [esi + 0x82c], 0
jne 0x46a313
mov edi, 0x64
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x38]
test eax, eax
jne 0x46a313
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x46a308
cmp dword [ebp - 0x24], ecx
jg 0x46a308
mov ebx, dword [ebp - 0x30]
cmp ebx, 0x64
jge 0x46a308
mov eax, edi
cdq
idiv ecx
cmp eax, ebx
je 0x46a308
mov dword [ebp - 0x30], eax
cmp eax, 0x64
jle 0x46a2f6
xor ecx, ecx
sub eax, 0x64
cmp eax, 0x64
jle 0x46a2f3
inc ecx
cmp ecx, 3
jl 0x46a2e5
mov dword [ebp - 0x30], eax
call fcn.0046bc10
test eax, eax
je 0x46a308
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x44]
call dword [eax + 0x3c]
add edi, 0x64
cmp edi, 0xc8
jl 0x46a2b1
add dword [esi + 0x82c], 0xffffffff
jns 0x46a328
mov eax, dword [esi + 0x828]
mov dword [esi + 0x82c], eax
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x38]
test eax, eax
jne 0x46a346
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x38]
test eax, eax
je 0x46a3df
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edi, 0x64
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
test eax, eax
jne 0x46a3b5
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x46a3aa
cmp dword [ebp - 0x24], ecx
jg 0x46a3aa
mov ebx, dword [ebp - 0x30]
cmp ebx, 0x64
jge 0x46a3aa
mov eax, edi
cdq
idiv ecx
cmp eax, ebx
je 0x46a3aa
mov dword [ebp - 0x30], eax
cmp eax, 0x64
jle 0x46a398
xor ecx, ecx
sub eax, 0x64
cmp eax, 0x64
jle 0x46a395
inc ecx
cmp ecx, 3
jl 0x46a387
mov dword [ebp - 0x30], eax
call fcn.0046bc10
test eax, eax
je 0x46a3aa
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x44]
call dword [eax + 0x3c]
add edi, 0x64
cmp edi, 0x258
jl 0x46a355
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
test eax, eax
je 0x46a3df
cmp dword [esi + 0x18], 0
jne 0x46a3d8
cmp dword [esi + 0x1c], 0
jne 0x46a3d8
cmp dword [esi + 0x20], 0
jne 0x46a3d8
cmp dword [esi + 0x24], 0
je 0x46a3df
mov esi, 1
jmp 0x46a3e1
xor esi, esi
lea ecx, [ebp - 0x44]
call fcn.00465da0
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
Function at 0x46de20
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, ecx
cmp dword [eax + 0x18], 7
lea edx, [eax + 4]
jbe 0x46de30
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 0x4722f0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0cb7
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x501fc0]
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 0x4723ee
nop word [eax + eax]
cmp dword [edi + 0x20], 0
je 0x4723ee
test esi, esi
js 0x472411
cmp esi, eax
jge 0x472411
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 0x472411
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 0x4723c9
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x4723c9
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.004771e0
add esp, 8
test eax, eax
je 0x4723c9
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4723c9
cmp esi, dword [edi + 0xc]
jge 0x472411
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 0x472330
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 0x472ed0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0ee2
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x501fc0]
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 0x472ff8
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x472ff8
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 0x472ff8
push 0x4e1dfc
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 0x47300e
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x14]
push 0x4e8cf4
push eax
call fcn.00466ad0
push 0x4e8c60
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 1
push eax
call fcn.00466a30
push ebx
push eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push eax
call fcn.00466a30
push 0x4e8c5c
push eax
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 3
push eax
call fcn.00466a30
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 0x473030
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0f32
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x501fc0]
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 0x473156
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x473156
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 0x473156
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 0x47316c
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x14]
push 0x4e8cd8
push eax
call fcn.00466ad0
push 0x4e8c60
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 1
push eax
call fcn.00466a30
push ebx
push eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push eax
call fcn.00466a30
push 0x4e8c5c
push eax
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 3
push eax
call fcn.00466a30
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 0x477b50
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1a0d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x501fc0]
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.00477ca0
add esp, 8
test al, al
je 0x477c19
mov bl, byte [ebp + 0x10]
test bl, bl
je 0x477baa
push 0
push esi
call fcn.00477ca0
add esp, 8
test al, al
jne 0x477c19
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00499370
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
cmova eax, dword [ebp - 0x28]
push eax
call fcn.0047a3d0
add esp, 0xc
test al, al
jne 0x477c37
lea eax, [ebp - 0x28]
push eax
call fcn.004796a0
add esp, 4
test al, al
jne 0x477c37
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x477c19
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x477c0f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x477c63
push ecx
push edx
call fcn.004bf0c8
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.004bf563
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x477c73
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x477c69
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x477c69
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bf0c8
add esp, 8
test bl, bl
je 0x477c88
push 1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne al
jmp 0x477c1b
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne al
jmp 0x477c1b
Function at 0x47b2a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d23b6
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x501fc0]
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.004b44d0
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 0x47b353
sub eax, edi
mov ecx, esi
sar eax, 1
push eax
push edx
call fcn.004b4710
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x47b3a7
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47b39d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x47b39d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004bf0c8
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.004bf563
mov esp, ebp
pop ebp
ret
Function at 0x47d730
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d28da
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x501fc0]
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 0x47d858
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 0x4e3580
mov ecx, eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
lea ecx, [ebp - 0x10]
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test esi, esi
jne 0x47d7e0
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], 1
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
lea ecx, [ebp - 0x10]
jmp 0x47d841
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.0047d550
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 0x4e2c40
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 0x4808a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d34b7
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x501fc0]
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 0x480966
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 0x480966
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 0x480969
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 0x4888f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4d77
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x501fc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebp + 0xc], 0
je 0x488998
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x488998
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 0x4889a4
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 0x4889c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4dc0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x501fc0]
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 0x488adc
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 0x488adc
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 0x488ac7
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 0x488ae8
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 0x488ae8
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