Function at 0x10002570
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x1001880d
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x10020284]
xor eax, esp
mov dword [esp + 0xe4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10020284]
xor eax, esp
push eax
lea eax, [esp + 0xfc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x10c]
xor edi, edi
push edi
mov ebx, 7
push 0x1001ad58
lea esi, [esp + 0xe4]
mov dword [esp + 0xfc], ebx
mov dword [esp + 0xf8], edi
mov word [esp + 0xe8], di
call fcn.10003b10
mov dword [esp + 0x104], edi
push edi
push 0x1001ad58
lea esi, [esp + 0xc8]
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xdc], edi
mov word [esp + 0xcc], di
call fcn.10003b10
mov byte [esp + 0x104], 1
push edi
push 0x1001ad58
lea esi, [esp + 0x90]
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xa4], edi
mov word [esp + 0x94], di
call fcn.10003b10
mov byte [esp + 0x104], 2
push edi
push 0x1001ad58
lea esi, [esp + 0xac]
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc0], edi
mov word [esp + 0xb0], di
call fcn.10003b10
lea eax, [ebp + 0x1c]
push eax
mov ebx, str.DrErrorReport.exe
lea esi, [esp + 0x38]
mov byte [esp + 0x108], 3
call fcn.10004270
add esp, 4
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0xe4]
mov byte [esp + 0x10c], 4
call fcn.10003300
mov byte [esp + 0x104], 3
cmp dword [esp + 0x4c], 8
jb 0x100026c0
mov ecx, dword [esp + 0x38]
push ecx
call fcn.10005c0d
add esp, 4
lea edx, [ebp + 0x70]
push edx
lea edi, [esp + 0x1c]
call fcn.100043d0
add esp, 4
push eax
mov ebx, 0x1001ae10
lea esi, [esp + 0x38]
mov byte [esp + 0x108], 5
call fcn.10004270
add esp, 4
lea ecx, [ebp + 0x54]
push ecx
push eax
lea edi, [esp + 0x74]
mov byte [esp + 0x10c], 6
call fcn.10004320
push eax
mov ebx, 0x1001ae0c
lea esi, [esp + 0x5c]
mov byte [esp + 0x110], 7
call fcn.10004270
add esp, 0xc
push 0xffffffffffffffff
xor esi, esi
mov ebx, 8
push esi
lea ecx, [esp + 0xc8]
mov byte [esp + 0x10c], bl
call fcn.10003300
cmp dword [esp + 0x68], ebx
jb 0x1000274a
mov eax, dword [esp + 0x54]
push eax
call fcn.10005c0d
add esp, 4
cmp dword [esp + 0x84], ebx
mov edi, 7
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], esi
mov word [esp + 0x54], si
jb 0x10002772
mov ecx, dword [esp + 0x70]
push ecx
call fcn.10005c0d
add esp, 4
cmp dword [esp + 0x4c], ebx
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], esi
mov word [esp + 0x70], si
jb 0x10002798
mov edx, dword [esp + 0x38]
push edx
call fcn.10005c0d
add esp, 4
mov byte [esp + 0x104], 3
cmp dword [esp + 0x30], ebx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], esi
mov word [esp + 0x38], si
jb 0x100027c0
mov eax, dword [esp + 0x1c]
push eax
call fcn.10005c0d
add esp, 4
mov ecx, dword [ebp + 0x18]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp + 0x14], esi
je 0x10002922
mov eax, dword [ebp + 0x10]
mov edi, dword [eax]
cmp edi, eax
jne 0x100027e3
call fcn.10005e53
push 0xffffffffffffffff
lea eax, [edi + 8]
push esi
lea ecx, [esp + 0x90]
call fcn.10003300
cmp dword [esp + 0xa0], ebx
mov eax, dword [esp + 0x8c]
jae 0x1000280c
lea eax, [esp + 0x8c]
push 0x5c
push eax
call fcn.10005e63
add esp, 8
cmp eax, esi
je 0x10002a49
lea edx, [eax + 2]
cmp edx, esi
je 0x10002890
mov eax, edx
lea edi, [eax + 2]
jmp 0x10002830
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x10002830
sub eax, edi
sar eax, 1
push eax
push edx
lea esi, [esp + 0xac]
call fcn.10003b10
mov edx, esi
push edx
lea eax, [ebp + 0x54]
push eax
lea edi, [esp + 0x20]
call fcn.10004320
add esp, 8
push 0xffffffffffffffff
push 0
mov ecx, esi
mov byte [esp + 0x10c], 9
call fcn.10003300
mov byte [esp + 0x104], 3
cmp dword [esp + 0x30], ebx
jb 0x1000288e
mov eax, dword [esp + 0x1c]
push eax
call fcn.10005c0d
add esp, 4
xor esi, esi
cmp dword [esp + 0xbc], ebx
mov ecx, dword [esp + 0xa8]
jae 0x100028a7
lea ecx, [esp + 0xa8]
cmp dword [esp + 0xa0], ebx
mov eax, dword [esp + 0x8c]
jae 0x100028be
lea eax, [esp + 0x8c]
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [ebp + 0x10]
mov esi, dword [eax]
cmp esi, eax
jne 0x100028d5
call fcn.10005e53
cmp esi, dword [ebp + 0x10]
je 0x10002917
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov dword [ecx], edx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
cmp dword [esi + 0x20], ebx
jb 0x100028fa
mov edx, dword [esi + 0xc]
push edx
call fcn.10005c0d
add esp, 4
xor eax, eax
mov dword [esi + 0x20], 7
mov dword [esi + 0x1c], eax
push esi
mov word [esi + 0xc], ax
call fcn.10005c0d
add esp, 4
add dword [ebp + 0x14], 0xffffffff
xor esi, esi
cmp dword [ebp + 0x14], esi
jne 0x100027d5
lea ebx, [ebp + 0xc]
call fcn.10002cd0
mov eax, dword [ebp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [esp + 0xc4]
mov edi, 8
cmp dword [esp + 0xd8], edi
jae 0x10002950
lea eax, [esp + 0xc4]
cmp dword [esp + 0xf4], edi
mov ecx, dword [esp + 0xe0]
jae 0x10002967
lea ecx, [esp + 0xe0]
push eax
call fcn.10005610
add esp, 4
cmp dword [esp + 0xbc], edi
mov ebp, eax
jb 0x1000298b
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.10005c0d
add esp, 4
cmp dword [esp + 0xa0], edi
mov ebx, 7
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xb8], esi
mov word [esp + 0xa8], si
jb 0x100029bf
mov edx, dword [esp + 0x8c]
push edx
call fcn.10005c0d
add esp, 4
cmp dword [esp + 0xd8], edi
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x9c], esi
mov word [esp + 0x8c], si
jb 0x100029ee
mov eax, dword [esp + 0xc4]
push eax
call fcn.10005c0d
add esp, 4
cmp dword [esp + 0xf4], edi
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xd4], esi
mov word [esp + 0xc4], si
jb 0x10002a1d
mov ecx, dword [esp + 0xe0]
push ecx
call fcn.10005c0d
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0xfc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.10005bfe
add esp, 0xf4
ret 4
lea ecx, [esp + 0x88]
push ecx
lea eax, [ebp + 0x54]
push eax
lea edi, [esp + 0x20]
call fcn.10004320
add esp, 8
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0xac]
mov byte [esp + 0x10c], 0xa
call fcn.10003300
mov byte [esp + 0x104], 3
cmp dword [esp + 0x30], ebx
jb 0x10002890
mov edx, dword [esp + 0x1c]
push edx
call fcn.10005c0d
add esp, 4
jmp 0x10002890