Function at 0x624370
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x624379
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x624a59
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00405820
mov byte [ebp - 5], 1
mov dword [0x646900], esi
xor eax, eax
push ebp
push 0x624a0d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x63ea48], 0
sete byte [ebp - 0x1e]
mov eax, ebx
call fcn.0040ce3c
test al, al
je 0x62461b
mov byte [ebp - 0x1d], 1
mov dl, 1
mov eax, dword [0x42e58c]
call fcn.00404874
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x6245ef
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.006241cc
pop ecx
test esi, esi
je 0x624411
push 0
xor ecx, ecx
xor edx, edx
xor eax, eax
call esi
call sub.KERNEL32.DLL_GetTickCount
mov dword [0x6468ec], eax
lea edx, [ebp - 0x28]
mov eax, ebx
call fcn.005e6538
mov eax, dword [ebp - 0x28]
call fcn.00405afc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x6245d9
inc eax
mov dword [ebp - 0x24], eax
xor ebx, ebx
lea ecx, [ebp - 0x10]
mov edx, ebx
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov edx, 1
call fcn.00405d9c
test esi, esi
je 0x624474
push 0
xor ecx, ecx
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
call esi
mov eax, dword [0x63f124]
mov eax, dword [eax]
call fcn.0047e838
cmp byte [ebp - 0x1e], 0
je 0x6244f8
lea ecx, [ebp - 0x2c]
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.005e6610
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x14]
call fcn.0040beb4
mov eax, dword [ebp - 0x14]
mov edx, 0x624a74
call fcn.00405c48
jne 0x6244f8
mov ecx, 1
mov edx, dword [ebp - 0x10]
mov eax, 0x624a80
call fcn.005e72a4
test eax, eax
jne 0x6244f8
cmp dword [0x63ea48], 0
jne 0x6244db
mov eax, 0x63ea48
mov edx, dword [ebp - 0x10]
call fcn.00405874
jmp 0x6244f8
push dword [0x63ea48]
push 0x624a94
push dword [ebp - 0x10]
mov eax, 0x63ea48
mov edx, 3
call fcn.00405bbc
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.005e6538
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
call fcn.00405b48
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x10]
call fcn.0040d164
mov eax, dword [ebp - 0x34]
call fcn.0040ce60
mov edx, 0x20
mov eax, dword [ebp - 0x10]
call fcn.0040cf98
push 0
mov eax, dword [ebp - 0x10]
call fcn.00405cfc
push eax
lea ecx, [ebp - 0x38]
mov edx, ebx
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x38]
call fcn.00405cfc
push eax
call sub.KERNEL32.DLL_CopyFileA
test eax, eax
jne 0x62455f
mov byte [ebp - 0x1d], 0
test esi, esi
je 0x6245bc
xor edx, edx
mov eax, dword [0x6468ec]
call fcn.005e681c
mov edi, eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
mov dword [ebp - 0x3c], eax
fild dword [ebp - 0x3c]
mov dword [ebp - 0x44], edi
xor eax, eax
mov dword [ebp - 0x40], eax
fild qword [ebp - 0x44]
lea eax, [ebx + 1]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fdivp st(1)
fmulp st(1)
call fcn.004039dc
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
cdq
push edx
push eax
lea eax, [ebx + 1]
cdq
push edx
push eax
call fcn.005e6840
movsx eax, al
mov ecx, edi
xor edx, edx
call esi
mov eax, dword [0x63f124]
mov eax, dword [eax]
call fcn.0047e838
push 1
call sub.KERNEL32.DLL_Sleep
inc ebx
dec dword [ebp - 0x24]
jne 0x624447
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6245f6
mov eax, dword [ebp - 0x18]
call fcn.004048a4
ret
mov eax, ebx
call fcn.0040ce18
test al, al
je 0x6249f8
lea ecx, [ebp - 0x4c]
xor edx, edx
mov eax, ebx
call fcn.005e6610
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x14]
call fcn.0040beb4
mov eax, dword [ebp - 0x14]
mov edx, 0x624ac0
call fcn.00405c48
jne 0x624791
mov dl, 1
mov eax, dword [0x42e58c]
call fcn.00404874
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x62478a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x624acc
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, 0x63ea38
call fcn.00405820
call sub.KERNEL32.DLL_GetTickCount
mov dword [0x6468ec], eax
test esi, esi
je 0x6246a0
push 0
xor ecx, ecx
xor edx, edx
xor eax, eax
call esi
mov edx, ebx
mov eax, dword [0x6468fc]
call fcn.006221ac
mov eax, dword [ebp - 0x18]
push eax
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 4]
call fcn.005e6538
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x50]
call fcn.004060f8
mov edx, dword [ebp - 0x50]
mov cl, 1
mov eax, dword [0x6468fc]
call fcn.006223bc
test al, al
jne 0x624725
cmp dword [0x63ea38], 0
jne 0x6246f1
mov eax, 0x63ea38
mov edx, 0x624ad8
call fcn.00405874
test esi, esi
je 0x624704
push 0
xor ecx, ecx
mov edx, dword [0x63ea38]
or eax, 0xffffffff
call esi
mov eax, dword [ebp + 8]
mov edx, dword [0x63ea38]
call fcn.00405874
mov byte [ebp - 5], 0
call fcn.00405218
call fcn.00405218
jmp 0x624a14
test esi, esi
je 0x624736
push 0
xor ecx, ecx
xor edx, edx
mov eax, 0x64
call esi
cmp byte [ebp - 0x1e], 0
je 0x624774
mov eax, dword [0x6468fc]
mov edx, dword [0x623360]
mov dword [eax + 0x2984], edx
mov dword [eax + 0x2980], 0x625604
mov eax, dword [0x6468fc]
call fcn.006222dc
mov eax, dword [0x6468fc]
xor edx, edx
mov dword [eax + 0x2980], edx
mov dword [eax + 0x2984], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6249f8
mov eax, dword [ebp - 0x18]
call fcn.004048a4
ret
mov eax, dword [ebp - 0x14]
mov edx, 0x624b08
call fcn.00405c48
jne 0x6249f8
mov dl, 1
mov eax, dword [0x61c7cc]
call fcn.0061cf74
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x6249f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.0061cc84
test esi, esi
je 0x6247d9
push 0
xor ecx, ecx
xor edx, edx
xor eax, eax
call esi
call sub.KERNEL32.DLL_GetTickCount
mov dword [0x6468ec], eax
mov eax, dword [ebp - 0x1c]
call fcn.0061cf18
dec eax
test eax, eax
jl 0x6249db
inc eax
mov dword [ebp - 0x24], eax
xor ebx, ebx
test esi, esi
je 0x624817
push 0
lea ecx, [ebp - 0x58]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.0061cf28
mov edx, dword [ebp - 0x58]
xor ecx, ecx
or eax, 0xffffffff
call esi
mov eax, dword [0x63f124]
mov eax, dword [eax]
call fcn.0047e838
cmp byte [ebp - 0x1e], 0
je 0x6248fa
lea ecx, [ebp - 0x60]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.0061cf28
mov eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x5c]
xor edx, edx
call fcn.005e6610
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x14]
call fcn.0040beb4
mov eax, dword [ebp - 0x14]
mov edx, 0x624a74
call fcn.00405c48
jne 0x6248fa
lea ecx, [ebp - 0x64]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.0061cf28
mov edx, dword [ebp - 0x64]
mov ecx, 1
mov eax, 0x624a80
call fcn.005e72a4
test eax, eax
jne 0x6248fa
lea ecx, [ebp - 0x68]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.0061cf28
mov edx, dword [ebp - 0x68]
mov ecx, 1
mov eax, 0x624b14
call fcn.005e72a4
test eax, eax
jne 0x6248fa
cmp dword [0x63ea48], 0
jne 0x6248d0
lea ecx, [ebp - 0x6c]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.0061cf28
mov edx, dword [ebp - 0x6c]
mov eax, 0x63ea48
call fcn.00405874
jmp 0x6248fa
push dword [0x63ea48]
push 0x624a94
lea ecx, [ebp - 0x70]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.0061cf28
push dword [ebp - 0x70]
mov eax, 0x63ea48
mov edx, 3
call fcn.00405bbc
lea ecx, [ebp - 0x74]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.0061cf28
mov eax, dword [ebp - 0x74]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
call fcn.005e6538
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 0x10]
pop ecx
call fcn.00405b48
lea eax, [ebp - 0x10]
mov ecx, 0x624b24
mov edx, 0x624b30
call fcn.005e6f74
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0x10]
call fcn.0040d164
mov eax, dword [ebp - 0x7c]
call fcn.0040ce60
lea ecx, [ebp - 0x80]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.0061ccd8
mov edx, dword [ebp - 0x80]
xor ecx, ecx
mov eax, dword [ebp - 0x10]
call fcn.005e69e8
test esi, esi
je 0x6249be
xor edx, edx
mov eax, dword [0x6468ec]
call fcn.005e681c
mov edi, eax
mov eax, dword [ebp - 0x1c]
call fcn.0061cf18
mov dword [ebp - 0x3c], eax
fild dword [ebp - 0x3c]
mov dword [ebp - 0x44], edi
xor eax, eax
mov dword [ebp - 0x40], eax
fild qword [ebp - 0x44]
lea eax, [ebx + 1]
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fdivp st(1)
fmulp st(1)
call fcn.004039dc
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0061cf18
cdq
push edx
push eax
lea eax, [ebx + 1]
cdq
push edx
push eax
call fcn.005e6840
movsx eax, al
mov ecx, edi
xor edx, edx
call esi
mov eax, dword [0x63f124]
mov eax, dword [eax]
call fcn.0047e838
push 1
call sub.KERNEL32.DLL_Sleep
inc ebx
dec dword [ebp - 0x24]
jne 0x6247fa
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6249f8
mov eax, dword [ebp - 0x1c]
call fcn.004048a4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x624a14
xor eax, eax
mov dword [0x646900], eax
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x624a60
lea eax, [ebp - 0x80]
mov edx, 0xc
call fcn.00405844
lea eax, [ebp - 0x50]
call fcn.00405f48
lea eax, [ebp - 0x4c]
call fcn.00405820
lea eax, [ebp - 0x38]
mov edx, 5
call fcn.00405844
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00405844
ret