Function at 0x618534
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff69c
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x964], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x618b1b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [eax + 0x68], edx
lea eax, [ebp - 4]
mov edx, dword [0x7070f8]
mov edx, dword [edx + 0x188]
call fcn.00405568
mov eax, dword [ebp - 4]
call fcn.0040b214
test al, al
jne 0x61859d
mov eax, dword [ebp - 4]
call fcn.0040b430
lea eax, [ebp - 8]
mov ecx, 0x618b34
mov edx, dword [ebp - 4]
call fcn.004057f8
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x5c]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 8]
call fcn.0040b1f0
test al, al
je 0x6185d2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x5c]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x5c]
mov edx, 0x618b4c
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x6185f5
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x5c]
mov edx, 0x618b4c
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax + 0x5c]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
mov ecx, eax
dec ecx
mov eax, ebx
xor edx, edx
call fcn.004d7cd0
lea eax, [ebp - 8]
mov ecx, 0x618b5c
mov edx, dword [ebp - 4]
call fcn.004057f8
xor ebx, ebx
mov eax, dword [ebp - 8]
call fcn.0040b1f0
test al, al
je 0x618a40
push 0x22
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x41e608]
call fcn.00424184
mov esi, eax
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x60], esi
push 0
push 0x4ad
mov eax, esi
mov edx, dword [eax]
call dword [edx]
call fcn.00406914
cmp edx, 0
jne 0x618663
cmp eax, 0
je 0x6188b8
push 0
push 0x470
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x60]
mov edx, dword [eax]
call dword [edx]
call fcn.00406914
cmp edx, 0
jne 0x61868b
cmp eax, 0
jne 0x61868b
mov bl, 1
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x60]
call fcn.0040448c
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.0040b2c0
call fcn.0040dc20
fstp qword [ebp - 0x40]
wait
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
lea eax, [ebp - 0x10]
mov edx, 0x618b74
call fcn.0040e970
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push 0x618b90
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405874
mov eax, dword [ebp - 0xc]
call fcn.00405970
push eax
mov eax, dword [ebp - 8]
call fcn.00405970
push eax
call sub.kernel32.dll_MoveFileA
push 0xffff
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x41e608]
call fcn.00424184
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x60], eax
test bl, bl
je 0x618a5a
push 0x22
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x41e608]
call fcn.00424184
mov dword [ebp - 0x30], eax
xor eax, eax
push ebp
push 0x6188a1
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x95d]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x60]
mov ecx, 0x470
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp eax, 0x470
jne 0x618878
lea eax, [ebp - 0x4ed]
xor ecx, ecx
mov edx, 0x4ad
call fcn.00403b3c
movzx eax, byte [ebp - 0x95d]
mov byte [ebp - 0x4ed], al
lea esi, [ebp - 0x95c]
lea edi, [ebp - 0x4ec]
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x4be]
lea edx, [ebp - 0x92e]
mov cl, 0xe
call fcn.00403a2c
mov eax, dword [ebp - 0x91f]
mov dword [ebp - 0x4af], eax
movzx eax, word [ebp - 0x8d7]
mov word [ebp - 0x42a], ax
lea edx, [ebp - 0x8d5]
lea eax, [ebp - 0x428]
mov ecx, 0x3e8
call fcn.00403258
movzx eax, word [ebp - 0x917]
mov word [ebp - 0x498], ax
mov eax, dword [ebp - 0x91b]
mov dword [ebp - 0x49c], eax
movzx eax, word [ebp - 0x915]
mov word [ebp - 0x490], ax
movzx eax, word [ebp - 0x913]
mov word [ebp - 0x48e], ax
movzx eax, byte [ebp - 0x911]
mov byte [ebp - 0x496], al
movzx eax, byte [ebp - 0x910]
mov byte [ebp - 0x495], al
push dword [ebp - 0x90b]
push dword [ebp - 0x90f]
call fcn.0048f398
mov dword [ebp - 0x494], eax
mov eax, dword [ebp - 0x907]
mov dword [ebp - 0x48c], eax
mov al, byte [ebp - 0x903]
mov byte [ebp - 0x488], al
lea esi, [ebp - 0x902]
lea edi, [ebp - 0x487]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edx, [ebp - 0x4ed]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x60]
mov ecx, 0x4ad
mov ebx, dword [eax]
call dword [ebx + 0x10]
jmp 0x618730
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6188a8
mov eax, dword [ebp - 0x30]
call fcn.0040448c
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x60]
call fcn.0040448c
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [eax + 0x60], edx
ret
call fcn.0040dc20
fstp qword [ebp - 0x28]
wait
lea edx, [ebp - 0x4ed]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x60]
mov ecx, 0x4ad
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp eax, 0x4ad
jne 0x618a5a
cmp byte [ebp - 0x4ed], 0
jne 0x61895b
lea eax, [ebp - 0x4be]
mov edx, 0x618b98
movzx ecx, byte [eax]
inc ecx
call fcn.00403acc
je 0x61895b
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x4c2]
push dword [ebp - 0x4c6]
call fcn.0048c48c
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x1e
jl 0x61892a
mov byte [ebp - 0x4ed], 1
jmp 0x61895b
cmp dword [ebp - 0x4af], 0
jne 0x61895b
cmp dword [ebp - 0x49c], 0
jne 0x61895b
cmp byte [ebp - 0x4eb], 0
je 0x618954
cmp byte [ebp - 0x4ec], 0
je 0x61895b
cmp dword [ebp - 0x2c], 3
jl 0x61895b
mov byte [ebp - 0x4ed], 1
cmp byte [ebp - 0x4ed], 0
jne 0x618a24
inc dword [ebp - 0x1c]
lea eax, [ebp - 0x964]
lea edx, [ebp - 0x4be]
call fcn.00405744
mov edx, dword [ebp - 0x964]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x5c]
call fcn.004d7a48
mov esi, eax
cmp esi, 0xffffffff
je 0x618a11
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x5c]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ebx, eax
test ebx, ebx
jne 0x6189d7
mov eax, 8
call fcn.00402ff0
mov ebx, eax
mov dword [ebx], 0xffffffff
mov dl, 1
mov eax, dword [0x41db90]
call fcn.0040445c
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x5c]
mov ecx, ebx
mov edx, esi
mov esi, dword [eax]
call dword [esi + 0x24]
mov eax, 0x32
call fcn.00402ff0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x68]
mov edx, dword [ebp - 0x20]
mov dword [edx], eax
mov eax, dword [ebp - 0x20]
lea edi, [eax + 4]
lea esi, [ebp - 0x4ec]
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, dword [ebx + 4]
mov edx, dword [ebp - 0x20]
call fcn.004208c0
jmp 0x618a35
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x68]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x64]
call fcn.004208c0
jmp 0x618a35
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x68]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x64]
call fcn.004208c0
mov eax, dword [ebp - 0x18]
inc dword [eax + 0x68]
jmp 0x6188c1
push 0xffff
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x41e608]
call fcn.00424184
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x60], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x5c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x618ab9
inc eax
mov dword [ebp - 0x34], eax
xor esi, esi
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x5c]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ebx, eax
test ebx, ebx
jne 0x618ab3
mov eax, 8
call fcn.00402ff0
mov ebx, eax
mov dword [ebx], 0xffffffff
mov dl, 1
mov eax, dword [0x41db90]
call fcn.0040445c
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x5c]
mov ecx, ebx
mov edx, esi
mov ebx, dword [eax]
call dword [ebx + 0x24]
inc esi
dec dword [ebp - 0x34]
jne 0x618a70
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x5c]
mov edx, 0x618b4c
call fcn.004d7a48
mov esi, eax
cmp esi, 0xffffffff
je 0x618ae3
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x5c]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x6c], eax
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x70], 1
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x74], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x618b22
lea eax, [ebp - 0x964]
call fcn.004054d0
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.004054f4
ret