Function at 0x540250
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d5241
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c8
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 + 0xd4]
push 0x1032
push eax
mov dword [ebp - 0x40], edi
call ebx
mov dword [ebp - 0x30], eax
mov eax, dword [0x639698]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], eax
mov ecx, dword [edi + 0xd4]
push 2
push 0xffffffffffffffff
push 0x100c
push ecx
mov byte [ebp - 4], 1
call ebx
mov edx, dword [edi + 0xd4]
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 0x5409af
mov eax, dword [0x639698]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x3c]
push 0xc9cc
push ecx
mov byte [ebp - 4], 2
call fcn.004ec350
add esp, 8
mov edx, dword [0x639698]
mov esi, dword [eax]
mov dword [ebp - 0x14], edx
mov eax, dword [0x63fd4c]
mov byte [ebp - 4], 4
test eax, eax
je 0x54035d
mov eax, dword [eax + 0x94dc]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x54035d
push 0x6645f4
lea ecx, [ebp - 0x14]
call fcn.00593814
push esi
mov ecx, 0x6645f4
call fcn.00593864
mov ecx, dword [0x63fd4c]
push 0x105
push 0
push 0
mov edx, dword [ecx + 0x94dc]
push edx
call dword [sym.imp.USER32.dll_RedrawWindow]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 6
call fcn.005936db
call fcn.005aa82c
mov ecx, dword [eax + 4]
call fcn.005931aa
push 0
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 7
call fcn.004ee9a0
mov eax, dword [0x63fd4c]
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 8
mov eax, dword [eax + 0x9f04]
push eax
call fcn.004eeb50
mov ecx, dword [0x63fd4c]
push str..tmp
add ecx, 0x9f04
lea edx, [ebp - 0x20]
push ecx
push edx
call fcn.00593970
push 1
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 9
call fcn.004eeb70
test eax, eax
jne 0x540407
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.005936db
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 7
call fcn.004eea70
mov byte [ebp - 4], 6
call fcn.005aa82c
mov ecx, dword [eax + 4]
call fcn.005931bf
mov byte [ebp - 4], 0xa
jmp 0x5404b0
lea ecx, [ebp - 0x54]
call fcn.00595172
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xb
call fcn.00593d4b
mov eax, dword [0x63fd4c]
push str..tmp
add eax, 0x9f04
lea ecx, [ebp - 0x1c]
push eax
push ecx
mov byte [ebp - 4], 0xd
call fcn.00593970
mov eax, dword [eax]
push 0
push 0x1001
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xe
call fcn.005951e7
lea ecx, [ebp - 0x1c]
mov esi, eax
mov byte [ebp - 4], 0xd
call fcn.005936db
test esi, esi
jne 0x5404d5
lea ecx, [ebp - 0xc0]
call fcn.004eecc0
mov byte [ebp - 4], 0xb
call fcn.00593d89
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 9
call fcn.005951a4
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.005936db
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 7
call fcn.004eea70
mov byte [ebp - 4], 6
call fcn.005aa82c
mov ecx, dword [eax + 4]
call fcn.005931bf
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x14]
call fcn.00523960
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.005936db
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.005936db
jmp 0x5409fa
push 0
push 0x1000
lea edx, [ebp - 0x54]
push 0
push edx
lea ecx, [ebp - 0x134]
call fcn.00597946
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x2c], 0
call fcn.00500050
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x11
call fcn.004ef9e0
test eax, eax
je 0x540811
jmp 0x54051f
mov ebx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
cmp eax, ecx
jge 0x5407ec
mov ecx, dword [edi + 0xa8]
mov edx, dword [ebp - 0xc0]
lea esi, [ebx + ebx*4]
shl esi, 5
mov eax, dword [esi + ecx + 4]
push eax
push edx
call fcn.005752d0
add esp, 8
test eax, eax
je 0x5407ec
mov ecx, dword [ebp - 0xc0]
lea eax, [ebp - 0x1d4]
push 0xffffffffffffffff
push eax
push ecx
lea ecx, [ebp - 0xc0]
call fcn.004f1e10
test eax, eax
je 0x5407ec
mov edx, dword [edi + 0xa8]
mov eax, dword [esi + edx + 0x10]
lea ecx, [esi + edx]
cmp eax, dword [ebp - 0x1c4]
jne 0x5407ec
fld qword [ecx + 8]
fcomp qword [ebp - 0x1cc]
fnstsw ax
test ah, 0x40
je 0x5407ec
mov edx, dword [ebp - 0x178]
mov ecx, dword [ecx + 0x5c]
push edx
push ecx
call fcn.00573b74
add esp, 8
test eax, eax
jne 0x5407ec
mov eax, dword [edi + 0xa8]
mov ecx, dword [ebp - 0x1d0]
push ecx
lea eax, [esi + eax + 4]
mov eax, dword [eax]
push eax
call fcn.00573b74
add esp, 8
test eax, eax
jne 0x5407ec
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 0x540675
mov edx, dword [0x639698]
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.0058aded
mov eax, dword [0x63fd4c]
mov ebx, dword [ebp - 0x1c]
add esp, 0xc
test eax, eax
je 0x54065c
mov ecx, dword [eax + 0x94dc]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x54065c
push ebx
mov ecx, 0x6645f4
call fcn.00593864
mov edx, dword [0x63fd4c]
push 0x105
push 0
push 0
mov eax, dword [edx + 0x94dc]
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, dword [0x63fd4c]
push 1
call fcn.00456040
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x11
call fcn.005936db
test byte [ebp + 8], 1
je 0x5406a5
mov eax, dword [edi + 0xa8]
lea ecx, [ebp - 0xe4]
mov ebx, esi
push ecx
add ebx, eax
call fcn.004ebac0
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 0x5406d5
mov eax, dword [edi + 0xa8]
mov ebx, esi
add ebx, eax
lea eax, [ebp - 0xd8]
push eax
call fcn.004ebac0
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 0x540705
mov eax, dword [edi + 0xa8]
lea ecx, [ebp - 0xcc]
mov ebx, esi
push ecx
add ebx, eax
call fcn.004ebac0
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 0x540735
mov eax, dword [edi + 0xa8]
mov ebx, esi
add ebx, eax
lea eax, [ebp - 0xf0]
push eax
call fcn.004ebac0
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 + 0xa8]
mov eax, dword [0x63fd4c]
mov ecx, esi
lea edx, [ebp - 0x1d4]
add ecx, ebx
push ecx
mov ecx, dword [eax + 0xa640]
push edx
call fcn.00510ff0
lea ecx, [ebp - 0x1d4]
push 1
push ecx
mov ecx, dword [0x63fd4c]
call fcn.0045e380
mov ecx, dword [edi + 0xa8]
mov edx, esi
add edx, ecx
mov ecx, dword [0x63fd4c]
push 0
push edx
call fcn.0045e380
mov edx, dword [edi + 0xa8]
mov ecx, esi
lea eax, [ebp - 0x18]
add ecx, edx
push eax
push ecx
lea ecx, [ebp - 0xc0]
call fcn.004f15c0
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x134]
push edx
call fcn.00597df3
test byte [ebp + 8], 0x80
je 0x5407c6
mov ebx, dword [edi + 0xa8]
mov eax, dword [ebp - 0x18]
add esi, ebx
mov ecx, edi
push esi
push eax
call fcn.00541600
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x5407fe
mov ecx, dword [edi + 0xd4]
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 0x5407fe
mov edx, dword [ebp - 0xc0]
lea ecx, [ebp - 0x134]
push edx
call fcn.00597df3
lea ecx, [ebp - 0xc0]
call fcn.004ef9e0
test eax, eax
jne 0x54051c
lea ecx, [ebp - 0xc0]
call fcn.004eecc0
lea ecx, [ebp - 0x134]
call fcn.00597aaa
lea ecx, [ebp - 0x54]
call fcn.00595517
mov eax, dword [0x63fd4c]
push str..old
add eax, 0x9f04
lea ecx, [ebp + 8]
push eax
push ecx
call fcn.00593970
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp + 8]
call fcn.005936db
mov edx, dword [0x63fd4c]
push str..old
add edx, 0x9f04
lea eax, [ebp + 8]
push edx
push eax
call fcn.00593970
mov ecx, dword [0x63fd4c]
mov eax, dword [eax]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileA]
push eax
mov ecx, dword [ecx + 0x9f04]
push ecx
call ebx
lea ecx, [ebp + 8]
call fcn.005936db
mov edx, dword [0x63fd4c]
push str..tmp
mov esi, dword [edx + 0x9f04]
lea eax, [edx + 0x9f04]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00593970
mov eax, dword [eax]
push esi
push eax
call ebx
lea ecx, [ebp + 8]
call fcn.005936db
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 0x10
call fcn.00500180
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0xd
call fcn.00597a22
jmp 0x54090e
mov dword [ebp - 4], 0xb
call fcn.00593d89
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 9
call fcn.005951a4
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.005936db
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 7
call fcn.004eea70
mov byte [ebp - 4], 6
call fcn.005aa82c
mov ecx, dword [eax + 4]
call fcn.005931bf
mov eax, dword [0x63fd4c]
mov byte [ebp - 4], 0x14
test eax, eax
je 0x54099a
mov eax, dword [eax + 0x94dc]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x54099a
lea ecx, [ebp - 0x14]
push ecx
mov ecx, 0x6645f4
call fcn.00593814
mov edx, dword [0x63fd4c]
push 0x105
push 0
push 0
mov eax, dword [edx + 0x94dc]
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.005936db
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
jmp 0x5409d9
lea ecx, [ebp + 8]
push 0xc98c
push ecx
call fcn.004ec350
add esp, 8
mov eax, dword [eax]
push 0x40
push 0
push eax
mov ecx, edi
mov byte [ebp - 4], 0x15
call fcn.005913a9
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.005936db
mov edx, dword [edi + 0xd4]
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [edi + 0xb8]
call fcn.00592e45
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.005936db
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.005936db
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4