Function at 0x100f2390
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d14ae
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x1022101c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x94], ebx
push 4
lea ecx, [ebp - 0x9c]
call sym.FileAssociate.dll_public:_void___thiscall_RC::RCSQLiteConnection::__autoclassinit2_unsigned_int_
push ebx
lea ecx, [ebp - 0x9c]
call fcn.10017a10
mov dword [ebp - 4], 0
cmp byte [ebp + 8], 0
je 0x100f23f9
cmp byte [ebx + 0x50], 0
jne 0x100f23f9
mov bl, 1
jmp 0x100f2dce
lea ecx, [ebp - 0x8c]
call fcn.10003bb0
mov byte [ebp - 4], 1
lea edi, [ebx + 8]
push edi
mov dword [ebp - 0xa0], edi
call fcn.10086a40
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
add esp, 4
test al, al
je 0x100f25ce
push edi
call fcn.10003f50
lea ecx, [ebp - 0x8c]
add esp, 4
cmp ecx, eax
je 0x100f245b
mov ecx, edi
call fcn.10003c50
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x100f244c
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x8c]
call fcn.10003cf0
push str..old.backup
call fcn.10003f00
add esp, 4
lea ecx, [ebp - 0x8c]
push eax
push str..old.backup
call fcn.1000b8c0
push 0xb
lea ecx, [ebp - 0x8c]
call fcn.10003ad0
push eax
mov ecx, edi
call fcn.10003ad0
push eax
call esi
test eax, eax
jne 0x100f25ce
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x8d], al
call fcn.10003bb0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x2c]
mov ecx, edi
call fcn.100a5430
movzx ecx, byte [ebp - 0x8d]
test al, al
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 0x98], ecx
lea ecx, [ebp - 0x44]
call fcn.10003bb0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x8c]
call fcn.100a5430
test al, al
jne 0x100f24f2
cmp byte [ebp - 0x98], al
je 0x100f2529
push 0xb
lea ecx, [ebp - 0x44]
call fcn.10003ad0
push eax
lea ecx, [ebp - 0x2c]
call fcn.10003ad0
push eax
call esi
test eax, eax
je 0x100f2529
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.10003b10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.10003b10
jmp 0x100f25ce
lea ecx, [ebp - 0x8c]
call fcn.100a4e30
cmp eax, 0xffffffff
je 0x100f25ab
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x74]
call fcn.10005840
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x74]
call fcn.100a51f0
test al, al
je 0x100f259f
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0x8c]
call fcn.100a4ed0
test al, al
je 0x100f259f
lea edx, [ebp - 0x8c]
mov ecx, edi
call fcn.100a4ed0
lea ecx, [ebp - 0x74]
test al, al
je 0x100f2594
call fcn.100a4fe0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.10003b10
jmp 0x100f250c
lea edx, [ebp - 0x8c]
call fcn.100a4ed0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.10003b10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.10003b10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.10003b10
lea ecx, [ebp - 0x8c]
call fcn.1000d230
push ecx
lea ecx, [ebp - 0x5c]
call fcn.10007350
call fcn.1008a310
mov byte [ebp - 4], 5
push ecx
push edi
lea ecx, [ebp - 0x5c]
call fcn.1008aaf0
test al, al
jne 0x100f2711
lea ecx, [ebp - 0x8c]
call fcn.10003ac0
test al, al
jne 0x100f270a
push 0xb
mov ecx, edi
call fcn.10003ad0
push eax
lea ecx, [ebp - 0x8c]
call fcn.10003ad0
push eax
call esi
test eax, eax
jne 0x100f26ff
lea ecx, [ebp - 0x44]
xor bl, bl
call fcn.10003bb0
mov byte [ebp - 4], 6
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x8c]
call fcn.100a5430
test al, al
movzx ebx, bl
mov eax, 1
lea ecx, [ebp - 0x2c]
cmovne ebx, eax
call fcn.10003bb0
mov byte [ebp - 4], 7
lea edx, [ebp - 0x2c]
mov ecx, edi
call fcn.100a5430
test al, al
jne 0x100f266c
test bl, bl
je 0x100f2686
push 0xb
lea ecx, [ebp - 0x2c]
call fcn.10003ad0
push eax
lea ecx, [ebp - 0x44]
call fcn.10003ad0
push eax
call esi
test eax, eax
jne 0x100f26e7
mov ecx, edi
call fcn.100a4e30
cmp eax, 0xffffffff
je 0x100f26e7
push edi
lea ecx, [ebp - 0x74]
call fcn.10005840
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x74]
call fcn.100a51f0
test al, al
je 0x100f26db
lea edx, [ebp - 0x74]
mov ecx, edi
call fcn.100a4ed0
test al, al
je 0x100f26db
mov edx, edi
lea ecx, [ebp - 0x8c]
call fcn.100a4ed0
lea ecx, [ebp - 0x74]
test al, al
je 0x100f26d4
call fcn.100a4fe0
jmp 0x100f26db
mov edx, edi
call fcn.100a4ed0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x74]
call fcn.10003b10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.10003b10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
call fcn.10003b10
lea ecx, [ebp - 0x8c]
call fcn.1000d230
xor bl, bl
jmp 0x100f2db3
push str.Version
lea ecx, [ebp - 0x44]
call fcn.10003b60
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
push str.Header
call fcn.10003b60
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x44]
push 1
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.1008a740
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
call fcn.10003b10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
call fcn.10003b10
push str.NextTaskID
lea ecx, [ebp - 0x44]
call fcn.10003b60
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c]
push str.Header
call fcn.10003b60
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x44]
push dword [ebx + 4]
lea ecx, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1008a740
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c]
call fcn.10003b10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
call fcn.10003b10
push str.Checksum
lea ecx, [ebp - 0x44]
call fcn.10003b60
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2c]
push str.Header
call fcn.10003b60
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x44]
push 0
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.1008a740
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2c]
call fcn.10003b10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
call fcn.10003b10
push str.MaxConnections
lea ecx, [ebp - 0x44]
call fcn.10003b60
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2c]
push str.GlobalSettings
call fcn.10003b60
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x44]
push dword [ebx + 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.1008a740
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2c]
call fcn.10003b10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
call fcn.10003b10
push str.TotalUploadLimit
lea ecx, [ebp - 0x44]
call fcn.10003b60
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2c]
push str.GlobalSettings
call fcn.10003b60
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x44]
push dword [ebx + 0x2c]
lea ecx, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1008a740
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2c]
call fcn.10003b10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
call fcn.10003b10
push str.TotalDownloadLimit
lea ecx, [ebp - 0x44]
call fcn.10003b60
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x2c]
push str.GlobalSettings
call fcn.10003b60
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x44]
push dword [ebx + 0x30]
lea ecx, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1008a740
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x2c]
call fcn.10003b10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
call fcn.10003b10
push str.P2pTimeout
lea ecx, [ebp - 0x44]
call fcn.10003b60
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x2c]
push str.GlobalSettings
call fcn.10003b60
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x44]
push dword [ebx + 0x24]
lea ecx, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1008a740
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x2c]
call fcn.10003b10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
call fcn.10003b10
push str.MaxTaskCount
lea ecx, [ebp - 0x44]
call fcn.10003b60
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x2c]
push str.GlobalSettings
call fcn.10003b60
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x44]
push dword [ebx + 0x20]
lea ecx, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1008a740
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x2c]
call fcn.10003b10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
call fcn.10003b10
push str.SeedTimeLimit
lea ecx, [ebp - 0x44]
call fcn.10003b60
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x2c]
push str.GlobalSettings
call fcn.10003b60
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x44]
push dword [ebx + 0x38]
lea ecx, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1008a740
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x2c]
call fcn.10003b10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
call fcn.10003b10
push str.SeedTimeRatioLimit
lea ecx, [ebp - 0x44]
call fcn.10003b60
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x2c]
push str.GlobalSettings
call fcn.10003b60
mov byte [ebp - 4], 0x1c
movss xmm0, dword [ebx + 0x34]
mulss xmm0, dword [0x101f52fc]
call fcn.101b2480
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.1008a740
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x2c]
call fcn.10003b10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
call fcn.10003b10
xorps xmm0, xmm0
push 0
movlpd qword [ebp - 0x4c], xmm0
push 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
call fcn.100ed2d0
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 0x1f
lea eax, [ebp - 0x4c]
push eax
mov ecx, ebx
call fcn.100f3450
mov eax, dword [ebp - 0x4c]
mov ebx, 1
mov esi, dword [eax]
cmp esi, eax
je 0x100f2b2a
mov edi, eax
lea ecx, [ebp - 0x2c]
call fcn.10003bb0
mov byte [ebp - 4], 0x20
lea eax, [ebp - 0x2c]
push ebx
push str.Task_u
push eax
call fcn.100851e0
mov eax, dword [ebp - 0x94]
inc ebx
add esp, 0xc
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x68], 0
lea ebx, [esi + 8]
mov dword [ebp - 0x64], 0
mov eax, dword [eax + 0x40]
mov edx, eax
mov dword [ebp - 0x60], 0
mov ecx, dword [edx + 4]
cmp byte [ecx + 0xd], 0
jne 0x100f2ad7
mov ebx, dword [ebx]
nop dword [eax]
cmp dword [ecx + 0x10], ebx
jae 0x100f2aca
mov ecx, dword [ecx + 8]
jmp 0x100f2ace
mov edx, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x100f2ac0
lea ebx, [esi + 8]
cmp edx, eax
je 0x100f2af6
mov ecx, dword [ebx]
cmp ecx, dword [edx + 0x10]
jb 0x100f2af6
cmp edx, eax
je 0x100f2af6
movq xmm0, qword [edx + 0x14]
mov eax, dword [edx + 0x1c]
movq qword [ebp - 0x68], xmm0
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x68]
push eax
push ebx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.100f2e00
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x2c]
call fcn.10003b10
mov esi, dword [esi]
mov ebx, dword [ebp - 0x98]
cmp esi, edi
jne 0x100f2a66
mov edi, dword [ebp - 0xa0]
push str.TaskCount
lea ecx, [ebp - 0x44]
call fcn.10003b60
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x2c]
push str.Header
call fcn.10003b60
mov byte [ebp - 4], 0x22
lea eax, [ebp - 0x44]
push dword [ebp - 0x48]
lea ecx, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1008a740
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x2c]
call fcn.10003b10
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x44]
call fcn.10003b10
lea ecx, [ebp - 0x5c]
call fcn.1008acf0
lea ecx, [ebp - 0x8c]
test al, al
je 0x100f2bb0
mov eax, dword [ebp - 0x94]
mov byte [eax + 0x50], 0
call fcn.10003ac0
test al, al
jne 0x100f2cc8
lea ecx, [ebp - 0x8c]
call fcn.100a4fe0
jmp 0x100f2cc8
call fcn.10003ac0
test al, al
jne 0x100f2cc8
push 0xb
mov ecx, edi
call fcn.10003ad0
push eax
lea ecx, [ebp - 0x8c]
call fcn.10003ad0
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push eax
call esi
test eax, eax
jne 0x100f2cbd
lea ecx, [ebp - 0x44]
xor bl, bl
call fcn.10003bb0
mov byte [ebp - 4], 0x23
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x8c]
call fcn.100a5430
test al, al
movzx ebx, bl
mov eax, 1
lea ecx, [ebp - 0x2c]
cmovne ebx, eax
call fcn.10003bb0
mov byte [ebp - 4], 0x24
lea edx, [ebp - 0x2c]
mov ecx, edi
call fcn.100a5430
test al, al
jne 0x100f2c2a
test bl, bl
je 0x100f2c44
push 0xb
lea ecx, [ebp - 0x2c]
call fcn.10003ad0
push eax
lea ecx, [ebp - 0x44]
call fcn.10003ad0
push eax
call esi
test eax, eax
jne 0x100f2ca5
mov ecx, edi
call fcn.100a4e30
cmp eax, 0xffffffff
je 0x100f2ca5
push edi
lea ecx, [ebp - 0x74]
call fcn.10005840
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x74]
call fcn.100a51f0
test al, al
je 0x100f2c99
lea edx, [ebp - 0x74]
mov ecx, edi
call fcn.100a4ed0
test al, al
je 0x100f2c99
mov edx, edi
lea ecx, [ebp - 0x8c]
call fcn.100a4ed0
lea ecx, [ebp - 0x74]
test al, al
je 0x100f2c92
call fcn.100a4fe0
jmp 0x100f2c99
mov edx, edi
call fcn.100a4ed0
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x74]
call fcn.10003b10
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x2c]
call fcn.10003b10
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x44]
call fcn.10003b10
lea ecx, [ebp - 0x8c]
call fcn.1000d230
push 4
lea ecx, [ebp - 0x94]
call sym.FileAssociate.dll_public:_void___thiscall_RC::RCSQLiteConnection::__autoclassinit2_unsigned_int_
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x94]
call fcn.10017a10
mov byte [ebp - 4], 0x26
mov edi, dword [ebp - 0x5c]
mov ecx, edi
mov esi, dword [edi]
push dword [esi + 4]
call fcn.1008b4d0
mov eax, dword [edi]
lea ecx, [edi + 0xc]
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov dword [edi + 4], 0
call fcn.1000d230
mov byte [edi + 8], 0
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x94]
call fcn.10017a40
mov byte [ebp - 0x8d], 1
mov byte [ebp - 4], 0x27
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x48], 0
mov ebx, dword [eax]
mov dword [eax], eax
mov dword [eax + 4], eax
cmp ebx, eax
je 0x100f2d9b
nop word [eax + eax]
mov edi, dword [ebx]
lea esi, [ebx + 8]
mov dword [ebp - 0xa0], esi
mov byte [ebp - 4], 0x29
lea ecx, [esi + 0xf8]
call fcn.10003b10
mov byte [ebp - 4], 0x28
lea ecx, [esi + 0xe0]
call fcn.10003b10
mov byte [ebp - 4], 0x27
mov ecx, esi
call fcn.100348c0
push 0x128
push ebx
call fcn.101b079d
mov eax, dword [ebp - 0x4c]
add esp, 8
mov ebx, edi
cmp edi, eax
jne 0x100f2d50
mov byte [ebp - 4], 5
push 0x128
push eax
call fcn.101b079d
mov bl, byte [ebp - 0x8d]
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.1008a450
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8c]
call fcn.10003b10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.10017a40
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101b075c
mov esp, ebp
pop ebp
ret 4