Function at 0x486550
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514962
mov eax, dword fs:[0]
push eax
sub esp, 0x138
push ebx
push esi
push edi
mov eax, dword [0x57b728]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
test ecx, ecx
jne 0x486b81
cmp eax, 0xc9
jne 0x486741
push 0x16c
call fcn.004efd54
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4865c4
push 1
mov ecx, eax
call fcn.0042bf00
mov esi, eax
mov dword [ebp + 8], eax
jmp 0x4865c9
xor esi, esi
mov dword [ebp + 8], esi
mov ecx, dword [ebx + 0x438]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebx + 0x9e0]
mov dword [esi + 0xc], eax
mov eax, dword [ecx]
lea edx, [ebp - 0x3c]
push edx
call dword [eax + 0x34]
push eax
lea ecx, [esi + 0x10]
mov dword [ebp - 4], 1
call fcn.00417e10
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.00417dd0
lea edi, [esi + 0xc4]
lea esi, [ebx + 0x9ec]
mov ebx, 4
lea ecx, [ecx]
mov eax, dword [esi + 0x30]
lea ecx, [esi + 0x30]
lea edx, [ebp - 0x3c]
push edx
call dword [eax + 0x34]
push eax
lea ecx, [edi - 0x90]
mov dword [ebp - 4], 2
call fcn.00417e10
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.00417dd0
mov eax, dword [esi]
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, esi
call dword [eax + 0x34]
push eax
mov ecx, edi
mov dword [ebp - 4], 3
call fcn.00417e10
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.00417dd0
add esi, 0xc
add edi, 0x24
dec ebx
jne 0x486620
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp + 8]
mov ecx, dword [ebx + 0x438]
push edi
mov eax, dword [ecx]
call dword [eax + 0x20]
mov esi, dword [ebx + 0x448]
mov ecx, ebx
mov ecx, dword [ecx + 0x438]
mov eax, dword [ecx]
call dword [eax + 4]
push eax
lea ecx, [ebx + 0x448]
call dword [esi + 0xe8]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [edi + 0xc]
lea eax, [ebp - 0x78]
push eax
push 0xffffffffffffffff
mov eax, ebx
push 0x102b
push dword [eax + 0x44c]
mov dword [ebp - 0x68], 2
mov dword [ebp - 0x6c], 0
call esi
lea eax, [ebp - 0x78]
push eax
push edi
mov eax, ebx
push 0x102b
push dword [eax + 0x44c]
mov dword [ebp - 0x68], 2
mov dword [ebp - 0x6c], 2
call esi
mov eax, dword [ebx + 0x448]
lea ecx, [ebx + 0x448]
push edi
call dword [eax + 0x128]
mov eax, dword [ebx]
push edi
mov ecx, ebx
call dword [eax + 0x184]
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 0x130]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 0xca
jne 0x4868e7
lea ecx, [ebx + 0x448]
push 0
call fcn.004d7b30
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
js 0x48672b
mov ecx, dword [ebx + 0x438]
push esi
mov edx, dword [ecx]
call dword [edx + 0x10]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov edx, eax
mov dword [ebp - 0x14], edx
test edx, edx
je 0x486831
lea eax, [ebx + 0xa50]
lea ecx, [edx + 0x154]
lea esi, [ebx + 0x9ec]
mov dword [ebp + 8], eax
lea edi, [edx + 0xc4]
mov dword [ebp + 0x10], 4
mov ebx, ecx
mov eax, dword [esi + 0x30]
lea ecx, [esi + 0x30]
lea edx, [ebp - 0x3c]
push edx
call dword [eax + 0x34]
push eax
lea ecx, [edi - 0x90]
mov dword [ebp - 4], 4
call fcn.00417e10
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.00417dd0
mov eax, dword [esi]
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, esi
call dword [eax + 0x34]
push eax
mov ecx, edi
mov dword [ebp - 4], 5
call fcn.00417e10
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.00417dd0
mov eax, dword [ebp + 8]
push 0
push 0
push 0x147
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageA]
add dword [ebp + 8], 0x28
add esi, 0xc
add edi, 0x24
dec dword [ebp + 0x10]
mov dword [ebx], eax
lea ebx, [ebx + 4]
jne 0x4867a5
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx + 0x9e0]
lea ecx, [ebx + 0x9e0]
lea edx, [ebp - 0x3c]
push edx
call dword [eax + 0x34]
mov ecx, dword [ebp - 0x14]
push eax
add ecx, 0x10
mov dword [ebp - 4], 6
call fcn.00417e10
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.00417dd0
lea eax, [ebp - 0x78]
push eax
push 0xffffffffffffffff
push 0x102b
push dword [ebx + 0x44c]
mov dword [ebp - 0x68], 2
mov dword [ebp - 0x6c], 0
call edi
lea eax, [ebp - 0x78]
push eax
push esi
push 0x102b
push dword [ebx + 0x44c]
mov dword [ebp - 0x68], 2
mov dword [ebp - 0x6c], 2
call edi
mov eax, dword [ebx + 0x448]
lea ecx, [ebx + 0x448]
push esi
call dword [eax + 0x128]
mov eax, dword [ebx]
push esi
mov ecx, ebx
call dword [eax + 0x184]
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 0x130]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 0xc8
jne 0x486b81
lea ecx, [ebx + 0x448]
push 0
call fcn.004d7b30
mov edi, eax
mov dword [ebp + 0xc], edi
test edi, edi
js 0x48672b
mov ecx, dword [ebx + 0x438]
push edi
mov edx, dword [ecx]
call dword [edx + 0x10]
mov esi, eax
test esi, esi
je 0x486b20
mov edx, dword [ebx]
lea eax, [ebp - 0x3c]
push eax
mov ecx, ebx
call dword [edx + 0x140]
push 0x5280ec
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 4], 7
call fcn.00414830
push 0x5280dc
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x144]
push eax
mov byte [ebp - 4], 8
call fcn.00414830
add esp, 0x18
lea edi, [esi + 0xc4]
lea eax, [ebx + 0x9ec]
mov esi, 4
mov byte [ebp - 4], 9
mov dword [ebp + 0x10], eax
mov dword [ebp + 8], esi
lea ecx, [eax + 0x30]
lea edx, [ebp - 0x9c]
mov eax, dword [ecx]
push edx
call dword [eax + 0x34]
lea eax, [ebp - 0x9c]
lea ebx, [edi - 0x90]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xa
call fcn.00419990
test al, al
je 0x486a23
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004147b0
mov esi, eax
push ebx
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0xe4]
push eax
mov byte [ebp - 4], 0xb
call fcn.004147b0
add esp, 0x18
push dword [esi + 4]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
lea ecx, [ebp - 0xe4]
setne bl
call fcn.00417dd0
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xa
call fcn.00417dd0
test bl, bl
je 0x486a20
lea eax, [ebp - 0x9c]
push eax
lea ecx, [edi - 0x90]
call fcn.00417e10
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0xc0]
mov eax, dword [ecx]
push edx
call dword [eax + 0x34]
lea eax, [ebp - 0xc0]
push eax
mov ecx, edi
mov byte [ebp - 4], 0xc
call fcn.00419990
test al, al
je 0x486ab9
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.004147b0
mov esi, eax
push edi
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x60]
push eax
mov byte [ebp - 4], 0xd
call fcn.004147b0
add esp, 0x18
push dword [esi + 4]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
lea ecx, [ebp - 0x60]
setne bl
call fcn.00417dd0
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 0xc
call fcn.00417dd0
test bl, bl
je 0x486ab6
lea eax, [ebp - 0xc0]
push eax
mov ecx, edi
call fcn.00417e10
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xa
call fcn.00417dd0
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 9
call fcn.00417dd0
mov eax, dword [ebp + 0x10]
add eax, 0xc
add edi, 0x24
dec esi
mov dword [ebp + 0x10], eax
mov dword [ebp + 8], esi
jne 0x486983
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 8
call fcn.00417dd0
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 7
call fcn.00417dd0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.00417dd0
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp + 0xc]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x78]
push eax
push 0xffffffffffffffff
push 0x102b
push dword [ebx + 0x44c]
mov dword [ebp - 0x68], 2
mov dword [ebp - 0x6c], 0
call esi
lea eax, [ebp - 0xfc]
push eax
push edi
push 0x102b
push dword [ebx + 0x44c]
mov dword [ebp - 0xec], 2
mov dword [ebp - 0xf0], 2
call esi
mov eax, dword [ebx + 0x448]
lea ecx, [ebx + 0x448]
jmp 0x48670d
push eax
push dword [ebp + 0xc]
push ecx
mov ecx, ebx
call fcn.004885f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc