Function at 0x21032d5a
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x21064288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x10], 0
push 0x1001
push 0
lea ecx, [ebp - 0x150]
call fcn.2100f1c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.21020f40
mov byte [ebp - 4], 1
mov dword [ebp - 0x154], 0x7ff8
mov eax, dword [ebp + 0xc]
push eax
call fcn.21049450
add esp, 4
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x30], 0
push 0x21076294
mov ecx, dword [ebp - 0x164]
add ecx, 4
push ecx
call fcn.2104b48b
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x21032e39
push 0
mov edx, dword [ebp - 0x164]
add edx, 4
push edx
push 0x2725
call fcn.2100de6e
add esp, 0xc
mov dword [ebp - 0x15c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.21021006
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x150]
call fcn.2100f22e
mov eax, dword [ebp - 0x15c]
jmp 0x21032fe9
push 0
push 2
mov eax, dword [ebp - 0x154]
push eax
lea ecx, [ebp - 0x28]
call fcn.21021019
test eax, eax
jne 0x21032e55
jmp 0x21032faa
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], ecx
push 0
push 0
lea ecx, [ebp - 0x150]
call fcn.2100f3fb
test eax, eax
jne 0x21032e73
jmp 0x21032faa
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x154]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.2104b3f8
add esp, 0xc
test eax, eax
je 0x21032f61
mov edx, dword [ebp - 0x2c]
push edx
call fcn.21049450
add esp, 4
mov ecx, dword [ebp - 0x158]
add ecx, 1
cmp eax, ecx
jb 0x21032ed7
mov edx, dword [ebp - 0x158]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.2104b3c0
add esp, 0xc
test eax, eax
jne 0x21032ed7
mov edx, dword [ebp - 0x2c]
add edx, dword [ebp - 0x158]
movsx eax, byte [edx]
cmp eax, 0x3d
je 0x21032f09
push 0x21076298
push 0x2107629c
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.2103b976
push 0xffffffffffffffff
mov edx, dword [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x150]
call fcn.2100fb4b
test eax, eax
jne 0x21032f04
jmp 0x21032faa
jmp 0x21032e73
push 0xffffffffffffffff
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x150]
call fcn.2100fb4b
test eax, eax
jne 0x21032f23
jmp 0x21032faa
push 0x210762a0
push 0x210762a4
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.2103b976
push 0xffffffffffffffff
mov edx, dword [ebp - 0x2c]
add edx, dword [ebp - 0x158]
push edx
lea ecx, [ebp - 0x150]
call fcn.2100fb4b
test eax, eax
jne 0x21032f53
jmp 0x21032faa
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
jmp 0x21032e73
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.2104b335
add esp, 4
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x150]
call fcn.2100f24a
push 0
mov edx, dword [ebp - 0x164]
add edx, 4
push edx
lea ecx, [ebp - 0x150]
call fcn.2100f5d3
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
lea ecx, [ebp - 0x150]
call fcn.2100f4c1
cmp dword [ebp - 0x10], 0
je 0x21032fbc
mov eax, dword [ebp - 0x10]
push eax
call fcn.2104b335
add esp, 4
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x160], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.21021006
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x150]
call fcn.2100f22e
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc