Function at 0x4df040
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ae731
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c0
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
push 0
mov eax, dword [ebx + 0xc4]
push 0
push 0x1032
push eax
mov dword [ebp - 0x18], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
test edi, edi
mov dword [ebp - 0x40], edi
je 0x4df7de
mov ecx, dword [0x614cb0]
mov dword [ebp - 0x30], ecx
lea edx, [ebp - 0x38]
push 0xc9cc
push edx
mov dword [ebp - 4], 0
call fcn.005054c0
add esp, 8
mov esi, dword [eax]
mov eax, dword [0x614cb0]
mov dword [ebp - 0x14], eax
mov eax, dword [0x64fe78]
mov byte [ebp - 4], 2
test eax, eax
je 0x4df109
mov ecx, dword [eax + 0x935c]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4df109
push 0x6812bc
lea ecx, [ebp - 0x14]
call fcn.00575c21
push esi
mov ecx, 0x6812bc
call fcn.00575c71
mov edx, dword [0x64fe78]
push 0x105
push 0
push 0
mov eax, dword [edx + 0x935c]
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.00575ae8
call fcn.0058d5de
mov ecx, dword [eax + 4]
call fcn.005755b7
push 0
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 5
call fcn.00506430
mov ecx, dword [0x64fe78]
mov byte [ebp - 4], 6
mov eax, dword [ecx + 0x9d50]
lea ecx, [ebp - 0xd0]
push eax
call fcn.005065e0
mov edx, dword [0x64fe78]
push str..tmp
add edx, 0x9d50
lea eax, [ebp - 0x28]
push edx
push eax
call fcn.00575d7d
push 1
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 7
call fcn.00506600
test eax, eax
jne 0x4df1bc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.00575ae8
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 5
call fcn.00506500
mov byte [ebp - 4], 4
call fcn.0058d5de
mov ecx, dword [eax + 4]
call fcn.005755cc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.004d9080
jmp 0x4df2ab
lea ecx, [ebp - 0x54]
call fcn.005760db
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 9
call fcn.0057700b
mov ecx, dword [0x64fe78]
push str..tmp
add ecx, 0x9d50
lea edx, [ebp - 0x1c]
push ecx
push edx
mov byte [ebp - 4], 0xb
call fcn.00575d7d
mov eax, dword [eax]
push 0
push 0x1001
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xc
call fcn.00576150
lea ecx, [ebp - 0x1c]
mov esi, eax
mov byte [ebp - 4], 0xb
call fcn.00575ae8
test esi, esi
jne 0x4df2d9
lea ecx, [ebp - 0xd0]
call fcn.00506720
mov byte [ebp - 4], 9
call fcn.00577049
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 7
call fcn.0057610d
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.00575ae8
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 5
call fcn.00506500
mov byte [ebp - 4], 4
call fcn.0058d5de
mov ecx, dword [eax + 4]
call fcn.005755cc
mov eax, dword [0x64fe78]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x4df2ab
mov eax, dword [eax + 0x935c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4df2ab
lea ecx, [ebp - 0x14]
push ecx
mov ecx, 0x6812bc
call fcn.00575c21
mov edx, dword [0x64fe78]
push 0x105
push esi
push esi
lea ecx, [edx + 0x9340]
call fcn.004dc800
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00575ae8
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.00575ae8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push 0x1000
lea eax, [ebp - 0x54]
push 0
push eax
lea ecx, [ebp - 0x12c]
call fcn.00579d2d
mov eax, dword [0x614cb0]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x20], 0
call fcn.0056fc65
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 0x12
call fcn.0051d950
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x13
call fcn.00507440
test eax, eax
je 0x4df610
jmp 0x4df340
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x40]
cmp dword [ebp - 0x20], edi
jge 0x4df5eb
mov ecx, dword [ebx + 0xc4]
push 2
push 0xffffffffffffffff
push 0x100c
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ebx, [eax + 1]
test ebx, ebx
jne 0x4df376
mov dword [ebp - 0x20], edi
jmp 0x4df5eb
test ebx, ebx
je 0x4df5e5
mov edx, dword [ebp - 0x18]
lea edi, [ebx - 1]
push 2
push edi
mov eax, dword [edx + 0xc4]
push 0x100c
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x18]
lea esi, [edi + edi*4]
shl esi, 5
mov edx, dword [ecx + 0x98]
lea ebx, [eax + 1]
lea ecx, [ebp - 0x2c]
lea eax, [esi + edx + 4]
push eax
call fcn.00575c21
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0xd0]
push ecx
push edx
call fcn.005589c0
add esp, 8
test eax, eax
je 0x4df36e
mov ecx, dword [ebp - 0xd0]
lea eax, [ebp - 0x1cc]
push 0xffffffffffffffff
push eax
push ecx
lea ecx, [ebp - 0xd0]
call fcn.00509810
test eax, eax
je 0x4df36e
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x98]
mov edx, dword [esi + eax + 0x10]
lea ecx, [esi + eax]
mov eax, dword [ebp - 0x1bc]
cmp edx, eax
jne 0x4df36e
fld qword [ecx + 8]
fcomp qword [ebp - 0x1c4]
fnstsw ax
test ah, 0x40
je 0x4df36e
mov eax, dword [ebp - 0x170]
mov ecx, dword [ecx + 0x5c]
push eax
push ecx
call fcn.0055724d
add esp, 8
test eax, eax
jne 0x4df36e
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x98]
mov ecx, dword [ebp - 0x1c8]
push ecx
lea eax, [esi + edx + 4]
mov eax, dword [esi + edx + 4]
push eax
call fcn.0055724d
add esp, 8
test eax, eax
jne 0x4df36e
mov ebx, dword [ebp - 0x18]
push 2
push eax
push edi
lea ecx, [ebx + 0xa8]
call fcn.0056eb1d
mov eax, dword [ebp - 0x20]
mov ecx, 0x64
inc eax
mov dword [ebp - 0x20], eax
cdq
idiv ecx
test edx, edx
jne 0x4df50a
mov edx, dword [0x614cb0]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
push eax
push 0x60fec8
push ecx
mov byte [ebp - 4], 0x14
call fcn.0056d732
mov eax, dword [0x64fe78]
mov edx, dword [ebp - 0x1c]
add esp, 0xc
mov dword [ebp - 0x34], edx
test eax, eax
je 0x4df4f1
mov eax, dword [eax + 0x935c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4df4f1
mov ecx, dword [ebp - 0x34]
push ecx
mov ecx, 0x6812bc
call fcn.00575c71
mov edx, dword [0x64fe78]
push 0x105
push 0
push 0
mov eax, dword [edx + 0x935c]
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, dword [0x64fe78]
push 1
call fcn.004779b0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x13
call fcn.00575ae8
mov ecx, dword [ebp - 0x6c]
push edi
push ecx
lea ecx, [ebp - 0x74]
call fcn.0056fcc5
mov eax, dword [ebp + 8]
sub eax, 0
je 0x4df54e
dec eax
jne 0x4df578
mov ecx, dword [ebx + 0x98]
lea edx, [ebp - 0xdc]
mov edi, esi
push edx
add edi, ecx
call fcn.00504c30
mov ecx, dword [eax]
add esp, 4
mov dword [edi + 0x20], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0x24], edx
mov eax, dword [eax + 8]
mov dword [edi + 0x28], eax
jmp 0x4df578
mov eax, dword [ebx + 0x98]
lea ecx, [ebp - 0xe8]
mov edi, esi
push ecx
add edi, eax
call fcn.00504c30
mov edx, dword [eax]
add esp, 4
mov dword [edi + 0x2c], edx
mov ecx, dword [eax + 4]
mov dword [edi + 0x30], ecx
mov edx, dword [eax + 8]
mov dword [edi + 0x34], edx
mov edx, dword [ebx + 0x98]
mov eax, esi
add eax, edx
mov edx, dword [0x64fe78]
lea ecx, [ebp - 0x1cc]
push eax
push ecx
mov ecx, dword [edx + 0xa44c]
call fcn.0052c670
mov ecx, dword [0x64fe78]
lea eax, [ebp - 0x1cc]
push 1
push eax
call fcn.0047c000
mov edx, dword [ebx + 0x98]
mov ecx, esi
add ecx, edx
push 0
push ecx
mov ecx, dword [0x64fe78]
call fcn.0047c000
mov ecx, dword [ebx + 0x98]
lea edx, [ebp - 0x24]
add esi, ecx
push edx
push esi
lea ecx, [ebp - 0xd0]
call fcn.00508ff0
mov eax, dword [ebp - 0x24]
push eax
jmp 0x4df5f2
xor eax, eax
test eax, eax
jne 0x4df5fd
mov ecx, dword [ebp - 0xd0]
push ecx
lea ecx, [ebp - 0x12c]
call fcn.0057a1da
lea ecx, [ebp - 0xd0]
call fcn.00507440
test eax, eax
jne 0x4df33a
lea ecx, [ebp - 0xd0]
call fcn.00506720
lea ecx, [ebp - 0x12c]
call fcn.00579e91
lea ecx, [ebp - 0x54]
call fcn.00576480
mov edx, dword [0x64fe78]
push str..old
add edx, 0x9d50
lea eax, [ebp + 8]
push edx
push eax
call fcn.00575d7d
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp + 8]
call fcn.00575ae8
mov ecx, dword [0x64fe78]
push str..old
add ecx, 0x9d50
lea edx, [ebp + 8]
push ecx
push edx
call fcn.00575d7d
mov ecx, dword [0x64fe78]
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileA]
push eax
mov ecx, dword [ecx + 0x9d50]
push ecx
call edi
lea ecx, [ebp + 8]
call fcn.00575ae8
mov edx, dword [0x64fe78]
push str..tmp
mov esi, dword [edx + 0x9d50]
lea eax, [edx + 0x9d50]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00575d7d
mov eax, dword [eax]
push esi
push eax
call edi
lea ecx, [ebp + 8]
call fcn.00575ae8
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 0x12
call fcn.0051da80
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x11
call fcn.0056fc98
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x10
call fcn.00575ae8
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xf
call fcn.00575ae8
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xe
call fcn.00575ae8
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 0xb
call fcn.00579e09
mov dword [ebp - 4], 9
call fcn.00577049
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 7
call fcn.0057610d
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.00575ae8
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 5
call fcn.00506500
mov byte [ebp - 4], 4
call fcn.0058d5de
mov ecx, dword [eax + 4]
call fcn.005755cc
mov eax, dword [0x64fe78]
mov byte [ebp - 4], 0x16
test eax, eax
je 0x4df79e
mov eax, dword [eax + 0x935c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4df79e
lea ecx, [ebp - 0x14]
push ecx
mov ecx, 0x6812bc
call fcn.00575c21
mov edx, dword [0x64fe78]
push 0x105
push 0
push 0
mov eax, dword [edx + 0x935c]
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00575ae8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
jmp 0x4df80e
lea ecx, [ebp + 8]
push 0xc98c
push ecx
call fcn.005054c0
add esp, 8
mov eax, dword [eax]
push 0x40
push 0
push eax
mov ecx, ebx
mov dword [ebp - 4], 0x17
call fcn.005737b9
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00575ae8
mov esi, dword [ebp - 0x18]
push 0
push 0
mov edx, dword [esi + 0xc4]
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esi + 0xa8]
call fcn.0057525a
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4