Function at 0x63e470
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x63e479
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 0x15], cl
mov dword [ebp - 0x14], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x63e94c
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.005f740c
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
test eax, eax
je 0x63e4b3
sub eax, 4
mov eax, dword [eax]
dec eax
test eax, eax
jl 0x63e921
inc eax
mov dword [ebp - 0x38], eax
xor esi, esi
mov edi, dword [ebx + 0x2c]
cmp dword [edi + 4], 0
jne 0x63e917
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax + esi*4]
cmp byte [eax + 4], 0
jne 0x63e917
push 0xbff00000
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax + esi*4]
mov ecx, dword [eax]
lea eax, [ebp - 0x48]
mov edx, 0x63e968
call fcn.0040c480
mov eax, dword [ebp - 0x48]
call fcn.0040c214
mov edx, eax
mov eax, edi
call fcn.005f5fd8
lea eax, [ebp - 4]
push eax
mov eax, dword [ebx + 0xc]
mov cl, 1
mov edx, 0x63e994
call fcn.0063a780
mov ecx, eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax + esi*4]
xor edx, edx
call fcn.005f7920
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax + esi*4]
push dword [eax]
push 0x63e9d8
push dword [ebp - 4]
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.0040c508
mov edx, dword [ebp - 0x4c]
mov eax, dword [0x65d110]
mov eax, dword [eax]
mov cl, 1
mov edi, dword [eax]
call dword [edi + 8]
mov eax, dword [ebp - 4]
mov edx, 0x63e9fc
call fcn.0040c5b8
je 0x63e595
mov eax, dword [ebp - 4]
mov edx, 0x63ea1c
call fcn.0040c5b8
je 0x63e595
mov eax, dword [ebp - 4]
mov edx, 0x63ea40
call fcn.0040c5b8
jne 0x63e637
mov eax, dword [ebx + 0x2c]
cmp dword [eax + 4], 0
jne 0x63e5b4
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax + esi*4]
mov edx, dword [eax]
mov eax, ebx
call fcn.0063e32c
mov dword [ebp - 0x24], eax
jmp 0x63e5c3
mov dl, 1
mov eax, dword [0x48ee70]
call fcn.004b2830
mov dword [ebp - 0x24], eax
push 1
mov edx, 0x63ea54
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebp - 0x24]
mov edi, dword [eax]
call dword [edi + 0x24]
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x63e620
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x50]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
call fcn.005f828c
mov dword [ebp - 0x28], eax
mov eax, dword [0x65cad8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x1c], eax
inc dword [ebp - 0x1c]
dec dword [ebp - 0x3c]
jne 0x63e5ed
cmp dword [ebp - 0x24], 0
je 0x63e917
mov eax, dword [ebp - 0x24]
call fcn.00409760
jmp 0x63e917
mov eax, dword [ebp - 4]
mov edx, 0x63ea70
call fcn.0040c5b8
jne 0x63e867
cmp byte [ebp - 0x15], 1
jne 0x63e867
lea ecx, [ebp - 8]
lea eax, [ebx + 0x14]
mov edx, 0x63ea9c
call fcn.00607a24
mov byte [ebp - 0x31], 1
lea ecx, [ebp - 0xc]
lea eax, [ebx + 0x14]
mov edx, 0x63eac0
call fcn.00607a24
cmp byte [ebp - 0x31], 0
je 0x63e699
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax + esi*4]
mov edx, dword [eax]
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebp - 0xc]
call fcn.0063ccb4
mov edi, eax
jmp 0x63e6b2
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax + esi*4]
mov edx, dword [eax]
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebp - 0xc]
call fcn.0063c8f0
mov edi, eax
mov eax, dword [ebx + 0x24]
mov edx, edi
call fcn.0063c3b8
mov dword [ebp - 0x20], eax
cmp byte [ebp - 0x31], 0
jne 0x63e719
mov eax, dword [edi]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x63e6d6
sub eax, 4
mov eax, dword [eax]
dec eax
test eax, eax
jl 0x63e917
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
add eax, eax
add eax, eax
mov edx, dword [edi]
mov edx, dword [edx + eax*8 + 0x18]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x20], edx
mov edx, dword [edi]
mov edx, dword [edx + eax*8]
mov eax, dword [ebx + 0x1c]
xor ecx, ecx
call fcn.005f828c
inc dword [ebp - 0x1c]
dec dword [ebp - 0x3c]
jne 0x63e6ea
jmp 0x63e917
mov eax, dword [edi]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x63e72a
sub eax, 4
mov eax, dword [eax]
dec eax
test eax, eax
jl 0x63e758
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
add eax, eax
add eax, eax
mov edx, dword [edi]
mov edx, dword [edx + eax*8]
mov eax, dword [ebx + 0x1c]
xor ecx, ecx
call fcn.005f828c
inc dword [ebp - 0x1c]
dec dword [ebp - 0x3c]
jne 0x63e73a
mov eax, dword [ebx + 0x20]
mov edx, dword [ebp - 0x20]
call fcn.00608e4c
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax + esi*4]
mov edx, dword [eax]
mov ecx, 1
mov eax, 0x63eae8
call fcn.0040c800
test eax, eax
jle 0x63e7f1
lea ecx, [ebp - 0x54]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax + esi*4]
mov dl, 1
call fcn.005f7558
mov eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x5c]
mov eax, esi
call fcn.004253d8
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
mov edx, 0x63eaf8
call fcn.0040c480
mov ecx, dword [ebp - 0x58]
lea eax, [ebx + 0x14]
mov edx, dword [ebp - 8]
call fcn.00607c1c
push 0
mov eax, dword [ebp - 0x10]
call fcn.0040c214
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
call fcn.0040c214
push eax
call sub.kernel32.dll_CopyFileW
mov eax, dword [ebx + 0x1c]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
call fcn.005f828c
jmp 0x63e803
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx]
mov edx, dword [edx + esi*4]
mov edx, dword [edx]
call fcn.0040b9f4
push 0
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.00609368
push 0
or ecx, 0xffffffff
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.005f87b8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov edi, dword [eax + 0x30]
test edi, edi
je 0x63e85a
mov edx, dword [edi]
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
call fcn.005f828c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x20], edx
mov edx, dword [edi]
mov eax, dword [ebx + 0x1c]
xor ecx, ecx
call fcn.005f828c
mov edi, dword [edi + 0x2c]
test edi, edi
jne 0x63e82f
lea eax, [ebp - 0x30]
call fcn.005f8898
jmp 0x63e917
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax + esi*4]
mov edx, dword [eax]
mov ecx, 1
mov eax, 0x63eae8
call fcn.0040c800
test eax, eax
jle 0x63e8f5
lea ecx, [ebp - 0x60]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax + esi*4]
mov dl, 1
call fcn.005f7558
mov eax, dword [ebp - 0x60]
push eax
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x68]
mov eax, esi
call fcn.004253d8
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x64]
mov edx, 0x63eb18
call fcn.0040c480
mov ecx, dword [ebp - 0x64]
lea eax, [ebx + 0x14]
mov edx, dword [ebp - 8]
call fcn.00607c1c
push 0
mov eax, dword [ebp - 0x10]
call fcn.0040c214
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
call fcn.0040c214
push eax
call sub.kernel32.dll_CopyFileW
mov eax, dword [ebx + 0x1c]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
call fcn.005f828c
jmp 0x63e907
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx]
mov edx, dword [edx + esi*4]
mov edx, dword [edx]
call fcn.0040b9f4
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
call fcn.005f828c
mov dword [ebp - 0x28], eax
inc esi
dec dword [ebp - 0x38]
jne 0x63e4c2
mov ebx, dword [ebp - 0x2c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63e953
lea eax, [ebp - 0x68]
mov edx, 9
call fcn.0040b62c
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.0040b62c
ret