Function at 0x39ea42d2
Capabilities:
Copy file

Disassembly:
push 0x26c
mov eax, 0x39ebec46
call fcn.39eaecb8
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x258], eax
call fcn.39e3c0a7
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.39eb4742
mov eax, dword [eax + 0x10]
mov esi, 0x39ee1148
xor edi, edi
mov dword [ebp - 0x25c], eax
sub esi, 0x34
cmp edi, 0x18
je 0x39ea4473
cmp edi, 0x17
je 0x39ea4473
push dword [edi*4 + 0x39ee91a0]
lea ecx, [ebp - 0x14c]
call fcn.39eb4742
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x25c]
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.39ea1a80
mov byte [ebp - 0x251], al
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp - 0x14c]
call fcn.39eb4742
cmp byte [ebp - 0x251], bl
je 0x39ea4473
lea eax, [edi - 0xd]
cmp eax, 9
ja 0x39ea4460
push 0x103
lea eax, [ebp - 0x113]
push ebx
push eax
mov byte [ebp - 0x114], bl
call fcn.39e6fce0
add esp, 0xc
cmp dword [ebp - 0x11c], 0x32
jbe 0x39ea43df
push 0x32
push ebx
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x130]
call fcn.39e3c55b
mov byte [ebp - 4], 2
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x130]
call fcn.39eb4742
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp - 0x278]
call fcn.39eb4742
cmp dword [ebp - 0x118], 8
mov eax, dword [ebp - 0x12c]
jae 0x39ea43f4
lea eax, [ebp - 0x12c]
push 0x104
lea ecx, [ebp - 0x114]
push ecx
push dword [ebp - 0x11c]
push eax
call fcn.39eb4742
mov byte [ebp + eax - 0x114], bl
mov eax, dword [esi]
mov byte [ebp + eax - 0x114], bl
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x250]
call fcn.39eb4742
mov byte [ebp - 4], 3
push dword [ebp - 0x250]
lea ecx, [ebp - 0x130]
call fcn.39eb4742
mov byte [ebp - 4], bl
lea eax, [ebp - 0x24c]
cmp dword [ebp - 0x250], eax
je 0x39ea4460
push dword [ebp - 0x250]
call fcn.39e6beaf
pop ecx
mov ecx, dword [ebp - 0x258]
lea eax, [ebp - 0x130]
push eax
push edi
call fcn.39eb4742
add esi, 4
inc edi
cmp esi, 0x39ee118c
jl 0x39ea4312
cmp byte [ebp + 0xc], bl
je 0x39ea466d
push dword [0x39ee9118]
lea ecx, [ebp - 0x14c]
call fcn.39eb4742
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x25c]
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.39ea1a80
mov byte [ebp - 0x251], al
mov byte [ebp - 4], bl
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x14c]
call fcn.39eb4742
mov esi, dword [sym.imp.kernel32.dll_CopyFileW]
cmp byte [ebp - 0x251], bl
je 0x39ea4580
push 0x39e0d004
lea ecx, [ebp - 0x278]
call fcn.39eb4742
mov byte [ebp - 4], 5
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.39ea2163
mov byte [ebp - 4], 7
push ebx
push edi
lea ecx, [ebp - 0x278]
call fcn.39eb4742
cmp dword [ebp - 0x134], 8
mov ecx, dword [ebp - 0x148]
jae 0x39ea4532
lea ecx, [ebp - 0x148]
cmp dword [ebp - 0x118], 8
mov eax, dword [ebp - 0x12c]
jae 0x39ea4547
lea eax, [ebp - 0x12c]
push ebx
push ecx
push eax
call esi
mov ecx, dword [ebp - 0x258]
test eax, eax
je 0x39ea4564
lea eax, [ebp - 0x14c]
push eax
call fcn.39ea712c
jmp 0x39ea4570
lea eax, [ebp - 0x130]
push eax
call fcn.39ea7091
mov byte [ebp - 4], bl
push ebx
push edi
lea ecx, [ebp - 0x14c]
call fcn.39eb4742
push dword [0x39ee911c]
lea ecx, [ebp - 0x278]
call fcn.39eb4742
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x25c]
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.39ea1a80
mov byte [ebp - 0x251], al
mov byte [ebp - 4], bl
push ebx
push edi
lea ecx, [ebp - 0x278]
call fcn.39eb4742
cmp byte [ebp - 0x251], bl
je 0x39ea4670
push 0x39e0cffc
lea ecx, [ebp - 0x278]
call fcn.39eb4742
mov byte [ebp - 4], 9
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.39ea2163
mov byte [ebp - 4], 0xb
push ebx
push edi
lea ecx, [ebp - 0x278]
call fcn.39eb4742
cmp dword [ebp - 0x134], 8
mov ecx, dword [ebp - 0x148]
jae 0x39ea461d
lea ecx, [ebp - 0x148]
cmp dword [ebp - 0x118], 8
mov eax, dword [ebp - 0x12c]
jae 0x39ea4632
lea eax, [ebp - 0x12c]
push ebx
push ecx
push eax
call esi
mov ecx, dword [ebp - 0x258]
test eax, eax
je 0x39ea464f
lea eax, [ebp - 0x14c]
push eax
call fcn.39ea712c
jmp 0x39ea465b
lea eax, [ebp - 0x130]
push eax
call fcn.39ea7091
mov byte [ebp - 4], bl
push ebx
push edi
lea ecx, [ebp - 0x14c]
call fcn.39eb4742
jmp 0x39ea4670
xor edi, edi
inc edi
or dword [ebp - 4], 0xffffffff
push ebx
push edi
lea ecx, [ebp - 0x130]
call fcn.39eb4742
mov al, 1
call fcn.39eaed4a
ret 8