Function at 0x10017ce0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a8660
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x100ed040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 2
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
je 0x100182f6
mov ecx, dword [ebp + 0x3c]
mov esi, closesocket
mov eax, esi
sub eax, ecx
cmp eax, 0x10
jb 0x1001838b
cmp dword [ebp + 0x40], 0xf
lea eax, [ebp + 0x2c]
push 0x10
cmova eax, dword [ebp + 0x2c]
push 0x100e29b4
push ecx
push eax
push ecx
push dword [ebp - 0x90]
lea ecx, [ebp - 0x40]
call fcn.10007ae0
mov byte [ebp - 4], 3
mov eax, esi
mov ecx, dword [ebp + 0x3c]
sub eax, ecx
cmp eax, 0x12
jb 0x1001838b
cmp dword [ebp + 0x40], 0xf
lea eax, [ebp + 0x2c]
push 0x12
cmova eax, dword [ebp + 0x2c]
push 0x100e29c8
push ecx
push eax
push ecx
push dword [ebp - 0x90]
lea ecx, [ebp - 0x28]
call fcn.10007ae0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0xf
push 0x100e5ab4
cmova eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.10034909
add esp, 0xc
test eax, eax
je 0x10017ddb
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push 0x100e5ab4
cmova eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.10034909
add esp, 0xc
test eax, eax
jne 0x10017dee
push dword [ebp - 0x8c]
call fcn.1003398d
add esp, 4
jmp 0x1001826a
mov edi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x8c], ecx
mov eax, 0x2aaaaaab
mov ecx, dword [ebp + 0xc]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1001826a
xor esi, esi
sub esp, 0x18
lea eax, [edi + esi]
mov ecx, esp
mov dword [ebp - 0x90], esp
push eax
call fcn.10005fc0
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x98], esp
mov ecx, esp
push eax
call fcn.10005fc0
sub esp, 0x18
mov byte [ebp - 4], 6
lea eax, [ebp + 0x14]
mov ecx, esp
push eax
call fcn.10005fc0
mov byte [ebp - 4], 4
call fcn.10014800
add esp, 0x48
test al, al
jne 0x10017ef1
mov eax, dword [ebp + 8]
sub esp, 0x18
add eax, esi
mov dword [ebp - 0x94], esp
mov ecx, esp
push eax
call fcn.10005fc0
sub esp, 0x18
mov byte [ebp - 4], 7
lea eax, [ebp + 0x14]
mov ecx, esp
push eax
call fcn.10005fc0
mov byte [ebp - 4], 4
call fcn.10017500
add esp, 0x30
test al, al
jne 0x10017ef1
mov eax, dword [ebp + 8]
sub esp, 0x18
add eax, esi
mov dword [ebp - 0x94], esp
mov ecx, esp
push eax
call fcn.10005fc0
sub esp, 0x18
mov byte [ebp - 4], 8
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x98], esp
mov ecx, esp
push eax
call fcn.10005fc0
sub esp, 0x18
mov byte [ebp - 4], 9
lea eax, [ebp + 0x14]
mov ecx, esp
push eax
call fcn.10005fc0
mov byte [ebp - 4], 4
call fcn.10017060
add esp, 0x48
test al, al
je 0x10017f24
mov ecx, dword [ebp + 0xc]
mov eax, 0x2aaaaaab
mov edi, dword [ebp + 8]
add esi, 0x18
inc dword [ebp - 0x8c]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x8c], eax
jb 0x10017e17
jmp 0x1001826a
mov eax, dword [ebp - 0x8c]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x94], esp
lea esi, [eax + eax*2]
mov eax, dword [ebp + 8]
shl esi, 3
add eax, esi
push eax
call fcn.10005fc0
sub esp, 0x18
mov byte [ebp - 4], 0xa
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x98], esp
mov ecx, esp
push eax
call fcn.10005fc0
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp + 0x14]
mov ecx, esp
push eax
call fcn.10005fc0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.10015150
add esp, 0x48
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x60], 0
jne 0x10018088
mov ecx, dword [ebp + 0x24]
mov eax, closesocket
add esi, dword [ebp + 8]
sub eax, ecx
cmp eax, 1
jb 0x1001838b
cmp dword [ebp + 0x28], 0xf
lea eax, [ebp + 0x14]
push 1
cmova eax, dword [ebp + 0x14]
push 0x100e26a8
push ecx
push eax
push ecx
push dword [ebp - 0x94]
lea ecx, [ebp - 0xc8]
call fcn.10007ae0
push esi
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0xd
call fcn.10005f50
lea ecx, [ebp - 0x70]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xb0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xa0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0xb0]
push eax
call fcn.10009c60
mov ecx, dword [ebp - 0x9c]
cmp ecx, 0xf
jbe 0x1001804a
mov edx, dword [ebp - 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10018040
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018390
push ecx
push edx
call fcn.100289c0
add esp, 8
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0xb4]
cmp ecx, 0xf
jbe 0x10018088
mov edx, dword [ebp - 0xc8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001807e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018390
push ecx
push edx
call fcn.100289c0
add esp, 8
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x88]
call fcn.10005fc0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x58]
call fcn.10005fc0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x70]
cmp dword [ebp - 0x5c], 0xf
mov eax, dword [ebp - 0x60]
cmova ecx, dword [ebp - 0x70]
mov dword [ebp - 0x90], ecx
cmp eax, 9
jb 0x10018180
add eax, 0xfffffff8
add eax, ecx
mov dword [ebp - 0x8c], eax
sub eax, ecx
push eax
push 0x53
push ecx
call fcn.1002bc00
mov edi, eax
add esp, 0xc
test edi, edi
je 0x10018180
nop dword [eax + eax]
mov ecx, edi
mov edx, str.Suspended
mov esi, 5
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10018111
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10018100
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10018138
cmp esi, 0xfffffffd
je 0x10018134
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10018138
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10018138
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x10018138
xor eax, eax
jmp 0x1001813d
sbb eax, eax
or eax, 1
test eax, eax
je 0x1001815e
mov eax, dword [ebp - 0x8c]
inc edi
sub eax, edi
push eax
push 0x53
push edi
call fcn.1002bc00
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x100180f0
jmp 0x10018180
sub edi, dword [ebp - 0x90]
cmp edi, 0xffffffff
je 0x10018180
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x58]
push eax
call fcn.10006140
cmp dword [ebp - 0x44], 0xf
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0x88]
cmova ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x74], 0xf
push ecx
cmova eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x100181d8
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100181ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018395
push ecx
push edx
call fcn.100289c0
add esp, 8
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp ecx, 0xf
jbe 0x10018221
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10018217
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018395
push ecx
push edx
call fcn.100289c0
add esp, 8
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
cmp ecx, 0xf
jbe 0x1001826a
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10018260
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018395
push ecx
push edx
call fcn.100289c0
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x1001829e
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10018294
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001839a
push ecx
push edx
call fcn.100289c0
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
cmp ecx, 0xf
jbe 0x100182e4
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100182da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001839a
push ecx
push edx
call fcn.100289c0
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea ecx, [ebp + 8]
call fcn.100060c0
mov ecx, dword [ebp + 0x28]
cmp ecx, 0xf
jbe 0x1001832e
mov edx, dword [ebp + 0x14]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10018324
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001839a
push ecx
push edx
call fcn.100289c0
add esp, 8
mov ecx, dword [ebp + 0x40]
mov dword [ebp + 0x24], 0
mov dword [ebp + 0x28], 0xf
mov byte [ebp + 0x14], 0
cmp ecx, 0xf
jbe 0x10018370
mov edx, dword [ebp + 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10018366
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001839a
push ecx
push edx
call fcn.100289c0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002897d
mov esp, ebp
pop ebp
ret
call fcn.10001290
call fcn.1002ea49
call fcn.1002ea49
call fcn.1002ea49
int3