Function at 0x10005510
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov esi, 0x100175b0
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x1000552f
mov eax, esi
push eax
push dword [ebp + 8]
push str.move_file__s_____s
call fcn.10004a04
add esp, 0xc
mov byte [ebp + 0xf], bl
call fcn.100050b3
test al, al
je 0x10005595
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x10005555
mov eax, esi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
dec eax
neg eax
sbb al, al
inc al
mov byte [ebp + 0xf], al
jne 0x1000597b
mov edi, dword [edi + 4]
cmp edi, ebx
je 0x10005578
mov esi, edi
push ebx
call fcn.10007073
push eax
push esi
push dword [ebp + 8]
push str.move_file__s_____s_failed:__s
call fcn.10004a46
add esp, 0x14
jmp 0x10005978
mov al, byte [edi]
sub esp, 0x10
mov esi, esp
push ebx
mov ecx, esi
mov byte [esi], al
call fcn.100045bf
push dword [0x100175b4]
mov ecx, esi
push ebx
push edi
call fcn.1000443c
call fcn.10004c18
add esp, 0x10
cmp al, bl
je 0x10005978
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
mov byte [ebp - 0x40], al
call fcn.10005c23
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x60]
mov byte [ebp - 0x60], al
call fcn.100045bf
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x50]
mov byte [ebp - 0x50], al
call fcn.100045bf
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x80]
mov byte [ebp - 0x80], al
call fcn.10005c23
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x70]
mov byte [ebp - 0x70], al
call fcn.10005c23
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x10005622
mov eax, 0x100175b0
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.100052ae
add esp, 0xc
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x1c], ebx
push ebx
push ebx
push 0xa
call fcn.1000468f
push dword [ebp + 8]
call fcn.1000c260
push eax
lea eax, [ebp - 0x24]
push dword [ebp + 8]
push eax
call fcn.10005e58
mov esi, dword [ebp - 0x1c]
push esi
call fcn.1000c2db
add esp, 0x14
lea ecx, [ebp - 0x40]
push eax
push esi
call fcn.10005b0c
mov eax, dword [ebp - 0x5c]
cmp eax, ebx
jne 0x10005679
mov eax, 0x100175b0
push dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10005e58
mov esi, dword [ebp - 0x1c]
push esi
call fcn.1000c2db
add esp, 0x10
lea ecx, [ebp - 0x80]
push eax
push esi
call fcn.10005b0c
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
jne 0x100056a8
mov eax, 0x100175b0
push dword [ebp - 0x48]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10005e58
mov esi, dword [ebp - 0x1c]
push esi
call fcn.1000c2db
add esp, 0x10
lea ecx, [ebp - 0x70]
push eax
push esi
call fcn.10005b0c
push 1
pop esi
push esi
push ebx
push str.ieframe.dll
call fcn.1000349a
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0xc], eax
jne 0x1000574b
mov edi, dword [edi + 4]
cmp edi, ebx
jne 0x100056f0
mov edi, 0x100175b0
push ebx
call fcn.10007073
push eax
push edi
push dword [ebp + 8]
push str.move_file__s_____s_LoadLibrary_ieframe.dll__failed:__s
call fcn.10004a46
add esp, 0x14
cmp dword [ebp - 0x1c], ebx
je 0x10005716
push dword [ebp - 0x1c]
call fcn.1000b6e9
pop ecx
push esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x1c], ebx
call fcn.10005c23
push esi
lea ecx, [ebp - 0x80]
call fcn.10005c23
push esi
lea ecx, [ebp - 0x50]
call fcn.100045bf
push esi
lea ecx, [ebp - 0x60]
call fcn.100045bf
push esi
lea ecx, [ebp - 0x40]
call fcn.10005c23
jmp 0x1000596c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IEShowSaveFileDialog
push eax
call esi
push str.IECancelSaveFile
mov dword [ebp - 0x14], eax
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x14], ebx
jne 0x10005789
mov edi, dword [edi + 4]
cmp edi, ebx
jne 0x10005777
mov edi, 0x100175b0
push ebx
call fcn.10007073
push eax
push edi
push dword [ebp + 8]
push str.move_file__s_____s_GetProcAddress_IEShowSaveFileDialog__failed:__s
jmp 0x100057b6
push str.IESaveFile
push dword [ebp - 0xc]
call esi
cmp eax, ebx
mov dword [ebp - 0x18], eax
jne 0x100057c3
mov edi, dword [edi + 4]
cmp edi, ebx
jne 0x100057a6
mov edi, 0x100175b0
push ebx
call fcn.10007073
push eax
push edi
push dword [ebp + 8]
push str.move_file__s_____s_GetProcAddress_IESaveFile__failed:__s
call fcn.10004a46
add esp, 0x14
jmp 0x10005922
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x100057eb
mov esi, dword [sym.imp.USER32.dll_GetParent]
push dword [ebp - 4]
call esi
test eax, eax
je 0x100057eb
push dword [ebp - 4]
call esi
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x100057d6
mov ecx, dword [ebp - 0x7c]
mov esi, 0x100175e8
cmp ecx, ebx
jne 0x100057f9
mov ecx, esi
mov eax, dword [ebp - 0x6c]
cmp eax, ebx
jne 0x10005802
mov eax, esi
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 8]
push edx
push 0x800002
push 1
push 0x1001bfa4
push str.Executable_Files__.exe_
push ecx
push eax
push dword [ebp - 4]
call dword [ebp - 0x14]
cmp eax, ebx
je 0x1000583f
mov edi, dword [edi + 4]
cmp edi, ebx
jne 0x10005833
mov edi, 0x100175b0
push eax
push edi
push dword [ebp + 8]
push str.move_file__s_____s_IEShowSaveFileDialog_returns:_0x_08x
jmp 0x10005868
cmp dword [ebp - 0x3c], ebx
je 0x10005847
mov esi, dword [ebp - 0x3c]
push esi
push dword [ebp - 0x10]
call dword [ebp - 0x18]
cmp eax, ebx
je 0x10005875
mov edi, dword [edi + 4]
cmp edi, ebx
jne 0x1000585e
mov edi, 0x100175b0
push eax
push edi
push dword [ebp + 8]
push str.move_file__s_____s_IESaveFile_returns:__08x
call fcn.10004a46
add esp, 0x10
jmp 0x10005922
push dword [0x100175ec]
lea ecx, [ebp - 0x40]
push ebx
call fcn.10005a07
mov esi, dword [ebp - 8]
push esi
call fcn.1000c2db
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.10005b0c
push ebx
push ebx
push 0x400
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x28], ebx
call fcn.100045fb
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
jne 0x100058b6
mov eax, 0x100175e8
push dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10005e14
add esp, 0xc
mov ecx, edi
push dword [0x100175b4]
push ebx
call fcn.10004245
mov esi, dword [ebp - 0x28]
push esi
call fcn.1000c260
pop ecx
push eax
push esi
mov ecx, edi
call fcn.100043e5
mov edi, dword [edi + 4]
cmp edi, ebx
jne 0x100058f3
mov edi, 0x100175b0
push edi
push dword [ebp + 8]
push str.moved_file__s_____s
call fcn.10004a04
add esp, 0xc
push dword [ebp - 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 0x28], ebx
mov byte [ebp + 0xf], 1
je 0x1000591f
push dword [ebp - 0x28]
call fcn.1000b6e9
pop ecx
mov dword [ebp - 0x28], ebx
cmp dword [ebp - 0x1c], ebx
je 0x10005930
push dword [ebp - 0x1c]
call fcn.1000b6e9
pop ecx
push 1
lea ecx, [ebp - 0x70]
pop esi
mov dword [ebp - 0x1c], ebx
push esi
call fcn.10005c23
push esi
lea ecx, [ebp - 0x80]
call fcn.10005c23
push esi
lea ecx, [ebp - 0x50]
call fcn.100045bf
push esi
lea ecx, [ebp - 0x60]
call fcn.100045bf
push esi
lea ecx, [ebp - 0x40]
call fcn.10005c23
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp + 8]
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov al, byte [ebp + 0xf]
pop edi
pop esi
pop ebx
leave
ret