Function at 0x2101efba
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x21048a79
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.2100be5e
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.21014c90
mov byte [ebp - 4], 1
mov dword [ebp - 0x154], 0x7ff8
mov eax, dword [ebp + 0xc]
push eax
call fcn.21030110
add esp, 4
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x30], 0
push 0x2105617c
mov ecx, dword [ebp - 0x164]
add ecx, 4
push ecx
call fcn.210323db
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x2101f099
push 0
mov edx, dword [ebp - 0x164]
add edx, 4
push edx
push 0x2725
call fcn.2100a398
add esp, 0xc
mov dword [ebp - 0x15c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.21014d56
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x150]
call fcn.2100beb1
mov eax, dword [ebp - 0x15c]
jmp 0x2101f24c
push 0
push 2
mov eax, dword [ebp - 0x154]
push eax
lea ecx, [ebp - 0x28]
call fcn.21014d69
test eax, eax
jne 0x2101f0b5
jmp 0x2101f20d
lea ecx, [ebp - 0x28]
call fcn.21016750
mov dword [ebp - 0x2c], eax
push 0
lea ecx, [ebp - 0x150]
call fcn.2100c03f
test eax, eax
jne 0x2101f0d6
jmp 0x2101f20d
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x154]
push edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.21032348
add esp, 0xc
test eax, eax
je 0x2101f1c4
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.21030110
add esp, 4
mov edx, dword [ebp - 0x158]
add edx, 1
cmp eax, edx
jb 0x2101f13a
mov eax, dword [ebp - 0x158]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.21032310
add esp, 0xc
test eax, eax
jne 0x2101f13a
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x158]
movsx ecx, byte [eax]
cmp ecx, 0x3d
je 0x2101f16c
push 0x21056180
push 0x21056184
mov edx, dword [ebp - 0x2c]
push edx
call fcn.2102e052
push 0xffffffffffffffff
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x150]
call fcn.2100c380
test eax, eax
jne 0x2101f167
jmp 0x2101f20d
jmp 0x2101f0d6
push 0xffffffffffffffff
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x150]
call fcn.2100c380
test eax, eax
jne 0x2101f186
jmp 0x2101f20d
push 0x21056188
push 0x2105618c
mov edx, dword [ebp - 0x2c]
push edx
call fcn.2102e052
push 0xffffffffffffffff
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x158]
push eax
lea ecx, [ebp - 0x150]
call fcn.2100c380
test eax, eax
jne 0x2101f1b6
jmp 0x2101f20d
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
jmp 0x2101f0d6
mov edx, dword [ebp - 0x10]
push edx
call fcn.21032284
add esp, 4
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x150]
call fcn.2100c0db
push 0
mov eax, dword [ebp - 0x164]
add eax, 4
push eax
lea ecx, [ebp - 0x150]
call fcn.2100c164
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
lea ecx, [ebp - 0x150]
call fcn.2100c10b
cmp dword [ebp - 0x10], 0
je 0x2101f21f
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.21032284
add esp, 4
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x160], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.21014d56
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x150]
call fcn.2100beb1
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc