joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5dac70
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x1050
call fcn.006ab750
cmp byte [esp + 0x105c], 0
push ebx
mov ebx, dword [esp + 0x105c]
push ebp
mov ebp, dword [esp + 0x105c]
push esi
push edi
je 0x5dad49
lea eax, [esp + 0x18]
add ecx, 0x208
push eax
call fcn.0049b350
mov esi, dword [ebx + 4]
add esi, 7
push 0
and esi, 0xfffffff8
call fcn.0069c8fa
add esp, 4
cmp esi, 0xf4240
jbe 0x5dacd0
call fcn.004c90f0
shr eax, 1
cmp eax, esi
jb 0x5dace4
push 0x734220
push esi
call fcn.0069c1fd
mov edi, eax
add esp, 8
test edi, edi
jne 0x5dacfd
push 0
call fcn.0069c8fa
add esp, 4
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1050
ret 0xc
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
push ecx
push edx
push edi
call fcn.006a4bd0
add esp, 0xc
push esi
push edi
lea eax, [esp + 0x20]
call fcn.0049b990
mov ecx, dword [ebp]
push 0
lea eax, [esp + 0x18]
push eax
push esi
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call fcn.0069c8fa
add esp, 4
cmp dword [esp + 0x14], esi
je 0x5dad6a
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1050
ret 0xc
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
push 0
lea edx, [esp + 0x18]
push edx
mov edx, dword [ebp]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x14]
cmp eax, dword [ebx + 4]
jne 0x5dacee
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x1050
ret 0xc
Function at 0x5db1f0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
cmp word [edi + 0x208], 0
mov edx, dword [edi + 0x414]
push ebx
mov ebx, dword [esp + 0x1c]
setne al
cmp dword [edx], 0
push ebp
push esi
mov byte [esp + 0x14], al
jne 0x5db237
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
push str.File_contains_no_audio_channels
call eax
mov eax, dword [esp + 0x1c]
mov dword [eax], 2
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
mov eax, dword [edx]
xor ecx, ecx
test eax, eax
je 0x5db272
nop
mov eax, dword [eax + 8]
add ecx, 1
test eax, eax
jne 0x5db240
cmp ecx, 0x20
jbe 0x5db272
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
push str.File_contains_too_many_audio_channels
call eax
mov eax, dword [esp + 0x1c]
mov dword [eax], 2
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
mov esi, 1
cmp word [edi + 0x418], si
jb 0x5db2d4
mov eax, dword [edx]
xor ecx, ecx
test eax, eax
je 0x5db291
mov eax, dword [eax + 8]
add ecx, esi
test eax, eax
jne 0x5db288
mov eax, dword [ebx]
push 0
mov byte [esp + 0x28], cl
lea ecx, [esp + 0x14]
push ecx
push esi
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 0x10], esi
je 0x5db2d4
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
push str.File_write_failed
call eax
mov eax, dword [esp + 0x1c]
mov dword [eax], 2
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
mov ecx, dword [edi + 0x414]
mov esi, dword [ecx]
test esi, esi
je 0x5db32c
mov ebp, dword [esp + 0x14]
cmp word [edi + 0x418], 1
jb 0x5db313
mov edx, dword [esi + 4]
push 0
lea eax, [esp + 0x18]
push eax
push 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], edx
mov edx, dword [ebx]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 0x14], 4
jne 0x5db33f
push ebp
push esi
push ebx
mov ecx, edi
call fcn.005dac70
test al, al
je 0x5db33f
test esi, esi
je 0x5db32c
mov esi, dword [esi + 8]
test esi, esi
jne 0x5db2e4
mov eax, dword [esp + 0x1c]
mov dword [eax], 0
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
push str.File_write_failed
call edx
mov eax, dword [esp + 0x1c]
pop esi
pop ebp
mov dword [eax], 2
pop ebx
add esp, 0xc
ret 0xc
Function at 0x5db370
Capabilities:
Clear file content
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov edx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
lea esi, [esp + 0x30]
call fcn.004ad160
mov eax, esi
push eax
push str.Saving_DCT_File:__s
mov esi, 0x104
lea edi, [esp + 0x240]
call fcn.004af0d0
mov edx, dword [ebx]
mov edx, dword [edx + 0x20]
add esp, 8
push 0
mov eax, edi
push eax
mov ecx, ebx
call edx
mov esi, dword [ebp + 0x10]
push 2
push 0
push 0xc0000000
push esi
mov eax, 0xbb8
call fcn.004abf70
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0xc], edi
jne 0x5db3fa
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
push str.File_could_not_be_opened
mov ecx, ebx
call edx
mov eax, dword [ebp + 8]
mov dword [eax], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
fldz
lea eax, [esp + 0x18]
fstp qword [esp + 0x20]
fld qword [0x723578]
push eax
lea ecx, [esp + 0x14]
fstp qword [esp + 0x2c]
push ecx
lea eax, [esp + 0x14]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], 0x6dbc50
call fcn.005dad80
mov esi, dword [eax]
test esi, esi
jne 0x5db4ea
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 0x410]
cmp byte [edx + 0xc], 0
jne 0x5db483
fld qword [0x723578]
lea ecx, [esp + 0xc]
push ecx
fst qword [esp + 0x24]
lea edx, [esp + 0x1c]
fstp qword [esp + 0x2c]
push edx
lea ecx, [esp + 0x18]
push ecx
mov edi, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], 0x6dbc50
call fcn.005db1f0
mov esi, dword [eax]
test esi, esi
mov edi, dword [esp + 0xc]
jne 0x5db4ea
lea edx, [esp + 0x10]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x5db499
mov dword [esp + 0x14], eax
jmp 0x5db4a5
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
xor ecx, ecx
push ecx
push ecx
mov dword [esp + 0x14], eax
push ecx
mov eax, 2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push 0
lea edx, [esp + 0x14]
push edx
push 4
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 0x10], 4
je 0x5db4ea
mov edx, dword [ebx]
mov eax, dword [edx + 0x1c]
push str.File_write_failed
mov ecx, ebx
call eax
mov esi, 2
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x5db503
mov ecx, dword [ebp + 0x10]
push ecx
mov eax, 0xbb8
call fcn.004abff0
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5db5b0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x618
push ebx
mov ebx, dword [esp + 0x620]
push ebp
push esi
push edi
lea esi, [ebx + 0x1c]
call fcn.004011d0
movzx eax, byte [esp + 0x634]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x10], edi
jbe 0x5db721
xor ebp, ebp
jmp 0x5db5f2
xor edi, edi
mov esi, dword [ebx + 0x224]
lea eax, [esp + 0x420]
push eax
push 0x104
add esi, ebp
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str..tmp
lea ecx, [esp + 0x424]
push ecx
call fcn.004ac1f0
mov ecx, dword [esp + 0x630]
lea eax, [esp + 0x18]
mov word [esp + 0x18], 1
mov word [esp + 0x1a], 2
mov dword [esp + 0x1c], 0xac44
mov word [esp + 0x26], 0x10
mov word [esp + 0x24], 4
mov dword [esp + 0x20], 0x2b110
mov word [esp + 0x28], di
mov word [esp + 0x418], di
mov word [esp + 0x41a], di
call fcn.005d5f10
mov edx, dword [ebx + 0x224]
lea eax, [esp + 0x14]
lea esi, [edx + ebp]
push eax
lea edi, [esp + 0x1c]
mov eax, esi
call fcn.005f40b0
mov edi, eax
mov eax, dword [edi]
add word [eax + 0x12], 1
mov eax, dword [esi + 0x208]
add word [eax + 0x12], 0xffff
mov ecx, dword [esi + 0x208]
cmp word [ecx + 0x12], 0
jne 0x5db6b7
test ecx, ecx
je 0x5db6b7
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [edi]
mov dword [esi + 0x208], ecx
mov eax, dword [esp + 0x14]
add word [eax + 0x12], 0xffff
mov ecx, dword [esp + 0x14]
cmp word [ecx + 0x12], 0
jne 0x5db6dc
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [ebx + 0x224]
mov edx, dword [ecx + ebp + 0x208]
test byte [edx + 0xd], 1
jne 0x5db71d
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x634]
add eax, 1
add ebp, 0x20c
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x5db5f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x618
ret 0xc
or byte [ebx + 0xd], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x618
ret 0xc
Function at 0x5dbcd0
Capabilities:
Contain obfuscated stackstrings
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
xor ecx, ecx
push ecx
push ecx
xor eax, eax
push ecx
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
movzx eax, word [edi + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [eax + 0x26]
push 0
add eax, 0x12
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x24], eax
push 0x14
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 4]
push eax
push ecx
mov dword [esp + 0x20], 0x46464952
mov dword [esp + 0x28], 0x45564157
mov dword [esp + 0x2c], 0x20746d66
call ebx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 4]
push 0
lea edx, [esp + 0xc]
push edx
push eax
push edi
push ecx
call ebx
mov eax, dword [esp + 0x1c]
add eax, 0x14
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5dbd50
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esi + 4]
push 0
push 0
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov eax, dword [esp + 0xc]
push 0
lea ecx, [esp + 0x10]
push ecx
push 8
lea edx, [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 4]
push edx
push eax
mov dword [esp + 0x18], 0x61746164
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, 8
ret 0xc
Function at 0x5dd6c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 0x14]
sub esp, 0x410
push ebx
mov ebx, dword [esp + 0x418]
push ebp
mov ebp, dword [esp + 0x424]
mov word [ebp], 0
push edi
mov byte [eax], 3
add ebx, 4
mov edi, str.image_count
mov eax, ebx
call fcn.0048b860
test eax, eax
je 0x5dd704
mov eax, dword [eax + 0xc]
test eax, eax
je 0x5dd704
mov eax, dword [eax]
test eax, eax
jne 0x5dd709
mov eax, 0x6bc0cc
push eax
call fcn.0069c8f5
mov ecx, dword [esp + 0x428]
add esp, 4
cmp ecx, eax
jb 0x5dd72b
pop edi
pop ebp
xor al, al
pop ebx
add esp, 0x410
ret 0x14
push esi
push ecx
push str.image_data_u
mov esi, 0x104
lea edi, [esp + 0x18]
call fcn.004af0d0
add esp, 8
push 0x6bc0cc
mov esi, ebp
mov eax, ebx
call fcn.00408370
cmp word [ebp], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
je 0x5dd76c
push ebp
call esi
cmp eax, 0xffffffff
jne 0x5dd76c
mov word [ebp], 0
push ebp
call esi
cmp eax, 0xffffffff
jne 0x5dd783
pop esi
pop edi
pop ebp
xor al, al
pop ebx
add esp, 0x410
ret 0x14
mov ebp, dword [esp + 0x428]
push ebp
push str.image_desc_u
mov esi, 0x104
lea edi, [esp + 0x18]
call fcn.004af0d0
mov esi, dword [esp + 0x438]
add esp, 8
push 0x6bc0cc
mov eax, ebx
call fcn.00408370
mov word [esi + 0x80], 0
push ebp
push str.image_type_u
mov esi, 0x104
call fcn.004af0d0
add esp, 8
push 0x6bc0cc
lea esi, [esp + 0x21c]
mov eax, ebx
call fcn.00408370
mov ecx, esi
push ecx
call fcn.0069c8f5
mov ecx, dword [esp + 0x438]
add esp, 4
cmp al, 0x14
mov byte [ecx], al
jbe 0x5dd7fe
mov byte [ecx], 0
pop esi
pop edi
pop ebp
mov al, 1
pop ebx
add esp, 0x410
ret 0x14

