Function at 0x51bdb0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b4d81
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c4
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
push 0
push 0
mov eax, dword [edi + 0xc4]
push 0x1032
push eax
mov dword [ebp - 0x40], edi
call ebx
mov dword [ebp - 0x30], eax
mov eax, dword [0x614cb0]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], eax
mov ecx, dword [edi + 0xc4]
push 2
push 0xffffffffffffffff
push 0x100c
push ecx
mov byte [ebp - 4], 1
call ebx
mov edx, dword [edi + 0xc4]
mov esi, eax
push 2
push esi
push 0x100c
push edx
call ebx
inc eax
mov ebx, esi
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
test eax, eax
mov dword [ebp - 0x38], ebx
je 0x51c50f
mov eax, dword [0x614cb0]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x3c]
push 0xc9cc
push ecx
mov byte [ebp - 4], 2
call fcn.005054c0
add esp, 8
mov edx, dword [0x614cb0]
mov esi, dword [eax]
mov dword [ebp - 0x14], edx
mov eax, dword [0x64fe78]
mov byte [ebp - 4], 4
test eax, eax
je 0x51bebd
mov eax, dword [eax + 0x935c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x51bebd
push 0x6812bc
lea ecx, [ebp - 0x14]
call fcn.00575c21
push esi
mov ecx, 0x6812bc
call fcn.00575c71
mov ecx, dword [0x64fe78]
push 0x105
push 0
push 0
mov edx, dword [ecx + 0x935c]
push edx
call dword [sym.imp.USER32.dll_RedrawWindow]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 6
call fcn.00575ae8
call fcn.0058d5de
mov ecx, dword [eax + 4]
call fcn.005755b7
push 0
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 7
call fcn.00506430
mov eax, dword [0x64fe78]
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 8
mov eax, dword [eax + 0x9d50]
push eax
call fcn.005065e0
mov ecx, dword [0x64fe78]
push str..tmp
add ecx, 0x9d50
lea edx, [ebp - 0x20]
push ecx
push edx
call fcn.00575d7d
push 1
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 9
call fcn.00506600
test eax, eax
jne 0x51bf67
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.00575ae8
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 7
call fcn.00506500
mov byte [ebp - 4], 6
call fcn.0058d5de
mov ecx, dword [eax + 4]
call fcn.005755cc
mov byte [ebp - 4], 0xa
jmp 0x51c010
lea ecx, [ebp - 0x54]
call fcn.005760db
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xb
call fcn.0057700b
mov eax, dword [0x64fe78]
push str..tmp
add eax, 0x9d50
lea ecx, [ebp - 0x1c]
push eax
push ecx
mov byte [ebp - 4], 0xd
call fcn.00575d7d
mov eax, dword [eax]
push 0
push 0x1001
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xe
call fcn.00576150
lea ecx, [ebp - 0x1c]
mov esi, eax
mov byte [ebp - 4], 0xd
call fcn.00575ae8
test esi, esi
jne 0x51c035
lea ecx, [ebp - 0xbc]
call fcn.00506720
mov byte [ebp - 4], 0xb
call fcn.00577049
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 9
call fcn.0057610d
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.00575ae8
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 7
call fcn.00506500
mov byte [ebp - 4], 6
call fcn.0058d5de
mov ecx, dword [eax + 4]
call fcn.005755cc
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x14]
call fcn.004d9080
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00575ae8
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00575ae8
jmp 0x51c55a
push 0
push 0x1000
lea edx, [ebp - 0x54]
push 0
push edx
lea ecx, [ebp - 0x130]
call fcn.00579d2d
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x2c], 0
call fcn.0051d950
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x11
call fcn.00507440
test eax, eax
je 0x51c371
jmp 0x51c07f
mov ebx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
cmp eax, ecx
jge 0x51c34c
mov ecx, dword [edi + 0x98]
mov edx, dword [ebp - 0xbc]
lea esi, [ebx + ebx*4]
shl esi, 5
mov eax, dword [esi + ecx + 4]
push eax
push edx
call fcn.005589c0
add esp, 8
test eax, eax
je 0x51c34c
mov ecx, dword [ebp - 0xbc]
lea eax, [ebp - 0x1d0]
push 0xffffffffffffffff
push eax
push ecx
lea ecx, [ebp - 0xbc]
call fcn.00509810
test eax, eax
je 0x51c34c
mov edx, dword [edi + 0x98]
mov eax, dword [esi + edx + 0x10]
lea ecx, [esi + edx]
cmp eax, dword [ebp - 0x1c0]
jne 0x51c34c
fld qword [ecx + 8]
fcomp qword [ebp - 0x1c8]
fnstsw ax
test ah, 0x40
je 0x51c34c
mov edx, dword [ebp - 0x174]
mov ecx, dword [ecx + 0x5c]
push edx
push ecx
call fcn.0055724d
add esp, 8
test eax, eax
jne 0x51c34c
mov eax, dword [edi + 0x98]
mov ecx, dword [ebp - 0x1cc]
push ecx
lea eax, [esi + eax + 4]
mov eax, dword [eax]
push eax
call fcn.0055724d
add esp, 8
test eax, eax
jne 0x51c34c
mov ecx, dword [ebp - 0x2c]
mov ebx, 0x32
inc ecx
mov eax, ecx
mov dword [ebp - 0x2c], ecx
cdq
idiv ebx
test edx, edx
jne 0x51c1d5
mov edx, dword [0x614cb0]
mov dword [ebp - 0x1c], edx
push ecx
lea eax, [ebp - 0x1c]
push str.Processed:__i_QSOs
push eax
mov byte [ebp - 4], 0x12
call fcn.0056d732
mov eax, dword [0x64fe78]
mov ebx, dword [ebp - 0x1c]
add esp, 0xc
test eax, eax
je 0x51c1bc
mov ecx, dword [eax + 0x935c]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x51c1bc
push ebx
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], 0x11
call fcn.00575ae8
test byte [ebp + 8], 1
je 0x51c205
mov eax, dword [edi + 0x98]
lea ecx, [ebp - 0xe0]
mov ebx, esi
push ecx
add ebx, eax
call fcn.00504c30
mov edx, dword [eax]
add esp, 4
mov dword [ebx + 0x2c], edx
mov ecx, dword [eax + 4]
mov dword [ebx + 0x30], ecx
mov edx, dword [eax + 8]
mov dword [ebx + 0x34], edx
test byte [ebp + 8], 2
je 0x51c235
mov eax, dword [edi + 0x98]
mov ebx, esi
add ebx, eax
lea eax, [ebp - 0xd4]
push eax
call fcn.00504c30
mov ecx, dword [eax]
add esp, 4
mov dword [ebx + 0x20], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 0x24], edx
mov eax, dword [eax + 8]
mov dword [ebx + 0x28], eax
test byte [ebp + 8], 4
je 0x51c265
mov eax, dword [edi + 0x98]
lea ecx, [ebp - 0xc8]
mov ebx, esi
push ecx
add ebx, eax
call fcn.00504c30
mov edx, dword [eax]
add esp, 4
mov dword [ebx + 0x44], edx
mov ecx, dword [eax + 4]
mov dword [ebx + 0x48], ecx
mov edx, dword [eax + 8]
mov dword [ebx + 0x4c], edx
test byte [ebp + 8], 8
je 0x51c295
mov eax, dword [edi + 0x98]
mov ebx, esi
add ebx, eax
lea eax, [ebp - 0xec]
push eax
call fcn.00504c30
mov ecx, dword [eax]
add esp, 4
mov dword [ebx + 0x38], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 0x3c], edx
mov eax, dword [eax + 8]
mov dword [ebx + 0x40], eax
mov ebx, dword [edi + 0x98]
mov eax, dword [0x64fe78]
mov ecx, esi
lea edx, [ebp - 0x1d0]
add ecx, ebx
push ecx
mov ecx, dword [eax + 0xa44c]
push edx
call fcn.0052c670
lea ecx, [ebp - 0x1d0]
push 1
push ecx
mov ecx, dword [0x64fe78]
call fcn.0047c000
mov ecx, dword [edi + 0x98]
mov edx, esi
add edx, ecx
mov ecx, dword [0x64fe78]
push 0
push edx
call fcn.0047c000
mov edx, dword [edi + 0x98]
mov ecx, esi
lea eax, [ebp - 0x18]
add ecx, edx
push eax
push ecx
lea ecx, [ebp - 0xbc]
call fcn.00508ff0
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x130]
push edx
call fcn.0057a1da
test byte [ebp + 8], 0x80
je 0x51c326
mov ebx, dword [edi + 0x98]
mov eax, dword [ebp - 0x18]
add esi, ebx
mov ecx, edi
push esi
push eax
call fcn.0051d320
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x51c35e
mov ecx, dword [edi + 0xc4]
dec esi
push 2
push esi
push 0x100c
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
inc eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], eax
jmp 0x51c35e
mov edx, dword [ebp - 0xbc]
lea ecx, [ebp - 0x130]
push edx
call fcn.0057a1da
lea ecx, [ebp - 0xbc]
call fcn.00507440
test eax, eax
jne 0x51c07c
lea ecx, [ebp - 0xbc]
call fcn.00506720
lea ecx, [ebp - 0x130]
call fcn.00579e91
lea ecx, [ebp - 0x54]
call fcn.00576480
mov eax, dword [0x64fe78]
push str..old
add eax, 0x9d50
lea ecx, [ebp + 8]
push eax
push ecx
call fcn.00575d7d
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp + 8]
call fcn.00575ae8
mov edx, dword [0x64fe78]
push str..old
add edx, 0x9d50
lea eax, [ebp + 8]
push edx
push eax
call fcn.00575d7d
mov ecx, dword [0x64fe78]
mov eax, dword [eax]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileA]
push eax
mov ecx, dword [ecx + 0x9d50]
push ecx
call ebx
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 ebx
lea ecx, [ebp + 8]
call fcn.00575ae8
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 0x10
call fcn.0051da80
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0xd
call fcn.00579e09
jmp 0x51c46e
mov dword [ebp - 4], 0xb
call fcn.00577049
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 9
call fcn.0057610d
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.00575ae8
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 7
call fcn.00506500
mov byte [ebp - 4], 6
call fcn.0058d5de
mov ecx, dword [eax + 4]
call fcn.005755cc
mov eax, dword [0x64fe78]
mov byte [ebp - 4], 0x14
test eax, eax
je 0x51c4fa
mov eax, dword [eax + 0x935c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x51c4fa
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], 2
call fcn.00575ae8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
jmp 0x51c539
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, edi
mov byte [ebp - 4], 0x15
call fcn.005737b9
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00575ae8
mov edx, dword [edi + 0xc4]
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [edi + 0xa8]
call fcn.0057525a
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00575ae8
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00575ae8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4