Function at 0x1005a970
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x10136062
mov eax, dword fs:[0]
push eax
mov eax, 0x10dc
call fcn.10126240
mov eax, dword [0x1017455c]
xor eax, esp
mov dword [esp + 0x10d8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1017455c]
xor eax, esp
push eax
lea eax, [esp + 0x10f0]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x168]
mov dword [esp + 0x3c], esi
call fcn.10062b90
xor edi, edi
lea ecx, [esp + 0xd4]
mov dword [esp + 0x10f8], edi
call fcn.10062b90
lea ecx, [esp + 0x324]
mov byte [esp + 0x10f8], 1
call fcn.10062b90
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x10f8], 2
call fcn.10062b90
lea ecx, [esp + 0x40]
mov byte [esp + 0x10f8], 3
call fcn.10062b90
lea ecx, [esp + 0x290]
mov byte [esp + 0x10f8], 4
call fcn.10062b90
push 0x207
lea eax, [esp + 0x4c1]
push edi
mov byte [esp + 0x1100], 5
push eax
mov dword [esp + 0x30], edi
mov byte [esp + 0x4c8], 0
call fcn.10116880
mov cx, word [0x10148b5c]
mov dl, byte [0x10148b5e]
push 0x20
lea eax, [esp + 0x44]
push eax
xor ebx, ebx
xor ebp, ebp
push esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], edi
mov word [esp + 0x4c], cx
mov byte [esp + 0x4e], dl
call fcn.1010eb3a
mov esi, eax
add esp, 0x18
mov dword [esp + 0x28], esi
test esi, esi
je 0x1005ae65
push 0xa26
lea ecx, [esp + 0x6c8]
call fcn.10046580
add esp, 4
test eax, eax
je 0x1005acb8
jmp 0x1005aac0
push 0x103
lea ecx, [esp + 0x3bd]
push 0
push ecx
mov byte [esp + 0x3c4], bl
call fcn.10116880
mov eax, dword [esp + 0x110c]
add esp, 0xc
test eax, eax
je 0x1005aaf1
cmp dword [eax], ebx
je 0x1005acac
mov al, byte [esp + 0x6c4]
test al, al
je 0x1005ac8a
xor esi, esi
lea ecx, [esp + 0x6c4]
lea esp, [esp]
cmp al, 0x2c
jne 0x1005ab15
inc esi
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x1005ab10
cmp esi, 3
jl 0x1005ac8a
cmp esi, 4
jg 0x1005ac8a
cmp esi, 3
jne 0x1005ab51
push 0
push 0
push 0
push 0
push esi
push 0
lea edx, [esp + 0x6dc]
push edx
lea eax, [esp + 0x30]
push eax
jmp 0x1005ac82
push 1
lea ecx, [esp + 0x24]
push 0x2c
push ecx
lea edx, [esp + 0x3c4]
lea ecx, [esp + 0x6d0]
mov dword [esp + 0x2c], ebx
call fcn.10045850
add esp, 0xc
test esi, esi
je 0x1005ab9c
push 1
lea edx, [esp + 0x24]
push 0x2c
push edx
lea edx, [esp + 0x3c4]
lea ecx, [esp + 0x6d0]
dec esi
call fcn.10045850
add esp, 0xc
test esi, esi
jne 0x1005ab78
mov eax, 0x101532e0
lea ecx, [esp + 0x3b8]
call fcn.10031890
test eax, eax
jne 0x1005abca
push eax
push eax
push eax
push eax
push 3
push eax
lea eax, [esp + 0x6dc]
push eax
lea ecx, [esp + 0x48]
push ecx
jmp 0x1005ac82
mov eax, 0x10154d68
lea ecx, [esp + 0x3b8]
call fcn.10031890
test eax, eax
jne 0x1005abf8
push eax
push eax
push eax
push eax
push 3
push eax
lea edx, [esp + 0x6dc]
push edx
lea eax, [esp + 0x4c]
push eax
jmp 0x1005ac82
mov eax, 0x10154d6c
lea ecx, [esp + 0x3b8]
call fcn.10031890
test eax, eax
jne 0x1005ac13
lea edx, [esp + 0x38]
jmp 0x1005ac6d
mov eax, 0x10154d70
lea ecx, [esp + 0x3b8]
call fcn.10031890
test eax, eax
jne 0x1005ac3e
push eax
push eax
push eax
push eax
push 3
push eax
lea eax, [esp + 0x6dc]
push eax
lea ecx, [esp + 0x34]
push ecx
jmp 0x1005ac82
mov eax, 0x10154d74
lea ecx, [esp + 0x3b8]
call fcn.10031890
test eax, eax
jne 0x1005ac69
push eax
push eax
push eax
push eax
push 3
push eax
lea edx, [esp + 0x6dc]
push edx
lea eax, [esp + 0x30]
push eax
jmp 0x1005ac82
lea edx, [esp + 0x1c]
push 0
push 0
push 0
push 0
push 3
push 0
lea ecx, [esp + 0x6dc]
push ecx
push edx
call fcn.1004d3b0
add esp, 0x20
mov esi, dword [esp + 0x28]
push 0xa26
mov eax, esi
lea ecx, [esp + 0x6c8]
call fcn.10046580
add esp, 4
test eax, eax
jne 0x1005aac0
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x38]
push esi
call fcn.1010f263
add esp, 4
test edi, edi
jne 0x1005acec
test ebp, ebp
jne 0x1005acec
test ebx, ebx
jne 0x1005acec
cmp dword [esp + 0x18], ebx
jne 0x1005acec
cmp dword [esp + 0x1c], ebx
jne 0x1005acec
cmp dword [esp + 0x14], ebx
jne 0x1005acec
mov dword [esp + 0x24], 2
jmp 0x1005ae6d
call fcn.1004d610
mov edi, ebp
mov esi, eax
call fcn.1004d610
mov edi, ebx
mov ebp, eax
call fcn.1004d610
mov edi, dword [esp + 0x18]
mov ebx, eax
call fcn.1004d610
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
call fcn.1004d610
mov edi, dword [esp + 0x14]
mov dword [esp + 0x20], eax
call fcn.1004d610
mov edi, eax
lea eax, [esp + 0x168]
push eax
push esi
call fcn.1004d5d0
lea ecx, [esp + 0xdc]
push ecx
push ebp
call fcn.1004d5d0
lea edx, [esp + 0x334]
push edx
push ebx
call fcn.1004d5d0
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x214]
push eax
push ecx
call fcn.1004d5d0
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x60]
push edx
push eax
call fcn.1004d5d0
lea ecx, [esp + 0x2b8]
push ecx
push edi
call fcn.1004d5d0
mov edi, dword [esp + 0x6c]
add esp, 0x30
push edi
lea edx, [esp + 0x4c0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x4bc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x4bc]
lea edx, [esp + 0x4bc]
dec ecx
push 0x1014a614
push edx
mov byte [eax + ecx], 0x40
call fcn.1010ebfe
mov esi, eax
add esp, 8
test esi, esi
je 0x1005ae5b
mov eax, dword [esp + 0x1d4]
push esi
push eax
call fcn.1005a930
mov ecx, dword [esp + 0x148]
push esi
push ecx
call fcn.1005a930
mov edx, dword [esp + 0x3a0]
push esi
push edx
call fcn.1005a930
mov eax, dword [esp + 0x280]
push esi
push eax
call fcn.1005a930
mov ecx, dword [esp + 0xcc]
push esi
push ecx
call fcn.1005a930
mov edx, dword [esp + 0x324]
push esi
push edx
call fcn.1005a930
push esi
call fcn.1010f263
mov eax, dword [esp + 0x1134]
add esp, 0x34
test eax, eax
je 0x1005ae3f
cmp dword [eax], 0
je 0x1005ae6d
mov eax, edi
call fcn.10033960
test eax, eax
je 0x1005ae6d
push edi
lea eax, [esp + 0x4c0]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
jmp 0x1005ae6d
mov dword [esp + 0x24], 3
jmp 0x1005ae6d
mov dword [esp + 0x24], 1
lea ecx, [esp + 0x2c]
push ecx
call fcn.1004d680
lea edx, [esp + 0x34]
push edx
call fcn.1004d680
lea eax, [esp + 0x40]
push eax
call fcn.1004d680
lea ecx, [esp + 0x24]
push ecx
call fcn.1004d680
lea edx, [esp + 0x2c]
push edx
call fcn.1004d680
lea eax, [esp + 0x28]
push eax
call fcn.1004d680
add esp, 0x18
lea ecx, [esp + 0x168]
call fcn.10062ce0
lea ecx, [esp + 0xd4]
call fcn.10062ce0
lea ecx, [esp + 0x324]
call fcn.10062ce0
lea ecx, [esp + 0x1fc]
call fcn.10062ce0
lea ecx, [esp + 0x40]
call fcn.10062ce0
lea ecx, [esp + 0x290]
call fcn.10062ce0
lea ecx, [esp + 0x290]
mov byte [esp + 0x10f8], 4
call fcn.10062c60
lea ecx, [esp + 0x40]
mov byte [esp + 0x10f8], 3
call fcn.10062c60
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x10f8], 2
call fcn.10062c60
lea ecx, [esp + 0x324]
mov byte [esp + 0x10f8], 1
call fcn.10062c60
lea ecx, [esp + 0xd4]
mov byte [esp + 0x10f8], 0
call fcn.10062c60
lea ecx, [esp + 0x168]
mov dword [esp + 0x10f8], 0xffffffff
call fcn.10062c60
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10d8]
xor ecx, esp
call fcn.1010d699
add esp, 0x10e8
ret 4