Function at 0x5dd890
Capabilities:
Persist via windows service
Set registry value

Disassembly:
mov eax, dword [esi]
sub esp, 0x214
cmp eax, 0xffffffff
je 0x5dd921
push 0
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 0
push 0
push 0x9c403c20
push eax
mov byte [esi + 0xe], 1
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push str.debutfilter
push str.SYSTEMCurrentControlSetServices_s
lea edx, [esp + 0x14]
call fcn.00401000
add esp, 8
lea edx, [esp + 4]
push edx
push 2
push 0
lea eax, [esp + 0x18]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5dd921
xor ecx, ecx
cmp byte [esi + 0xe], cl
push 4
lea edx, [esp + 4]
push edx
push 4
setne cl
push eax
mov eax, dword [esp + 0x14]
push str.KeepAlive
push eax
mov dword [esp + 0x18], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add esp, 0x214
ret
Function at 0x5dda70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x32c
cmp byte [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov eax, 0x7132f0
jne 0x5dda92
mov eax, 0x7132f4
push eax
mov eax, dword [ebp + 0xc]
push eax
push str.__s___s
mov esi, 0x104
lea edi, [esp + 0x13c]
call fcn.004af0d0
xor esi, esi
add esp, 0xc
mov dword [esp + 0x14], esi
call fcn.004af5a0
test al, al
jne 0x5ddade
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp byte [esp + 0x1c], 6
setae al
test al, al
jne 0x5ddb08
lea edx, [esp + 0x14]
push edx
push ebx
lea eax, [esp + 0x138]
call fcn.004c6e10
test al, al
lea eax, [esp + 0x10]
mov dword [esp + 0x10], esi
jne 0x5ddb04
mov dword [esp + 0x10], 2
mov eax, dword [eax]
jmp 0x5ddb23
lea eax, [esp + 0x130]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
lea edi, [esp + 0x1c]
call fcn.004c6b20
mov eax, dword [esp + 0x10]
cmp eax, 2
jne 0x5ddb69
cmp byte [ebp + 0x10], 0
push esi
je 0x5ddb4c
mov esi, 0x7132f8
mov eax, str.The_driver_was_not_installed_properly._You_can_try_running_the_installer_again._If_the_problem_persists_please_contact_NCH_Software_support.
call fcn.004f3850
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, str.Driver_removal_failed.
mov eax, str.The_driver_was_not_removed_properly._Close_all_programs_and_try_again._If_the_problem_persists_please_contact_NCH_Software_support.
call fcn.004f3850
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x5de770
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
push 0
lea eax, [esp + 0x18]
push eax
mov eax, dword [edi]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x14]
add dword [edi + 8], eax
mov edx, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov ebp, dword [edi + 8]
lea esi, [edi + 8]
adc dword [esi + 4], 0
mov ebx, dword [esi + 4]
add edx, 0x100000
adc ecx, 0
cmp ebx, ecx
jb 0x5de80c
ja 0x5de7b7
cmp ebp, edx
jb 0x5de80c
test esi, esi
mov dword [edi + 0x10], ebp
mov dword [edi + 0x14], ebx
je 0x5de80c
mov edi, dword [edi + 4]
test edi, edi
je 0x5de808
push 0xc
call fcn.0069c0de
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x5de808
mov dword [ebx], 8
mov ecx, dword [esi]
push ebx
push 0x1f4
mov dword [ebx + 4], ecx
mov edx, dword [esi + 4]
push 0x400
push edi
mov dword [ebx + 8], edx
call dword [sym.imp.USER32.dll_PostMessageW]
test eax, eax
jne 0x5de808
push ebx
call fcn.0069c8fa
add esp, 4
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x5e0020
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1044
call fcn.006ab750
push ebx
push esi
push edi
mov edi, edx
mov eax, dword [edi]
mov edx, dword [eax + 0x20]
push 0
mov esi, ecx
push str.Converting_to_.APE._Please_wait...
mov ecx, edi
call edx
push 1
push str.Quality_Preset_Index
mov eax, str.MACEncoder
call fcn.004811b0
test eax, eax
jl 0x5e0061
cmp eax, 5
jl 0x5e0063
xor eax, eax
mov ax, word [eax*4 + 0x6bf354]
lea ecx, [esp + 0x830]
mov word [esp + 0xc], ax
push ecx
mov eax, 0x6dfca0
call fcn.004a6a60
test al, al
jne 0x5e0098
mov eax, dword [ebp + 8]
mov dword [eax], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea edx, [esp + 0x830]
push edx
push 0x6ca7d0
lea edx, [esp + 0xa40]
call fcn.00401000
add esp, 8
lea ecx, [esp + 0x10]
push ecx
lea eax, [esi + 0x208]
mov ecx, esi
call fcn.005d59e0
cmp word [esp + 0x628], 0
lea ebx, [esp + 0x628]
jne 0x5e00df
lea ebx, [esp + 0x218]
cmp word [esp + 0x420], 0
lea esi, [esp + 0x420]
jne 0x5e00f5
lea esi, [esp + 0x10]
lea eax, [esp + 0xa38]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5e0100
sub eax, edx
push ebx
sar eax, 1
push esi
push str.___s____s_
lea edx, [esp + eax*2 + 0xa44]
call fcn.00401000
lea eax, [esp + 0xa44]
add esp, 0xc
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5e0130
sub eax, edx
movsx edx, word [esp + 0xc]
push edx
sar eax, 1
push str.__c_d
lea edx, [esp + eax*2 + 0xa40]
call fcn.00401000
add esp, 8
push 0x57e40
push edi
mov edi, dword [ebp + 8]
lea ecx, [esp + 0xa40]
call fcn.004bfa80
cmp word [esp + 0x420], 0
je 0x5e0187
lea eax, [esp + 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp word [esp + 0x628], 0
je 0x5e01aa
push 3
lea ecx, [esp + 0x21c]
push ecx
lea edx, [esp + 0x630]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x5e0b90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc4
push edi
lea eax, [esp + 0x30]
push eax
lea eax, [esi + 0x14]
call fcn.005e2330
lea ecx, [esp + 0xc]
push ecx
lea edi, [esp + 0x34]
call fcn.005e0d00
mov ecx, dword [esi + 0x270]
push 0
lea edx, [esp + 0xc]
push edx
push 0x21
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x5e2730
Capabilities:
Get common file path

Disassembly:
mov ecx, dword [esp + 0x10]
sub esp, 0x210
push ebx
mov ebx, dword [esp + 0x228]
push ebp
mov ebp, dword [esp + 0x21c]
xor eax, eax
test bl, bl
push esi
push edi
mov dword [ebp], 0x6dc414
mov dword [ebp + 0xe], 0xffffffff
mov dword [ebp + 4], eax
mov dword [ebp + 8], ecx
mov byte [ebp + 0xc], bl
mov byte [ebp + 0xd], al
jne 0x5e2774
mov byte [ebp + 0xd], 1
mov byte [ebp + 0xc], 1
lea edi, [ebp + 0x14]
mov word [ebp + 0x12], ax
mov dword [ebp], 0x7147f8
call fcn.004082b0
mov edx, dword [esp + 0x22c]
lea eax, [esp + 0x18]
push eax
push 0x104
mov dword [ebp + 0x18], edx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x6c699c
lea ecx, [esp + 0x1c]
lea esi, [ebp + 0x20]
push ecx
call fcn.004ac1f0
mov edx, dword [ebp + 0x18]
movzx ax, byte [edx + 9]
push ebx
push esi
mov esi, dword [esp + 0x238]
lea ecx, [esp + 0x1c]
push ecx
call fcn.005f3fd0
mov esi, eax
mov eax, dword [esi]
add word [eax + 0x12], 1
mov eax, dword [edi]
mov ebx, 0xffff
add word [eax + 0x12], bx
mov ecx, dword [edi]
cmp word [ecx + 0x12], 0
jne 0x5e27f7
test ecx, ecx
je 0x5e27f7
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [esi]
mov eax, dword [esp + 0x14]
mov dword [edi], ecx
add word [eax + 0x12], bx
mov ecx, dword [esp + 0x14]
cmp word [ecx + 0x12], 0
jne 0x5e2816
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [esp + 0x228]
xor eax, eax
pop edi
mov dword [ebp + 0x228], eax
mov dword [ebp + 0x22c], eax
pop esi
mov dword [ebp + 0x1c], ecx
mov eax, ebp
pop ebp
pop ebx
add esp, 0x210
ret 0x14

Function at 0x5e2860
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x420
push ebx
push ebp
mov ebx, ecx
push esi
lea ebp, [ebx + 0x14]
push edi
mov esi, ebp
mov dword [ebx], 0x7147f8
call fcn.005ebb80
mov eax, dword [ebx + 0x22c]
mov edx, dword [ebx + 0x18]
mov edi, dword [ebx + 0x1c]
push eax
lea ecx, [ebx + 0x20]
push edx
lea eax, [esp + 0x20]
call fcn.005dfe50
mov eax, dword [ebx + 0x228]
test eax, eax
jne 0x5e28c4
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x20], 0x6dbbf0
call fcn.005e3150
jmp 0x5e28d3
lea ecx, [esp + 0x18]
push ecx
push eax
lea esi, [esp + 0x18]
call fcn.005f8ba0
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp]
add word [eax + 0x12], 0xffff
mov ebp, dword [ebp]
cmp word [ebp + 0x12], 0
jne 0x5e28ff
test ebp, ebp
je 0x5e28ff
mov edx, dword [ebp]
mov eax, dword [edx]
push 1
mov ecx, ebp
call eax
pop edi
mov dword [ebx], 0x6dc414
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5e3ab0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x314
push ebx
mov ebx, dword [ebp + 8]
push esi
xor eax, eax
push edi
lea edi, [ebx + 0x14]
mov dword [ebx + 0xe], 0xffffffff
mov dword [ebx + 4], eax
mov dword [ebx + 8], 0xac44
mov byte [ebx + 0xc], 2
mov byte [ebx + 0xd], al
mov word [ebx + 0x12], ax
mov dword [ebx], 0x714804
call fcn.004082b0
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 0x10]
push ecx
push 0x104
mov dword [ebx + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x6c699c
lea edx, [esp + 0x14]
lea esi, [ebx + 0x20]
push edx
call fcn.004ac1f0
mov ecx, dword [ebp + 0xc]
lea esi, [ebx + 0x430]
push esi
push 0
push 0x104
lea eax, [esp + 0x224]
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp dword [esi], 1
jne 0x5e3b6e
lea edx, [esp + 0x10]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str..ape
lea eax, [esp + 0x14]
lea esi, [ebx + 0x228]
push eax
call fcn.004ac1f0
jmp 0x5e3b77
mov word [ebx + 0x228], 0
push 0x24
call fcn.0069e704
add esp, 4
test eax, eax
jne 0x5e3beb
call fcn.004b05b0
xor esi, esi
mov edx, 1
add word [esi + 0x12], dx
add word [esi + 0x12], dx
mov eax, dword [edi]
add word [eax + 0x12], 0xffff
mov ecx, dword [edi]
cmp word [ecx + 0x12], 0
jne 0x5e3bb5
test ecx, ecx
je 0x5e3bb5
mov eax, dword [ecx]
push edx
mov edx, dword [eax]
call edx
mov dword [edi], esi
add word [esi + 0x12], 0xffff
movzx eax, word [esi + 0x12]
test ax, ax
jne 0x5e3bd0
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov eax, dword [ebp + 0xc]
pop edi
mov dword [ebx + 0x1c], eax
pop esi
mov dword [ebx + 0x434], 0
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0xac44
push eax
mov al, 2
lea ecx, [ebx + 0x20]
call fcn.005f9340
mov esi, eax
jmp 0x5e3b8c
Function at 0x5e3c20
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x418
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x14]
mov dword [edi], 0x714804
call fcn.005ebb80
cmp dword [edi + 0x430], 0
jne 0x5e3c63
mov ecx, dword [edi + 0x1c]
lea edx, [edi + 0x228]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x5e3c52
lea eax, [esp + 0x18]
lea ebp, [edi + 0x228]
lea ebx, [edi + 0x20]
push eax
mov ecx, ebp
mov edx, ebx
call fcn.005d7060
mov eax, dword [edi + 0x434]
test eax, eax
jne 0x5e3ca0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0x6dbbf0
call fcn.005e0020
jmp 0x5e3caf
lea edx, [esp + 0x18]
push edx
push eax
lea esi, [esp + 0x18]
call fcn.005f8c20
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [edi + 0x430], 1
jne 0x5e3ccc
mov eax, dword [edi + 0x1c]
push 3
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [edi + 0x14]
add word [eax + 0x12], 0xffff
mov ecx, dword [edi + 0x14]
cmp word [ecx + 0x12], 0
jne 0x5e3ceb
test ecx, ecx
je 0x5e3ceb
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [edi], 0x6dc414
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret