Function at 0x4773c8
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x4773d1
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4777a9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
call fcn.0047360c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
mov dword [ebp - 0x30], eax
fild dword [ebp - 0x30]
mov eax, dword [ebx + 0x330]
fild dword [eax + 0x48]
fdivrp st(1)
fstp qword [ebp - 0x10]
wait
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x47777e
inc eax
mov dword [ebp - 0x2c], eax
xor esi, esi
mov eax, dword [0x4792b8]
mov eax, dword [eax]
call fcn.0045e3c0
lea ecx, [ebp - 0x34]
mov edx, esi
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x1c]
mov edx, dword [0x47ad14]
call fcn.00404794
mov eax, dword [ebp - 0x1c]
call fcn.00408ea8
test al, al
jne 0x4774f2
push 0x44
lea ecx, [ebp - 0x3c]
mov edx, 0x4777c0
xor eax, eax
call fcn.00474828
push dword [ebp - 0x3c]
push 0x4777d0
push dword [ebp - 0x1c]
push 0x4777d0
lea ecx, [ebp - 0x40]
mov edx, 0x4777dc
mov eax, 1
call fcn.00474828
push dword [ebp - 0x40]
lea eax, [ebp - 0x38]
mov edx, 5
call fcn.00404808
mov eax, dword [ebp - 0x38]
call fcn.00404940
push eax
lea edx, [ebp - 0x44]
mov eax, dword [0x4792b8]
mov eax, dword [eax]
call fcn.0045e094
mov eax, dword [ebp - 0x44]
call fcn.00404940
mov ecx, eax
mov eax, dword [0x4792b8]
mov eax, dword [eax]
pop edx
call fcn.0045e6fc
cmp eax, 6
je 0x47777e
jmp 0x477743
lea ecx, [ebp - 0x20]
mov edx, esi
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0x20]
call fcn.00409138
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.004085cc
mov eax, dword [ebp - 0x48]
mov edx, 0x4777f4
call fcn.0040488c
jne 0x477534
mov eax, dword [ebp - 0x20]
call fcn.00408ea8
test al, al
jne 0x477774
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x20]
call fcn.00409058
mov eax, dword [ebp - 0x50]
call fcn.00408eb8
test al, al
jne 0x477615
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x20]
call fcn.00409058
mov eax, dword [ebp - 0x54]
call fcn.00408edc
test al, al
jne 0x4775f6
push 0x30
lea ecx, [ebp - 0x5c]
mov edx, 0x477804
mov eax, 2
call fcn.00474828
push dword [ebp - 0x5c]
push 0x4777d0
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x20]
call fcn.00409058
push dword [ebp - 0x60]
push 0x47781c
lea ecx, [ebp - 0x64]
mov edx, 0x477828
mov eax, 3
call fcn.00474828
push dword [ebp - 0x64]
lea eax, [ebp - 0x58]
mov edx, 5
call fcn.00404808
mov eax, dword [ebp - 0x58]
call fcn.00404940
push eax
lea edx, [ebp - 0x68]
mov eax, dword [0x4792b8]
mov eax, dword [eax]
call fcn.0045e094
mov eax, dword [ebp - 0x68]
call fcn.00404940
mov ecx, eax
mov eax, dword [0x4792b8]
mov eax, dword [eax]
pop edx
call fcn.0045e6fc
mov eax, dword [0x4792b8]
mov eax, dword [eax]
call fcn.0045e658
push 0
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x20]
call fcn.00409058
mov ecx, dword [ebp - 0x6c]
mov edx, 0x477844
mov eax, dword [0x47ad20]
call fcn.0047344c
lea ecx, [ebp - 0x74]
mov edx, 0x477858
mov eax, 4
call fcn.00474828
push dword [ebp - 0x74]
push 0x477864
push dword [ebp - 0x1c]
lea eax, [ebp - 0x70]
mov edx, 3
call fcn.00404808
mov edx, dword [ebp - 0x70]
mov eax, dword [ebx + 0x32c]
call fcn.0043e62c
lea ecx, [ebp - 0x7c]
mov edx, 0x477870
mov eax, 5
call fcn.00474828
push dword [ebp - 0x7c]
push 0x477864
push dword [ebp - 0x20]
lea eax, [ebp - 0x78]
mov edx, 3
call fcn.00404808
mov edx, dword [ebp - 0x78]
mov eax, dword [ebx + 0x334]
call fcn.0043e62c
push 0
mov eax, dword [ebp - 0x20]
call fcn.00404940
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00404940
mov edi, eax
push edi
call sub.kernel32.dll_CopyFileA
test eax, eax
jne 0x47772f
cmp byte [0x47ad38], 0
jne 0x47777e
mov dl, 1
mov eax, dword [ebx + 0x338]
call fcn.0043e51c
mov dl, 1
mov eax, dword [ebx + 0x338]
mov ecx, dword [eax]
call dword [ecx + 0xc8]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
call fcn.00409100
push 0xffffffffffffffff
push dword [ebp - 0x24]
push 0x477880
push dword [ebp - 0x28]
lea eax, [ebp - 0x80]
mov edx, 3
call fcn.00404808
mov eax, dword [ebp - 0x80]
call fcn.00404940
push eax
push edi
call sub.kernel32.dll_CopyFileA
push dword [ebp - 0x24]
push 0x477880
push dword [ebp - 0x28]
lea eax, [ebp - 0x84]
mov edx, 3
call fcn.00404808
mov eax, dword [ebp - 0x84]
mov edx, dword [ebp - 0x20]
call fcn.004772a8
push 0
mov ecx, dword [ebp - 0x20]
mov edx, 0x47788c
mov eax, dword [0x47ad20]
call fcn.0047344c
fld qword [ebp - 0x18]
fadd qword [ebp - 0x10]
fstp qword [ebp - 0x18]
wait
mov eax, dword [ebx + 0x330]
mov eax, dword [eax + 0x48]
push eax
fld qword [ebp - 0x18]
call fcn.00402b60
push eax
mov eax, dword [ebx + 0x330]
call fcn.00437468
xor ecx, ecx
xor edx, edx
call fcn.00475c70
inc esi
dec dword [ebp - 0x2c]
jne 0x477438
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4777b0
lea eax, [ebp - 0x84]
mov edx, 0x15
call fcn.004044b4
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.004044b4
ret