joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a130
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x78]
lea eax, [esp + 0x38]
push eax
push edi
call fcn.004574d0
lea ecx, [esp + 0x18]
push ecx
lea edx, [edi + 0x14]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.00457140
mov edx, edi
lea ecx, [esp + 0x24]
add esp, 0x14
sub edx, ecx
xor eax, eax
mov esi, 5
jmp 0x45a170
mov ebp, dword [esp + eax + 0x10]
lea ecx, [esp + eax + 0x10]
mov ebx, dword [edx + ecx]
xor ebx, ebp
mov dword [esp + eax + 0x24], ebx
add eax, 4
dec esi
jne 0x45a170
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00456d00
lea ecx, [esp + 0x54]
push ecx
call fcn.00456c60
mov eax, dword [esp + 0x8c]
mov esi, dword [esp + 0x88]
add esp, 0xc
cmp word [eax], 0
je 0x45a1db
lea ecx, [eax + 2]
xor eax, eax
mov edx, 5
mov ebp, dword [esp + eax + 0x24]
mov ebx, dword [esp + eax + 0x4c]
xor ebx, ebp
xor ebx, dword [ecx]
mov dword [eax + esi], ebx
add ecx, 4
add eax, 4
dec edx
jne 0x45a1c1
jmp 0x45a1f3
xor eax, eax
mov ecx, 5
mov edx, dword [esp + eax + 0x4c]
xor edx, dword [esp + eax + 0x24]
mov dword [eax + esi], edx
add eax, 4
dec ecx
jne 0x45a1e2
or ecx, 0xffffffff
mov eax, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
and eax, 0x3fffffff
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], eax
xor eax, eax
mov ecx, 5
jmp 0x45a220
mov ebp, dword [esp + eax + 0x10]
mov edx, dword [esp + eax + 0x24]
xor ebp, edx
mov dword [esp + eax + 0x10], ebp
add eax, 4
dec ecx
jne 0x45a220
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x14]
push esi
push ecx
call fcn.00457140
lea edx, [esp + 0x44]
push edx
push edi
call fcn.00456d00
lea eax, [esp + 0x4c]
push eax
call fcn.00456c60
add esp, 0x18
lea ecx, [esi + 0x14]
xor eax, eax
mov edx, 5
mov esi, dword [esp + eax + 0x60]
xor esi, dword [esp + eax + 0x38]
mov dword [ecx], esi
add eax, 4
add ecx, 4
dec edx
jne 0x45a266
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
Function at 0x461df0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c634a
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 ebx, ecx
mov dword [ebp - 0x10], ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00461d50
lea ecx, [ebx + 0x18]
mov dword [ebp - 4], 0
mov dword [ebx], vtable.BrowseFile.0
call sub.mfc140u.dll_CStringArray::CStringArray
lea ecx, [ebx + 0x2c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebx + 0x30]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebx + 0x38]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebx + 0x40]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0x4dc1c0
lea ecx, [ebx + 0x2c]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
push str.Executable_Files__.exe_.exeAll_Files__._.
lea ecx, [ebx + 0x38]
mov dword [ebx + 0x34], 6
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
push 0x4dfaac
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__21]
lea eax, [ebp + 8]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__22]
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 7
push eax
mov ecx, ebx
call fcn.004ab440
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov dword [ebx + 0x3c], 1
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x462230
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c64a9
mov eax, dword fs:[0]
push eax
push ecx
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 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 0x4622fa
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.0047d3a0
push edi
mov ecx, esi
call fcn.0048c910
push edi
mov ecx, esi
call fcn.0047c510
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 0x463480
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4fafc0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [ebp - 0x44]
push 0x40
push 0
push eax
mov dword [esi], vtable.MemoryStatus.0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 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
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x44], 0x40
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x20]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0x38]
mov dword [esi + 0x14], ecx
mov ecx, dword [ebp - 0x24]
mov dword [esi + 0x18], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp - 4]
mov dword [esi + 0x1c], edx
xor ecx, ebp
mov edx, dword [ebp - 0x28]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [esi + 0x24], edx
pop esi
call fcn.004beb23
mov esp, ebp
pop ebp
ret
Function at 0x4648a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6ebd
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4fafc0]
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 + 0x18]
mov dword [esi], vtable.ShellExec.0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x1c]
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]
lea ecx, [esi + 0x24]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x30]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [esi + 0x3c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov byte [ebp - 4], 5
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x28], 1
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
call sub.mfc140u.dll_AfxGetThread
test eax, eax
je 0x464962
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
test eax, eax
je 0x464962
mov eax, dword [eax + 0x20]
mov dword [esi + 4], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x464d20
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6fed
mov eax, dword fs:[0]
push eax
sub esp, 0x38
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 edi, ecx
lea ecx, [edi + 0x140]
mov dword [edi], vtable.SystemStatus.0
call fcn.00463480
lea esi, [edi + 8]
xorps xmm0, xmm0
push pe_nt_image_headers32
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 [0x518498]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x516b44]
cmp eax, dword [ecx + 4]
jg 0x464ec7
movzx eax, word [0x516b42]
mov ecx, dword [0x516b40]
mov dword [edi + 0x30], eax
movzx eax, ch
mov dword [edi + 0x34], eax
movzx eax, cl
test cl, cl
je 0x464ea3
push 0
push 0xa
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004b7700
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x28]
push 0x4dd768
push eax
call fcn.0045ede0
add esp, 0x1c
cmp dword [eax + 0x14], 7
jbe 0x464e05
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 0x464e53
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x464e49
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x464e93
push ecx
push edx
call fcn.004be688
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 0x464ea3
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x464e99
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x464e99
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004be688
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.004beb23
mov esp, ebp
pop ebp
ret
push 0x516b44
call fcn.004bea9b
add esp, 4
cmp dword [0x516b44], 0xffffffff
jne 0x464db2
call fcn.004b4560
push 0x516b44
mov dword [0x516b40], eax
call fcn.004bea4a
add esp, 4
jmp 0x464db2
Function at 0x469ff0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8006
mov eax, dword fs:[0]
push eax
sub esp, 0x34
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 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 - 0x40]
call fcn.00463560
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
push 0x8000
push 0xa
mov dword [ebp - 0x20], 0xa
call dword [eax + 0x1c]
cmp dword [esi + 0x82c], 0
jne 0x46a0d3
mov edi, 0x64
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x38]
test eax, eax
jne 0x46a0d3
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x46a0c8
cmp dword [ebp - 0x20], ecx
jg 0x46a0c8
mov ebx, dword [ebp - 0x2c]
cmp ebx, 0x64
jge 0x46a0c8
mov eax, edi
cdq
idiv ecx
cmp eax, ebx
je 0x46a0c8
mov dword [ebp - 0x2c], eax
cmp eax, 0x64
jle 0x46a0b6
xor ecx, ecx
sub eax, 0x64
cmp eax, 0x64
jle 0x46a0b3
inc ecx
cmp ecx, 3
jl 0x46a0a5
mov dword [ebp - 0x2c], eax
call fcn.0046ba80
test eax, eax
je 0x46a0c8
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call dword [eax + 0x3c]
add edi, 0x64
cmp edi, 0xc8
jl 0x46a071
add dword [esi + 0x82c], 0xffffffff
jns 0x46a0e8
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 0x46a106
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x38]
test eax, eax
je 0x46a19f
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 0x46a175
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x46a16a
cmp dword [ebp - 0x20], ecx
jg 0x46a16a
mov ebx, dword [ebp - 0x2c]
cmp ebx, 0x64
jge 0x46a16a
mov eax, edi
cdq
idiv ecx
cmp eax, ebx
je 0x46a16a
mov dword [ebp - 0x2c], eax
cmp eax, 0x64
jle 0x46a158
xor ecx, ecx
sub eax, 0x64
cmp eax, 0x64
jle 0x46a155
inc ecx
cmp ecx, 3
jl 0x46a147
mov dword [ebp - 0x2c], eax
call fcn.0046ba80
test eax, eax
je 0x46a16a
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call dword [eax + 0x3c]
add edi, 0x64
cmp edi, 0x258
jl 0x46a115
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
test eax, eax
je 0x46a19f
cmp dword [esi + 0x18], 0
jne 0x46a198
cmp dword [esi + 0x1c], 0
jne 0x46a198
cmp dword [esi + 0x20], 0
jne 0x46a198
cmp dword [esi + 0x24], 0
je 0x46a19f
mov esi, 1
jmp 0x46a1a1
xor esi, esi
lea ecx, [ebp - 0x40]
call fcn.00465c00
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 0x46dce0
Capabilities:
Set file attributes

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9d27
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 0x47221e
nop word [eax + eax]
cmp dword [edi + 0x20], 0
je 0x47221e
test esi, esi
js 0x472241
cmp esi, eax
jge 0x472241
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 0x472241
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 0x4721f9
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x4721f9
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.00477000
add esp, 8
test eax, eax
je 0x4721f9
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4721f9
cmp esi, dword [edi + 0xc]
jge 0x472241
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 0x472160
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 0x472d20
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9f92
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 0x472e48
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x472e48
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 0x472e48
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 0x472e5e
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x14]
push 0x4e1cfc
push eax
call fcn.00466920
push 0x4e1c68
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 1
push eax
call fcn.00466880
push ebx
push eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push eax
call fcn.00466880
push 0x4e1c64
push eax
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 3
push eax
call fcn.00466880
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 0x472e80
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9fe2
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 0x472fa6
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x472fa6
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 0x472fa6
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 0x472fbc
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x14]
push 0x4e1ce0
push eax
call fcn.00466920
push 0x4e1c68
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 1
push eax
call fcn.00466880
push ebx
push eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push eax
call fcn.00466880
push 0x4e1c64
push eax
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 3
push eax
call fcn.00466880
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 0x4779a0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cab1d
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.00477af0
add esp, 8
test al, al
je 0x477a69
mov bl, byte [ebp + 0x10]
test bl, bl
je 0x4779fa
push 0
push esi
call fcn.00477af0
add esp, 8
test al, al
jne 0x477a69
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00498f00
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
cmova eax, dword [ebp - 0x28]
push eax
call fcn.0047a160
add esp, 0xc
test al, al
jne 0x477a87
lea eax, [ebp - 0x28]
push eax
call fcn.004793f0
add esp, 4
test al, al
jne 0x477a87
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x477a69
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x477a5f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x477ab3
push ecx
push edx
call fcn.004be688
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.004beb23
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x477ac3
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x477ab9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x477ab9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004be688
add esp, 8
test bl, bl
je 0x477ad8
push 1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne al
jmp 0x477a6b
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne al
jmp 0x477a6b
Function at 0x47af30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb4d6
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.004b3990
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 0x47afe3
sub eax, edi
mov ecx, esi
sar eax, 1
push eax
push edx
call fcn.004b3c00
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x47b037
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47b02d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x47b02d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004be688
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.004beb23
mov esp, ebp
pop ebp
ret