Function at 0x40dca0
Capabilities:
Copy file
Create directory
Resolve function by parsing pe exports
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x46d728
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48e820]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x78], 1
call fcn.0043a931
push 0x47b2fc
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x84], 2
call fcn.0040eb70
add esp, 0xc
mov byte [esp + 0x78], 3
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x60]
call fcn.0043a9bd
mov esi, eax
mov byte [esp + 0x78], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40dd34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x40e0e4
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileA]
mov bl, 7
lea ebx, [ebx]
lea ecx, [esp + 0x58]
call fcn.0043a64a
lea ecx, [esp + 0x58]
mov dword [esp + 0x4c], eax
call fcn.0043a8f8
test eax, eax
jne 0x40e0d9
mov edx, dword [esp + 0x58]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x5c]
call eax
test eax, eax
je 0x40df62
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x5c]
call fcn.0043abec
push eax
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x84], 4
call fcn.0040eab0
add esp, 0xc
push 0x47a9d8
push eax
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x84], 5
call fcn.0040eb70
mov eax, dword [eax]
add esp, 0xc
push 0
push eax
call ebp
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ddf3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x78], 4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40de18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x78], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40de3d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x5c]
call fcn.0043abec
push eax
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x84], 6
call fcn.0040eab0
add esp, 8
mov ecx, esp
mov byte [esp + 0x7c], bl
mov dword [esp + 0x54], esp
push 0x47a9d8
push eax
push ecx
call fcn.0040eb70
add esp, 0xc
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x60]
mov byte [esp + 0x80], 8
call fcn.0043abec
push eax
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x88], 9
call fcn.0040eab0
add esp, 8
mov edx, esp
mov dword [esp + 0x5c], esp
push 0x47a9d8
push eax
push edx
mov byte [esp + 0x8c], 0xa
call fcn.0040eb70
add esp, 0xc
mov byte [esp + 0x80], 0xc
call fcn.0040dca0
mov byte [esp + 0x80], 0xb
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40df0b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x78], bl
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40df2f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x78], 6
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40df54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x78], 2
mov eax, dword [esp + 0x30]
jmp 0x40e0bd
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x5c]
call fcn.0043abec
push eax
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x84], 0xd
call fcn.0040eab0
mov eax, dword [eax]
add esp, 0xc
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dfbc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x78], 2
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dfe1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x5c]
call fcn.0043abec
push eax
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x84], 0xe
call fcn.0040eab0
add esp, 0xc
mov esi, eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x7c], 0xf
call fcn.0043abec
push eax
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x84], 0x10
call fcn.0040eab0
mov esi, dword [esi]
mov eax, dword [eax]
add esp, 0xc
push 1
push esi
push eax
call edi
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e06a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x78], 0xf
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e08f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x78], 0xe
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e0b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x78], 2
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e0d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x4c], 0
jne 0x40dd50
lea ecx, [esp + 0x58]
mov byte [esp + 0x78], 1
call fcn.0043a955
mov byte [esp + 0x78], 0
mov eax, dword [esp + 0x80]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e11a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [esp + 0x84]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e145
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret