Function at 0x46b130
Capabilities:
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x4e648e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x450
mov edx, dword [0x52506c]
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x468], ebx
mov dword [esp + 0x18], edx
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x41]
mov byte [esp + 0x40], bl
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x359]
mov byte [esp + 0x358], al
mov byte [esp + 0x148], al
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x149]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x251]
mov byte [esp + 0x250], al
mov dword [esp + 0x20], edx
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], edx
mov eax, dword [0x5ca564]
mov edi, dword [esp + 0x474]
mov ebp, dword [esp + 0x470]
cmp eax, ebx
mov byte [esp + 0x468], 3
je 0x46b281
push 0x1b0
push str.C:NeoAudio_1.5.7EncodersEncoderDos.cpp
push str.___11s__4d:
call fcn.004244f0
add esp, 0xc
push str.Entering_CEncoderDos::DosEncode
call fcn.004244f0
mov eax, dword [0x5ca564]
add esp, 4
cmp eax, ebx
je 0x46b281
push 0x1b1
push str.C:NeoAudio_1.5.7EncodersEncoderDos.cpp
push str.___11s__4d:
call fcn.004244f0
mov ecx, dword [edi]
mov edx, dword [ebp]
add esp, 0xc
push ecx
push edx
push str.Input_File_Name_is___s._s_
call fcn.004244f0
mov eax, dword [0x5ca564]
add esp, 0xc
cmp eax, ebx
je 0x46b281
push 0x1b2
push str.C:NeoAudio_1.5.7EncodersEncoderDos.cpp
push str.___11s__4d:
call fcn.004244f0
mov ecx, dword [esp + 0x484]
mov eax, dword [esi + 0x6c]
add esp, 0xc
mov edx, dword [ecx]
push eax
push edx
push str.Output_File_Name_is___s._s_
call fcn.004244f0
add esp, 0xc
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.0046bf40
mov eax, dword [eax]
push 0x105
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.00491110
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.004b2656
cmp dword [0x5ca564], ebx
je 0x46b2dc
push 0x1b6
push str.C:NeoAudio_1.5.7EncodersEncoderDos.cpp
push str.___11s__4d:
call fcn.004244f0
add esp, 0xc
lea edx, [esp + 0x40]
push edx
push str.Executing:__s
call fcn.004244f0
add esp, 8
push 0x28
call fcn.004b2d27
mov ebx, eax
add esp, 4
mov dword [esp + 0x14], ebx
test ebx, ebx
mov byte [esp + 0x468], 4
je 0x46b369
lea eax, [esp + 0x40]
lea ecx, [esp + 0x10]
push eax
call fcn.004b26c4
mov dword [esp + 0x2c], 1
mov ecx, dword [0x5349e8]
mov byte [esp + 0x468], 5
lea eax, [ecx + 0xf]
cmp eax, 0x1e
ja case.0x46b32c.14
xor edx, edx
mov dl, byte [eax + 0x46ba58]
jmp dword [edx*4 + 0x46ba44]
mov eax, 0x40
jmp 0x46b34d
mov eax, 0x80
jmp 0x46b34d
mov eax, 0x100
jmp 0x46b34d
mov eax, 0x20
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x10]
push ecx
push 0
push 0
push 0
push eax
push edx
push 1
mov ecx, ebx
call fcn.00420470
jmp 0x46b36b
xor eax, eax
mov dword [esi + 0xa8], eax
mov al, byte [esp + 0x2c]
test al, 1
mov dword [esp + 0x468], 3
je 0x46b38d
lea ecx, [esp + 0x10]
call fcn.004b2656
mov eax, dword [esi + 0xa8]
test eax, eax
je 0x46b9dd
push 0x51a32c
lea eax, [esp + 0x3c]
push ebp
push eax
call fcn.004b28eb
push edi
lea ecx, [esp + 0x38]
push eax
push ecx
mov byte [esp + 0x474], 7
call fcn.004b2885
lea ecx, [esp + 0x38]
mov byte [esp + 0x468], 9
call fcn.004b2656
mov edx, dword [esp + 0x34]
push 0x104
lea eax, [esp + 0x254]
push edx
push eax
call fcn.00491110
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
add esp, 0xc
lea ecx, [esp + 0x358]
lea edx, [esp + 0x250]
push 0x104
push ecx
push edx
call edi
mov eax, dword [esp + 0x47c]
lea ecx, [esp + 0x148]
push 0x104
push ecx
mov eax, dword [eax]
push eax
call edi
lea edx, [esp + 0x148]
lea ecx, [esp + 0x3c]
push edx
call fcn.004b26c4
push str.temp.
push eax
lea eax, [esp + 0x34]
mov byte [esp + 0x470], 0xa
push eax
call fcn.004b28eb
lea ebp, [esi + 0x6c]
lea ecx, [esp + 0x1c]
push ebp
push eax
push ecx
mov byte [esp + 0x474], 0xb
call fcn.004b2885
lea ecx, [esp + 0x2c]
mov byte [esp + 0x468], 0xe
call fcn.004b2656
mov bl, 0xd
lea ecx, [esp + 0x3c]
mov byte [esp + 0x468], bl
call fcn.004b2656
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esi + 0x88]
mov edi, dword [ecx + 0x14]
and edi, 0xffff
push edi
call fcn.00454c70
push eax
lea eax, [esp + 0x24]
push str._02d
push eax
call fcn.004acb0b
add esp, 0xc
mov ecx, dword [esi + 0x88]
lea edx, [edi + edi*8]
mov eax, dword [ecx + 8]
mov eax, dword [eax + edx*8 + 0x38]
push eax
lea eax, [esp + 0x28]
push str._02d
push eax
call fcn.004acb0b
add esp, 0xc
lea ecx, [esp + 0x10]
push 0x51bad8
call fcn.004b26c4
lea ecx, [esp + 0x358]
mov byte [esp + 0x468], 0xf
push ecx
lea ecx, [esp + 0x18]
call fcn.004b26c4
mov ecx, dword [esi + 0xa8]
lea edx, [esp + 0x10]
push eax
push edx
mov byte [esp + 0x470], 0x10
call fcn.00420790
lea ecx, [esp + 0x14]
mov byte [esp + 0x468], 0xf
call fcn.004b2656
lea ecx, [esp + 0x10]
mov byte [esp + 0x468], bl
call fcn.004b2656
push 0x520378
lea ecx, [esp + 0x14]
call fcn.004b26c4
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, dword [esi + 0xa8]
mov byte [esp + 0x470], 0x11
call fcn.00420790
lea ecx, [esp + 0x10]
mov byte [esp + 0x468], bl
call fcn.004b2656
mov eax, dword [esi + 0x30]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
lea eax, [esp + 0x18]
shl edx, 3
push edx
push 0x516c50
push eax
call fcn.004acb0b
add esp, 0xc
lea ecx, [esp + 0x10]
push 0x520374
call fcn.004b26c4
lea ecx, [esp + 0x18]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0xa8]
push edx
mov byte [esp + 0x470], 0x12
call fcn.00420790
lea ecx, [esp + 0x10]
mov byte [esp + 0x468], bl
call fcn.004b2656
mov eax, dword [esi + 0x30]
lea ecx, [esp + 0x18]
push eax
push 0x516c50
push ecx
call fcn.004acb0b
add esp, 0xc
lea ecx, [esp + 0x10]
push 0x520370
call fcn.004b26c4
mov ecx, dword [esi + 0xa8]
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push eax
mov byte [esp + 0x470], 0x13
call fcn.00420790
lea ecx, [esp + 0x10]
mov byte [esp + 0x468], bl
call fcn.004b2656
push 0x52036c
lea ecx, [esp + 0x14]
call fcn.004b26c4
lea ecx, [esp + 0x20]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0xa8]
push edx
mov byte [esp + 0x470], 0x14
call fcn.00420790
lea ecx, [esp + 0x10]
mov byte [esp + 0x468], bl
call fcn.004b2656
push 0x520368
lea ecx, [esp + 0x14]
call fcn.004b26c4
lea eax, [esp + 0x24]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, dword [esi + 0xa8]
mov byte [esp + 0x470], 0x15
call fcn.00420790
lea ecx, [esp + 0x10]
mov byte [esp + 0x468], bl
call fcn.004b2656
push 0x520364
lea ecx, [esp + 0x14]
call fcn.004b26c4
mov ecx, dword [esi + 0x88]
lea edx, [esp + 0x14]
push edi
push edx
mov byte [esp + 0x470], 0x16
call fcn.00454ad0
mov ecx, dword [esi + 0xa8]
push eax
lea eax, [esp + 0x14]
mov byte [esp + 0x46c], 0x17
push eax
call fcn.00420790
lea ecx, [esp + 0x14]
mov byte [esp + 0x468], 0x16
call fcn.004b2656
lea ecx, [esp + 0x10]
mov byte [esp + 0x468], bl
call fcn.004b2656
push 0x520360
lea ecx, [esp + 0x14]
call fcn.004b26c4
lea ecx, [esp + 0x14]
push edi
push ecx
mov ecx, dword [esi + 0x88]
mov byte [esp + 0x470], 0x18
call fcn.00454b30
mov ecx, dword [esi + 0xa8]
lea edx, [esp + 0x10]
push eax
push edx
mov byte [esp + 0x470], 0x19
call fcn.00420790
mov byte [esp + 0x468], 0x18
lea ecx, [esp + 0x14]
call fcn.004b2656
lea ecx, [esp + 0x10]
mov byte [esp + 0x468], bl
call fcn.004b2656
push 0x52035c
lea ecx, [esp + 0x14]
call fcn.004b26c4
mov ecx, dword [esi + 0x88]
lea eax, [esp + 0x14]
push edi
push eax
mov byte [esp + 0x470], 0x1a
call fcn.00454aa0
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, dword [esi + 0xa8]
mov byte [esp + 0x470], 0x1b
call fcn.00420790
lea ecx, [esp + 0x14]
mov byte [esp + 0x468], 0x1a
call fcn.004b2656
lea ecx, [esp + 0x10]
mov byte [esp + 0x468], bl
call fcn.004b2656
push 0x520358
lea ecx, [esp + 0x14]
call fcn.004b26c4
mov ecx, dword [esi + 0x88]
lea edx, [esp + 0x14]
push edi
push edx
mov byte [esp + 0x470], 0x1c
call fcn.00454bc0
mov ecx, dword [esi + 0xa8]
push eax
lea eax, [esp + 0x14]
mov byte [esp + 0x46c], 0x1d
push eax
call fcn.00420790
lea ecx, [esp + 0x14]
mov byte [esp + 0x468], 0x1c
call fcn.004b2656
lea ecx, [esp + 0x10]
mov byte [esp + 0x468], bl
call fcn.004b2656
mov ecx, dword [esi + 0xa8]
mov edx, dword [ecx]
call dword [edx + 0x10]
test eax, eax
jne 0x46b875
lea eax, [esp + 0x14]
push 0xc3c
push eax
mov ecx, 0x5bd568
call fcn.00442120
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x46c], 0x1e
call fcn.004b278f
lea ecx, [esp + 0x14]
mov byte [esp + 0x468], bl
call fcn.004b2656
mov ecx, dword [esp + 0x28]
push 0
push 0
push ecx
call fcn.004c0fde
jmp 0x46b9bb
mov ecx, dword [esi + 0xa8]
push 0x3e8
mov edx, dword [ecx]
call dword [edx + 0xc]
test eax, eax
jne 0x46b89d
mov ecx, dword [esi + 0xa8]
push 0x3e8
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
je 0x46b889
mov ecx, dword [esi + 0xa8]
test ecx, ecx
je 0x46b8ae
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [esp + 0x478]
push 0x51a32c
lea ecx, [esp + 0x18]
push eax
push ecx
mov dword [esi + 0xa8], 0
call fcn.004b28eb
push ebp
lea edx, [esp + 0x34]
push eax
push edx
mov byte [esp + 0x474], 0x1f
call fcn.004b2885
lea ecx, [esp + 0x14]
mov byte [esp + 0x468], 0x21
call fcn.004b2656
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [0x5ca564]
test eax, eax
je 0x46b936
push 0x201
push str.C:NeoAudio_1.5.7EncodersEncoderDos.cpp
push str.___11s__4d:
call fcn.004244f0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
add esp, 0xc
push ecx
push edx
push str.Renaming_file_from___s__to___s_
call fcn.004244f0
add esp, 0xc
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x46b97e
lea edx, [esp + 0x10]
push edx
call fcn.0045b980
add esp, 4
mov eax, dword [esp + 0x10]
push 0
push 0x40
push eax
mov byte [esp + 0x474], 0x22
call fcn.004c0fde
lea ecx, [esp + 0x10]
mov byte [esp + 0x468], 0x21
call fcn.004b2656
mov eax, dword [0x5ca564]
test eax, eax
je 0x46b9ab
push 0x20c
push str.C:NeoAudio_1.5.7EncodersEncoderDos.cpp
push str.___11s__4d:
call fcn.004244f0
add esp, 0xc
push str.Leaving_CEncoderDos::DosEncode
call fcn.004244f0
add esp, 4
lea ecx, [esp + 0x30]
mov byte [esp + 0x468], bl
call fcn.004b2656
lea ecx, [esp + 0x1c]
mov byte [esp + 0x468], 9
call fcn.004b2656
lea ecx, [esp + 0x34]
mov byte [esp + 0x468], 3
call fcn.004b2656
lea ecx, [esp + 0x24]
mov byte [esp + 0x468], 2
call fcn.004b2656
lea ecx, [esp + 0x20]
mov byte [esp + 0x468], 1
call fcn.004b2656
lea ecx, [esp + 0x18]
mov byte [esp + 0x468], 0
call fcn.004b2656
lea ecx, [esp + 0x28]
mov dword [esp + 0x468], 0xffffffff
call fcn.004b2656
mov ecx, dword [esp + 0x460]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x45c
ret 0x18