joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ce40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x40ce6b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040d7d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
test eax, eax
je 0x40ce8d
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x40ce8f
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test ebx, ebx
jl 0x40cf2e
jg 0x40ceac
test esi, esi
je 0x40cf2e
test ecx, ecx
jl 0x40cef9
jg 0x40ceb6
test eax, eax
je 0x40cef9
cmp ebx, ecx
jg 0x40ceca
jl 0x40cec0
cmp esi, eax
jae 0x40ceca
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
push eax
push dword [esp + 0x18]
push dword [ebp + 8]
call fcn.00524840
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x2c]
add edx, ecx
sub esi, ecx
mov dword [esp + 0xc], edx
sbb ebx, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x40cf00
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
test ebx, ebx
jl 0x40cf2e
jg 0x40cf0a
test esi, esi
je 0x40cf2e
cmp dword [edi + 0x4c], 0
je 0x40cf2e
mov ecx, edi
call fcn.0040dec0
push dword [edi + 0x4c]
push esi
push 1
push dword [esp + 0x18]
call fcn.0052a094
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
pop edi
pop esi
sbb edx, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40d290
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x40d2c0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x40d2fc
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x40d2fc
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x40d3e3
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x40d324
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x40d357
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.0052917f
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x40d3e3
cmp eax, 1
jle 0x40d3b6
cmp eax, 3
jne 0x40d3e3
push dword [esi + 0x4c]
movsx eax, byte [ebp - 0x25]
push eax
call fcn.0052917f
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x40d3d3
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00529aba
add esp, 0x10
cmp edi, eax
jne 0x40d3e3
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x40d2e7
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret 4
Function at 0x40def0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x40df91
cmp byte [esi + 0x3d], 0
je 0x40df91
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x40df47
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x40df59
sub eax, 1
je 0x40df5d
sub eax, 2
je 0x40df91
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x40df7a
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00529aba
add esp, 0x10
cmp edi, eax
jne 0x40df47
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret

