Function at 0x10001910
Capabilities:
Copy file
Delete file
Move file
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x784
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x780], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [esp + 0x10], eax
xor eax, eax
push esi
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], eax
cmp ebx, eax
je 0x10001994
lea ecx, [esp + 0x270]
test ecx, ecx
je 0x10001994
lea edi, [eax + 0x5c]
mov esi, ebx
call section..text
test eax, eax
je 0x10001994
sub eax, ebx
sar eax, 1
inc eax
cmp eax, 0x104
jae 0x10001994
lea esi, [eax + eax]
push esi
lea edx, [esp + 0x274]
push ebx
push edx
call fcn.1000af50
add esp, 0xc
xor eax, eax
mov word [esp + esi + 0x270], ax
mov esi, dword [esp + 0x18]
test esi, esi
je 0x100019ca
lea ecx, [esp + 0x68]
test ecx, ecx
je 0x100019ca
mov edi, 0x5c
call section..text
test eax, eax
je 0x100019ca
push 0xffffffffffffffff
add eax, 2
push eax
lea edx, [esp + 0x70]
push 0x104
push edx
call fcn.10003cb1
add esp, 0x10
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x274]
push 0x104
push ecx
call fcn.10004366
add esp, 0xc
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x480]
push 0x104
push edx
call fcn.10003cb1
lea eax, [esp + 0x488]
add esp, 0x10
test eax, eax
je 0x10001a5d
mov ecx, eax
push 0x104
push ecx
call fcn.10003d84
add esp, 8
cmp eax, 0x104
jae 0x10001a5d
xor edx, edx
lea ecx, [esp + eax*2 + 0x478]
test eax, eax
jbe 0x10001a5d
jmp 0x10001a30
mov esi, 0x2e
cmp si, word [ecx]
je 0x10001a59
inc edx
sub ecx, 2
cmp edx, eax
jb 0x10001a30
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x780]
xor ecx, esp
call fcn.10003ca2
mov esp, ebp
pop ebp
ret
cmp edx, eax
jb 0x10001a74
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x780]
xor ecx, esp
call fcn.10003ca2
mov esp, ebp
pop ebp
ret
movzx eax, word [ecx - 2]
cmp ax, 0x41
jb 0x10001a8e
cmp ax, 0x5a
ja 0x10001a8e
mov edx, 0x53
mov word [ecx], dx
jmp 0x10001a96
mov eax, 0x73
mov word [ecx], ax
mov edx, esi
mov word [ecx + 2], dx
mov eax, 0x64
mov edx, 0x6c
mov word [ecx + 4], ax
mov eax, edx
mov word [ecx + 8], ax
mov word [ecx + 6], dx
xor edx, edx
lea eax, [esp + 0x68]
mov word [ecx + 0xa], dx
test eax, eax
je 0x10001a5d
lea edi, [edx + 0x5c]
lea esi, [esp + 0x478]
call section..text
test eax, eax
je 0x10001aed
push 0xffffffffffffffff
add eax, 2
push eax
lea ecx, [esp + 0x70]
push 0x104
push ecx
call fcn.10003cb1
add esp, 0x10
lea edx, [esp + 0x68]
push 0x104
push edx
call fcn.10003d84
add esp, 8
cmp eax, 0x104
jae 0x10001a5d
xor ecx, ecx
lea edx, [esp + eax*2 + 0x68]
test eax, eax
jbe 0x10001a5d
jmp 0x10001b20
mov esi, 0x2e
cmp si, word [edx]
je 0x10001b49
inc ecx
sub edx, 2
cmp ecx, eax
jb 0x10001b20
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x780]
xor ecx, esp
call fcn.10003ca2
mov esp, ebp
pop ebp
ret
cmp ecx, eax
jae 0x10001a5d
xor eax, eax
push eax
lea ecx, [esp + 0x274]
mov word [edx], ax
mov edx, dword [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x10001b7b
mov dword [esp + 0xc], 1
jmp 0x10001d9e
lea eax, [esp + 0x48]
mov edx, ebx
call fcn.10003b50
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10001b9b
mov dword [esp + 0xc], 2
jmp 0x10001d9e
mov ecx, 0x5a4d
cmp cx, word [eax]
jne 0x10001d9e
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x3c]
cmp ecx, 0x500
jge 0x10001d9e
mov eax, edx
cmp dword [ecx + eax], 0x4550
jne 0x10001d96
mov edx, 0x14c
cmp dx, word [ecx + eax + 4]
jne 0x10001d96
lea ecx, [esp + 0x68]
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x10001be2
sub ecx, esi
sar ecx, 1
push ecx
call fcn.10001f80
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
test esi, esi
jne 0x10001c11
mov dword [esp + 0xc], 4
jmp 0x10001d9e
push esi
lea ecx, [esp + 0x274]
call fcn.100021a0
mov edi, eax
test edi, edi
jne 0x10001c31
mov dword [esp + 0xc], 5
jmp 0x10001d9e
lea eax, [esp + 0x28]
lea edx, [esp + 0x270]
call fcn.10003b10
mov ebx, eax
mov dword [esp + 0x14], ebx
test ebx, ebx
jne 0x10001c58
mov dword [esp + 0xc], 6
jmp 0x10001d9e
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov dword [eax + 0x78], edi
mov dword [eax + 0x7c], esi
mov ecx, dword [ebx + 0x3c]
movzx edx, word [ecx + ebx + 6]
add ecx, ebx
lea edx, [edx + edx*4]
lea ecx, [ecx + edx*8 + 0xd0]
test ecx, ecx
jne 0x10001c88
mov dword [esp + 0xc], 7
jmp 0x10001d9e
mov edx, dword [ecx + 0x24]
and edx, 0xfdffffff
or edx, 0x40000040
mov dword [ecx + 0x24], edx
mov eax, dword [eax + 0x78]
mov edi, eax
mov dword [esp + 0x24], eax
call fcn.10001e40
mov ebx, eax
test ebx, ebx
jne 0x10001cbb
mov dword [esp + 0xc], 8
jmp 0x10001d9e
mov edi, 0x104
lea esi, [esp + 0x680]
lea edx, [esp + 0x68]
call fcn.10001090
xor edi, edi
cmp eax, edi
jne 0x10001ce3
mov dword [esp + 0xc], 9
jmp 0x10001d9e
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x680]
push eax
push ecx
mov esi, ebx
mov ebx, dword [esp + 0x18]
push edx
mov ecx, ebx
call fcn.10002330
test eax, eax
jne 0x10001d13
mov dword [esp + 0xc], 0xa
jmp 0x10001d9e
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
call ebx
test eax, eax
je 0x10001d29
lea esi, [esp + 0x48]
call fcn.10003ae0
mov eax, dword [esp + 0x14]
push eax
mov dword [esp + 0x14], edi
call ebx
test eax, eax
je 0x10001d41
lea esi, [esp + 0x28]
call fcn.10003ae0
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x478]
push ecx
mov dword [esp + 0x18], edi
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileW]
push esi
call edi
test eax, eax
jne 0x10001d68
mov dword [esp + 0xc], 0xb
jmp 0x10001d9e
push esi
lea edx, [esp + 0x274]
push edx
call edi
test eax, eax
jne 0x10001d8c
push esi
lea eax, [esp + 0x47c]
push eax
call edi
mov dword [esp + 0xc], 0xc
jmp 0x10001d9e
mov dword [esp + 0x1c], 1
jmp 0x10001d9e
mov dword [esp + 0xc], 3
cmp dword [0x1004a968], 0
je 0x10001dc0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0xc]
push eax
push ecx
push str.____MakeDLL_dwError0x_x__err_code_d_n
call fcn.10002670
add esp, 0xc
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10001deb
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test eax, eax
je 0x10001deb
mov edx, dword [esp + 0x50]
push edx
call esi
test eax, eax
je 0x10001deb
mov eax, dword [esp + 0x4c]
push eax
call esi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10001e10
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test eax, eax
je 0x10001e10
mov ecx, dword [esp + 0x30]
push ecx
call esi
test eax, eax
je 0x10001e10
mov edx, dword [esp + 0x2c]
push edx
call esi
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x10001e26
lea eax, [esp + 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x78c]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.10003ca2
mov esp, ebp
pop ebp
ret