Function at 0x403714
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffad0
mov eax, 0x4cc95c
push ebx
push esi
push edi
call fcn.004ac1c0
mov dword [ebp - 0x4e4], 1
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.004b6a14
inc dword [ebp - 0x4e4]
mov dl, 1
mov word [ebp - 0x4f0], 8
mov eax, dword [0x43867c]
call fcn.004034c4
mov dword [ebp - 0x504], eax
xor edx, edx
mov word [ebp - 0x4f0], 0x14
mov word [ebp - 0x4f0], 0x20
mov dword [ebp - 0x20], edx
mov edx, 0x4cb21c
inc dword [ebp - 0x4e4]
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x20]
call fcn.004b6b8c
lea edx, [ebp - 0x20]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x504]
mov eax, dword [eax + 0x2f8]
mov edx, dword [edx]
call fcn.0042273c
dec dword [ebp - 0x4e4]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004b6b34
mov word [ebp - 0x4f0], 8
jmp 0x4038a4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2fc]
xor ecx, ecx
mov edx, dword [ebp - 0x504]
call fcn.004106d8
mov eax, dword [ebp - 0x504]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4038f0
mov edx, dword [ebp - 0x34]
mov ecx, dword [edx]
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x4f0], 0x5c
mov edx, 3
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x4f0], 0x50
mov word [ebp - 0x4f0], 0x68
xor eax, eax
xor edx, edx
mov dword [ebp - 4], eax
inc dword [ebp - 0x4e4]
mov word [ebp - 0x4f0], 8
mov word [ebp - 0x4f0], 0x74
mov dword [ebp - 0x38], edx
lea edx, [ebp - 0x38]
inc dword [ebp - 0x4e4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2fc]
call fcn.004113c4
mov edx, dword [ebp - 0x38]
xor ecx, ecx
mov dword [ebp - 0x510], edx
mov dword [ebp - 0x3c], ecx
inc dword [ebp - 0x4e4]
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0x510]
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50c], eax
lea eax, [ebp - 0x4c]
xor edx, edx
call fcn.004b71cc
inc dword [ebp - 0x4e4]
inc dword [ebp - 0x4e4]
xor eax, eax
mov dword [ebp - 0x50], eax
lea edx, [ebp - 0x4c]
inc dword [ebp - 0x4e4]
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 0x50c]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x50]
xor edx, edx
mov dword [ebp - 0x508], eax
mov dword [ebp - 0x54], edx
inc dword [ebp - 0x4e4]
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x508]
mov ecx, dword [eax]
call dword [ecx + 0x50]
lea edx, [ebp - 0x54]
lea eax, [ebp - 0x58]
call fcn.004b6a50
inc dword [ebp - 0x4e4]
lea edx, [ebp - 0x58]
lea eax, [ebp - 4]
call fcn.004b6b64
dec dword [ebp - 0x4e4]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.004b6b34
dec dword [ebp - 0x4e4]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.004b7414
dec dword [ebp - 0x4e4]
cmp dword [ebp - 0x50], 0
je 0x403a0d
mov ecx, dword [ebp - 0x50]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
xor edx, edx
mov dword [ebp - 0x50], edx
mov word [ebp - 0x4f0], 8
dec dword [ebp - 0x4e4]
dec dword [ebp - 0x4e4]
lea eax, [ebp - 0x4c]
xor edx, edx
call fcn.004b7264
dec dword [ebp - 0x4e4]
cmp dword [ebp - 0x3c], 0
je 0x403a46
mov ecx, dword [ebp - 0x3c]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
xor edx, edx
mov dword [ebp - 0x3c], edx
dec dword [ebp - 0x4e4]
cmp dword [ebp - 0x38], 0
je 0x403a60
mov ecx, dword [ebp - 0x38]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
xor edx, edx
mov dword [ebp - 0x38], edx
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
add eax, 0x324
call fcn.004b6c48
test eax, eax
jne 0x403aac
dec dword [ebp - 0x4e4]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004b6b34
dec dword [ebp - 0x4e4]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.004b6b34
mov ecx, dword [ebp - 0x500]
mov dword fs:[0], ecx
jmp 0x4071cd
mov word [ebp - 0x4f0], 0xa4
xor eax, eax
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x5c]
inc dword [ebp - 0x4e4]
mov edx, 0x4cb224
mov eax, dword [ebp + 8]
add eax, 0x320
call fcn.004b6b8c
lea eax, [ebp - 0x5c]
mov eax, dword [eax]
call fcn.00449d04
xor edx, edx
mov dl, al
lea eax, [ebp - 0x5c]
cmp edx, 1
mov edx, 2
sbb ecx, ecx
neg ecx
push ecx
dec dword [ebp - 0x4e4]
call fcn.004b6b34
pop ecx
test cl, cl
je 0x403b49
mov word [ebp - 0x4f0], 0xb0
xor eax, eax
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x60]
inc dword [ebp - 0x4e4]
mov edx, 0x4cb224
mov eax, dword [ebp + 8]
add eax, 0x320
call fcn.004b6b8c
lea eax, [ebp - 0x60]
mov eax, dword [eax]
call fcn.0044a06c
dec dword [ebp - 0x4e4]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.004b6b34
mov word [ebp - 0x4f0], 0xbc
xor ecx, ecx
mov dword [ebp - 0x64], ecx
lea edx, [ebp - 0x64]
inc dword [ebp - 0x4e4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2fc]
call fcn.004113c4
mov edx, dword [ebp - 0x64]
xor ecx, ecx
mov dword [ebp - 0x514], edx
mov dword [ebp - 8], ecx
inc dword [ebp - 0x4e4]
lea edx, [ebp - 8]
mov eax, dword [ebp - 0x514]
mov ecx, dword [eax]
call dword [ecx + 0x14]
dec dword [ebp - 0x4e4]
cmp dword [ebp - 0x64], 0
je 0x403baa
mov eax, dword [ebp - 0x64]
push eax
mov edx, dword [eax]
call dword [edx + 8]
xor ecx, ecx
mov dword [ebp - 0x64], ecx
mov word [ebp - 0x4f0], 8
mov word [ebp - 0x4f0], 0xd4
xor eax, eax
xor edx, edx
mov dword [ebp - 0xc], eax
xor ecx, ecx
inc dword [ebp - 0x4e4]
xor eax, eax
mov word [ebp - 0x4f0], 8
mov word [ebp - 0x4f0], 0xe0
mov dword [ebp - 0x10], edx
xor edx, edx
inc dword [ebp - 0x4e4]
mov word [ebp - 0x4f0], 8
mov word [ebp - 0x4f0], 0xec
mov dword [ebp - 0x14], ecx
inc dword [ebp - 0x4e4]
mov word [ebp - 0x4f0], 8
mov word [ebp - 0x4f0], 0xf8
mov dword [ebp - 0x18], eax
mov eax, dword [0x43867c]
inc dword [ebp - 0x4e4]
mov word [ebp - 0x4f0], 8
mov word [ebp - 0x4f0], 0x104
mov dword [ebp - 0x1c], edx
mov dl, 1
inc dword [ebp - 0x4e4]
mov word [ebp - 0x4f0], 8
call fcn.004034c4
mov dword [ebp - 0x504], eax
xor esi, esi
jmp 0x405b69