Function at 0x405190
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4594d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
push ecx
lea eax, [ebp + 0x10]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
mov byte [ebp - 4], 3
call fcn.0044ae62
push ecx
lea edx, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x20], esp
push edx
mov byte [ebp - 4], 4
call fcn.0044ae62
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
mov byte [ebp - 4], 3
call fcn.00403b90
push 0
push 0x47244c
push 0
push 0
push 4
lea ecx, [ebp - 0x2c]
push 0x12a
push ecx
mov byte [ebp - 4], 5
call fcn.00458c25
add esp, 0x1c
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x2c]
push 0
push edx
push 9
push 2
push 0x1ee
push eax
call fcn.00458c25
mov ecx, dword [ebp - 0x1c]
add esp, 0x18
push 1
push ecx
lea ecx, [ebp - 0x44]
call fcn.0045859d
mov edx, dword [0x473e34]
mov dword [ebp - 0x18], edx
push 0
push 1
lea eax, [ebp - 0x18]
push 0x472444
push eax
mov byte [ebp - 4], 7
call fcn.0044949e
mov ecx, dword [ebp - 0x18]
add esp, 0x10
push ecx
call fcn.00427be5
mov edi, dword [sym.imp.oleaut32.dll_VariantClear]
add esp, 4
mov ebx, eax
mov esi, 1
lea edx, [ebp - 0x20]
push 0
push edx
push 3
push 2
lea eax, [ebp - 0x44]
push 0x76
push eax
call fcn.00458c25
mov eax, dword [ebp - 0x20]
add esp, 0x18
cmp esi, eax
push 3
jmp 0x405343
push 1
lea ecx, [ebp - 0x84]
call fcn.0042705c
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x64], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x5c], edx
push ecx
lea edx, [ebp - 0x24]
push 0x4723e0
push edx
mov dword [ebp - 0x58], eax
push 9
push 2
lea eax, [ebp - 0x44]
push 0xaa
push eax
mov byte [ebp - 4], 0xb
call fcn.00458c25
mov ecx, dword [ebp - 0x24]
add esp, 0x1c
push 1
push ecx
lea ecx, [ebp - 0x4c]
call fcn.0045859d
lea edx, [ebp - 0x84]
mov byte [ebp - 4], 0xd
push edx
call edi
xor esi, esi
lea eax, [ebp - 0x4c]
push esi
push esi
push esi
push 1
push 0x130
push eax
call fcn.00458c25
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
add esp, 0x18
push ecx
push edx
call fcn.00427aab
add esp, 8
test eax, eax
je 0x4054b4
push 0x4768ec
lea ecx, [ebp - 0x64]
mov word [ebp - 0x64], si
call fcn.0042709e
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x74]
push eax
mov byte [ebp - 4], 0xe
mov word [ebp - 0x74], si
call fcn.0042710c
mov ebx, dword [ebp - 0x14]
lea ecx, [ebp - 0x64]
lea edx, [ebp - 0x74]
lea eax, [ebp - 0x2c]
lea esi, [ebx + 0x38]
mov byte [ebp - 4], 0xf
push esi
push esi
push esi
push esi
push 1
push esi
push esi
push esi
push ecx
push esi
push edx
push 0x472438
push 0
push 0
push 1
push 0x11c
push eax
call fcn.00458c25
add esp, 0x44
lea ecx, [ebp - 0x74]
push ecx
call edi
lea edx, [ebp - 0x64]
mov byte [ebp - 4], 0xd
push edx
call edi
mov eax, esi
add ebx, 0x18
mov ecx, dword [eax]
mov dword [ebp - 0x64], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x60], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [esi + 4]
mov edx, dword [eax + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x58], edx
mov edx, dword [esi + 8]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebx]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x34], edx
mov edx, dword [ebx + 4]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x74], ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x6c], eax
lea edx, [ebp - 0x64]
mov ecx, dword [ebx + 0xc]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x68], ecx
push edx
lea ecx, [ebp - 0x74]
push eax
push ecx
push 0x47242c
push 0
push 0
push 1
push 0x115
lea edx, [ebp - 0x2c]
push edx
jmp 0x405700
mov ebx, dword [ebp - 0x14]
cmp dword [ebx + 0x14], 1
jne 0x40562c
push 0x4768ec
lea ecx, [ebp - 0x64]
mov word [ebp - 0x64], si
call fcn.0042709e
push 0x472430
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x10
call fcn.0044b15b
push eax
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x24]
mov bl, 0x11
push eax
push ecx
mov byte [ebp - 4], bl
call fcn.0044b31c
push eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x12
mov word [ebp - 0x74], 0
call fcn.0042710c
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x64]
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x13
lea esi, [edx + 0x38]
lea edx, [ebp - 0x2c]
push esi
push esi
push esi
push esi
push 1
push esi
push esi
push esi
push eax
push esi
push ecx
push 0x472438
push 0
push 0
push 1
push 0x11c
push edx
call fcn.00458c25
add esp, 0x44
lea eax, [ebp - 0x74]
push eax
call edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.0044b0ed
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x10
call fcn.0044b0ed
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xd
push ecx
call edi
mov edx, esi
mov eax, dword [edx]
mov dword [ebp - 0x74], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x70], ecx
mov eax, dword [edx + 8]
mov dword [ebp - 0x6c], eax
mov eax, dword [esi + 4]
mov ecx, dword [edx + 0xc]
mov edx, dword [esi]
mov dword [ebp - 0x68], ecx
mov ecx, dword [esi + 8]
mov dword [ebp - 0x64], edx
mov edx, dword [esi + 0xc]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], edx
add eax, 0x18
mov ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x38], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x64]
mov edx, dword [eax + 0xc]
lea eax, [ebp - 0x74]
mov dword [ebp - 0x30], edx
push eax
lea edx, [ebp - 0x3c]
push ecx
push edx
push 0x47242c
push 0
push 0
push 1
lea eax, [ebp - 0x2c]
push 0x115
push eax
call fcn.00458c25
mov ecx, dword [ebp + 0xc]
add esp, 0x24
push ecx
call dword [sym.imp.kernel32.dll_DeleteFileA]
push 0x472430
lea ecx, [ebp - 0x20]
call fcn.0044b15b
push eax
lea edx, [ebp + 0xc]
lea eax, [ebp - 0x24]
push edx
push eax
mov byte [ebp - 4], 0x14
call fcn.0044b31c
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.kernel32.dll_MoveFileA]
lea ecx, [ebp - 0x24]
call fcn.0044b0ed
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xd
call fcn.0044b0ed
jmp 0x405708
push 0x4768ec
lea ecx, [ebp - 0x64]
mov word [ebp - 0x64], si
call fcn.0042709e
lea edx, [ebp + 0xc]
lea ecx, [ebp - 0x74]
push edx
mov byte [ebp - 4], 0x15
mov word [ebp - 0x74], si
call fcn.0042710c
lea esi, [ebx + 0x38]
lea eax, [ebp - 0x64]
push esi
push esi
push esi
push esi
push 1
push esi
push esi
push esi
push eax
lea ecx, [ebp - 0x74]
push esi
push ecx
push 0x472438
push 0
push 0
push 1
lea edx, [ebp - 0x2c]
push 0x11c
push edx
mov byte [ebp - 4], 0x16
call fcn.00458c25
add esp, 0x44
lea eax, [ebp - 0x74]
push eax
call edi
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xd
push ecx
call edi
mov edx, esi
add ebx, 0x18
mov eax, dword [edx]
mov dword [ebp - 0x74], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x70], ecx
mov eax, dword [edx + 8]
mov dword [ebp - 0x6c], eax
mov eax, dword [esi + 4]
mov ecx, dword [edx + 0xc]
mov edx, dword [esi]
mov dword [ebp - 0x68], ecx
mov ecx, dword [esi + 8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebx]
mov dword [ebp - 0x64], edx
mov edx, dword [esi + 0xc]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x3c], eax
mov edx, dword [ebx + 8]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], edx
lea ecx, [ebp - 0x74]
mov eax, dword [ebx + 0xc]
lea edx, [ebp - 0x64]
mov dword [ebp - 0x30], eax
push ecx
lea eax, [ebp - 0x3c]
push edx
push eax
push 0x47242c
push 0
push 0
push 1
push 0x115
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00458c25
add esp, 0x24
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 7
call fcn.004586e4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.0044b0ed
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
call fcn.004586e4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004586e4
lea ecx, [ebp + 8]
mov dword [ebp - 4], 1
call fcn.0044b0ed
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0
call fcn.0044b0ed
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.0044b0ed
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc