Function at 0x523150
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d0fa1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c4
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
push 0
mov eax, dword [ebx + 0xd4]
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 0x5238ee
mov ecx, dword [0x639698]
mov dword [ebp - 0x30], ecx
lea edx, [ebp - 0x38]
push 0xc9cc
push edx
mov dword [ebp - 4], 0
call fcn.004ec350
add esp, 8
mov esi, dword [eax]
mov eax, dword [0x639698]
mov dword [ebp - 0x14], eax
mov eax, dword [0x63fd4c]
mov byte [ebp - 4], 2
test eax, eax
je 0x523219
mov ecx, dword [eax + 0x94dc]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x523219
push 0x6645f4
lea ecx, [ebp - 0x14]
call fcn.00593814
push esi
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]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.005936db
call fcn.005aa82c
mov ecx, dword [eax + 4]
call fcn.005931aa
push 0
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 5
call fcn.004ee9a0
mov ecx, dword [0x63fd4c]
mov byte [ebp - 4], 6
mov eax, dword [ecx + 0x9f04]
lea ecx, [ebp - 0xd4]
push eax
call fcn.004eeb50
mov edx, dword [0x63fd4c]
push str..tmp
add edx, 0x9f04
lea eax, [ebp - 0x28]
push edx
push eax
call fcn.00593970
push 1
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 7
call fcn.004eeb70
test eax, eax
jne 0x5232cc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.005936db
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 5
call fcn.004eea70
mov byte [ebp - 4], 4
call fcn.005aa82c
mov ecx, dword [eax + 4]
call fcn.005931bf
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.00523960
jmp 0x5233bb
lea ecx, [ebp - 0x54]
call fcn.00595172
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 9
call fcn.00593d4b
mov ecx, dword [0x63fd4c]
push str..tmp
add ecx, 0x9f04
lea edx, [ebp - 0x1c]
push ecx
push edx
mov byte [ebp - 4], 0xb
call fcn.00593970
mov eax, dword [eax]
push 0
push 0x1001
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xc
call fcn.005951e7
lea ecx, [ebp - 0x1c]
mov esi, eax
mov byte [ebp - 4], 0xb
call fcn.005936db
test esi, esi
jne 0x5233e9
lea ecx, [ebp - 0xd4]
call fcn.004eecc0
mov byte [ebp - 4], 9
call fcn.00593d89
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 7
call fcn.005951a4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.005936db
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 5
call fcn.004eea70
mov byte [ebp - 4], 4
call fcn.005aa82c
mov ecx, dword [eax + 4]
call fcn.005931bf
mov eax, dword [0x63fd4c]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x5233bb
mov eax, dword [eax + 0x94dc]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x5233bb
lea ecx, [ebp - 0x14]
push ecx
mov ecx, 0x6645f4
call fcn.00593814
mov edx, dword [0x63fd4c]
push 0x105
push esi
push esi
lea ecx, [edx + 0x94c0]
call fcn.00519dd0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005936db
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.005936db
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 - 0x130]
call fcn.00597946
mov eax, dword [0x639698]
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.0058d451
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 0x12
call fcn.00500050
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0x13
call fcn.004ef9e0
test eax, eax
je 0x523720
jmp 0x523450
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x40]
cmp dword [ebp - 0x20], edi
jge 0x5236fb
mov ecx, dword [ebx + 0xd4]
push 2
push 0xffffffffffffffff
push 0x100c
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ebx, [eax + 1]
test ebx, ebx
jne 0x523486
mov dword [ebp - 0x20], edi
jmp 0x5236fb
test ebx, ebx
je 0x5236f5
mov edx, dword [ebp - 0x18]
lea edi, [ebx - 1]
push 2
push edi
mov eax, dword [edx + 0xd4]
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 + 0xa8]
lea ebx, [eax + 1]
lea ecx, [ebp - 0x2c]
lea eax, [esi + edx + 4]
push eax
call fcn.00593814
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0xd4]
push ecx
push edx
call fcn.005752d0
add esp, 8
test eax, eax
je 0x52347e
mov ecx, dword [ebp - 0xd4]
lea eax, [ebp - 0x1d0]
push 0xffffffffffffffff
push eax
push ecx
lea ecx, [ebp - 0xd4]
call fcn.004f1e10
test eax, eax
je 0x52347e
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xa8]
mov edx, dword [esi + eax + 0x10]
lea ecx, [esi + eax]
mov eax, dword [ebp - 0x1c0]
cmp edx, eax
jne 0x52347e
fld qword [ecx + 8]
fcomp qword [ebp - 0x1c8]
fnstsw ax
test ah, 0x40
je 0x52347e
mov eax, dword [ebp - 0x174]
mov ecx, dword [ecx + 0x5c]
push eax
push ecx
call fcn.00573b74
add esp, 8
test eax, eax
jne 0x52347e
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xa8]
mov ecx, dword [ebp - 0x1cc]
push ecx
lea eax, [esi + edx + 4]
mov eax, dword [esi + edx + 4]
push eax
call fcn.00573b74
add esp, 8
test eax, eax
jne 0x52347e
mov ebx, dword [ebp - 0x18]
push 2
push eax
push edi
lea ecx, [ebx + 0xb8]
call fcn.0058c2ea
mov eax, dword [ebp - 0x20]
mov ecx, 0x64
inc eax
mov dword [ebp - 0x20], eax
cdq
idiv ecx
test edx, edx
jne 0x52361a
mov edx, dword [0x639698]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
push eax
push 0x637490
push ecx
mov byte [ebp - 4], 0x14
call fcn.0058aded
mov eax, dword [0x63fd4c]
mov edx, dword [ebp - 0x1c]
add esp, 0xc
mov dword [ebp - 0x34], edx
test eax, eax
je 0x523601
mov eax, dword [eax + 0x94dc]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x523601
mov ecx, dword [ebp - 0x34]
push ecx
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], 0x13
call fcn.005936db
mov ecx, dword [ebp - 0x6c]
push edi
push ecx
lea ecx, [ebp - 0x74]
call fcn.0058d4b1
mov eax, dword [ebp + 8]
sub eax, 0
je 0x52365e
dec eax
jne 0x523688
mov ecx, dword [ebx + 0xa8]
lea edx, [ebp - 0xe0]
mov edi, esi
push edx
add edi, ecx
call fcn.004ebac0
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 0x523688
mov eax, dword [ebx + 0xa8]
lea ecx, [ebp - 0xec]
mov edi, esi
push ecx
add edi, eax
call fcn.004ebac0
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 + 0xa8]
mov eax, esi
add eax, edx
mov edx, dword [0x63fd4c]
lea ecx, [ebp - 0x1d0]
push eax
push ecx
mov ecx, dword [edx + 0xa640]
call fcn.00510ff0
mov ecx, dword [0x63fd4c]
lea eax, [ebp - 0x1d0]
push 1
push eax
call fcn.0045e380
mov edx, dword [ebx + 0xa8]
mov ecx, esi
add ecx, edx
push 0
push ecx
mov ecx, dword [0x63fd4c]
call fcn.0045e380
mov ecx, dword [ebx + 0xa8]
lea edx, [ebp - 0x24]
add esi, ecx
push edx
push esi
lea ecx, [ebp - 0xd4]
call fcn.004f15c0
mov eax, dword [ebp - 0x24]
push eax
jmp 0x523702
xor eax, eax
test eax, eax
jne 0x52370d
mov ecx, dword [ebp - 0xd4]
push ecx
lea ecx, [ebp - 0x130]
call fcn.00597df3
lea ecx, [ebp - 0xd4]
call fcn.004ef9e0
test eax, eax
jne 0x52344a
lea ecx, [ebp - 0xd4]
call fcn.004eecc0
lea ecx, [ebp - 0x130]
call fcn.00597aaa
lea ecx, [ebp - 0x54]
call fcn.00595517
mov edx, dword [0x63fd4c]
push str..old
add edx, 0x9f04
lea eax, [ebp + 8]
push edx
push eax
call fcn.00593970
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp + 8]
call fcn.005936db
mov ecx, dword [0x63fd4c]
push str..old
add ecx, 0x9f04
lea edx, [ebp + 8]
push ecx
push edx
call fcn.00593970
mov ecx, dword [0x63fd4c]
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileA]
push eax
mov ecx, dword [ecx + 0x9f04]
push ecx
call edi
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 edi
lea ecx, [ebp + 8]
call fcn.005936db
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 0x12
call fcn.00500180
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x11
call fcn.0058d484
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x10
call fcn.005936db
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xf
call fcn.005936db
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xe
call fcn.005936db
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0xb
call fcn.00597a22
mov dword [ebp - 4], 9
call fcn.00593d89
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 7
call fcn.005951a4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.005936db
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 5
call fcn.004eea70
mov byte [ebp - 4], 4
call fcn.005aa82c
mov ecx, dword [eax + 4]
call fcn.005931bf
mov eax, dword [0x63fd4c]
mov byte [ebp - 4], 0x16
test eax, eax
je 0x5238ae
mov eax, dword [eax + 0x94dc]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x5238ae
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], 0
call fcn.005936db
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
jmp 0x52391e
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, ebx
mov dword [ebp - 4], 0x17
call fcn.005913a9
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.005936db
mov esi, dword [ebp - 0x18]
push 0
push 0
mov edx, dword [esi + 0xd4]
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esi + 0xb8]
call fcn.00592e45
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4