Function at 0x41e370
Capabilities:
Copy file
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x468328
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x48fac0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov byte [esp + 0x13], 1
call fcn.00437eea
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41e3b7
push 0x80004005
call fcn.00401210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], edi
call fcn.00437eea
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41e3e5
push 0x80004005
call fcn.00401210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], vtable.ATL::CSecurityDesc.0
mov dword [esp + 0x34], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x44], 2
call fcn.0041ae40
push 0x4726d8
lea edx, [esp + 0x24]
push 0x4910c0
push edx
call fcn.0040bb70
add esp, 0x10
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 3
call fcn.004037f0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x40], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e467
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4726d8
lea ecx, [esp + 0x20]
push 0x4910b0
push ecx
call fcn.0040bb70
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 4
call fcn.004037f0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x40], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e4b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
push edi
push esi
call fcn.0044a108
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
add esp, 8
cmp eax, 0xffffffff
jne 0x41e503
lea ecx, [esp + 0x24]
push ecx
push esi
call ebx
test eax, eax
push esi
je 0x41e4f2
push str.____Create_Folder___s_
call fcn.00409e70
mov edx, dword [esp + 0x1c]
push esi
push edx
call fcn.0040bfe0
add esp, 0x10
jmp 0x41e511
push str.xxx_Can_not_create_Folder___s_
call fcn.00409e70
mov byte [esp + 0x1b], 0
jmp 0x41e50e
mov eax, dword [esp + 0x14]
push esi
push eax
call fcn.0040bfe0
add esp, 8
push 0x472658
lea ecx, [esp + 0x20]
push 0x4910c0
push ecx
call fcn.0040bb70
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 5
call fcn.004037f0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x40], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e55c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x472658
lea ecx, [esp + 0x20]
push 0x4910b0
push ecx
call fcn.0040bb70
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 6
call fcn.004037f0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x40], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e5a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
push edi
push esi
call fcn.0044a108
add esp, 8
cmp eax, 0xffffffff
jne 0x41e5f3
lea ecx, [esp + 0x24]
push ecx
push esi
call ebx
test eax, eax
push esi
je 0x41e5e1
push str.____Create_Folder___s_
call fcn.00409e70
mov edx, dword [esp + 0x1c]
push esi
push edx
call fcn.0040bfe0
add esp, 0x10
jmp 0x41e5f3
push str.xxx_Can_not_create_Folder___s_
call fcn.00409e70
add esp, 8
mov byte [esp + 0x13], 0
mov eax, dword [str.tmaseng.dll]
push eax
lea ecx, [esp + 0x20]
call fcn.0040dc60
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push 0x4910c0
mov bl, 7
push edx
mov byte [esp + 0x4c], bl
call fcn.00403920
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 8
call fcn.004037f0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x40], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e652
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x40], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e677
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [str.tmaseng.dll]
push ecx
lea ecx, [esp + 0x20]
call fcn.0040dc60
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push 0x4910b0
mov bl, 9
push eax
mov byte [esp + 0x4c], bl
call fcn.00403920
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 0xa
call fcn.004037f0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x40], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e6d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x40], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e6fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
push edi
push esi
call fcn.0044a108
add esp, 8
cmp eax, 0xffffffff
push edi
mov edi, dword [esp + 0x18]
push esi
push edi
jne 0x41e744
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
push esi
je 0x41e730
push str.____Copy_Engine_File_to___s_
call fcn.00409e70
add esp, 8
jmp 0x41e773
push str.xxx_Can_not_copy_Engine_File_to___s_
call fcn.00409e70
add esp, 8
mov byte [esp + 0x13], 0
jmp 0x41e773
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x41e75e
push esi
push str.____Copy_Engine_File_to___s_
call fcn.00409e70
add esp, 8
jmp 0x41e773
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.xxx_Can_not_copy_Engine_File_to___s___error_d
call fcn.00409e70
add esp, 0xc
mov ecx, dword [0x4910b0]
push ecx
call fcn.0040cba0
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], vtable.ATL::CSecurityDesc.0
call fcn.004176a0
lea eax, [esi - 0x10]
mov byte [esp + 0x40], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e7b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x40], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e7d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x34
ret