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

Disassembly:
push 0xffffffffffffffff
push 0x1004360e
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x10054020]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10054020]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xcc]
mov ebp, dword [esp + 0xc8]
push 8
xor edi, edi
push str.download
lea esi, [esp + 0x4c]
mov ebx, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], edi
mov word [esp + 0x50], di
call fcn.100025e0
mov ecx, esi
push ecx
add ebx, 4
push ebx
lea ecx, [esp + 0x84]
mov dword [esp + 0xc8], edi
mov dword [esp + 0x2c], ebx
call fcn.10024290
add esp, 8
mov byte [esp + 0xc0], 2
cmp dword [esp + 0x5c], 8
jb 0x1001e53f
mov edx, dword [esp + 0x48]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea eax, [esp + 0x7c]
mov ebx, 7
push eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], edi
mov word [esp + 0x4c], di
call fcn.10024720
add esp, 4
test al, al
jne 0x1001e595
lea ebx, [esp + 0x7c]
call fcn.10024ed0
test al, al
jne 0x1001e590
cmp dword [esp + 0x94], 8
jb 0x1001e589
mov ecx, dword [esp + 0x80]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
jmp 0x1001e7e3
mov ebx, 7
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], edi
mov word [esp + 0x64], di
mov ecx, ebp
mov byte [esp + 0xc0], 3
mov dword [esp + 0x18], edi
call fcn.1000aa50
test eax, eax
jbe 0x1001e6ff
mov dword [esp + 0x1c], edi
mov eax, dword [ebp + 4]
cmp eax, edi
je 0x1001e5e6
mov ecx, dword [ebp + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
jb 0x1001e5ec
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [ebp + 4]
add ebx, dword [esp + 0x1c]
mov esi, 7
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], edi
mov word [esp + 0x2c], di
lea ecx, [esp + 0x28]
mov byte [esp + 0xc0], 4
call fcn.10025530
test al, al
je 0x1001e80d
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x4c]
call fcn.10024290
add esp, 8
mov byte [esp + 0xc0], 5
mov eax, dword [esp + 0x48]
mov ecx, 8
cmp dword [esp + 0x5c], ecx
jae 0x1001e652
lea eax, [esp + 0x48]
cmp dword [ebx + 0x18], ecx
jb 0x1001e65c
mov ebx, dword [ebx + 4]
jmp 0x1001e65f
add ebx, 4
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1001e85e
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x44]
push ecx
call fcn.1001d7a0
push edi
lea edx, [esp + 0x48]
push edx
or eax, 0xffffffff
lea esi, [esp + 0x68]
call fcn.100023d0
push 0x3b
call fcn.10021f90
mov esi, 8
cmp dword [esp + 0x5c], esi
jb 0x1001e6af
mov eax, dword [esp + 0x48]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov byte [esp + 0xc0], 3
cmp dword [esp + 0x40], esi
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], edi
mov word [esp + 0x48], di
jb 0x1001e6db
mov ecx, dword [esp + 0x2c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0x18]
add dword [esp + 0x1c], 0x1c
add esi, 1
mov ecx, ebp
mov dword [esp + 0x18], esi
call fcn.1000aa50
cmp esi, eax
jb 0x1001e5c1
mov ebx, 7
push 0xc
push str.download.hzt
lea esi, [esp + 0x30]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], edi
mov word [esp + 0x34], di
call fcn.100025e0
mov ecx, dword [esp + 0x24]
mov eax, esi
push eax
push ecx
lea ecx, [esp + 0xa0]
mov byte [esp + 0xc8], 6
call fcn.10024290
add esp, 8
mov esi, 8
mov byte [esp + 0xc0], 8
cmp dword [esp + 0x40], esi
jb 0x1001e75b
mov edx, dword [esp + 0x2c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], edi
mov word [esp + 0x30], di
call fcn.1001f080
cmp dword [esp + 0xb0], esi
jb 0x1001e792
mov ecx, dword [esp + 0x9c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x78], esi
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xac], edi
mov word [esp + 0x9c], di
jb 0x1001e7bb
mov edx, dword [esp + 0x64]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x94], esi
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], edi
mov word [esp + 0x64], di
jb 0x1001e7e1
mov eax, dword [esp + 0x80]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.1003ec9d
add esp, 0xb0
ret 8
mov ebx, 8
cmp dword [esp + 0x40], ebx
jb 0x1001e825
mov edx, dword [esp + 0x2c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x78], ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], edi
mov word [esp + 0x2c], di
jb 0x1001e845
mov eax, dword [esp + 0x64]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x94], ebx
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], edi
mov word [esp + 0x64], di
jmp 0x1001e577
mov ebx, 8
cmp dword [esp + 0x5c], ebx
jb 0x1001e876
mov edx, dword [esp + 0x48]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x40], ebx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], edi
mov word [esp + 0x48], di
jb 0x1001e896
mov eax, dword [esp + 0x2c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x78], ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], edi
mov word [esp + 0x2c], di
jb 0x1001e8b6
mov ecx, dword [esp + 0x64]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x94], ebx
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], edi
mov word [esp + 0x64], di
jb 0x1001e589
mov edx, dword [esp + 0x80]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
jmp 0x1001e7e3