Function at 0x4054c0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4986b7
mov eax, dword fs:[0]
push eax
sub esp, 0x204
mov eax, dword [0x4ed800]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1dc]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x1f4], eax
push ecx
push eax
movlpd qword [ebp - 0x1dc], xmm0
movlpd qword [ebp - 0x1d4], xmm0
movlpd qword [ebp - 0x1cc], xmm0
call fcn.00453bc4
test eax, eax
je 0x405864
mov eax, dword [ebp - 0x1c4]
cmp eax, dword [ebp + 0xc]
jbe 0x405864
push 0
call fcn.00473502
add esp, 4
mov dword [ebp - 0x1fc], eax
mov dword [ebp - 0x1f8], edx
mov dword [ebp - 4], 1
call fcn.004523c4
mov ecx, eax
mov byte [ebp - 4], 0
test ecx, ecx
je 0x405880
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x1e4], edi
lea eax, [ebp - 0x1fc]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.004730b1
add esp, 8
test eax, eax
jne 0x40588a
lea eax, [ebp - 0xb4]
push eax
push str.__Y__m__d__Hh__Mm
lea eax, [ebp - 0x90]
push 0x80
push eax
call fcn.004734e3
add esp, 0x10
test eax, eax
jne 0x4055c5
mov byte [ebp - 0x90], al
mov byte [ebp - 4], 5
call fcn.004523c4
mov ecx, eax
mov byte [ebp - 4], 2
test ecx, ecx
je 0x405894
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1e8], eax
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 6
test eax, 0xffff0000
jne 0x40560c
movzx eax, ax
lea ecx, [ebp - 0x1e8]
push eax
call fcn.00405aa0
jmp 0x405631
lea ecx, [ebp - 0x90]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405615
sub ecx, edx
lea eax, [ebp - 0x90]
push ecx
push eax
lea ecx, [ebp - 0x1e8]
call fcn.00405cb0
mov esi, dword [ebp - 0x1e8]
lea ecx, [edi - 0x10]
or eax, 0xffffffff
mov byte [ebp - 4], 7
mov dword [ebp - 0x1ec], ecx
lea ebx, [esi - 0x10]
cmp ebx, ecx
je 0x405762
lea eax, [ecx + 0xc]
mov dword [ebp - 0x1f0], eax
mov eax, dword [eax]
shr eax, 0x1f
test al, al
jne 0x40574a
mov edx, dword [ebx]
cmp edx, dword [ecx]
jne 0x40574a
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x10]
mov ecx, dword [ebx + 0xc]
mov edx, eax
lea eax, [ebx + 0xc]
shr ecx, 0x1f
test cl, cl
jne 0x405696
cmp edx, dword [ebx]
jne 0x405696
mov edi, ebx
lock inc dword [eax]
jmp 0x40571f
mov eax, dword [edx]
mov ecx, edx
push 1
push dword [ebx + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x1e0], edx
test edx, edx
je 0x40589e
mov ecx, dword [ebx + 4]
mov dword [edx + 4], ecx
add edx, 0x10
mov edi, dword [ebx + 4]
lea eax, [ecx + 1]
mov dword [ebp - 0x1e4], eax
add edi, 1
je 0x405719
test edx, edx
jne 0x4056dc
call fcn.00472e0d
mov dword [eax], 0x16
jmp 0x405714
test esi, esi
je 0x4056f1
cmp eax, edi
jb 0x4056f1
push edi
push esi
push edx
call fcn.0046f520
add esp, 0xc
jmp 0x405719
push eax
push 0
push edx
call fcn.0046faa0
add esp, 0xc
test esi, esi
je 0x4056cf
cmp dword [ebp - 0x1e4], edi
jae 0x405719
call fcn.00472e0d
mov dword [eax], 0x22
call fcn.00472d0f
mov edi, dword [ebp - 0x1e0]
mov ecx, dword [ebp - 0x1f0]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40573f
mov edx, dword [ebp - 0x1ec]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0x10
mov dword [ebp - 0x1e4], edi
jmp 0x40575f
push dword [esi - 0xc]
lea ecx, [ebp - 0x1e4]
push esi
call fcn.00405cb0
mov edi, dword [ebp - 0x1e4]
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x405774
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
call fcn.004523c4
mov ecx, eax
mov byte [ebp - 4], 2
test ecx, ecx
je 0x4058a3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1e0], eax
mov ebx, dword [ebp - 0x1f4]
mov byte [ebp - 4], 9
test ebx, ebx
je 0x4057d0
test ebx, 0xffff0000
jne 0x4057c0
movzx eax, bx
lea ecx, [ebp - 0x1e0]
push eax
call fcn.00405aa0
jmp 0x4057df
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4057c5
sub ecx, edx
jmp 0x4057d2
xor ecx, ecx
push ecx
push ebx
lea ecx, [ebp - 0x1e0]
call fcn.00405cb0
mov eax, dword [ebp - 0x1e0]
lea ecx, [ebp - 0x1e0]
push edi
mov byte [ebp - 4], 0xa
mov eax, dword [eax - 0xc]
add eax, 0xfffffffc
push eax
call fcn.00405960
mov esi, dword [ebp - 0x1e0]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 0x1000
push ebx
lea ecx, [ebp - 0x210]
call fcn.0045284f
lea ecx, [ebp - 0x210]
mov byte [ebp - 4], 0xb
call fcn.00452bcc
lea ecx, [ebp - 0x210]
call fcn.0045290f
or ebx, 0xffffffff
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40584f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x405864
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00469ad1
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00405270
push 0x80070057
call fcn.00405270
push 0x80004005
call fcn.00405270
call fcn.00405e50
push 0x80004005
call fcn.00405270
int3