Function at 0x10038ef0
Capabilities:
Copy file
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b1c44
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], edi
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 1
call sub.mfc140.dll_Ordinal_503
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140.dll_Ordinal_300]
push edi
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call sub.mfc140.dll_Ordinal_4705
test eax, eax
je 0x10039183
mov ebx, dword [ebp + 0x10]
nop
lea ecx, [ebp - 0x5c]
call sub.mfc140.dll_Ordinal_4725
test eax, eax
je 0x10039183
lea ecx, [ebp - 0x5c]
call sub.mfc140.dll_Ordinal_8140
test eax, eax
jne 0x10038f50
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x5c]
push 0x10
call dword [eax + 0x40]
lea ecx, [ebp - 0x5c]
test eax, eax
je 0x100390dc
lea eax, [ebp - 0x28]
push eax
call sub.mfc140.dll_Ordinal_5565
mov esi, eax
mov ecx, esi
mov byte [ebp - 4], 5
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140.dll_Ordinal_305]
mov eax, dword [esi]
or edi, 1
push 4
push str..
mov dword [ebp - 0x10], edi
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x1c]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_1526]
lea ecx, [ebp - 0x20]
and edi, 0xfffffffe
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x5c]
call sub.mfc140.dll_Ordinal_5562
mov esi, eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 7
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_305]
mov ecx, dword [esi]
or edi, 2
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], edi
push dword [ecx - 0xc]
push ecx
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140.dll_Ordinal_305]
mov eax, dword [ebp - 0x14]
or edi, 4
push 1
push 0x100bb7c4
mov dword [ebp - 0x10], edi
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
and edi, 0xfffffffd
add esp, 0x14
mov dword [ebp - 0x10], edi
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call dword [sym.imp.mfc140.dll_Ordinal_1044]
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x10039099
lea ecx, [ebp - 0x5c]
call sub.mfc140.dll_Ordinal_2881
push ebx
push ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x3c], esp
mov ecx, esp
push eax
call dword [sym.imp.mfc140.dll_Ordinal_300]
push ecx
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
mov ecx, esp
push eax
call dword [sym.imp.mfc140.dll_Ordinal_300]
mov byte [ebp - 4], 0xa
call fcn.10038ef0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
and edi, 0xfffffffb
call dword [sym.imp.mfc140.dll_Ordinal_1044]
jmp 0x10038f50
lea eax, [ebp - 0x30]
push eax
call sub.mfc140.dll_Ordinal_5562
mov esi, eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xd
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc140.dll_Ordinal_305]
mov ecx, dword [esi]
or edi, 8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], edi
push dword [ecx - 0xc]
push ecx
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xe
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x5c]
call sub.mfc140.dll_Ordinal_5565
push 0
push dword [ebp - 0x24]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
test ebx, ebx
je 0x1003916e
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x5c]
call sub.mfc140.dll_Ordinal_5565
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
and edi, 0xfffffff7
call dword [sym.imp.mfc140.dll_Ordinal_1044]
jmp 0x10038f50
lea ecx, [ebp - 0x5c]
call sub.mfc140.dll_Ordinal_2881
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x5c]
call sub.mfc140.dll_Ordinal_1142
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret