Function at 0x10029da0
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x10097d38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x28]
push ebx
push ebp
push esi
push edi
push eax
lea ecx, [esp + 0x18]
call fcn.10011f50
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], 0
call fcn.10011f50
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.10002da0
mov ecx, eax
call fcn.10002600
lea ecx, [esp + 0x10]
call fcn.10002da0
mov ecx, eax
call fcn.10002600
mov edx, dword [esp + 0x14]
push 0x5c
push edx
call fcn.10075b6a
add esp, 8
test eax, eax
jne 0x10029e1d
or esi, 0xffffffff
jmp 0x10029e23
sub eax, dword [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x10]
push 0x5c
push eax
call fcn.10075b6a
add esp, 8
test eax, eax
jne 0x10029e40
mov dword [esp + 0x1c], 0xffffffff
jmp 0x10029e48
sub eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
call fcn.1008cdb1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
mov byte [esp + 0x30], 2
call fcn.1008cdb1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebp, [eax + 0x10]
mov dword [esp + 0x24], ebp
cmp esi, 0xffffffff
mov bl, 3
mov byte [esp + 0x30], bl
je 0x10029ece
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 0xc]
sub eax, esi
dec eax
push eax
inc esi
push esi
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x20]
call fcn.10002580
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 4
call fcn.100029e0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x30], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10029eca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 0xc]
mov ecx, dword [esp + 0x1c]
dec eax
cmp ecx, eax
jne 0x10029eec
mov eax, dword [edi - 0xc]
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.10002860
mov ecx, dword [esp + 0x10]
push ecx
call fcn.100290a0
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x3c]
add esp, 4
push 0
push edx
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ebx, eax
test ebx, ebx
jne 0x10029f29
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.93:_d
push 2
call fcn.1006ac00
add esp, 0xc
jmp 0x10029f3a
mov eax, dword [esp + 0x40]
test eax, eax
je 0x10029f3a
push esi
call fcn.10029110
add esp, 4
lea eax, [ebp - 0x10]
mov byte [esp + 0x30], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10029f59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov byte [esp + 0x30], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10029f78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x30], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10029f9b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10029fc1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret