Function at 0x10006b70
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa28
mov dword [ebp - 0xa28], ecx
lea ecx, [ebp - 0x910]
call fcn.10008e50
mov dword [ebp - 0x124], 1
xor eax, eax
shl eax, 4
mov ecx, dword [ebp - 0xa28]
lea edx, [ecx + eax + 0x1204]
mov eax, dword [edx]
mov dword [ebp - 0x134], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x130], ecx
mov eax, dword [edx + 8]
mov dword [ebp - 0x12c], eax
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x128], ecx
xor edx, edx
shl edx, 4
mov eax, dword [ebp - 0xa28]
lea ecx, [eax + edx + 0xb20]
mov edx, dword [ecx]
mov dword [ebp - 0x120], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x11c], eax
mov edx, dword [ecx + 8]
mov dword [ebp - 0x118], edx
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x114], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xa28]
mov edx, dword [ecx + 0xb1c]
mov dword [ebp - 0x9dc], edx
cmp dword [ebp - 0x9dc], 0
jne 0x10006c40
mov dword [ebp - 0x914], 0
lea ecx, [ebp - 0x910]
call fcn.10009180
mov eax, dword [ebp - 0x914]
jmp 0x100072b4
xor eax, eax
shl eax, 4
mov ecx, dword [ebp - 0xa28]
lea edx, [ecx + eax + 0x1204]
mov eax, dword [edx]
mov dword [ebp - 0x924], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x920], ecx
mov eax, dword [edx + 8]
mov dword [ebp - 0x91c], eax
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x918], ecx
cmp dword [ebp - 0x924], 0
je 0x10006f6c
xor edx, edx
shl edx, 4
mov eax, dword [ebp - 0xa28]
lea ecx, [eax + edx + 0x1204]
mov edx, dword [ecx]
mov dword [ebp - 0x934], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x930], eax
mov edx, dword [ecx + 8]
mov dword [ebp - 0x92c], edx
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x928], eax
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 0x934]
push edx
mov ecx, dword [ebp - 0xa28]
call fcn.100067f0
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0x16
je 0x10006f67
cmp dword [ebp - 0x124], 0
jne 0x10006d2d
xor eax, eax
shl eax, 4
mov ecx, dword [ebp - 0xa28]
lea edx, [ecx + eax + 0x1204]
mov eax, dword [edx]
mov dword [ebp - 0x944], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x940], ecx
mov eax, dword [edx + 8]
mov dword [ebp - 0x93c], eax
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x938], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x940]
je 0x10006f67
xor eax, eax
shl eax, 4
mov ecx, dword [ebp - 0xa28]
lea edx, [ecx + eax + 0xb20]
mov eax, dword [edx]
mov dword [ebp - 0x954], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x950], ecx
mov eax, dword [edx + 8]
mov dword [ebp - 0x94c], eax
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x948], ecx
mov edx, dword [ebp - 0x954]
mov dword [ebp - 0x9e0], edx
push 1
push 0
mov eax, dword [ebp - 0x9e0]
push eax
lea ecx, [ebp - 0x910]
call fcn.100096d0
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
jne 0x10006ec0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x434]
push edx
mov ecx, dword [ebp - 0xa28]
call fcn.100067f0
test eax, eax
jne 0x10006ebb
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str..exe
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x434]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x10006e02
mov dword [ebp - 0x124], 0xe
jmp 0x10006ebb
xor edx, edx
shl edx, 4
mov eax, dword [ebp - 0xa28]
lea ecx, [eax + edx + 0x1204]
mov edx, dword [ecx]
mov dword [ebp - 0x964], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x960], eax
mov edx, dword [ecx + 8]
mov dword [ebp - 0x95c], edx
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x958], eax
mov ecx, dword [ebp - 0x95c]
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x130], edx
lea eax, [ebp - 0x110]
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x9f0], ecx
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x9ec], edx
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x9e8], eax
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x9e4], ecx
mov edx, dword [ebp - 0x9e4]
push edx
mov eax, dword [ebp - 0x9e8]
push eax
mov ecx, dword [ebp - 0x9ec]
push ecx
mov edx, dword [ebp - 0x9f0]
push edx
xor eax, eax
shl eax, 4
mov ecx, dword [ebp - 0xa28]
lea ecx, [ecx + eax + 0x1204]
call fcn.10007cb0
jmp 0x10006f67
xor edx, edx
shl edx, 4
mov eax, dword [ebp - 0xa28]
lea ecx, [eax + edx + 0xb20]
mov edx, dword [ecx]
mov dword [ebp - 0x974], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x970], eax
mov edx, dword [ecx + 8]
mov dword [ebp - 0x96c], edx
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x968], eax
mov ecx, dword [ebp - 0x968]
add ecx, 1
mov dword [ebp - 0x114], ecx
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0xa00], edx
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x9fc], eax
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x9f8], ecx
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x9f4], edx
mov eax, dword [ebp - 0x9f4]
push eax
mov ecx, dword [ebp - 0x9f8]
push ecx
mov edx, dword [ebp - 0x9fc]
push edx
mov eax, dword [ebp - 0xa00]
push eax
xor ecx, ecx
shl ecx, 4
mov edx, dword [ebp - 0xa28]
lea ecx, [edx + ecx + 0xb20]
call fcn.10007cb0
jmp 0x100071a6
xor eax, eax
shl eax, 4
mov ecx, dword [ebp - 0xa28]
lea edx, [ecx + eax + 0xb20]
mov eax, dword [edx]
mov dword [ebp - 0x984], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x980], ecx
mov eax, dword [edx + 8]
mov dword [ebp - 0x97c], eax
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x978], ecx
mov edx, dword [ebp - 0x984]
mov dword [ebp - 0xa04], edx
push 1
push 0
mov eax, dword [ebp - 0xa04]
push eax
lea ecx, [ebp - 0x910]
call fcn.100096d0
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
jne 0x100070ff
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x434]
push edx
mov ecx, dword [ebp - 0xa28]
call fcn.100067f0
test eax, eax
jne 0x100070fa
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str..exe
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x434]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x10007041
mov dword [ebp - 0x124], 0xe
jmp 0x100070fa
xor edx, edx
shl edx, 4
mov eax, dword [ebp - 0xa28]
lea ecx, [eax + edx + 0x1204]
mov edx, dword [ecx]
mov dword [ebp - 0x994], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x990], eax
mov edx, dword [ecx + 8]
mov dword [ebp - 0x98c], edx
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x988], eax
mov ecx, dword [ebp - 0x98c]
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x130], edx
lea eax, [ebp - 0x110]
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0xa14], ecx
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0xa10], edx
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0xa0c], eax
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0xa08], ecx
mov edx, dword [ebp - 0xa08]
push edx
mov eax, dword [ebp - 0xa0c]
push eax
mov ecx, dword [ebp - 0xa10]
push ecx
mov edx, dword [ebp - 0xa14]
push edx
xor eax, eax
shl eax, 4
mov ecx, dword [ebp - 0xa28]
lea ecx, [ecx + eax + 0x1204]
call fcn.10007cb0
jmp 0x100071a6
xor edx, edx
shl edx, 4
mov eax, dword [ebp - 0xa28]
lea ecx, [eax + edx + 0xb20]
mov edx, dword [ecx]
mov dword [ebp - 0x9a4], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x9a0], eax
mov edx, dword [ecx + 8]
mov dword [ebp - 0x99c], edx
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x998], eax
mov ecx, dword [ebp - 0x998]
add ecx, 1
mov dword [ebp - 0x114], ecx
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0xa24], edx
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0xa20], eax
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0xa1c], ecx
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0xa18], edx
mov eax, dword [ebp - 0xa18]
push eax
mov ecx, dword [ebp - 0xa1c]
push ecx
mov edx, dword [ebp - 0xa20]
push edx
mov eax, dword [ebp - 0xa24]
push eax
xor ecx, ecx
shl ecx, 4
mov edx, dword [ebp - 0xa28]
lea ecx, [edx + ecx + 0xb20]
call fcn.10007cb0
cmp dword [ebp - 0x124], 0
jne 0x100071fe
xor eax, eax
shl eax, 4
mov ecx, dword [ebp - 0xa28]
lea edx, [ecx + eax + 0x1204]
mov eax, dword [edx]
mov dword [ebp - 0x9b4], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x9b0], ecx
mov eax, dword [edx + 8]
mov dword [ebp - 0x9ac], eax
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x9a8], ecx
push 0
mov edx, dword [ebp - 0x9b4]
push edx
mov ecx, dword [ebp - 0xa28]
call fcn.10006190
mov dword [ebp - 0x124], eax
xor eax, eax
shl eax, 4
mov ecx, dword [ebp - 0xa28]
lea edx, [ecx + eax + 0xb20]
mov eax, dword [edx]
mov dword [ebp - 0x9c4], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x9c0], ecx
mov eax, dword [edx + 8]
mov dword [ebp - 0x9bc], eax
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x9b8], ecx
mov edx, dword [ebp - 0xa28]
mov eax, dword [ebp - 0x9bc]
mov dword [edx + 0x434], eax
xor ecx, ecx
shl ecx, 4
mov edx, dword [ebp - 0xa28]
lea eax, [edx + ecx + 0x1204]
mov ecx, dword [eax]
mov dword [ebp - 0x9d4], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x9d0], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x9cc], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x9c8], edx
push 0
mov eax, dword [ebp - 0x9cc]
push eax
mov ecx, dword [ebp - 0x124]
push ecx
push 3
mov ecx, dword [ebp - 0xa28]
call fcn.10006360
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x9d8], edx
lea ecx, [ebp - 0x910]
call fcn.10009180
mov eax, dword [ebp - 0x9d8]
mov esp, ebp
pop ebp
ret