Function at 0x101d806
Capabilities:
Copy file

Disassembly:
push 0x2c
mov eax, 0x1055467
call fcn.01022092
mov esi, 0x1064ac0
push esi
lea ecx, [ebp - 0x20]
call fcn.01015177
and dword [ebp - 4], 0
push esi
lea ecx, [ebp - 0x18]
call fcn.01015177
push esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.01015177
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.01015177
push esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.01015177
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.01015177
push esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.01015177
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.01015177
mov byte [ebp - 4], 7
call fcn.01051f53
test eax, eax
je 0x101d8f1
cmp eax, 0xb7
je 0x101d8f1
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.01014c32
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.01014c32
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.01014c32
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.01014c32
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.01014c32
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.01014c32
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.01014c32
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.01014c32
xor eax, eax
call fcn.0102217e
ret 8
push 0x105
lea ecx, [ebp - 0x18]
call fcn.01015aa6
push 0x104
push eax
call fcn.01051e0c
test eax, eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
je 0x101d91c
call fcn.01015124
jmp 0x101d88f
call fcn.01015124
push 0
lea ecx, [ebp - 0x30]
call fcn.01016a0f
push dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
mov edi, 0x1064630
push edi
mov byte [ebp - 4], 8
call fcn.0103620e
mov ecx, dword [ebp - 0x30]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
mov byte [ebp - 4], 7
call fcn.01014c32
test bl, bl
je 0x101d9c1
xor esi, esi
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.01014c32
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.01014c32
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.01014c32
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.01014c32
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.01014c32
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.01014c32
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.01014c32
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.01014c32
mov eax, esi
jmp 0x101d8e9
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
push edi
call fcn.01035d59
test al, al
je 0x101dacd
push 0x10058a0
lea ecx, [ebp - 0x1c]
call fcn.01015ced
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 8]
call fcn.01035d59
test al, al
je 0x101dacd
xor ebx, ebx
cmp dword [section..data], ebx
je 0x101dacd
mov edi, 0x1063008
push dword [edi]
lea ecx, [ebp - 0x30]
call fcn.01016a0f
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 9
call fcn.01035e1c
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
mov byte [ebp - 4], 7
call fcn.01014c32
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.01035e1c
lea eax, [ebp - 0x14]
push eax
call fcn.01035289
test al, al
je 0x101dac1
push dword [edi]
lea ecx, [ebp - 0x34]
call fcn.01016a0f
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0xa
call fcn.01035e1c
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
mov byte [ebp - 4], 7
call fcn.01014c32
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.01035e1c
lea eax, [ebp - 0x10]
push eax
call fcn.01035289
test al, al
jne 0x101dac1
lea eax, [ebp - 0x10]
push eax
call fcn.010370f3
test al, al
je 0x101dac1
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
add edi, 0xc
cmp dword [edi - 8], ebx
jne 0x101da0f
push 1
xor edi, edi
push edi
lea eax, [ebp - 0x34]
push eax
call fcn.0101bff8
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xb
call fcn.01015b0a
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
mov byte [ebp - 4], 7
call fcn.01014c32
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], edi
je 0x101db7a
push esi
lea ecx, [ebp - 0x30]
call fcn.01015177
push 0x100575c
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xc
call fcn.01016a0f
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0xd
call fcn.01035e1c
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xc
call fcn.01014c32
push dword [ebp + 0xc]
lea eax, [ebp - 0x30]
push ecx
mov dword [ebp - 0x34], esp
mov ecx, esp
push eax
call fcn.010155f4
push ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x38], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0xe
call fcn.010155f4
mov byte [ebp - 4], 0xc
call fcn.01037161
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
mov byte [ebp - 4], 7
call fcn.01014c32
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
cmp dword [eax - 0xc], edi
jne 0x101db8c
push dword [ebp + 8]
call fcn.01015d54
xor esi, esi
inc esi
jmp 0x101d962