Function at 0x41eab0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450905
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x46718c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
cmp byte [ecx + 0x38], 0
lea edi, [ecx + 0x20]
je 0x41eb1e
push 0x27
push str._user_temp_dir_eset_bts.session_guid_
mov ecx, edi
call fcn.004027d0
mov ecx, edi
call fcn.00428bb0
test al, al
je 0x41eb17
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x41eb09
mov ecx, dword [edi]
call fcn.0040ae00
test eax, eax
setne al
test al, al
jne 0x41eb1e
xor al, al
jmp 0x41ed66
mov ecx, dword [edi + 0x10]
mov eax, 0x7ffffffe
sub eax, ecx
mov dword [ebp - 0x50], ecx
cmp eax, 1
jb 0x41ed81
cmp dword [edi + 0x14], 8
jb 0x41eb3c
mov edi, dword [edi]
inc ecx
mov dword [ebp - 0x30], 0
mov esi, 7
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x54], ecx
xorps xmm0, xmm0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x4c], eax
movups xmmword [ebp - 0x40], xmm0
cmp ecx, esi
jbe 0x41eb97
mov esi, ecx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x41eb78
mov esi, 0x7ffffffe
jmp 0x41eb82
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x40]
call fcn.00402ff0
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x2c], esi
mov esi, dword [ebp - 0x50]
add esi, esi
mov dword [ebp - 0x30], ecx
push esi
push edi
push eax
call fcn.0042ce50
mov eax, dword [ebp - 0x4c]
mov ecx, 0x5c
xor edx, edx
add esp, 0xc
mov word [esi + eax], cx
mov ecx, dword [ebp - 0x50]
mov word [eax + ecx*2 + 2], dx
mov esi, dword [ebp - 0x48]
lea eax, [esi + 0x54]
mov dword [ebp - 4], edx
cmp dword [eax + 0x14], 8
mov ecx, eax
mov dword [ebp - 0x48], eax
jb 0x41ebd9
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004028e0
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x41ec5c
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41ec52
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ed86
push ecx
push edx
call fcn.0042acd3
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x14], 8
lea edi, [esi + 0x3c]
mov word [ebp - 0x40], ax
mov ecx, edi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], 7
cmovae eax, dword [ebp - 0x28]
cmp dword [edi + 0x14], 8
jb 0x41ec88
mov ecx, dword [edi]
push 1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x41ecdc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x13a
ja 0x41ecaf
je 0x41ecc9
cmp eax, 0x27
je 0x41ecc9
cmp eax, 0x70
jmp 0x41ecb4
cmp eax, 0x50f
je 0x41ecc9
cmp dword [esi + 0x18], 8
ja 0x41ecd6
mov dword [esi + 0x18], 0x3f4
mov byte [ebp - 0x41], 0
jmp 0x41ed2d
cmp dword [esi + 0x18], 8
ja 0x41ecd6
mov dword [esi + 0x18], 0x3f8
mov byte [ebp - 0x41], 0
jmp 0x41ed2d
lea eax, [ebp - 0x28]
cmp edi, eax
je 0x41ecf6
cmp dword [ebp - 0x14], 8
mov ecx, edi
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004027d0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [0x467098]
mov edx, eax
lea esi, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x41ed10
mov ecx, dword [ebp - 0x48]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.004027d0
mov byte [ebp - 0x41], 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x41ed63
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41ed59
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ed8b
push ecx
push edx
call fcn.0042acd3
add esp, 8
mov al, byte [ebp - 0x41]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ac9b
mov esp, ebp
pop ebp
ret
call fcn.00402e90
call fcn.00430704
call fcn.00430704
int3