Function at 0x40e450
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x555a10
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5b706c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0051ebe4
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0050a0af
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40f920
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
test esi, esi
je 0x40f94b
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x40f934
pop edi
mov eax, edx
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
pop esi
pop ebp
ret
Function at 0x414720
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x556280
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5b706c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ebx, dword [ebp + 8]
lea eax, [esi + 4]
xorps xmm0, xmm0
mov dword [esi], vtable.std::exception.0
push eax
movq qword [eax], xmm0
lea eax, [ebx + 4]
push eax
call fcn.00523d1a
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [esi + 0x14]
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x10], eax
lea eax, [ebx + 0x14]
push eax
call fcn.00409180
mov dword [esi], vtable.boost::thread_resource_error.0
lea edi, [esi + 0x2c]
mov dword [ebp - 4], 1
mov dword [edi], vtable.boost::exception.0
mov ecx, dword [ebx + 0x30]
mov dword [ebp + 8], edi
mov dword [edi + 4], ecx
test ecx, ecx
je 0x4147b8
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebx + 0x34]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0x38]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x3c]
mov dword [edi + 0x10], eax
mov eax, esi
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.0
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.1.0
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 0x415b20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x556458
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5b706c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov esi, dword [ebp + 0xc]
lea eax, [edi + 4]
push eax
mov dword [edi], vtable.std::exception.0
movq qword [eax], xmm0
lea eax, [esi + 4]
push eax
call fcn.00523d1a
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [edi + 0x14]
mov dword [edi], vtable.boost::system::system_error.0
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
lea eax, [esi + 0x14]
push eax
call fcn.00409180
mov dword [edi + 0x2c], vtable.boost::exception.0
mov eax, edi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.0
mov dword [edi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.1.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x416300
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, ebx
cmp dword [ebx + 0x14], 0x10
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0xc], eax
jb 0x416322
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x416341
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x416330
mov edi, dword [ebp - 4]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0xc]
and eax, edx
mov edi, dword [edi + 4]
mov dword [ebp - 0x10], edi
mov esi, dword [ecx + eax*8]
add eax, eax
mov edx, dword [ecx + eax*4]
inc eax
mov dword [ebp - 0x14], edx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x18], eax
cmp edx, edi
jne 0x41636c
mov eax, edi
jmp 0x416370
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x4163f2
cmp dword [ebx + 0x14], 0x10
mov edx, ebx
jb 0x41637e
mov edx, dword [ebx]
mov edi, dword [esi + 0x1c]
lea ecx, [esi + 8]
mov dword [ebp - 0x1c], edi
cmp edi, 0x10
mov edi, dword [ebp - 0x10]
jb 0x416392
mov ecx, dword [esi + 8]
push dword [ebx + 0x10]
mov eax, dword [esi + 0x18]
push edx
mov edx, eax
mov dword [ebp - 8], eax
call fcn.0040a610
add esp, 8
test al, al
jne 0x4163b4
mov esi, dword [esi]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
jmp 0x416364
cmp dword [ebp - 0x1c], 0x10
lea eax, [esi + 8]
jb 0x4163bf
mov eax, dword [eax]
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
jb 0x4163c9
mov ecx, dword [ebx]
push dword [ebp - 8]
mov edx, dword [ebx + 0x10]
push eax
call fcn.0040a610
add esp, 8
test al, al
jne 0x4163e5
test al, al
mov ecx, edi
cmovne edi, esi
jmp 0x4163f4
mov ecx, dword [ebp - 4]
test al, al
cmovne edi, esi
mov ecx, dword [ecx + 4]
jmp 0x4163f4
mov ecx, edi
mov eax, edi
cmp edi, ecx
jne 0x41644e
mov esi, dword [ecx]
lea eax, [ebp - 8]
push ecx
push eax
push ecx
mov edi, dword [esi + 4]
push edi
push esi
mov dword [ebp - 8], ebx
call fcn.00417470
mov ebx, dword [ebp - 4]
mov ecx, eax
mov eax, 0x4924923
mov edx, dword [ebx + 8]
sub eax, edx
cmp eax, 1
jb 0x416462
lea eax, [edx + 1]
mov dword [ebx + 8], eax
mov dword [esi + 4], ecx
mov esi, dword [ebp - 0xc]
mov dword [edi], ecx
mov ecx, ebx
mov edx, dword [ebx + 4]
mov edx, dword [edx]
push edx
add edx, 8
push edx
push esi
call fcn.00417100
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, ecx
mov byte [ecx + 4], 0
mov esp, ebp
pop ebp
ret 8
push str.list_T__too_long
call fcn.00509daf
int3
Function at 0x417500
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [edi + 0x1c], 0x10
lea esi, [edi + 8]
mov ebx, dword [edi + 0x18]
jb 0x417524
mov esi, dword [edi + 8]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x417541
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x417530
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
lea edx, [eax*8]
mov eax, dword [ecx + edx]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x41757a
cmp eax, edi
jne 0x417572
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x417582
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x417582
cmp eax, edi
jne 0x417582
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
lea ecx, [edi + 8]
mov esi, dword [edi]
mov dword [eax], esi
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
dec dword [ebx + 8]
call fcn.00415160
push 0x38
push edi
call fcn.0051ec14
mov eax, dword [ebp - 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41c2a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x556fe0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5b706c]
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]
lea eax, [ecx + 0x60]
mov esi, dword [ebp + 0xc]
mov ecx, edi
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00409fd0
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0041c4d0
mov dword [ebp - 4], 0xffffffff
mov ebx, eax
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x41c32b
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41c321
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c3f5
push edx
push ecx
call fcn.0051ec14
add esp, 8
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
mov dword [ebp - 0x3c], 4
call fcn.004b3a00
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x41c38e
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41c382
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00403df0
mov esi, dword [edi]
test esi, esi
jne 0x41c39b
mov esi, 6
jmp 0x41c3cd
xor edx, edx
xor edi, edi
cmp dword [ebp - 0x1c], edx
je 0x41c3af
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0x2c]
cmovae edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
cmp eax, ecx
cmovne edi, eax
sub ecx, eax
push ecx
push edi
push dword [ebp - 0x3c]
push 0
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
lea ecx, [ebp - 0x3c]
call fcn.0041bea0
mov eax, esi
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.0051e9d8
mov esp, ebp
pop ebp
ret 8
call fcn.00528129
int3
Function at 0x41c730
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557058
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5b706c]
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, dword [ebp + 8]
xor eax, eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
add ecx, 0x60
mov dword [ebp - 4], eax
lea edx, [ebp - 0x38]
call fcn.004b3100
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x41c7b4
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41c7a8
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.00403df0
mov esi, dword [edi]
test esi, esi
jne 0x41c7c1
mov esi, 6
jmp 0x41c7f3
xor edx, edx
xor edi, edi
cmp dword [ebp - 0x18], edx
je 0x41c7d5
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
cmp eax, ecx
cmovne edi, eax
sub ecx, eax
push ecx
push edi
push dword [ebp - 0x38]
push 0
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
lea ecx, [ebp - 0x38]
call fcn.0041bea0
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.0051e9d8
mov esp, ebp
pop ebp
ret 8
Function at 0x41f6d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557518
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x5b706c]
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
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x14]
cmp dword [esi + 0x10], 0
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x44], 0
je 0x41f74b
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41f722
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41f733
mov eax, dword [esi]
push 0x586284
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0052e74c
add esp, 0xc
cmp dword [ebp - 0x44], 0
je 0x41f761
mov ecx, edi
call fcn.0041f4e0
test al, al
jne 0x41f768
push dword [ebp - 0x44]
call fcn.005294e0
add esp, 4
xor al, al
jmp 0x41f877
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0x14], 0x10
jb 0x41f773
mov eax, dword [eax]
push eax
push 0x2712
push dword [edi + 0x58]
call fcn.0043b380
add esp, 0xc
cmp dword [ebp - 0x44], 0
je 0x41f7af
push 0x41f4a0
push 0x4e2b
push dword [edi + 0x58]
call fcn.0043b380
push dword [ebp - 0x44]
push 0x2711
push dword [edi + 0x58]
call fcn.0043b380
add esp, 0x18
mov ecx, dword [edi + 0x58]
call fcn.004385d0
mov ecx, dword [edi + 0x58]
mov dword [ebp - 0x48], eax
test ecx, ecx
je 0x41f7c6
call fcn.00444870
mov eax, dword [ebp - 0x44]
mov dword [edi + 0x58], 0
mov byte [edi + 0x5c], 0
test eax, eax
je 0x41f875
push eax
call fcn.005294e0
mov eax, dword [ebp - 0x4c]
add esp, 4
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x44], 0
cmp dword [eax + 0x10], 0
je 0x41f85e
test edi, edi
jne 0x41f862
lea eax, [ebp - 0x64]
mov ecx, esi
push eax
call fcn.004aea10
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
xor eax, eax
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x48]
call fcn.00418480
mov edx, dword [ebp - 0x4c]
lea ecx, [ebp - 0x28]
add esp, 0xc
call fcn.004184e0
test al, al
mov ecx, 0x12
cmove edi, ecx
lea ecx, [ebp - 0x28]
call fcn.00403d90
test edi, edi
je 0x41f875
cmp dword [esi + 0x14], 8
jb 0x41f86a
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
jmp 0x41f877
mov al, 1
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.0051e9d8
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41fca0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x5b706c]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
cmp dword [esi + 0x30], 0
je 0x41fe25
lea eax, [esp + 0x20]
lea ecx, [esi + 0x20]
push eax
call fcn.004aea10
add esp, 4
lea edx, [esp + 0x50]
lea ecx, [esp + 0x38]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x50], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x60], xmm0
call fcn.004aebe0
mov edi, dword [esi + 0x48]
lea eax, [esi + 0x38]
mov dword [esp + 0x18], edi
cmp edi, dword [esp + 0x48]
jne 0x41fdf3
cmp dword [esp + 0x4c], 0x10
lea edx, [esp + 0x38]
mov ecx, eax
mov dword [esp + 0x14], eax
cmovae edx, dword [esp + 0x38]
cmp dword [eax + 0x14], 0x10
jb 0x41fd2a
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
add ecx, edi
cmp dword [eax + 0x14], 0x10
mov edi, eax
jb 0x41fd36
mov edi, dword [eax]
cmp edi, ecx
je 0x41fd8a
sub edx, edi
mov dword [esp + 0x1c], edx
mov al, byte [edx + edi]
mov byte [esp + 0xf], al
mov al, byte [edi]
cbw
movzx eax, ax
push eax
call fcn.00529143
movsx cx, byte [esp + 0x13]
add esp, 4
mov si, ax
movzx ecx, cx
push ecx
call fcn.00529143
add esp, 4
cmp si, ax
jne 0x41fdf3
mov eax, dword [esp + 0x18]
inc edi
add eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
cmp edi, eax
jne 0x41fd40
mov esi, dword [esp + 0x10]
add esi, 8
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x41fd97
mov ecx, dword [esi]
mov edi, dword [esp + 0x10]
add edi, 0x20
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x41fda8
mov eax, dword [edi]
push 9
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x41fdf3
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x41fdc5
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], eax
jb 0x41fdd5
mov edi, dword [edi]
xor eax, eax
mov word [edi], ax
mov eax, dword [esp + 0x10]
add eax, 0x38
cmp dword [eax + 0x14], 0x10
mov dword [eax + 0x10], 0
jb 0x41fdf0
mov eax, dword [eax]
mov byte [eax], 0
mov edx, dword [esp + 0x4c]
cmp edx, 0x10
jb 0x41fe25
mov ecx, dword [esp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41fe1b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fe38
push edx
push ecx
call fcn.0051ec14
add esp, 8
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
xor ecx, esp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret 4
call fcn.00528129
int3